/[v1]/trunk/c++/src/corelib/ncbiobj.cpp
ViewVC logotype

Log of /trunk/c++/src/corelib/ncbiobj.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 99781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 10 17:44:44 2023 UTC (12 months, 1 week ago) by vasilche
File length: 45230 byte(s)
Diff to previous 99667
Use std::atomic for CObject reference counter. Use atomic for in-heap detection TLS container. JIRA: OMDM-5

Revision 99667 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 27 18:10:16 2023 UTC (12 months, 2 weeks ago) by vasilche
File length: 45353 byte(s)
Diff to previous 95357
Use proper memory order for new pointer set initializaiton. JIRA: CXX-12960

Revision 95357 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 9 12:36:08 2021 UTC (2 years, 6 months ago) by grichenk
File length: 44902 byte(s)
Diff to previous 95307
Fixed TLS cleanup. JIRA CXX-12165

Revision 95307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 4 01:49:41 2021 UTC (2 years, 6 months ago) by vakatov
File length: 44781 byte(s)
Diff to previous 95296
Move SEraseLastNewPtrMultiple under #ifndef NCBI_NO_THREADS.  JIRA: CXX-12165

Revision 95296 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 3 14:44:59 2021 UTC (2 years, 6 months ago) by grichenk
File length: 44780 byte(s)
Diff to previous 95217
Prevent segfault on application exit. JIRA CXX-12165

Revision 95217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 14:40:00 2021 UTC (2 years, 6 months ago) by vasilche
File length: 44742 byte(s)
Diff to previous 85453
Cleanup CObject new ptr storage in non-CThread Win32 threads too. JIRA: CXX-12165

Revision 85453 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 12 17:41:00 2019 UTC (5 years, 3 months ago) by vasilche
File length: 44532 byte(s)
Diff to previous 67685
Avoid premature destruction of CObject constructor tracking vector in ST mode. JIRA: CXX-10419

Revision 67685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 4 14:27:27 2015 UTC (8 years, 11 months ago) by vasilche
File length: 44394 byte(s)
Diff to previous 66882
Avoid using static bad_alloc instance. JIRA: CXX-6006

Revision 66882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 30 18:03:40 2015 UTC (9 years, 1 month ago) by vasilche
File length: 44392 byte(s)
Diff to previous 66599
Added 64-bit atomic counter where possible - currently GCC/ICC/MSVC on Interl x64.
Moved non API CObject counter constant from header to cpp. Added comments. JIRA: CXX-5828

Revision 66599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 13 12:47:31 2015 UTC (9 years, 2 months ago) by vasilche
File length: 42036 byte(s)
Diff to previous 66457
Use ERR_FATAL macro for correct no-return info. JIRA: CXX-5700

Revision 66457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 4 17:53:33 2015 UTC (9 years, 2 months ago) by grichenk
File length: 42093 byte(s)
Diff to previous 64467
Replacing LOG_POST with ERR_POST in corelib. JIRA CXX-5433

Revision 64467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 16 18:55:29 2014 UTC (9 years, 8 months ago) by grichenk
File length: 42053 byte(s)
Diff to previous 60229
Fixed usage of NCBI_PARAMs in corelib. JIRA CXX-65

Revision 60229 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 4 18:21:12 2013 UTC (10 years, 6 months ago) by grichenk
File length: 42136 byte(s)
Diff to previous 58585
Log stack trace on NULL pointer error in debug mode. JIRA CXX-4263

Revision 58585 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 18 15:26:09 2013 UTC (10 years, 11 months ago) by grichenk
File length: 41958 byte(s)
Diff to previous 56967
Reimplemented CSafeStaticPtr and CSafeStaticRef as CSafeStatic. JIRA CXX-4128

Revision 56967 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 16:50:17 2013 UTC (11 years, 3 months ago) by vasilche
File length: 41964 byte(s)
Diff to previous 55879
Inline internal method CObject::InitCounter(). JIRA: CXX-3540

Revision 55879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 2 19:58:49 2012 UTC (11 years, 7 months ago) by vasilche
File length: 41957 byte(s)
Diff to previous 55533
Fixed assertion checks in TLS mode.

Revision 55533 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 27 20:51:20 2012 UTC (11 years, 8 months ago) by vasilche
File length: 40863 byte(s)
Diff to previous 55223
Removed obsolete commented code. JIRA: CXX-3350

Revision 55223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 30 16:22:04 2012 UTC (11 years, 9 months ago) by grichenk
File length: 41343 byte(s)
Diff to previous 54698
Removed most static NCBI_PARAMs. JIRA CXX-65

