]> git.tdb.fi Git - builder.git/log
builder.git
12 years agoRearrange Target members
Mikko Rasa [Sun, 15 Jul 2012 11:41:30 +0000 (14:41 +0300)]
Rearrange Target members

12 years agoBe more efficient when running commands synchronously
Mikko Rasa [Sat, 14 Jul 2012 19:21:22 +0000 (22:21 +0300)]
Be more efficient when running commands synchronously

12 years agoUtility function for capturing command output
Mikko Rasa [Sat, 14 Jul 2012 19:18:15 +0000 (22:18 +0300)]
Utility function for capturing command output

12 years agoSimpler way to check g++ version
Mikko Rasa [Sat, 14 Jul 2012 19:04:26 +0000 (22:04 +0300)]
Simpler way to check g++ version

12 years agoInclude the environment channel in verbose level 2
Mikko Rasa [Sat, 14 Jul 2012 13:45:39 +0000 (16:45 +0300)]
Include the environment channel in verbose level 2

12 years agoClean up some unused cruft
Mikko Rasa [Sat, 14 Jul 2012 13:26:58 +0000 (16:26 +0300)]
Clean up some unused cruft

12 years agoGet rid of the install flags, which weren't entirely correct anyway
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

12 years agoExternalize dry run handling from Config and DependencyCache
Mikko Rasa [Sat, 14 Jul 2012 10:31:18 +0000 (13:31 +0300)]
Externalize dry run handling from Config and DependencyCache

12 years agoMake Target::add_depend take a reference since null is not allowed
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

12 years agoBetter way to set cross_prefix in architectures
Mikko Rasa [Tue, 10 Jul 2012 20:52:57 +0000 (23:52 +0300)]
Better way to set cross_prefix in architectures

12 years agoDocument a lot of classes and functions
Mikko Rasa [Tue, 10 Jul 2012 20:51:10 +0000 (23:51 +0300)]
Document a lot of classes and functions

12 years agoUse ObjectLoaders where appropriate
Mikko Rasa [Tue, 10 Jul 2012 15:38:41 +0000 (18:38 +0300)]
Use ObjectLoaders where appropriate

12 years agoDeprecate the headers component type
Mikko Rasa [Tue, 10 Jul 2012 15:20:44 +0000 (18:20 +0300)]
Deprecate the headers component type

12 years agoRemove dead code
Mikko Rasa [Tue, 10 Jul 2012 14:32:05 +0000 (17:32 +0300)]
Remove dead code

12 years agoFlexible way to specify install locations for components
Mikko Rasa [Tue, 10 Jul 2012 14:23:10 +0000 (17:23 +0300)]
Flexible way to specify install locations for components

12 years agoDon't use -fPIC on windows since it makes mingw emit a warning
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

12 years agoInstalling only makes sense for file targets
Mikko Rasa [Tue, 10 Jul 2012 09:25:52 +0000 (12:25 +0300)]
Installing only makes sense for file targets

12 years agoMake install_location a path
Mikko Rasa [Tue, 10 Jul 2012 09:24:08 +0000 (12:24 +0300)]
Make install_location a path

12 years agoUse correct typedefs
Mikko Rasa [Mon, 9 Jul 2012 13:20:33 +0000 (16:20 +0300)]
Use correct typedefs

12 years agoRefactor FileTarget and SourceFile constructors
Mikko Rasa [Mon, 9 Jul 2012 13:08:41 +0000 (16:08 +0300)]
Refactor FileTarget and SourceFile constructors

12 years agocreate the tools when everything else is ready
Mikko Rasa [Mon, 9 Jul 2012 10:57:15 +0000 (13:57 +0300)]
create the tools when everything else is ready

12 years agoDon't store component locally in object and source files
Mikko Rasa [Sun, 8 Jul 2012 23:14:28 +0000 (02:14 +0300)]
Don't store component locally in object and source files

12 years agoPut constructor helper functions next to the constructors
Mikko Rasa [Sun, 8 Jul 2012 22:58:36 +0000 (01:58 +0300)]
Put constructor helper functions next to the constructors

12 years agoRemove a useless forward declaration
Mikko Rasa [Sun, 8 Jul 2012 22:53:13 +0000 (01:53 +0300)]
Remove a useless forward declaration

12 years agoBinary packages can't have files, so avoid some dynamic casts
Mikko Rasa [Sun, 8 Jul 2012 22:50:23 +0000 (01:50 +0300)]
Binary packages can't have files, so avoid some dynamic casts

12 years agoConnect to bubble_rebuild signals after preparing to avoid confusion
Mikko Rasa [Sun, 8 Jul 2012 22:39:37 +0000 (01:39 +0300)]
Connect to bubble_rebuild signals after preparing to avoid confusion

