]>
git.tdb.fi Git - builder.git/log
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
Mikko Rasa [Fri, 8 Jun 2012 07:12:55 +0000 (10:12 +0300)]
Add a method to query the existence of dependencies in cache
Mikko Rasa [Thu, 7 Jun 2012 19:47:21 +0000 (22:47 +0300)]
Use stat to determine file existence
Mikko Rasa [Wed, 30 May 2012 19:43:05 +0000 (19:43 +0000)]
Remove unnecessary includes
Mikko Rasa [Wed, 30 May 2012 19:31:44 +0000 (19:31 +0000)]
Remove the now-obsolete run_command function
Mikko Rasa [Wed, 30 May 2012 19:29:33 +0000 (19:29 +0000)]
Use ExternalTask rather than run_command for running pkg-config
Mikko Rasa [Wed, 30 May 2012 19:28:12 +0000 (19:28 +0000)]
Add support for capturing output in ExternalTask
Mikko Rasa [Wed, 30 May 2012 19:23:20 +0000 (19:23 +0000)]
Use a unique exit_code value to indicate fork failure
Mikko Rasa [Wed, 30 May 2012 19:12:24 +0000 (19:12 +0000)]
Rename PkgConfig to PkgConfigFile
Mikko Rasa [Wed, 30 May 2012 19:11:25 +0000 (19:11 +0000)]
Properly generate the install target for .pc files
Mikko Rasa [Wed, 30 May 2012 19:07:58 +0000 (19:07 +0000)]
Set success status at the end of PkgConfigGenerator's worker
Mikko Rasa [Thu, 10 May 2012 21:21:25 +0000 (00:21 +0300)]
Print out the commands at the appropriate verbosity level
Mikko Rasa [Thu, 10 May 2012 21:20:33 +0000 (00:20 +0300)]
Give tasks the ability to return the relevant shell command
Mikko Rasa [Thu, 10 May 2012 21:20:07 +0000 (00:20 +0300)]
Restore --dry-run functionality
Mikko Rasa [Thu, 10 May 2012 21:19:35 +0000 (00:19 +0300)]
Don't start tasks automatically upon creation
Mikko Rasa [Thu, 10 May 2012 21:17:10 +0000 (00:17 +0300)]
Add missing headers
Mikko Rasa [Thu, 10 May 2012 21:15:35 +0000 (00:15 +0300)]
Don't try to unlink nonexistent files
Mikko Rasa [Thu, 10 May 2012 21:15:12 +0000 (00:15 +0300)]
Add virtual destructor to Tool to avoid a warning
Mikko Rasa [Thu, 10 May 2012 21:13:40 +0000 (00:13 +0300)]
Emit signal_finished from InternalTask
Mikko Rasa [Wed, 9 May 2012 21:00:35 +0000 (00:00 +0300)]
Clean up output since target names now include the package name
Mikko Rasa [Wed, 9 May 2012 16:27:46 +0000 (19:27 +0300)]
Use tool tag to detect C++ files rather than a specific tool class
Mikko Rasa [Wed, 9 May 2012 16:27:34 +0000 (19:27 +0300)]
Disallow empty rebuild reason
Mikko Rasa [Wed, 9 May 2012 16:22:08 +0000 (19:22 +0300)]
These checks are unnecessary with the separate symlink target gone
Mikko Rasa [Wed, 9 May 2012 16:21:08 +0000 (19:21 +0300)]
Add a missing header and remove an unnecessary one
Mikko Rasa [Wed, 9 May 2012 15:43:47 +0000 (18:43 +0300)]
Do dependency discovery in a single pass
Mikko Rasa [Sun, 6 May 2012 21:06:42 +0000 (00:06 +0300)]
Unify some aspects of constructor helper functions
Mikko Rasa [Sun, 6 May 2012 21:02:32 +0000 (00:02 +0300)]
Move soname generation to constructor
Mikko Rasa [Sun, 6 May 2012 11:48:46 +0000 (14:48 +0300)]
Split Binary filename generation to Executable and SharedLibrary
Use architecture patterns to generate executable and library names
Mikko Rasa [Sun, 6 May 2012 11:25:11 +0000 (14:25 +0300)]
Get rid of the Library and SystemLibrary classes as unnecessary abstractions
Mikko Rasa [Sun, 6 May 2012 11:00:07 +0000 (14:00 +0300)]
Move the Component reference to Target and make it a pointer
Remove Package pointer from Target constructor
Mikko Rasa [Fri, 4 May 2012 19:15:45 +0000 (22:15 +0300)]
Move some install location assignments to more logical places
Mikko Rasa [Fri, 4 May 2012 18:14:29 +0000 (21:14 +0300)]
Tool names are no longer retrieved from Architecture
Mikko Rasa [Fri, 4 May 2012 18:10:47 +0000 (21:10 +0300)]
Have Architecture provide pattern lists for library and executable filenames
Mikko Rasa [Tue, 1 May 2012 11:22:09 +0000 (14:22 +0300)]
Consolidate various target state variables into a single state
Mikko Rasa [Tue, 1 May 2012 11:19:43 +0000 (14:19 +0300)]
Rename Target::get_rebuild to needs_rebuild