Revision 54698 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 5 00:11:16 2012 UTC (11 years, 11 months ago) by ucko
File length: 41295 byte(s)
Diff to previous 54694
Fix recursive object creation handling in single-threaded builds.
JIRA: CXX-1808.

Revision 54694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 21:00:22 2012 UTC (11 years, 11 months ago) by vasilche
File length: 41119 byte(s)
Diff to previous 54693
Added WIN32 TLS code. JIRA: CXX-1808

Revision 54693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 18:57:28 2012 UTC (11 years, 11 months ago) by vasilche
File length: 40761 byte(s)
Diff to previous 54645
Allow recursive object creation. JIRA: CXX-1808

Revision 54645 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 30 16:56:59 2012 UTC (11 years, 11 months ago) by vasilche
File length: 37919 byte(s)
Diff to previous 52098
In-heap CObject detection via TLS variable. JIRA: CXX-1808

Revision 52098 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 18:18:29 2011 UTC (12 years, 5 months ago) by vasilche
File length: 35259 byte(s)
Diff to previous 52093
Print stack trace with critical error messages. JIRA: CXX-2824

Revision 52093 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 17:35:05 2011 UTC (12 years, 5 months ago) by vasilche
File length: 35118 byte(s)
Diff to previous 49029
Avoid warning.

Revision 49029 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 21 18:53:25 2011 UTC (13 years, 1 month ago) by vasilche
File length: 35113 byte(s)
Diff to previous 48977
Use more efficient direct type_info comparison. JIRA: CXX-492

Revision 48977 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 16 14:44:43 2011 UTC (13 years, 2 months ago) by vasilche
File length: 35204 byte(s)
Diff to previous 48965
Added CObjectCounterLocker::TransferLock() and updated CRef<>::Swap() to support MonitorObjectType(). JIRA: CXX-492

Revision 48965 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 15 18:18:51 2011 UTC (13 years, 2 months ago) by vasilche
File length: 34893 byte(s)
Diff to previous 47784
Added CObjectCounterLocker::MonitorObjectType(). JIRA: CXX-492

Revision 47784 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 29 15:23:55 2010 UTC (13 years, 6 months ago) by kazimird
File length: 30502 byte(s)
Diff to previous 46354
Removed constness from CObject::DeleteThis() as all of its implementations are meant to change the object.  JIRA: CXX-1979

Revision 46354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 13:50:24 2010 UTC (13 years, 10 months ago) by satskyse
File length: 30480 byte(s)
Diff to previous 41952
Introducing CWeakObject class. (JIRA: CXX-1758)

Revision 41952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 21 14:09:04 2009 UTC (14 years, 11 months ago) by ivanovp
File length: 30316 byte(s)
Diff to previous 41951
Fix compilation errors.

Revision 41951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 21 13:57:00 2009 UTC (14 years, 11 months ago) by ivanovp
File length: 30237 byte(s)
Diff to previous 38694
- Make possible for CObject-derived classes to be not deleted after removing last reference.
- Fix for CWeakRef to allow CObjectEx to exist after last reference is removed.
NOJIRA

Revision 38694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 24 20:58:37 2008 UTC (15 years, 9 months ago) by vasilche
File length: 29927 byte(s)
Diff to previous 38298
Don't fill allocated memory by default on MSVC. JIRA CXX-364

Revision 38298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 19 19:01:31 2008 UTC (15 years, 11 months ago) by ivanovp
File length: 29889 byte(s)
Diff to previous 38288
Change CWeakRef<> and CWeakIRef<> to be completely policy-driven as CRef and CIRef siblings.
JIRA: CXX-497

Revision 38288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 19 17:05:09 2008 UTC (15 years, 11 months ago) by ivanovp
File length: 29555 byte(s)
Diff to previous 37632
Introduce class CObjectEx and templates CWeakRef<> and CWeakIRef<> for weak referencing to objects.
JIRA: CXX-497

Revision 37632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 22 18:42:25 2008 UTC (16 years ago) by vasilche
File length: 28467 byte(s)
Diff to previous 37531
Added pointer type information to null pointer exception.

Revision 37531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 14 17:47:58 2008 UTC (16 years, 1 month ago) by vasilche
File length: 28002 byte(s)
Diff to previous 35685
Memory filling in CObject::operator new() now is optional.

Revision 35685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 10 18:46:30 2007 UTC (16 years, 7 months ago) by ivanovp
File length: 25780 byte(s)
Diff to previous 35639
New system of log and error posting slightly modified and beautified. Now it throws compile-time error if wrong error subcode is used in ERR_POST_X and LOG_POST_X macros. See comments to ERR_POST_X and LOG_POST_X for more details of their use.
All error codes in corelib are moved to public header corelib/error_codes.hpp.
JIRA: CXX-3