12 years agoMake tools architecture-aware and restore cross-compilation functionality
Mikko Rasa [Sun, 8 Jul 2012 21:07:02 +0000 (00:07 +0300)]
Make tools architecture-aware and restore cross-compilation functionality

12 years agoAdd a method to determine whether an architecture requires cross-compilation
Mikko Rasa [Sun, 8 Jul 2012 21:01:37 +0000 (00:01 +0300)]
Add a method to determine whether an architecture requires cross-compilation

12 years agoRemove extraneous std:: qualifiers
Mikko Rasa [Sun, 8 Jul 2012 21:00:34 +0000 (00:00 +0300)]
Remove extraneous std:: qualifiers

12 years agoIt's no longer necessary to store the name in GnuCompiler
Mikko Rasa [Sun, 8 Jul 2012 20:43:53 +0000 (23:43 +0300)]
It's no longer necessary to store the name in GnuCompiler

12 years agoMake targets depend on their tools
Mikko Rasa [Sun, 8 Jul 2012 20:27:44 +0000 (23:27 +0300)]
Make targets depend on their tools

12 years agoStore a target representing the executable in each tool
Mikko Rasa [Sun, 8 Jul 2012 20:24:19 +0000 (23:24 +0300)]
Store a target representing the executable in each tool

12 years agoMake VirtualFileSystem able to find binaries
Mikko Rasa [Sun, 8 Jul 2012 20:17:56 +0000 (23:17 +0300)]
Make VirtualFileSystem able to find binaries

12 years agoSplit GnuLinker into sub-tools and select the appropriate one in create_target
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

12 years agoAdd SubTool class
Mikko Rasa [Sun, 8 Jul 2012 20:11:01 +0000 (23:11 +0300)]
Add SubTool class

12 years agoAllow constructing package-less Executables
Mikko Rasa [Sun, 8 Jul 2012 20:08:55 +0000 (23:08 +0300)]
Allow constructing package-less Executables

12 years agoFix an incorrect exception message
Mikko Rasa [Sun, 8 Jul 2012 20:08:40 +0000 (23:08 +0300)]
Fix an incorrect exception message

12 years agoDon't copy cpu from a potentially incompatible architecture
Mikko Rasa [Sun, 8 Jul 2012 20:06:51 +0000 (23:06 +0300)]
Don't copy cpu from a potentially incompatible architecture

12 years agoAdd documentation for VirtualFileSystem::get_target
Mikko Rasa [Sun, 8 Jul 2012 14:17:29 +0000 (17:17 +0300)]
Add documentation for VirtualFileSystem::get_target

12 years agoSome additional log statements
Mikko Rasa [Sun, 8 Jul 2012 14:14:58 +0000 (17:14 +0300)]
Some additional log statements

12 years agoAvoid killing internal worker threads
Mikko Rasa [Sun, 8 Jul 2012 14:14:10 +0000 (17:14 +0300)]
Avoid killing internal worker threads

12 years agoUse Path objects to store include and library paths
Mikko Rasa [Sun, 8 Jul 2012 14:13:42 +0000 (17:13 +0300)]
Use Path objects to store include and library paths

12 years agoRemove a stray old #include
Mikko Rasa [Sun, 8 Jul 2012 14:10:54 +0000 (17:10 +0300)]
Remove a stray old #include

12 years agoTurn the unique function into a template and make it more efficient
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

12 years agoRewrite the find_* functions
Mikko Rasa [Sun, 8 Jul 2012 13:17:11 +0000 (16:17 +0300)]
Rewrite the find_* functions

12 years agoBetter logging system
Mikko Rasa [Thu, 5 Jul 2012 11:05:36 +0000 (14:05 +0300)]
Better logging system

12 years agoRemove an unused member
Mikko Rasa [Sat, 23 Jun 2012 20:35:42 +0000 (23:35 +0300)]
Remove an unused member

12 years agoMove package management to a separate class
Mikko Rasa [Sat, 23 Jun 2012 18:50:13 +0000 (21:50 +0300)]
Move package management to a separate class

12 years agoTurn the force rebuild logic around
Mikko Rasa [Sat, 23 Jun 2012 18:46:14 +0000 (21:46 +0300)]
Turn the force rebuild logic around

12 years agoAdd descriptions to some functions
Mikko Rasa [Sat, 23 Jun 2012 18:21:02 +0000 (21:21 +0300)]
Add descriptions to some functions

12 years agoApply what-ifs after preparation so implicitly created targets may be specified
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

