Haoyu Bai
58f1684885
change encoding annotation iso-latin-1 to latin-1
...
[SVN r53698]
2009-06-06 18:35:40 +00:00
Haoyu Bai
eea11df1ea
clean other attempts for making unicode -> const char* conversion work, since now we have the right way in previous commit.
...
[SVN r53693]
2009-06-06 14:51:35 +00:00
Haoyu Bai
6fe34b46d4
implemented unicode -> const char* lvalue converter for py3k, by using _PyUnicode_AsString() C-API
...
[SVN r53692]
2009-06-06 14:43:48 +00:00
Haoyu Bai
e33ce235a8
implemented a arg_from_python converter that converts py3k unicode to const char*, not an ideal solution, just experimenting.
...
[SVN r53653]
2009-06-05 12:19:00 +00:00
Haoyu Bai
caf661cfeb
fix for next() -> __next__() name change in py3k
...
[SVN r53322]
2009-05-27 19:43:52 +00:00
Haoyu Bai
86f44ed159
more minor fixes to get test cases passed
...
[SVN r53315]
2009-05-27 18:16:13 +00:00
Haoyu Bai
e73277e156
more fixes to get testcases work, includes module init and other minor fixes
...
[SVN r53285]
2009-05-26 17:05:53 +00:00
Haoyu Bai
92f07fc4d6
get builtin_converters.cpp compiled under Python 3
...
[SVN r53278]
2009-05-26 09:59:43 +00:00
Haoyu Bai
99737170f8
Fix more bugs due to typo.
...
[SVN r52134]
2009-04-02 17:04:26 +00:00
Haoyu Bai
ce3992ce52
Fix a typo which cause many tests crash.
...
[SVN r52133]
2009-04-02 16:40:48 +00:00
Haoyu Bai
60ed8e57c1
More BPL .cpps compiled. A part of Python 3 module initilization support done.
...
[SVN r52131]
2009-04-02 15:27:53 +00:00
Haoyu Bai
41bcac0369
preliminary work - 14 BPL .cpp files can be compiled with Python 3 now.
...
[SVN r52118]
2009-04-01 19:03:25 +00:00
Haoyu Bai
a0f61cdfd1
Redo py3k branching from trunk again
...
[SVN r52115]
2009-04-01 16:55:33 +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
Joel de Guzman
b316819925
Andreas indexing suite patch
...
[SVN r44450]
2008-04-16 03:07:11 +00:00
Joel de Guzman
52245de2e5
Andreas patch
...
[SVN r44449]
2008-04-16 03:07:06 +00:00
Ralf W. Grosse-Kunstleve
2f1f79ce87
bogus VC8 warning C4180 disabled
...
[SVN r44041]
2008-04-04 18:57:27 +00:00
Beman Dawes
863bff9072
Remove per email from Dave
...
[SVN r43901]
2008-03-28 02:11:13 +00:00
Dave Abrahams
2213cf98c6
Work around vc9 bugs
...
[SVN r43845]
2008-03-24 18:27:22 +00:00
Ralf W. Grosse-Kunstleve
2dba3148ce
map std::invalid_argument -> Python ValueError
...
[SVN r43546]
2008-03-09 04:30:13 +00:00
Daniel James
48aa6ab9a9
Fix incorrect links to copyright of the form 'http:#www.boost.org
...
[SVN r43423]
2008-02-27 19:22:01 +00:00
Daniel James
6ba5067e0b
Point links to the pages that used to be in 'more' to the site.
...
[SVN r43210]
2008-02-10 15:02:17 +00:00
Daniel James
60f4f5e54c
Link to people pages on the website, as they've been removed from the download.
...
[SVN r43209]
2008-02-10 14:56:22 +00:00
Eric Niebler
7ee9cf679b
stl_iterator does better error handling
...
[SVN r42836]
2008-01-17 22:47:54 +00:00
Ralf W. Grosse-Kunstleve
03a72363a4
undo revision 41404; see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34238
...
[SVN r41986]
2007-12-12 05:39:45 +00:00
Jürgen Hunold
38cc1a0c15
Add cosmetic virtual detructors to silence compile warnings.
...
[SVN r41650]
2007-12-03 18:51:26 +00:00
Jürgen Hunold
ff44521920
Silence unused paramter warning in release mode.
...
[SVN r41649]
2007-12-03 18:47:17 +00:00
Jürgen Hunold
0ac7e3f858
Revert revisions 41544 and 41549.
...
See http://lists.boost.org/Archives/boost/2007/12/131116.php for details.
[SVN r41577]
2007-12-02 11:51:08 +00:00
Jürgen Hunold
5cbb539ec5
Remove unused paramters.
...
Add -Wextra to gcc flags to enable more warnings.
[SVN r41550]
2007-12-01 20:26:37 +00:00
Jürgen Hunold
40e4940877
Silence compiler by adding cosmetic virtual destructors.
...
[SVN r41549]
2007-12-01 20:24:51 +00:00