Update of /cvsroot/openvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12865
Modified Files:
ChangeLog
Log Message:
Make a copy of the URI passed to the root_scene_loader, since it very well may go away.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v
retrieving revision 1.1237
retrieving revision 1.1238
diff -C2 -d -r1.1237 -r1.1238
*** ChangeLog 12 May 2006 20:59:44 -0000 1.1237
--- ChangeLog 12 May 2006 22:16:16 -0000 1.1238
***************
*** 1,4 ****
--- 1,25 ----
2006-05-12 Braden McDaniel <br...@en...>
+ Make a copy of the URI passed to the root_scene_loader, since it
+ very well may go away.
+
+ * src/libopenvrml/openvrml/browser.cpp
+ (openvrml::browser::root_scene_loader): Changed url_ member to a
+ const value from a pointer.
+ (openvrml::browser::root_scene_loader::root_scene_loader(browser
+ &, const std::vector<std::string> &)): Make a copy of the URI
+ vector; note that std::bad_alloc may be thrown.
+ (openvrml::browser::root_scene_loader::operator()): url_ member is
+ no longer a pointer.
+ (openvrml::browser::load_url(const std::vector<std::string> &,
+ const std::vector<std::string> &)): Added std::bad_alloc to
+ exception specification.
+ * src/libopenvrml/openvrml/browser.h
+ (openvrml::browser::load_url(const std::vector<std::string> &,
+ const std::vector<std::string> &)): Added std::bad_alloc to
+ exception specification.
+
+ 2006-05-12 Braden McDaniel <br...@en...>
+
* src/libopenvrml/openvrml/basetypes.cpp
(rgb_to_hsv(const float *, float *)): Removed "inline"; changed
|