12 years agoAdd a signal to propagate rebuild state after preparation
Mikko Rasa [Sat, 23 Jun 2012 17:50:09 +0000 (20:50 +0300)]
Add a signal to propagate rebuild state after preparation

12 years agoFix a forward declaration
Mikko Rasa [Sat, 23 Jun 2012 18:24:15 +0000 (21:24 +0300)]
Fix a forward declaration

12 years agoMove some target creation logic to SourcePackage
Mikko Rasa [Wed, 20 Jun 2012 21:02:55 +0000 (00:02 +0300)]
Move some target creation logic to SourcePackage

12 years agoMake BuildInfo uniquify things implicitly after update
Mikko Rasa [Fri, 8 Jun 2012 22:58:04 +0000 (01:58 +0300)]
Make BuildInfo uniquify things implicitly after update

12 years agoComment updates
Mikko Rasa [Fri, 8 Jun 2012 22:57:28 +0000 (01:57 +0300)]
Comment updates

12 years agoUse the tool to create headers
Mikko Rasa [Fri, 8 Jun 2012 22:56:34 +0000 (01:56 +0300)]
Use the tool to create headers

12 years agoAllow sources to be created without a component
Mikko Rasa [Fri, 8 Jun 2012 22:55:37 +0000 (01:55 +0300)]
Allow sources to be created without a component

12 years agoRetrieve system paths from appropriate tools
Mikko Rasa [Fri, 8 Jun 2012 22:54:26 +0000 (01:54 +0300)]
Retrieve system paths from appropriate tools

12 years agoMake tools capable of reporting a system-wide path used to locate input files
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

12 years agoAdd a list of auxiliary suffixes to Tool
Mikko Rasa [Fri, 8 Jun 2012 22:47:17 +0000 (01:47 +0300)]
Add a list of auxiliary suffixes to Tool

12 years agoDon't pass including file location to find_header
Mikko Rasa [Fri, 8 Jun 2012 22:45:04 +0000 (01:45 +0300)]
Don't pass including file location to find_header

12 years agoEarly check for file existence to avoid exception handling
Mikko Rasa [Fri, 8 Jun 2012 07:38:52 +0000 (10:38 +0300)]
Early check for file existence to avoid exception handling

12 years agoAllow omitting workdir in ExternalTask constructor call
Mikko Rasa [Fri, 8 Jun 2012 07:30:05 +0000 (10:30 +0300)]
Allow omitting workdir in ExternalTask constructor call

12 years agoUse a typedef for ExternalTask arguments
Mikko Rasa [Fri, 8 Jun 2012 07:25:14 +0000 (10:25 +0300)]
Use a typedef for ExternalTask arguments

12 years agoCheck the existence of dependencies beforehand rather than catching the exception
Mikko Rasa [Fri, 8 Jun 2012 07:22:07 +0000 (10:22 +0300)]
Check the existence of dependencies beforehand rather than catching the exception

12 years agoAdd a method to query the existence of dependencies in cache
Mikko Rasa [Fri, 8 Jun 2012 07:12:55 +0000 (10:12 +0300)]
Add a method to query the existence of dependencies in cache

12 years agoUse stat to determine file existence
Mikko Rasa [Thu, 7 Jun 2012 19:47:21 +0000 (22:47 +0300)]
Use stat to determine file existence

12 years agoRemove unnecessary includes
Mikko Rasa [Wed, 30 May 2012 19:43:05 +0000 (19:43 +0000)]
Remove unnecessary includes

12 years agoRemove the now-obsolete run_command function
Mikko Rasa [Wed, 30 May 2012 19:31:44 +0000 (19:31 +0000)]
Remove the now-obsolete run_command function

12 years agoUse ExternalTask rather than run_command for running pkg-config
Mikko Rasa [Wed, 30 May 2012 19:29:33 +0000 (19:29 +0000)]
Use ExternalTask rather than run_command for running pkg-config

12 years agoAdd support for capturing output in ExternalTask
Mikko Rasa [Wed, 30 May 2012 19:28:12 +0000 (19:28 +0000)]
Add support for capturing output in ExternalTask

12 years agoUse a unique exit_code value to indicate fork failure
Mikko Rasa [Wed, 30 May 2012 19:23:20 +0000 (19:23 +0000)]
Use a unique exit_code value to indicate fork failure

12 years agoRename PkgConfig to PkgConfigFile
Mikko Rasa [Wed, 30 May 2012 19:12:24 +0000 (19:12 +0000)]
Rename PkgConfig to PkgConfigFile

12 years agoProperly generate the install target for .pc files
Mikko Rasa [Wed, 30 May 2012 19:11:25 +0000 (19:11 +0000)]
Properly generate the install target for .pc files

