Vladimir Prus
c58a615a5a
Branch for merging Boost.Build and Boost.Jam completely.
...
[SVN r59143]
2010-01-19 20:47:20 +00:00
Ralf W. Grosse-Kunstleve
4f6a37f80d
boost.python: some make_tuple changed to boost::python::make_tuple for gcc 4.4 -std=c++0x compatibility; https://svn.boost.org/trac/boost/ticket/3584
...
[SVN r57641]
2009-11-13 20:48:25 +00:00
Troy D. Straszheim
338732793a
Don't use type_is_gc... type_is_gc expects a PyTypeObject, which is not what will get passed to it if we pass it to the tp_is_gc fields of static_data_object
...
[SVN r57590]
2009-11-12 00:46:46 +00:00
Troy D. Straszheim
8b0655ce94
Fix for #2582 , thanks for the patch.
...
[SVN r57016]
2009-10-20 15:06:21 +00:00
Troy D. Straszheim
36d24b9f8b
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Ralf W. Grosse-Kunstleve
35ff0adf2b
boost/python: some Py_ssize_t replaced with boost::python::ssize_t to restore compatibility with Python 2.3 and 2.4
...
[SVN r56491]
2009-09-30 12:35:54 +00:00
Stefan Seefeld
115cde9c7f
Revert accidental change.
...
[SVN r56310]
2009-09-19 16:59:05 +00:00
Stefan Seefeld
ef2a02c396
Merged 2009 GSoC work from sandbox-branches/bhy/py3k branch back into trunk.
...
[SVN r56305]
2009-09-19 02:32:41 +00:00
Ralf W. Grosse-Kunstleve
e3f6f01588
boost/python/object_operators.hpp: added missing error checks in operator bool_type(), operator!(); this resolves https://svn.boost.org/trac/boost/ticket/3356 posted by Stefan Seefeld
...
[SVN r55708]
2009-08-22 00:18:28 +00:00
Ralf W. Grosse-Kunstleve
d7389277d3
libs/python/test/exec.cpp: new exercise_embedding_html(), in reaction to https://svn.boost.org/trac/boost/ticket/1890
...
[SVN r55640]
2009-08-18 00:49:05 +00:00
Ralf W. Grosse-Kunstleve
8d2ca93e98
libs/python/src/exec.cpp: bug fixes
...
Remark:
operator!() for boost::python::object invokes PyObject_IsTrue()
and is therefore not equivalent to "is None".
In this particular case !global or !local returns true for an
empty dict.
(Changes to libs/python/test/exec.cpp just helped in debugging.)
[SVN r55639]
2009-08-18 00:24:54 +00:00
Troy D. Straszheim
d47e3b2a15
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Ralf W. Grosse-Kunstleve
27aa9382fc
boost_python_unsigned_converter_fix_no_ctypes.patch by Anderson Lizardo ( https://svn.boost.org/trac/boost/ticket/3189 )
...
[SVN r54923]
2009-07-13 15:00:07 +00:00
Ralf W. Grosse-Kunstleve
1a204046c7
boost::python: unsigned converter fix by Anderson Lizardo ( https://svn.boost.org/trac/boost/ticket/3189 )
...
[SVN r54919]
2009-07-13 05:16:34 +00:00
Stefan Seefeld
3c98a72153
Use appropriate default values for global and local dicts.
...
[SVN r53936]
2009-06-15 14:53:48 +00:00
Dave Abrahams
a4f028246a
Allow duplicate enum values. Fixes #2744
...
Thanks to hugo.lima@openbossa.org
[SVN r53660]
2009-06-05 21:18:14 +00:00
Dave Abrahams
6ffeca641c
GCC Warning Suppression
...
[SVN r53659]
2009-06-05 20:15:01 +00:00
Dave Abrahams
22b65a1485
Fix up a lot of missing dependency info. Closes #3136 .
...
[SVN r53657]
2009-06-05 20:12:47 +00:00
Dave Abrahams
d45b9ea66b
Add missing dependencies
...
[SVN r53645]
2009-06-04 23:27:40 +00:00
Vladimir Prus
0373302165
If no python is configured, default-configure it.
...
Fixes #2846 .
[SVN r53380]
2009-05-29 08:18:09 +00:00
Vladimir Prus
ef53bedd0a
Don't mention --preserve-test-targets.
...
Targets are no longer removed by default, so this reference
is unnecessary.
Addresses #2001 .
[SVN r53379]
2009-05-29 08:05:49 +00:00
Jeremiah Willcock
3ecb3301a2
Fixed most tab and min/max issues from trunk inspection report
...
[SVN r53141]
2009-05-20 19:19:00 +00:00
Troy D. Straszheim
e16b3f8ab8
Merge cmake files release -> trunk.
...
[SVN r52866]
2009-05-09 22:57:30 +00:00
Joel de Guzman
7a7b32661e
fixed wrong version
...
[SVN r52604]
2009-04-26 14:46:18 +00:00
Ralf W. Grosse-Kunstleve
e312047405
libs/python/src/converter/builtin_converters.cpp: Troy Straszheim's bool/int patch with additional BOOST_PYTHON_BOOL_INT_STRICT condition; see also: http://mail.python.org/pipermail/cplusplus-sig/2009-March/014354.html
...
[SVN r52299]
2009-04-09 17:30:13 +00:00
Troy D. Straszheim
50acffa593
Tune up python tests for removal of our ctest hacks
...
[SVN r52255]
2009-04-08 15:46:14 +00:00
Troy D. Straszheim
cf5fcc0a1e
Test for overload resolution bug.
...
See this mail for details:
http://mail.python.org/pipermail/cplusplus-sig/2009-March/014362.html
[SVN r52250]
2009-04-08 12:08:35 +00:00
Troy D. Straszheim
c9e694bed8
Build python modules without leading 'lib' and not single threaded
...
[SVN r52249]
2009-04-08 11:54:20 +00:00
Jeremiah Willcock
0b7333f854
Moved property map library into property_map/ directory; made old files into stubs with #warnings; converted uses and docs of property map library to use new names
...
[SVN r52226]
2009-04-07 01:28:38 +00:00
John Maddock
98a9fa445b
Add PDF generation options to fix external links to point to the web site.
...
Added a few more Boostbook based libs that were missed first time around.
Fixed PDF naming issues.
[SVN r51284]
2009-02-17 10:05:58 +00:00
John Maddock
354fbb4d24
Add Jamfile to build PDF versions of all the docs.
...
Tweaked some existing Jamfiles so that PDF build finds all the necessary image files etc.
Tweaked fo.xsl to provide more options by default, and improve formatting.
[SVN r51104]
2009-02-08 16:59:14 +00:00
Ralf W. Grosse-Kunstleve
472b18881b
Boost.Python enable_shared_from_this patches by Nicolas Lelong and Chad Austin:
...
http://mail.python.org/pipermail/cplusplus-sig/2008-December/014103.html
http://mail.python.org/pipermail/cplusplus-sig/2008-February/013003.html
[SVN r50368]
2008-12-23 07:55:33 +00:00
Joel de Guzman
96798a3a38
Cosmetic fixes (improper links)
...
[SVN r49867]
2008-11-22 03:25:41 +00:00
Michael A. Jackson
7d2f44b21e
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
...
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
5cda75ebe7
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
Daniel James
6347f2e86c
Clean up some link errors.
...
[SVN r48987]
2008-09-28 12:21:39 +00:00
Ralf W. Grosse-Kunstleve
97f3d849df
boost/python, boost/mpl: gcc 4.4 compatibility (see http://svn.boost.org/trac/boost/ticket/2069 )
...
[SVN r48960]
2008-09-25 04:49:24 +00:00
Ralf W. Grosse-Kunstleve
61fc9cf054
python/object_core.hpp: "inline" added to declarations, to match definitions (resolves MIPSpro 7.41 warnings)
...
[SVN r48659]
2008-09-08 02:15:06 +00:00
Ralf W. Grosse-Kunstleve
b3e91f845e
boost/python/object_core.hpp: work around Tru64 cxx 6.5 name lookup problems (with fully-qualified names)
...
[SVN r48629]
2008-09-06 05:30:02 +00:00
Stefan Seefeld
d67cd6717d
Add generic call operator support.
...
[SVN r47846]
2008-07-27 19:41:41 +00:00
Dave Abrahams
c44100afda
Make valid HTML
...
[SVN r46844]
2008-06-29 12:26:17 +00:00
Joel de Guzman
1dee81dc71
added note on removing targets
...
[SVN r46817]
2008-06-28 18:24:17 +00:00
Beman Dawes
801326275f
With his kind permission, change Jaakko "Järvi" to "Jarvi"
...
[SVN r46808]
2008-06-28 13:45:21 +00:00
Dave Abrahams
98f20f30d6
Compatibility with Apache STDCXX library. Don't assume eh.h comes along with the other headers automatically.
...
[SVN r46721]
2008-06-26 16:41:34 +00:00
Markus Schöpflin
b01e0e6b9c
Added missing ostream header file.
...
[SVN r46115]
2008-06-04 15:11:05 +00:00
Ralf W. Grosse-Kunstleve
b0a9b11c9c
Projects using Boost.Python: PolyBoRi (text provided by Michael Brickenstein)
...
[SVN r45920]
2008-05-29 20:04:19 +00:00
Ralf W. Grosse-Kunstleve
304277b806
See Python C++-SIG thread: "object.attr(object& attrname) proposal"
...
Started 2008-05-25 by hohehohe2@gmail.com .
Excerpts:
If char const* is passed to objecjt.attr(), it uses
PyObject_GetAttrStrng() or PyObject_SetAttrStrng(). If object is
passed to objecjt.attr(), it takes the object as a Python string
object and uses PyObject_GetAttr() or PyObject_SetAttr().
If attr() behaves like this, it can be useful when there are lots
of objects which you know have the same attribute name. You can save
time by first making a boost::python::object and passing it to every
object's attr() inside a loop.
I just made a bit of modification to boost:python locally and did a
quick test, like
test 1:
for(int i = 0; i < n; ++i)
{
omain.attr(attrname) = 444; //attrname is a char const*
}
test 2:
for(int i = 0; i < n; ++i)
{
object o = omain.attr(attrname); //attrname is a char const*
}
test 3:
for(int i = 0; i < n; ++i)
{
omain.attr(oaaaa) = 444; //oaaaa is boost::python::object that represents a string
}
test 4:
for(int i = 0; i < n; ++i)
{
object o = omain.attr(oaaaa); //oaaaa is boost::python::object that represents a string
}
and it reasonably reflected the difference between PyObject_*Attr() and PyObject_*AttrString.
test 1 :2783ms
test 2 :2357ms
test 3 :1882ms
test 4 :1267ms
test5: PyObject_SetAttrString(po_main, "aaaa", po_num444);
test6: Py_DECREF(PyObject_GetAttrString(po_main, "aaaa"));
test7: PyObject_SetAttr(po_main, po_aaaa, po_num444);
test8: Py_DECREF(PyObject_GetAttr(po_main, po_aaaa));
(po_ prefixed variables are PyObject*),
all inside each for loop, and the results were
test 5 :2410ms
test 6 :2277ms
test 7 :1629ms
test 8 :1094ms
It's boost 1.35.0, Python 2.5 on linux(gcc4.1.2).
I also did the same test on windows(vs8) and the tendency was not
so different.
[SVN r45918]
2008-05-29 19:48:55 +00:00
Ralf W. Grosse-Kunstleve
a334649b0c
braces added to resolve g++ 4.3.0 warning
...
[SVN r45359]
2008-05-14 19:38:08 +00:00
Daniel James
79b7f88df6
Quote href values - our tools don't support unquoted values.
...
[SVN r45283]
2008-05-11 13:49:20 +00:00
Daniel James
a33ed032c6
Merge in documentation fixes. Apart from the change to optional's documenation
...
Jamfile, which I included by mistake.
Fixes #1659 , #1661 , #1684 , #1685 , 1687, #1690 , #1801
I wrote about this at:
http://lists.boost.org/Archives/boost/2008/04/136405.php
Merged revisions 44585-44806 via svnmerge from
https://svn.boost.org/svn/boost/branches/doc
........
r44585 | danieljames | 2008-04-19 16:25:27 +0100 (Sat, 19 Apr 2008) | 2 lines
Fix broken link to vacpp in bjam docs. Refs #1512
........
r44586 | danieljames | 2008-04-19 16:27:36 +0100 (Sat, 19 Apr 2008) | 2 lines
Fix broken link to bcpp in bjam docs. Refs #1513
........
r44587 | danieljames | 2008-04-19 16:33:58 +0100 (Sat, 19 Apr 2008) | 2 lines
DateTime documentation - Fix a link to the serialization library. Refs #1659
........
r44588 | danieljames | 2008-04-19 16:35:36 +0100 (Sat, 19 Apr 2008) | 2 lines
Fix some links in interprocess & intrusive. Refs #1661
........
r44589 | danieljames | 2008-04-19 16:37:39 +0100 (Sat, 19 Apr 2008) | 2 lines
Fix some links in the python docs. Refs #1684 .
........
r44590 | danieljames | 2008-04-19 16:38:29 +0100 (Sat, 19 Apr 2008) | 2 lines
Work around a quickbook bug which is affecting the python docs. Refs #1684 .
........
r44591 | danieljames | 2008-04-19 16:39:34 +0100 (Sat, 19 Apr 2008) | 2 lines
Fix a broken link in the numeric conversion docs. Refs #1685
........
r44592 | danieljames | 2008-04-19 16:40:45 +0100 (Sat, 19 Apr 2008) | 2 lines
Fix some links in the optional docs. Refs #1687
........
r44593 | danieljames | 2008-04-19 16:42:09 +0100 (Sat, 19 Apr 2008) | 2 lines
Fix link to the hash documentation from bimap. Refs #1690
........
r44599 | danieljames | 2008-04-19 18:07:33 +0100 (Sat, 19 Apr 2008) | 2 lines
Fix a typo in the format library. Refs #1801
........
r44600 | danieljames | 2008-04-19 19:20:59 +0100 (Sat, 19 Apr 2008) | 1 line
Initialise svnmerge.
........
r44641 | danieljames | 2008-04-20 18:59:47 +0100 (Sun, 20 Apr 2008) | 2 lines
Fix the lincense url in shared container iterator documentation.
........
r44642 | danieljames | 2008-04-20 19:00:00 +0100 (Sun, 20 Apr 2008) | 2 lines
Fix image link in the mpi documentation.
........
r44643 | danieljames | 2008-04-20 19:00:11 +0100 (Sun, 20 Apr 2008) | 2 lines
Fix a typo in the spirit docs.
........
r44644 | danieljames | 2008-04-20 19:00:23 +0100 (Sun, 20 Apr 2008) | 2 lines
Escape the slash so that quickbook doesn't think it the start of an italic section, and mess up the link. Refs #1844
........
r44647 | danieljames | 2008-04-20 19:39:47 +0100 (Sun, 20 Apr 2008) | 2 lines
Fix another typo in spirit docs.
........
[SVN r44807]
2008-04-27 07:39:49 +00:00