]> git.tdb.fi Git - builder.git/log
builder.git
13 years agoHave SourcePackage generate the interface version
Mikko Rasa [Thu, 6 Sep 2012 14:42:32 +0000 (17:42 +0300)]
Have SourcePackage generate the interface version

It will be needed for import libraries in the near future as well, and it
would be stupid to duplicate the generation code.  This also makes it
possibile for the package author to define a custom interface version.

13 years agoAdd a side effect system for building multiple targets at once
Mikko Rasa [Thu, 6 Sep 2012 13:30:25 +0000 (16:30 +0300)]
Add a side effect system for building multiple targets at once

13 years agoLibrary search fixes
Mikko Rasa [Thu, 6 Sep 2012 11:54:29 +0000 (14:54 +0300)]
Library search fixes

An outdated check was preventing dynamic libraries from being considered
with libmode==STATIC (as opposed for FORCE_STATIC, which doesn't even
generate the candidate names).

Added a hack to prefer import libraries over real static libraries, and
consider them even in FORCE_DYNAMIC mode.

13 years agoLet tools have a say in installing their targets
Mikko Rasa [Thu, 6 Sep 2012 06:51:42 +0000 (09:51 +0300)]
Let tools have a say in installing their targets

13 years agoDon't append library version to the end of the filename on Windows
Mikko Rasa [Wed, 5 Sep 2012 17:08:12 +0000 (20:08 +0300)]
Don't append library version to the end of the filename on Windows

13 years agoMore generic system for installing targets under different names
Mikko Rasa [Wed, 5 Sep 2012 16:54:45 +0000 (19:54 +0300)]
More generic system for installing targets under different names

13 years agoRoute InstalledFile target creation through Builder
Mikko Rasa [Wed, 5 Sep 2012 16:11:03 +0000 (19:11 +0300)]
Route InstalledFile target creation through Builder

13 years agoReload includes from CSourceFiles when they are modified
Mikko Rasa [Tue, 4 Sep 2012 20:02:44 +0000 (23:02 +0300)]
Reload includes from CSourceFiles when they are modified

Without this, -W did not cause includes to be read if they were present
in the cache.  It'll also come in handy for generated source files some
time in the future.

13 years agoIt's okay to throw exceptions from Loader functions
Mikko Rasa [Tue, 4 Sep 2012 20:01:55 +0000 (23:01 +0300)]
It's okay to throw exceptions from Loader functions

13 years agoDataFile::DerivedObjectLoader was changed
Mikko Rasa [Tue, 21 Aug 2012 23:18:15 +0000 (02:18 +0300)]
DataFile::DerivedObjectLoader was changed

13 years agoStore lookup failures separately from the package map
Mikko Rasa [Wed, 15 Aug 2012 16:15:19 +0000 (19:15 +0300)]
Store lookup failures separately from the package map

This ensures that every pointer in the package map is valid, avoiding the
need to check them and preventing segfaults due to a forgotten check.

13 years agoThis ugly hack for arch-specific binary packages is no longer needed
Mikko Rasa [Wed, 15 Aug 2012 16:13:20 +0000 (19:13 +0300)]
This ugly hack for arch-specific binary packages is no longer needed

13 years agoThere's no good reason to abbreviate this
Mikko Rasa [Thu, 2 Aug 2012 18:22:19 +0000 (21:22 +0300)]
There's no good reason to abbreviate this

13 years agoExpand the readme even more
Mikko Rasa [Fri, 27 Jul 2012 14:56:42 +0000 (17:56 +0300)]
Expand the readme even more

13 years agoAn include directory is needed as well
Mikko Rasa [Fri, 27 Jul 2012 07:52:20 +0000 (10:52 +0300)]
An include directory is needed as well

13 years agoMake sure that symlinks point to the right place
Mikko Rasa [Fri, 27 Jul 2012 07:29:32 +0000 (10:29 +0300)]
Make sure that symlinks point to the right place

13 years agoAdd a way for components to use libraries from the same package
Mikko Rasa [Fri, 27 Jul 2012 07:22:18 +0000 (10:22 +0300)]
Add a way for components to use libraries from the same package

13 years agoMake mingw linker happy
Mikko Rasa [Thu, 26 Jul 2012 19:47:24 +0000 (22:47 +0300)]
Make mingw linker happy

13 years agoEliminate all global typedefs, making misc.h finally unnecessary
Mikko Rasa [Mon, 23 Jul 2012 20:18:29 +0000 (23:18 +0300)]
Eliminate all global typedefs, making misc.h finally unnecessary

13 years agoPreliminary changelog entry for 2.0
Mikko Rasa [Mon, 23 Jul 2012 19:53:32 +0000 (22:53 +0300)]
Preliminary changelog entry for 2.0

