Commit Graph

50050 Commits

Author SHA1 Message Date
Vladimir Prus
2ed9d1f6ea Test for poor main's per-source requirements.
* new/builtin.jam: Make 'obj' main type.
    * new/generators-test/*: Try compiling the same CPP file with
        different defines and linking in the same exe.


[SVN r15649]
2002-10-02 12:38:13 +00:00
Vladimir Prus
41daf51feb Move a file, mistakenly added on RC branch, to the trunk.
[SVN r15648]
2002-10-02 12:12:27 +00:00
Dave Abrahams
d4f76f93fc doc update
[SVN r15647]
2002-10-02 12:00:22 +00:00
Vladimir Prus
fc81de1f51 Dependency scanning implementation.
* jam_src/builtins.c: New builtin SEARCH_FOR_TARGET.

    * jam_src/rules.c
         (bind_explicitly_located_targets): New function.
         (search_for_target): New function.

    * jam_src/make.c (make): Call 'bind_explicitly_located_targets()'
        immediately on entering.

    * jam_src/search.c (call_bind_rule): No longer 'static'.

    * new/builtin.jam (c-scanner.process): Real implementation.

    * test/dependency_test.py: Really test for dependencies.


[SVN r15646]
2002-10-02 11:56:32 +00:00
Dave Abrahams
79389fc474 *** empty log message ***
[SVN r15645]
2002-10-02 11:20:56 +00:00
Vladimir Prus
6c74534321 Infrastructure for dependency scanning.
* virtual-target.jam (virtual-target.actualize): Accept
        'scanner' parameter and create different actual targets
        for different values of that parameter.
     (virtual-target.includes): Remove.
     (binding): New rule
     (remember-binding): New rule.

    * type.jam (set-scanner): New rule. (get-scanner): New rule.

    * scanner.jam: New file.

    * class.jam (__init__): Define __name__ in class scopes.

    * builtin.jam (c-scanner): New scanner class, associated with CPP
        files.


[SVN r15644]
2002-10-02 10:04:03 +00:00
Jens Maurer
6eaa4cbad9 work-in-progress of WG21 proposal for a random number facility
[SVN r15642]
2002-10-01 23:07:51 +00:00
Dave Abrahams
220d64955e doc update
[SVN r15641]
2002-10-01 23:03:09 +00:00
Jens Maurer
d8805b7fe1 expand interface with RealType to store probability
[SVN r15640]
2002-10-01 23:02:15 +00:00
Dave Abrahams
7fca87344d doc update
[SVN r15639]
2002-10-01 22:48:24 +00:00
Jens Maurer
55c87d80d1 add binomial_distribution
[SVN r15638]
2002-10-01 22:18:29 +00:00
Jens Maurer
7db829239d make the distribution usable with underlying floating-point generators
[SVN r15637]
2002-10-01 22:17:37 +00:00
Jens Maurer
843abe2af3 add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed


[SVN r15636]
2002-10-01 22:16:49 +00:00
Jens Maurer
7d52a279f4 add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed
rename lagged_fibonacci to lagged_fibonacci_01, add integer lagged_fibonacci


[SVN r15635]
2002-10-01 22:15:50 +00:00
Jens Maurer
9bdf4c0e56 mplement the binomial distribution
[SVN r15634]
2002-10-01 21:15:59 +00:00
Jens Maurer
3cc2c7d499 add storage and retrieval of parameter p
[SVN r15633]
2002-10-01 21:15:09 +00:00
Jens Maurer
ecc8dc3677 add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed
remove superfluous template parameter


[SVN r15632]
2002-10-01 20:03:59 +00:00
Jens Maurer
4ab24965bd add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed
add desired word bitsize "w" to interface


[SVN r15631]
2002-10-01 20:01:21 +00:00
Jens Maurer
9782907c08 move ranlux bases here (from subtract_with_carry.hpp)
[SVN r15630]
2002-10-01 19:35:43 +00:00
Jens Maurer
3eaa8b0c8f add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed


[SVN r15629]
2002-10-01 19:31:58 +00:00
Dave Abrahams
ebeb2193ce doc update
[SVN r15621]
2002-10-01 17:22:26 +00:00
Vladimir Prus
8612c70978 Adjust include paths for compilations, so that generated headers are found.
* virtual-target.jam (traverse): New rule, returns a list of
    targets, given the graph root.
  (subvariant-dg): New class, to keep all targets for a given
    subvariant.
  (virtual-target.dg): New rule to access subvariant-dg.
  (virtual-target.path): New rule

* targets.jam (main-target.generate): Assign subvariant dg to all
  created targets.

* builtin.jam (compile-action.adjust-properties): Use subvariant
  dg to find all targets, their location, and add those location
  to include path.


[SVN r15619]
2002-10-01 17:00:24 +00:00
Vladimir Prus
b821f7be82 Added hooks to allow special property adjustment for generators and actions.
For example, this would allow compilers to add generated headers into include
path.

	* virtual-target.jam (action.adjust-properties): New rule.
	  (clone-action-template): Don't slice cloned object.

	* generators.jam (generator.action-class): New rule, to allow
	  overriding action class on per-generator basis.

	* builtin.jam (compile-action): New class.
	    (C-compiling-generator): New class.

	* gcc.jam: Use C-compiling-generator for gcc. Honor includes.


[SVN r15618]
2002-10-01 16:31:31 +00:00
Vladimir Prus
e141d5315f Made STATIC-LIB and SHARED-LIB derived from LIB.
[SVN r15617]
2002-10-01 15:13:01 +00:00
Dave Abrahams
f68abfec53 Separate init.hpp docs from class.hpp
[SVN r15616]
2002-10-01 15:12:46 +00:00
Dave Abrahams
22e6168df3 separate overloads.hpp
BOOST_PYTHON_MODULE_INIT -> BOOST_PYTHON_MODULE


[SVN r15615]
2002-10-01 15:08:08 +00:00
Vladimir Prus
95873ee50e Top-level invocation of generator.construct-dbg now returns only target of
requested types.

     * new/generators.jam (construct-dbg): The above change.
     * new/type.jam (is-derived): New rule.


[SVN r15614]
2002-10-01 15:06:33 +00:00
Björn Karlsson
a7b646dfbf Merged from branch to trunk
[SVN r15613]
2002-10-01 15:00:37 +00:00
Vladimir Prus
3ceabdc6d0 Tweak test system.
[SVN r15611]
2002-10-01 14:55:52 +00:00
Vladimir Prus
2556c5c11e New rules and fixes.
* sequence.jam (merge): Bugfix.

    * regex.jam (transform): New rule.

    * property.jam (select): New rule, selects properties, given
         a list of features.


[SVN r15610]
2002-10-01 14:50:25 +00:00
Dave Abrahams
8a91451ba2 separate overloads.hpp
BOOST_PYTHON_MODULE_INIT -> BOOST_PYTHON_MODULE


[SVN r15609]
2002-10-01 14:40:41 +00:00
Vladimir Prus
57ce8f50bb Improve RPM spec per suggestions from Malte Starostik and Steve Robbins.
[SVN r15608]
2002-10-01 14:33:47 +00:00
Markus Schöpflin
cab90ebf88 Merged fix from release branch to main trunk.
[SVN r15607]
2002-10-01 13:31:42 +00:00
Markus Schöpflin
c05374abc2 Merged fixes from the release branch.
[SVN r15605]
2002-10-01 12:52:02 +00:00
Björn Karlsson
218d4f9a3e Merged from branch to trunk
[SVN r15603]
2002-10-01 11:45:23 +00:00
Aleksey Gurtovoy
d00557d4c1 fix Borland version check
[SVN r15601]
2002-10-01 11:14:40 +00:00
Aleksey Gurtovoy
2c5316a648 re-check in as binary
[SVN r15600]
2002-10-01 09:28:59 +00:00
Gennadiy Rozental
70e4033490 comment clarified
[SVN r15598]
2002-10-01 05:45:54 +00:00
Joel de Guzman
938f301122 Placed the non-void and void stub structs inside the main stub struct.
[SVN r15597]
2002-10-01 03:55:54 +00:00
Dave Abrahams
f524db6c5a doc update
[SVN r15596]
2002-10-01 03:45:33 +00:00
Dave Abrahams
5e50473974 Bugfix
[SVN r15595]
2002-10-01 03:44:51 +00:00
Jaakko Järvi
5df34852f4 fixed Bemans name in a comment
[SVN r15594]
2002-10-01 03:26:10 +00:00
Dave Abrahams
6af46242b0 doc update
[SVN r15593]
2002-10-01 01:16:25 +00:00
Jens Maurer
bec1a1aa8d add operator!=
make operator<< and operator>> templated on CharT
add uniform iterator-based seed


[SVN r15588]
2002-09-30 22:52:55 +00:00
Jens Maurer
e0564fb66e add linear feedback shift engine
[SVN r15587]
2002-09-30 22:48:58 +00:00
Jens Maurer
8b467c0d41 add xor_combine compound engine
[SVN r15586]
2002-09-30 22:47:54 +00:00
Jens Maurer
4642ceea59 add entropy() member function
[SVN r15585]
2002-09-30 22:46:05 +00:00
Jens Maurer
1bb2d46c33 make parameters of the distribution available
[SVN r15584]
2002-09-30 22:43:55 +00:00
Jens Maurer
81013b5b1b performance improvement: multiply by pre-computed factor instead
of dividing


[SVN r15583]
2002-09-30 22:43:05 +00:00
Jens Maurer
9909b39ea7 add base() and reset() member functions for distributions
[SVN r15582]
2002-09-30 22:43:04 +00:00