12 years agoSet success status at the end of PkgConfigGenerator's worker
Mikko Rasa [Wed, 30 May 2012 19:07:58 +0000 (19:07 +0000)]
Set success status at the end of PkgConfigGenerator's worker

12 years agoPrint out the commands at the appropriate verbosity level
Mikko Rasa [Thu, 10 May 2012 21:21:25 +0000 (00:21 +0300)]
Print out the commands at the appropriate verbosity level

12 years agoGive tasks the ability to return the relevant shell command
Mikko Rasa [Thu, 10 May 2012 21:20:33 +0000 (00:20 +0300)]
Give tasks the ability to return the relevant shell command

12 years agoRestore --dry-run functionality
Mikko Rasa [Thu, 10 May 2012 21:20:07 +0000 (00:20 +0300)]
Restore --dry-run functionality

12 years agoDon't start tasks automatically upon creation
Mikko Rasa [Thu, 10 May 2012 21:19:35 +0000 (00:19 +0300)]
Don't start tasks automatically upon creation

12 years agoAdd missing headers
Mikko Rasa [Thu, 10 May 2012 21:17:10 +0000 (00:17 +0300)]
Add missing headers

12 years agoDon't try to unlink nonexistent files
Mikko Rasa [Thu, 10 May 2012 21:15:35 +0000 (00:15 +0300)]
Don't try to unlink nonexistent files

12 years agoAdd virtual destructor to Tool to avoid a warning
Mikko Rasa [Thu, 10 May 2012 21:15:12 +0000 (00:15 +0300)]
Add virtual destructor to Tool to avoid a warning

12 years agoEmit signal_finished from InternalTask
Mikko Rasa [Thu, 10 May 2012 21:13:40 +0000 (00:13 +0300)]
Emit signal_finished from InternalTask

12 years agoClean up output since target names now include the package name
Mikko Rasa [Wed, 9 May 2012 21:00:35 +0000 (00:00 +0300)]
Clean up output since target names now include the package name

12 years agoUse tool tag to detect C++ files rather than a specific tool class
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

12 years agoDisallow empty rebuild reason
Mikko Rasa [Wed, 9 May 2012 16:27:34 +0000 (19:27 +0300)]
Disallow empty rebuild reason

12 years agoThese checks are unnecessary with the separate symlink target gone
Mikko Rasa [Wed, 9 May 2012 16:22:08 +0000 (19:22 +0300)]
These checks are unnecessary with the separate symlink target gone

12 years agoAdd a missing header and remove an unnecessary one
Mikko Rasa [Wed, 9 May 2012 16:21:08 +0000 (19:21 +0300)]
Add a missing header and remove an unnecessary one

12 years agoDo dependency discovery in a single pass
Mikko Rasa [Wed, 9 May 2012 15:43:47 +0000 (18:43 +0300)]
Do dependency discovery in a single pass

12 years agoUnify some aspects of constructor helper functions
Mikko Rasa [Sun, 6 May 2012 21:06:42 +0000 (00:06 +0300)]
Unify some aspects of constructor helper functions

12 years agoMove soname generation to constructor
Mikko Rasa [Sun, 6 May 2012 21:02:32 +0000 (00:02 +0300)]
Move soname generation to constructor

12 years agoSplit Binary filename generation to Executable and SharedLibrary
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

12 years agoGet rid of the Library and SystemLibrary classes as unnecessary abstractions
Mikko Rasa [Sun, 6 May 2012 11:25:11 +0000 (14:25 +0300)]
Get rid of the Library and SystemLibrary classes as unnecessary abstractions

12 years agoMove the Component reference to Target and make it a pointer
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

12 years agoMove some install location assignments to more logical places
Mikko Rasa [Fri, 4 May 2012 19:15:45 +0000 (22:15 +0300)]
Move some install location assignments to more logical places

12 years agoTool names are no longer retrieved from Architecture
Mikko Rasa [Fri, 4 May 2012 18:14:29 +0000 (21:14 +0300)]
Tool names are no longer retrieved from Architecture

12 years agoHave Architecture provide pattern lists for library and executable filenames
Mikko Rasa [Fri, 4 May 2012 18:10:47 +0000 (21:10 +0300)]
Have Architecture provide pattern lists for library and executable filenames

12 years agoConsolidate various target state variables into a single state
Mikko Rasa [Tue, 1 May 2012 11:22:09 +0000 (14:22 +0300)]
Consolidate various target state variables into a single state

12 years agoRename Target::get_rebuild to needs_rebuild
Mikko Rasa [Tue, 1 May 2012 11:19:43 +0000 (14:19 +0300)]
Rename Target::get_rebuild to needs_rebuild