13 years agoComment tweaks
Mikko Rasa [Mon, 23 Jul 2012 19:52:13 +0000 (22:52 +0300)]
Comment tweaks

13 years agoMove binary packages from builderrc to individual files
Mikko Rasa [Mon, 23 Jul 2012 19:50:23 +0000 (22:50 +0300)]
Move binary packages from builderrc to individual files

13 years agoCheck headers as well
Mikko Rasa [Mon, 23 Jul 2012 19:01:17 +0000 (22:01 +0300)]
Check headers as well

13 years agoLocate and check the existence of the libraries of binary packages
Mikko Rasa [Mon, 23 Jul 2012 18:43:13 +0000 (21:43 +0300)]
Locate and check the existence of the libraries of binary packages

13 years agoAdd a parameter to suppress the use of system path in VirtualFileSyste::find_*
Mikko Rasa [Mon, 23 Jul 2012 18:37:13 +0000 (21:37 +0300)]
Add a parameter to suppress the use of system path in VirtualFileSyste::find_*

13 years agoFix path prefixification in .pc files
Mikko Rasa [Mon, 23 Jul 2012 18:31:35 +0000 (21:31 +0300)]
Fix path prefixification in .pc files

13 years agoCollapse the virtual functions used during package preparation into one
Mikko Rasa [Mon, 23 Jul 2012 10:27:21 +0000 (13:27 +0300)]
Collapse the virtual functions used during package preparation into one

13 years agoAdd helper function to apply a list of patterns
Mikko Rasa [Mon, 23 Jul 2012 10:23:08 +0000 (13:23 +0300)]
Add helper function to apply a list of patterns

13 years agoMove if_arch to Package so binary packages can use it too
Mikko Rasa [Sun, 22 Jul 2012 17:09:19 +0000 (20:09 +0300)]
Move if_arch to Package so binary packages can use it too

13 years agoAdjust some identifiers
Mikko Rasa [Sun, 22 Jul 2012 17:08:36 +0000 (20:08 +0300)]
Adjust some identifiers

13 years agoLoad binary packages from separate files
Mikko Rasa [Sun, 22 Jul 2012 17:07:09 +0000 (20:07 +0300)]
Load binary packages from separate files

13 years agoImprove output from PackageManager::get_package_location
Mikko Rasa [Sun, 22 Jul 2012 16:34:45 +0000 (19:34 +0300)]
Improve output from PackageManager::get_package_location

13 years agoTry other methods if the source path given by pkg-config is invalid
Mikko Rasa [Sun, 22 Jul 2012 15:19:05 +0000 (18:19 +0300)]
Try other methods if the source path given by pkg-config is invalid

13 years agoFix recognition of versioned msp package directories
Mikko Rasa [Sun, 22 Jul 2012 15:00:47 +0000 (18:00 +0300)]
Fix recognition of versioned msp package directories

13 years agoFeed paths to PackageManager from the outside
Mikko Rasa [Sun, 22 Jul 2012 14:47:36 +0000 (17:47 +0300)]
Feed paths to PackageManager from the outside

13 years agoExternalize file existence check from Builder::load_build_file
Mikko Rasa [Sun, 22 Jul 2012 14:12:32 +0000 (17:12 +0300)]
Externalize file existence check from Builder::load_build_file

13 years agoUpdate .gitignore
Mikko Rasa [Sat, 21 Jul 2012 14:13:57 +0000 (17:13 +0300)]
Update .gitignore

13 years agois_installable is more appropriate here
Mikko Rasa [Sat, 21 Jul 2012 13:50:06 +0000 (16:50 +0300)]
is_installable is more appropriate here

13 years agoIt's no longer necessary to expose the dry_run flag
Mikko Rasa [Sat, 21 Jul 2012 13:49:47 +0000 (16:49 +0300)]
It's no longer necessary to expose the dry_run flag

13 years agoHandle directory creation and unlinking in Task
Mikko Rasa [Sat, 21 Jul 2012 13:49:12 +0000 (16:49 +0300)]
Handle directory creation and unlinking in Task

13 years agoEnsure that the directory exists before trying to write the cache
Mikko Rasa [Sat, 21 Jul 2012 13:46:29 +0000 (16:46 +0300)]
Ensure that the directory exists before trying to write the cache

13 years agoNot all tools can create sources
Mikko Rasa [Sat, 21 Jul 2012 07:59:05 +0000 (10:59 +0300)]
Not all tools can create sources

13 years agoImprove and expand the readme file a lot
Mikko Rasa [Fri, 20 Jul 2012 20:50:30 +0000 (23:50 +0300)]
Improve and expand the readme file a lot

13 years agoMake bootstrap.sh create the staging include directory in temp
Mikko Rasa [Fri, 20 Jul 2012 20:49:51 +0000 (23:49 +0300)]
Make bootstrap.sh create the staging include directory in temp

