Skip to content

Commit e67e4fa

Browse files
committed
import cpp-tcl
0 parents  commit e67e4fa

39 files changed

+6545
-0
lines changed

CHANGES

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
This file contains the history of changes in the C++/Tcl library.
2+
3+
---
4+
The version 1.1.3 differs from 1.1.2 in the following ways:
5+
6+
- A bug in the initialization of interpreter object was fixed.
7+
8+
---
9+
The version 1.1.2 differs from 1.1.1 in the following ways:
10+
11+
- Copyright was updated to cover 2006.
12+
13+
- Information was added to docs about the usage of the Boost library.
14+
15+
- Few bug fixes were applied to allow empty parameter lists with variadic
16+
functions.
17+
18+
---
19+
The version 1.1.1 differs from 1.1.0 in the following ways:
20+
21+
- Explicit instantiations of some templates were moved to proper namespace.
22+
23+
24+
---
25+
The version 1.1.0 differs from 1.0.0 in the following ways:
26+
27+
- CHANGES file was added.
28+
29+
- LICENSE file was added with clear description of the license terms.
30+
31+
- Copyright was updated to cover 2005.
32+
33+
- Small patch was added to make the code compile on g++ 3.2.
34+
35+
- New assign method was added that accepts Tcl_Obj.
36+
37+
- Overload of interpreter::eval was added that accepts istream& parameter.
38+
This allows to evaluate the contents of arbitrary stream
39+
(for example, a file).
40+
41+
- Support for package definitions was added.
42+
43+
- Support for const class member functions was added.
44+
45+
- Support for variadic free functions, constructors and class methods
46+
was added.

CREDITS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
I would like to thank you very much for your contributions:
2+
3+
---
4+
Alexey Pakhunov provided patches with various bugfixes and enhancements.
5+
His patches were used in the 1.1.2 release.
6+
7+
---
8+
Christoph Pesch provided a small patch for the g++ 3.2 compiler.
9+
10+
After the 1.1.0 release, Christoph provided also a patch for newer g++ 3.4.3.
11+
(included in 1.1.1)

LICENSE

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Each source file contains the following notice:
2+
3+
//
4+
// Copyright (C) 2004-2006, Maciej Sobczak
5+
//
6+
// Permission to copy, use, modify, sell and distribute this software
7+
// is granted provided this copyright notice appears in all copies.
8+
// This software is provided "as is" without express or implied
9+
// warranty, and with no claim as to its suitability for any purpose.
10+
//
11+
12+
The above is the shortest license I have found.
13+
I have copied this wording from one of the source files of the Boost library.
14+
15+
Just to explain the above terms:
16+
17+
1. The library is free (like in "freedom").
18+
19+
2. You can use it for any purpose you wish. You can even sell it.
20+
21+
3. You can modify the source files. If you do this, please feel free to add
22+
your own copyright notices wherever you want, if you want.
23+
You may also add more restrictive license terms.
24+
You only have to keep the above notice unchanged in all source files.
25+
26+
4. You can combine this library or its modified version with other software.
27+
The license claims nothing that would affect the resulting work.
28+
See point 3. if you need to make any modifications.
29+
30+
5. You can compile this library or its modified version to the binary form.
31+
The license does not affect the compiled result in any way.
32+
In particular, you do not need to (but you still can) display the above
33+
copyright notice to the final user, and you do not need to (but you still
34+
can) inform the final user that your product was prepared with the help
35+
of this library.
36+
37+
6. Do not sue me for my (and your) mistakes and errors.
38+
39+
As you see, this license is very permissive.

README

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
C++/Tcl - a C++ library for interoperability between C++ and Tcl.
2+
3+
Copyright (C) 2004-2006, Maciej Sobczak
4+
5+
---
6+
7+
You should see the following directories here:
8+
9+
- doc - contains a short documentation for the library
10+
- examples - some simple examples to show C++/Tcl basics
11+
- test - tests used for development - use them for regression testing
12+
if you want to modify the library
13+
- details - some additional code used by the library (not for client use)
14+
15+
In addition, the following files may be of interest to you:
16+
17+
- README - this file
18+
- LICENSE - explanation of the license terms
19+
- CHANGES - the history of changes
20+
21+
22+
The C++/Tcl itself consists of these files:
23+
- cpptcl.h - to be included in your own files
24+
- cpptcl.cc - to be compiled and linked with your code
25+
26+
27+
In order to compile the tests and the examples you may need to change the
28+
compiler options to fit your particular environment (different paths to the
29+
Tcl headers and libs, another compiler, etc.)
30+
31+
32+
Anyway - have fun! :-)

0 commit comments

Comments
 (0)