Revision 35639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 4 22:54:04 2007 UTC (16 years, 7 months ago) by ivanovp
File length: 25774 byte(s)
Diff to previous 33815
Created a set of macros for convenient way of structural error codes and unique subcodes (see ERR_POST_X, LOG_POST_X and related macros in ncbidiag.hpp). All corelib changed to use these macros.
JIRA: CXX-3

Revision 33815 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 4 17:18:18 2007 UTC (17 years ago) by kazimird
File length: 25618 byte(s)
Diff to previous 32839
Fixed svn properties in trunk/c++.

Revision 32839 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 20:41:55 2007 UTC (17 years, 2 months ago) by kazimird
File length: 25618 byte(s)
Diff to previous 31349
CVS $Log$ keyword clean-up: everything except "internal".

Revision 31349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 29 15:19:07 2006 UTC (17 years, 5 months ago) by grichenk
File length: 32698 byte(s)
Diff to previous 31345
Throw null pointer exception with critical severity.

Revision 31345 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 29 13:56:30 2006 UTC (17 years, 5 months ago) by gouriano
File length: 32425 byte(s)
Diff to previous 29182
Moved GetErrorCodeString method into cpp

Revision 29182 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 17 14:17:27 2006 UTC (17 years, 10 months ago) by ucko
File length: 31913 byte(s)
Diff to previous 26814
RemoveLastReference, DoDeleteThisObject: Ensure that both sides of ==
have the same signedness to ensure correct behavior under VisualAge.

Revision 26814 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 21 14:38:59 2006 UTC (18 years, 2 months ago) by vasilche
File length: 31697 byte(s)
Diff to previous 26070
Implemented templates CIRef and CIConstRef.

Revision 26070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 9 19:31:49 2006 UTC (18 years, 4 months ago) by grichenk
File length: 31277 byte(s)
Diff to previous 26026
Fixed names of env. variables.

Revision 26026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 5 20:40:18 2006 UTC (18 years, 4 months ago) by grichenk
File length: 31196 byte(s)
Diff to previous 25294
Added explicit environment variable name for params.
Added default value caching flag to CParam constructor.

Revision 25294 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 17 18:47:19 2005 UTC (18 years, 6 months ago) by grichenk
File length: 30901 byte(s)
Diff to previous 21851
Replaced GetConfigXXX with CParam<>.

Revision 21851 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 26 14:52:11 2005 UTC (19 years ago) by vasilche
File length: 30887 byte(s)
Diff to previous 21839
Fixed warning.

Revision 21839 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 26 14:08:33 2005 UTC (19 years ago) by vasilche
File length: 30815 byte(s)
Diff to previous 21005
Allow allocation of CObjects from CObjectMemoryPool.
Documented CObject counter bits.

Revision 21005 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 17 19:54:30 2005 UTC (19 years, 2 months ago) by grichenk
File length: 26930 byte(s)
Diff to previous 20878
DoDeleteThisObject() fails for objects not in heap.

Revision 20878 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 14 17:03:37 2005 UTC (19 years, 2 months ago) by vasilche
File length: 26825 byte(s)
Diff to previous 17957
Allow to set NCBI_ABORT_ON_NULL and NCBI_ABORT_ON_COBJECT_THROW via registry.

Revision 17957 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 30 18:35:17 2004 UTC (19 years, 7 months ago) by vasilche
File length: 26353 byte(s)
Diff to previous 16986
Relax check for ref counter to allow temporary references.

Revision 16986 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 4 14:35:33 2004 UTC (19 years, 9 months ago) by vasilche
File length: 25966 byte(s)
Diff to previous 15578
Renamed debug alloc functions to avoid name clash with system libraries. Changed memory filling constants.

Revision 15578 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 14 13:59:51 2004 UTC (20 years ago) by gorelenk
File length: 25051 byte(s)
Diff to previous 14753
Added include of ncbi_pch.hpp

Revision 14753 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 5 15:58:43 2004 UTC (20 years, 1 month ago) by vakatov
File length: 24943 byte(s)
Diff to previous 13703
CObject::InitCounter() -- ATTENTION:  this code can cause UMR -- it's okay

Revision 13703 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 19 16:44:19 2004 UTC (20 years, 3 months ago) by vasilche
File length: 24641 byte(s)
Diff to previous 13630
Modified debug new/delete code for 64 bit builds.

Revision 13630 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 17 21:08:19 2004 UTC (20 years, 3 months ago) by vasilche
File length: 24477 byte(s)
Diff to previous 12629
Added code to debug memory allocation problems (currently commented out).