13 years agoAllow doing clean and build in the same run
Mikko Rasa [Fri, 20 Jul 2012 19:44:35 +0000 (22:44 +0300)]
Allow doing clean and build in the same run

13 years agoImprove cleaning
Mikko Rasa [Fri, 20 Jul 2012 19:43:12 +0000 (22:43 +0300)]
Improve cleaning

13 years agoThe higher verbosity levels are now largely unnecessary
Mikko Rasa [Fri, 20 Jul 2012 19:26:43 +0000 (22:26 +0300)]
The higher verbosity levels are now largely unnecessary

13 years agoCommand line option adjustments
Mikko Rasa [Fri, 20 Jul 2012 19:26:27 +0000 (22:26 +0300)]
Command line option adjustments

13 years agoInclude cpu in the build signature
Mikko Rasa [Thu, 19 Jul 2012 23:51:07 +0000 (02:51 +0300)]
Include cpu in the build signature

13 years agoBetter way of specifying the source tarball in Build files
Mikko Rasa [Thu, 19 Jul 2012 12:53:37 +0000 (15:53 +0300)]
Better way of specifying the source tarball in Build files

13 years agoMake tarballs work again
Mikko Rasa [Thu, 19 Jul 2012 12:51:32 +0000 (15:51 +0300)]
Make tarballs work again

13 years agoRewriting over half of the codebase surely justifies a major version bump
Mikko Rasa [Thu, 19 Jul 2012 12:45:15 +0000 (15:45 +0300)]
Rewriting over half of the codebase surely justifies a major version bump

13 years agoFix a race condition
Mikko Rasa [Thu, 19 Jul 2012 11:42:36 +0000 (14:42 +0300)]
Fix a race condition

13 years agoDocument Task and ExternalTask methods
Mikko Rasa [Thu, 19 Jul 2012 10:52:12 +0000 (13:52 +0300)]
Document Task and ExternalTask methods

13 years agoImprove task management to use blocking wait if possible
Mikko Rasa [Thu, 19 Jul 2012 10:41:40 +0000 (13:41 +0300)]
Improve task management to use blocking wait if possible

13 years agoMake wait applicable to all task types
Mikko Rasa [Thu, 19 Jul 2012 10:37:35 +0000 (13:37 +0300)]
Make wait applicable to all task types

13 years agoComments and member ordering
Mikko Rasa [Wed, 18 Jul 2012 21:10:35 +0000 (00:10 +0300)]
Comments and member ordering

13 years ago-Winline generates way more spam than expected
Mikko Rasa [Wed, 18 Jul 2012 20:34:56 +0000 (23:34 +0300)]
-Winline generates way more spam than expected

13 years agoAdd some logging and remove a stray debug statement
Mikko Rasa [Wed, 18 Jul 2012 20:31:40 +0000 (23:31 +0300)]
Add some logging and remove a stray debug statement

13 years agoTrack build options to rebuild primary targets when build type changes
Mikko Rasa [Wed, 18 Jul 2012 20:27:44 +0000 (23:27 +0300)]
Track build options to rebuild primary targets when build type changes

13 years agoSave caches again after building to allow storing data obtained during build
Mikko Rasa [Wed, 18 Jul 2012 20:22:51 +0000 (23:22 +0300)]
Save caches again after building to allow storing data obtained during build

13 years agoUsing different out directories per build type is more trouble than it's worth
Mikko Rasa [Wed, 18 Jul 2012 18:13:54 +0000 (21:13 +0300)]
Using different out directories per build type is more trouble than it's worth

13 years agoReplace DependencyCache with a more generic cache
Mikko Rasa [Wed, 18 Jul 2012 17:49:21 +0000 (20:49 +0300)]
Replace DependencyCache with a more generic cache

13 years agoFix cascading of BuildInfo
Mikko Rasa [Wed, 18 Jul 2012 15:32:47 +0000 (18:32 +0300)]
Fix cascading of BuildInfo

13 years agoRefactor create_build_info functions and fix build info application order
Mikko Rasa [Tue, 17 Jul 2012 13:05:35 +0000 (16:05 +0300)]
Refactor create_build_info functions and fix build info application order

13 years agoMerge BuildInfo::unique into update_from
Mikko Rasa [Tue, 17 Jul 2012 12:26:46 +0000 (15:26 +0300)]
Merge BuildInfo::unique into update_from

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

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

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

13 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

13 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

13 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.

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

13 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

13 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

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

13 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

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

13 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

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

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

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

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

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

13 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

13 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

13 years agoRearrange Target members
Mikko Rasa [Sun, 15 Jul 2012 11:41:30 +0000 (14:41 +0300)]
Rearrange Target members

13 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