]> git.tdb.fi Git - builder.git/log
builder.git
12 years agoRe-stat FileTargets after a successful build
Mikko Rasa [Tue, 17 Jul 2012 11:31:14 +0000 (14:31 +0300)]
Re-stat FileTargets after a successful build

12 years agoPass the full path to the Build file to SourcePackage and create a target for it
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

12 years agoHide the main package from the outside
Mikko Rasa [Tue, 17 Jul 2012 10:37:56 +0000 (13:37 +0300)]
Hide the main package from the outside

12 years agoMove to a more abstract way of defining warnings
Mikko Rasa [Mon, 16 Jul 2012 23:27:15 +0000 (02:27 +0300)]
Move to a more abstract way of defining warnings

12 years agoReorder Config members
Mikko Rasa [Mon, 16 Jul 2012 22:27:50 +0000 (01:27 +0300)]
Reorder Config members

12 years agoRewrite ObjectFile::generate_target_path to make it more robust
Mikko Rasa [Mon, 16 Jul 2012 22:26:34 +0000 (01:26 +0300)]
Rewrite ObjectFile::generate_target_path to make it more robust

12 years agofind_dependencies should not be public
Mikko Rasa [Mon, 16 Jul 2012 22:26:07 +0000 (01:26 +0300)]
find_dependencies should not be public

12 years agoUn-abbreviate some function and variable names
Mikko Rasa [Mon, 16 Jul 2012 22:16:53 +0000 (01:16 +0300)]
Un-abbreviate some function and variable names

12 years agoTarget::prepare shouldn't be virtual
Mikko Rasa [Mon, 16 Jul 2012 20:58:29 +0000 (23:58 +0300)]
Target::prepare shouldn't be virtual

12 years agoCall prepare_build before returning to save package configuration
Mikko Rasa [Mon, 16 Jul 2012 20:56:40 +0000 (23:56 +0300)]
Call prepare_build before returning to save package configuration

12 years agoUse the cached cwd value
Mikko Rasa [Mon, 16 Jul 2012 20:56:18 +0000 (23:56 +0300)]
Use the cached cwd value

12 years agoComponentList typedef isn't needed outside of SourcePackage
Mikko Rasa [Mon, 16 Jul 2012 20:47:37 +0000 (23:47 +0300)]
ComponentList typedef isn't needed outside of SourcePackage

12 years agoLet PackageManager take care of PKG_CONFIG_PATH
Mikko Rasa [Mon, 16 Jul 2012 20:46:26 +0000 (23:46 +0300)]
Let PackageManager take care of PKG_CONFIG_PATH

12 years agoCheck for missing symlinks
Mikko Rasa [Mon, 16 Jul 2012 19:25:26 +0000 (22:25 +0300)]
Check for missing symlinks

12 years agoMiscellaneous style and comment tweaks
Mikko Rasa [Mon, 16 Jul 2012 19:24:58 +0000 (22:24 +0300)]
Miscellaneous style and comment tweaks

12 years agoRename create_targets to prepare_build and make it return bool
Mikko Rasa [Mon, 16 Jul 2012 19:23:00 +0000 (22:23 +0300)]
Rename create_targets to prepare_build and make it return bool

12 years agoTrim down the package preparation code
Mikko Rasa [Mon, 16 Jul 2012 18:24:58 +0000 (21:24 +0300)]
Trim down the package preparation code

12 years agoVariables in Build files weren't such a hot idea. KISS.
Mikko Rasa [Mon, 16 Jul 2012 17:32:05 +0000 (20:32 +0300)]
Variables in Build files weren't such a hot idea.  KISS.

12 years agoAdjust option help texts
Mikko Rasa [Mon, 16 Jul 2012 09:37:50 +0000 (12:37 +0300)]
Adjust option help texts

12 years agoHaving to specify package paths manually is stupid and un-modern
Mikko Rasa [Mon, 16 Jul 2012 09:33:50 +0000 (12:33 +0300)]
Having to specify package paths manually is stupid and un-modern

12 years agoEvaluate conditions at load time to allow more flexibility
Mikko Rasa [Mon, 16 Jul 2012 09:13:31 +0000 (12:13 +0300)]
Evaluate conditions at load time to allow more flexibility

12 years agoMake tempdir a global option
Mikko Rasa [Sun, 15 Jul 2012 21:09:37 +0000 (00:09 +0300)]
Make tempdir a global option

12 years agoMore reporting about reading and writing files and traversing directories
Mikko Rasa [Sun, 15 Jul 2012 19:27:11 +0000 (22:27 +0300)]
More reporting about reading and writing files and traversing directories

12 years agoComment changes
Mikko Rasa [Sun, 15 Jul 2012 17:53:55 +0000 (20:53 +0300)]
Comment changes

12 years agoAdd a statically linked release build type
Mikko Rasa [Sun, 15 Jul 2012 17:29:59 +0000 (20:29 +0300)]
Add a statically linked release build type

12 years agoRefactor Binary::find_depends
Mikko Rasa [Sun, 15 Jul 2012 17:29:35 +0000 (20:29 +0300)]
Refactor Binary::find_depends

12 years agoMove library mode into BuildInfo
Mikko Rasa [Sun, 15 Jul 2012 17:18:15 +0000 (20:18 +0300)]
Move library mode into BuildInfo

12 years agoFix shared library installation
Mikko Rasa [Sun, 15 Jul 2012 17:14:01 +0000 (20:14 +0300)]
Fix shared library installation

12 years agoRedesign the library mode system
Mikko Rasa [Sun, 15 Jul 2012 16:43:45 +0000 (19:43 +0300)]
Redesign the library mode system

12 years agoFix a crash in Binary
Mikko Rasa [Sun, 15 Jul 2012 15:59:11 +0000 (18:59 +0300)]
Fix a crash in Binary

12 years agoReplace the overly generic configuration profiles with something more purposeful
Mikko Rasa [Sun, 15 Jul 2012 13:56:14 +0000 (16:56 +0300)]
Replace the overly generic configuration profiles with something more purposeful

12 years agoMake Target::build virtual and move the unlink call to FileTarget
Mikko Rasa [Sun, 15 Jul 2012 12:10:37 +0000 (15:10 +0300)]
Make Target::build virtual and move the unlink call to FileTarget

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