2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
Rene Rivera
135cc00ef8 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
e98ac4ece6 Initial Python integration support. Disabled by default, find and
change the setting of HAVE_PYTHON in build.jam to enable it.


[SVN r27559]
2005-03-05 07:59:14 +00:00
Vladimir Prus
49aa05d3b4 New builtins USER_MODULE and NEAREST_USER_LOCATION. V2 changes and
explanations are coming later.


[SVN r26466]
2004-12-07 10:21:25 +00:00
Rene Rivera
5a441aa093 Bump version to 3.1.10 for release.
Update copyrights to new Boost License.


[SVN r22987]
2004-06-01 05:42:36 +00:00
Vladimir Prus
841a1fd4ea Refactorings.
* jam_src/compile.c
  (call_rule): New function.

* jam_src/modules/property-set.c
  (property_set_create): Use 'call_rule'.


[SVN r22131]
2004-02-02 11:50:31 +00:00
Rene Rivera
ee0f752def Integrate a variety of changes for building on VMS systems, from Johan Nilsson.
- Some missing header includes.
- Some missing function declarations.
- Complete the bootstrap process by calling the jam0 bootstrap to build (build.jam)
- Some minor changes to handle VMS paths (build.jam)
Implement the new LICENSE name into the build/packaging process.
Use new license text where needed.


[SVN r20186]
2003-09-25 18:45:20 +00:00
Vladimir Prus
d6dfb4f9db 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
Toon Knapen
f4826cf9ab port to sunpro
[SVN r19022]
2003-07-10 12:09:28 +00:00
Vladimir Prus
8bcec068c6 Change handling of generated headers to use the idea of
Matt Armstrong, from jamming mailing list.

* new/search.h
  (search): Add a new parameter 'another_target', which returns
  the name of a target already bound to the same location via LOCATE.

* new/search.c
  (search): Ajust the search algorithm to check for targets bound to searched
  directories.


[SVN r18887]
2003-06-30 14:10:04 +00:00
Dave Abrahams
e44382cb5b Fixed scoping of invocations to typechecking rules. They weren't being
executed in the right module.


[SVN r18425]
2003-05-16 15:51:08 +00:00
Dave Abrahams
3c7f65f943 * builtins.c/h, modules.c/h - Added VARNAMES and DELETE_MODULE rules,
for getting the list of variable names and for clearing all rule and
  variable storage.

* compile.c - better error reporting for unknown rules; now it is a
  hard error.

* hash.c/h - added hash_free to allow removal of elements from a hash

* rule.c/h - implemented rule freeing; stopped exporting rules to the
  global module by default.

* variable.c - reclaim variable storage when disposing of variable
  hash.

* build.jam - make grammar building work under NT


[SVN r18405]
2003-05-15 20:53:16 +00:00
Dave Abrahams
a05eca2570 Type checking for argument lists
[SVN r18378]
2003-05-10 15:03:54 +00:00
Vladimir Prus
9d799da62b Fix debugging output.
[SVN r17521]
2003-02-19 08:00:53 +00:00
Vladimir Prus
32703f6f96 Remove redundant line.
[SVN r16360]
2002-11-21 12:28:24 +00:00
Dave Abrahams
466bdef914 Really fix broken debug output.
[SVN r16202]
2002-11-11 23:32:42 +00:00
Dave Abrahams
d42fe903b6 Fix broken debug output.
[SVN r16120]
2002-11-05 18:40:26 +00:00
Dave Abrahams
7c286ef9b6 Fix -d+5 output
[SVN r15997]
2002-10-28 04:06:06 +00:00
Dave Abrahams
8f0b7b9fe2 Suppress warning
[SVN r15535]
2002-09-28 08:03:19 +00:00
Vladimir Prus
c564bb24a1 Modified profiling code to handle recursive functions.
[SVN r14562]
2002-07-22 16:46:31 +00:00
Dave Abrahams
9d1fd673d2 Fixed this memory leak:
==30721== 174984 bytes in 14582 blocks are definitely lost in loss record 20 of 25
==30721==    at 0x40043BDB: malloc (vg_clientfuncs.c:100)
==30721==    by 0x804E02A: addsettings (rules.c:235)
==30721==    by 0x804A2AF: collect_arguments (compile.c:652)
==30721==    by 0x804A759: evaluate_rule (compile.c:864)
==30721==    by 0x804A072: compile_rule (compile.c:563)
==30721==    by 0x804DDBC: parse_evaluate (parse.c:138)
==30721==    by 0x80497FD: compile_append (compile.c:124)


