2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-10 23:32:20 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Rene Rivera
eed0cf6cc3 Variety of performance improvements.
* bjam; bump to version 3.1.12
* bjam; make it possible to build in MinGW/MSYS shell
* bjam; move profile code to debug.h/c to make it available for use everywhere
* bjam; cache all filesystem query operations, Unix and Windows only, include PWD and scanning
* bjam; add memory profile info, and sprinkle throught code
* bbv2; rewrite some while() loops into for() loops to reduce time and memory
* bbv2; keep a single instance counter instead of one per type to reduce memory use
* bjam+bbv2; change NORMALIZE_PATH builtin to join path parts to reduce memory use


[SVN r31177]
2005-10-03 00:47:36 +00:00
Vladimir Prus
75beb85dcd * new/class.jam
(is-instance): Tighten the check.


[SVN r20438]
2003-10-21 07:48:58 +00:00
Vladimir Prus
619b26494e Update comments.
[SVN r19459]
2003-08-05 05:32:47 +00:00
Vladimir Prus
286825f9d5 Rename 'xclass' to 'class'.
[SVN r19458]
2003-08-05 05:25:33 +00:00
Vladimir Prus
a9cb673c30 Rename 'xnew' to just 'new'.
[SVN r19434]
2003-08-04 11:12:30 +00:00
Vladimir Prus
7fceeb4bc7 Drop all style classes support.
[SVN r19433]
2003-08-04 10:53:34 +00:00
Vladimir Prus
c1e3f990f1 Move generators to new-style classes.
[SVN r19427]
2003-08-04 09:19:54 +00:00
Vladimir Prus
2447c88092 Refactorings.
* jam_src/modules.c: (import_module, imported_modules): New functions.
* jam_src/builtins.c (builtin_import_module, builtin_imported_modules):
  Just call the above.
* new/class.jam: Add some extra tests.


[SVN r19424]
2003-08-04 09:09:49 +00:00
Vladimir Prus
d16b5709cd Introduce new-style classes. They are declared by 'xclass' and instances
are created by 'xnew'. Those names will be changed when all classes are
migrated.


[SVN r19423]
2003-08-04 09:01:54 +00:00
Dave Abrahams
6ebded3459 Note: there is currently a circular dependency between type.jam and
virtual-target.jam.

- Added the missing explicit imports, now that we don't dump
  everything into the global module with qualification

- stopped using the feature-space hack for temporary testing states of
  the feature module.  Instead we move its global variable definitions
  to a temporary module.

- the way feature.action was invoking the rule it was being passed was
  evil.  Now you pass (even local) rules without qualification and
  they are invoked in the source module context.

- module __test__ rules are always executed in a separate module, so
  that their import dependencies can be separated from those of the
  module being tested.

- better reporting of circular module-loading dependencies
  implemented.

- minor changes:

    property-set.jam:  moved .empty initialization to avert circular
    load dependency .

    symlink.jam: fixed global variable naming.


[SVN r18407]
2003-05-15 22:22:13 +00:00
Dave Abrahams
f2c14abcdd Type checking for argument lists
[SVN r18378]
2003-05-10 15:03:54 +00:00
Rene Rivera
812d5d9f94 Implement ReST type preformatted syntax using "::".
* class.jam; Use new "::" syntax.
* doc.jam; Change comment parsing to keep leading whitespaces.
* doc.jam; Fix problem when a rule's argument has the same name as an inner rule.
* print.jam; Implement ReST syntax of "::" to indicate preformatted text. All forms of the ReST syntax are supported, and the additional form of a preformated paragraph with the first line as "::".


[SVN r16244]
2002-11-15 01:16:50 +00:00
Dave Abrahams
aa3e9c9ba5 Better debuggability
[SVN r16206]
2002-11-12 03:15:08 +00:00
Rene Rivera
fc3c2cfa85 print.jam; support use of "::" as prefix in paragraphs/blocks to output preformatted text.
class.jam; add use of "::" for code samples.


[SVN r16019]
2002-10-30 04:00:42 +00:00
Vladimir Prus
c06b10384a 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
Vladimir Prus
a1adab49a1 Wholesale commit of generators.
[SVN r14924]
2002-08-16 14:13:15 +00:00
Vladimir Prus
ea264712c1 New rules.
* new/assert.jam (in, not-in): New rules.
    * new/class.jam (is-instance): New rule.
    * new/utility.jam (str, equal, less): New rules.
    * new/container.jam
        (container.str, container.sort, container.equal): New rules.


[SVN r14923]
2002-08-16 13:58:23 +00:00
Vladimir Prus
3ac0b46828 Optimization.
* new/class.jam (__init__) Get only first element of backtrace.


[SVN r14564]
2002-07-22 17:44:21 +00:00
Vladimir Prus
6e08a601a0 Tweak.
* new/class.jam: Import all rules from the 'class' module into a class
        instance module, not into a class module.
    * new/targets.jam: Remove explicit import from 'class' in ctor.


[SVN r13829]
2002-05-13 10:42:18 +00:00
Rene Rivera
ef548f6f9f Added is-a.
[SVN r13826]
2002-05-12 16:56:41 +00:00
Dave Abrahams
b469b032dd Set __class__ attribute in instances
Added block comment on class system usage
Added some new tests


[SVN r13646]
2002-05-03 16:40:12 +00:00
Dave Abrahams
abb0398b5a Reworked to allow derived classes to call base class methods which have been overridden via explicit qualification
[SVN r13588]
2002-04-30 14:51:07 +00:00
Dave Abrahams
bcad27e5a2 bug fix, forgot to check in
[SVN r13306]
2002-03-30 00:37:00 +00:00
Dave Abrahams
8e383958ad New module scoping rules
[SVN r13287]
2002-03-27 22:23:30 +00:00
Dave Abrahams
e9b2c95e8a Build request expansion
[SVN r12778]
2002-02-10 00:49:29 +00:00
Dave Abrahams
2b2b8d0160 record two-way inheritance links
[SVN r12169]
2001-12-29 00:01:11 +00:00
Dave Abrahams
2b1d5b3fbb fixes
[SVN r12146]
2001-12-24 19:27:39 +00:00