I'd like to commit my latest IG patch before I go on and integrate my
asynchronous messaging to lyx.

<msg to="Lars">
I'd like you to apply the patch I attach to boost, this adds the
asserts for memory checks.
</msg>

This is not fully critical to the IG patch, but I'd like to have it in
too.

If I'm not getting any objection I'll commit my IG patches from
yesterday, I'll do it in a few hours.

The status of the rest is that I wrote my framework for asynchronous
messaging (no one object to my idea so far). I need to test it and then
to make the IG use it, this will essentialy make IG a complete
replacement for FigInset, and so I hope it will be ready for 1.2.0 when
it makes its show.

One thing though, in order to avoid the tabular inset fiasco, I wouldnt
remove the old figinset yet, It might be a good idea to provide at the
initial show to have them both available, it won't pose any problem
except possibly as a UI problem.

-- 
Baruch Even
http://baruch.ev-en.org/
Index: boost/boost/smart_ptr.hpp
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/boost/boost/smart_ptr.hpp,v
retrieving revision 1.2
diff -u -r1.2 smart_ptr.hpp
--- boost/boost/smart_ptr.hpp   2001/02/20 13:39:03     1.2
+++ boost/boost/smart_ptr.hpp   2001/02/22 12:34:14
@@ -63,6 +63,10 @@
 #include <boost/utility.hpp>  // for boost::noncopyable
 #include <functional>         // for std::less
 
+#ifdef LYX_NO_EXCEPTIONS
+#include <assert.h>
+#endif
+
 namespace boost {
 
 //  scoped_ptr  --------------------------------------------------------------//
@@ -142,6 +146,7 @@
       catch (...) { delete p; throw; } 
 #else
          pn = new long(1);
+         assert(pn != 0);
 #endif
    }
 
@@ -221,6 +226,7 @@
         } // catch
 #else
                pn = new long;
+               assert(pn != 0);
 #endif
       } // allocate new reference counter
       *pn = 1;
@@ -298,6 +304,7 @@
       catch (...) { delete [] p; throw; } 
 #else
          pn = new long(1);
+         assert(pn != 0);
 #endif
    }
 
@@ -328,6 +335,7 @@
         } // catch
 #else
                pn = new long;
+               assert(pn != 0);
 #endif
       } // allocate new reference counter
       *pn = 1;

Reply via email to