Revision 12629 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 17 20:10:07 2003 UTC (20 years, 5 months ago) by vasilche
File length: 18446 byte(s)
Diff to previous 11070
Avoid throwing exceptions from destructors.
Display Fatal message in Debug mode and Critical message in Release mode.

Revision 11070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 17 15:58:29 2003 UTC (20 years, 8 months ago) by vasilche
File length: 17996 byte(s)
Diff to previous 11067
Allow debug abort when:
CObjectException is thrown - env var NCBI_ABORT_ON_COBJECT_THROW=[Yy1],
CNullPointerException is thrown - env var NCBI_ABORT_ON_NULL=[Yy1].
Allow quit abort in debug mode and coredump in release mode:
env var DIAG_SILENT_ABORT=[Yy1Nn0].

Revision 11067 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 17 15:20:46 2003 UTC (20 years, 8 months ago) by vasilche
File length: 17377 byte(s)
Diff to previous 10384
Moved atomic counter swap functions to separate file.
Added CRef<>::AtomicResetFrom(), CRef<>::AtomicReleaseTo() methods.

Revision 10384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 12 12:06:58 2003 UTC (20 years, 9 months ago) by siyan
File length: 15428 byte(s)
Diff to previous 9892
Changed name of implementation for AddReferenceOverflow(). It is now
CheckReferenceOverflow().

Revision 9892 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 17 23:01:32 2003 UTC (20 years, 10 months ago) by vasilche
File length: 15277 byte(s)
Diff to previous 9867
Added matching operator delete.

Revision 9867 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 17 20:01:07 2003 UTC (20 years, 10 months ago) by vasilche
File length: 15054 byte(s)
Diff to previous 7885
Added inplace operator new().

Revision 7885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 6 19:40:52 2003 UTC (21 years, 2 months ago) by ucko
File length: 14595 byte(s)
Diff to previous 6791
InitCounter: read m_Value directly rather than going through Get(), which
would end up spinning forever if it came across NCBI_COUNTER_RESERVED_VALUE.

Revision 6791 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 27 12:53:45 2002 UTC (21 years, 5 months ago) by dicuccio
File length: 14284 byte(s)
Diff to previous 6192
Added CObject::ThrowNullPointerException() to get around some inlining issues.

Revision 6192 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 20 13:52:46 2002 UTC (21 years, 8 months ago) by vasilche
File length: 14022 byte(s)
Diff to previous 6184
Renamed sm_Mutex -> sm_AtomicCounterMutex

Revision 6184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 19 20:05:44 2002 UTC (21 years, 8 months ago) by vasilche
File length: 13973 byte(s)
Diff to previous 5991
Safe initialization of static mutexes

Revision 5991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 28 17:05:50 2002 UTC (21 years, 8 months ago) by vasilche
File length: 13629 byte(s)
Diff to previous 5676
Remove virtual inheritance, fixed heap detection

Revision 5676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 15 18:18:10 2002 UTC (21 years, 10 months ago) by gouriano
File length: 13474 byte(s)
Diff to previous 5656
renamed CNcbiException and its descendents

Revision 5656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 11 14:23:48 2002 UTC (21 years, 10 months ago) by gouriano
File length: 13341 byte(s)
Diff to previous 5277
exceptions replaced by CNcbiException-type ones

Revision 5277 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 29 21:17:57 2002 UTC (21 years, 11 months ago) by gouriano
File length: 13583 byte(s)
Diff to previous 5269
minor change in debug dump

Revision 5269 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 28 17:59:55 2002 UTC (21 years, 11 months ago) by gouriano
File length: 13500 byte(s)
Diff to previous 5247
minor modification od DebugDump

Revision 5247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 24 14:12:10 2002 UTC (21 years, 11 months ago) by ucko
File length: 13329 byte(s)
Diff to previous 5245
Provide CAtomicCounter::sm_Mutex if necessary.

Revision 5245 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 23 22:24:23 2002 UTC (21 years, 11 months ago) by ucko
File length: 13062 byte(s)
Diff to previous 5199
Use low-level atomic operations for reference counts

Revision 5199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 17 14:27:13 2002 UTC (22 years ago) by gouriano
File length: 13105 byte(s)
Diff to previous 5170
added DebugDump base class and function to CObject

Revision 5170 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 14 21:12:11 2002 UTC (22 years ago) by gouriano
File length: 12946 byte(s)
Diff to previous 5153
DebugDump() moved into a separate class

Revision 5153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 14 14:44:25 2002 UTC (22 years ago) by gouriano
File length: 13109 byte(s)
Diff to previous 5133
added DebugDump function to CObject