[SVN r14298]
2002-07-04 14:06:21 +00:00
Vladimir Prus
1f2d140db4 Minor fixes.
* jam_src/Jambase: Now really downcase $(ARGV[1]).
    * jam_src/compile.c: Fix formatting, now that 'lol_print' don't insert
        space at the end.
    * jam_src/jambase.c: Regenerated.


[SVN r13676]
2002-05-06 06:44:24 +00:00
Dave Abrahams
ec3cd4d16f Improved debugging output:
* added space after "on"
   * try harder to indicate in which module a rule is going to execute
   * Stop printing the module context of variable settings; it was
     confusing especially when the variable turned out to be a local
     variable or an argument name.
   *

Register the name by which each rule is /invoked/ in its frame instead
of the name by which the rule was defined. This changes the behavior
of the builtin BACKTRACE rule, causing it to register the rule's
invocation names (filenames and line numbers lead the user to the
definition context anyway). This change was neccessary in order to
support classes: we can now extract the name of a class being
initialized by looking at the backtrace from within the class module's
__init__ rule.


[SVN r13585]
2002-04-30 14:22:46 +00:00
Dave Abrahams
10204482ba perforce 2.4 merge (again)
[SVN r13391]
2002-04-07 00:22:45 +00:00
Dave Abrahams
244f6d469f New module scoping rules
[SVN r13287]
2002-03-27 22:23:30 +00:00
Vladimir Prus
18c3412b84 Merge of Perforce change 1587: "if" was testing only the first element of
simple expression.


[SVN r13278]
2002-03-26 07:51:38 +00:00
Dave Abrahams
93f12c9a68 Merge with Perforce 2.4 state
[SVN r13111]
2002-03-06 14:13:29 +00:00
Toon Knapen
e060d8f9c8 removed declared but never referenced variables
(spotted by mipspro compiler, generating warnings)


[SVN r12346]
2002-01-18 15:38:00 +00:00
Dave Abrahams
c2b2c51326 improved error reporting, refactored
[SVN r12052]
2001-12-13 18:39:41 +00:00
Dave Abrahams
e262b37478 Fixes for rule import handling; also extended IMPORT to allow
execution in the target module


[SVN r11911]
2001-12-04 18:22:04 +00:00
Dave Abrahams
2a015f5761 ----------------------------------------------------------------------
committing in tools/build

Modified Files:
	build_system.htm
		Documented:
			local rules
			the RULENAMES rule
			the EXPORT rule
			the BACKTRACE rule
			new IMPORT semantics
			-d+12 Dependency Graph Output
			Crude Argument Binding
			Variable numbers of arguments

	jam_src/compile.c
		implemented RULENAMES, EXPORT, varargs support, new IMPORT semantics
		removed unused variables

	jam_src/make1.c
	jam_src/hdrmacro.c
		removed unused variables

	jam_src/jamgram.{c,h,y,yy}
		"module local x" does not change module local value of x
		if it is already set.

	jam_src/lists.[ch]
		added list_pop_front()

	new/assert.jam new/boost-build.jam
	new/build-system.jam new/errors.jam
	new/modules.jam new/os.path.jam
		beginnings of new build system

	test/check-arguments.jam
	test/check-jam-patches.jam
	test/echo_args.jam
		Added tests for recent core modifications; comments

Added Files:
	new/feature.jam new/property.jam
	new/readme.txt new/sequence.jam
	new/test.jam
		beginnings of new build system
----------------------------------------------------------------------


[SVN r11789]
2001-11-27 16:41:59 +00:00
Dave Abrahams
b3b7186846 Backtrace
Debug file/line numbers
Local rules not implicitly imported
Craig McPheeters' dependency graph output as -d+12
Grammar cleanup
Factored parse evaluation into parse_evaluate()

 Modified Files:
 	compile.c frames.h jam.h jamgram.c jamgram.y jamgram.yy make.c
 	parse.c parse.h rules.c rules.h scan.c scan.h


[SVN r11759]
2001-11-21 04:39:53 +00:00
Dave Abrahams
3813797c8e multi-level CALLER_MODULE support
[SVN r11688]
2001-11-14 19:56:50 +00:00
Dave Abrahams
49ba2cf8dd merged to main trunk
[SVN r11610]
2001-11-06 15:36:16 +00:00