Revision 5133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 10 20:53:12 2002 UTC (22 years ago) by gouriano
File length: 12587 byte(s)
Diff to previous 5132
more stack/heap tests

Revision 5132 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 10 19:42:31 2002 UTC (22 years ago) by gouriano
File length: 12412 byte(s)
Diff to previous 4787
object on stack vs on heap - do it more accurately

Revision 4787 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 11 21:08:04 2002 UTC (22 years, 1 month ago) by ivanov
File length: 9661 byte(s)
Diff to previous 3271
CVS log moved to end of the file

Revision 3271 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 20 18:35:10 2001 UTC (22 years, 9 months ago) by ucko
File length: 9472 byte(s)
Diff to previous 3269
Clarified InitCounter's treatment of statically allocated objects.

Revision 3269 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 20 15:59:43 2001 UTC (22 years, 9 months ago) by ucko
File length: 9340 byte(s)
Diff to previous 2831
Test more accurately whether CObjects were created on the stack.

Revision 2831 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 17 15:07:16 2001 UTC (23 years ago) by lavr
File length: 9037 byte(s)
Diff to previous 2664
Typos corrected

Revision 2664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 3 18:08:54 2001 UTC (23 years, 1 month ago) by grichenk
File length: 8973 byte(s)
Diff to previous 2638
Converted eCounterNotInHeap to TCounter(eCounterNotInHeap)

Revision 2638 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 26 21:22:52 2001 UTC (23 years, 1 month ago) by vakatov
File length: 8823 byte(s)
Diff to previous 2572
Minor cosmetics

Revision 2572 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 22:43:50 2001 UTC (23 years, 2 months ago) by vakatov
File length: 8734 byte(s)
Diff to previous 2267
Made "CObject" MT-safe
+ CObject::DoDeleteThisObject()

Revision 2267 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 26 22:00:19 2000 UTC (23 years, 4 months ago) by vasilche
File length: 7842 byte(s)
Diff to previous 2115
Fixed error check for case CObject constructor never called.

Revision 2115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 1 21:20:55 2000 UTC (23 years, 6 months ago) by vasilche
File length: 7669 byte(s)
Diff to previous 2110
Fixed missing new[] and delete[] on MSVC.

Revision 2110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 1 20:37:16 2000 UTC (23 years, 6 months ago) by vasilche
File length: 7440 byte(s)
Diff to previous 2042
Fixed detection of heap objects.
Removed ECanDelete enum and related constructors.
Disabled sync_with_stdio ad the beginning of AppMain.

Revision 2042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 17 17:59:08 2000 UTC (23 years, 7 months ago) by vasilche
File length: 7382 byte(s)
Diff to previous 2021
Detected misuse of CObject constructors will be reported via ERR_POST and will
not throw exception.

Revision 2021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 13 16:26:30 2000 UTC (23 years, 7 months ago) by vasilche
File length: 7063 byte(s)
Diff to previous 1823
Added heuristic for detection of CObject allocation in heap.

Revision 1823 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 15 19:42:06 2000 UTC (23 years, 9 months ago) by vasilche
File length: 4918 byte(s)
Diff to previous 1640
Changed refernce counter to allow detection of more errors.

Revision 1640 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 16 16:29:51 2000 UTC (23 years, 11 months ago) by vasilche
File length: 3315 byte(s)
Diff to previous 1602
Added SetCanDelete() method to allow to change CObject 'in heap' status immediately after creation.

Revision 1602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 7 19:44:22 2000 UTC (23 years, 11 months ago) by vasilche
File length: 3141 byte(s)
Diff to previous 1347
Removed unneeded THROWS declaration - they lead to encreased code size.

Revision 1347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 29 15:50:43 2000 UTC (24 years, 1 month ago) by vasilche
File length: 3047 byte(s)
Diff to previous 1298
Added const version of CRef - CConstRef.
CRef and CConstRef now accept classes inherited from CObject.

Revision 1298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 8 17:47:30 2000 UTC (24 years, 2 months ago) by vasilche
File length: 2858 byte(s)
Diff to previous 1295
Simplified error check.

Revision 1295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 8 14:18:22 2000 UTC (24 years, 2 months ago) by vasilche
File length: 2831 byte(s)
Diff to previous 1283
Fixed throws instructions.

Revision 1283 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Mar 7 14:03:15 2000 UTC (24 years, 2 months ago) by vasilche
File length: 2810 byte(s)
Added CObject class as base for reference counted objects.
Added CRef templace for reference to CObject descendant.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

NCBI Systems Team">NCBI Systems Team
ViewVC Help
Powered by ViewVC 1.1.20  

HHS Vulnerability Disclosure