19 Commits

Author SHA1 Message Date
jst%mozilla.org
9c54b2dff6 Fixing bug 377360. Fix atom table crash due to invalid UTF data in atoms. r=jonas@sicking.cc, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@229744 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 20:46:43 +00:00
dbaron%dbaron.org
f8c5ee69f1 Fix threadsafety regression so we're back to the old broken state. b=335734 r=sicking rs=brendan
git-svn-id: svn://10.0.0.236/trunk@196106 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:49:21 +00:00
dbaron%dbaron.org
f5d221deac Make IsPermanent non-virtual so it can be called in the destructor. b=334605 r=mrbkap rs=brendan
git-svn-id: svn://10.0.0.236/trunk@194715 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 21:46:47 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
bryner%brianryner.com
1bd144eac3 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151669 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 01:01:19 +00:00
alecf%netscape.com
f24ccb3da0 landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
59c2bfe187 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.


git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
dp%netscape.com
ed288aa832 Trying to fix Irix and HPUX bustage. Defining CPP_THROW_NEW at point
of declaration too.


git-svn-id: svn://10.0.0.236/trunk@124547 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 22:38:16 +00:00
seawood%netscape.com
a7c7e77b8b Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc


git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
772b5b8c58 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
jdunn%netscape.com
be8b031465 trying an AIX ifdef to see if this is our startup slowdown problem
a=waterson@netscape.com
# 112824


git-svn-id: svn://10.0.0.236/trunk@111358 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 15:03:43 +00:00
jdunn%netscape.com
77a48bf25c AIX requires a constructor for the nsPermanentAtom since this relies on
"new replacement"

r=dbaron@fas.harvard.edu
sr=shaver@mozilla.org
# 112824


git-svn-id: svn://10.0.0.236/trunk@111307 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 15:57:59 +00:00
dbaron%fas.harvard.edu
85c206679a Reduce the performance cost of (threadsafely) refcounting many atoms by creating a second implementation of nsIAtom (derived from the first) that does not refcount and gets destroyed at XPCOM shutdown. Normal atoms are converted to permanent ones without loss of pointer identity when a permanent atom is requested and a normal one already exists. b=92141 r=waterson sr=brendan
git-svn-id: svn://10.0.0.236/trunk@105889 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 23:19:07 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
dougt%netscape.com
6c0494af59 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant.
git-svn-id: svn://10.0.0.236/trunk@43975 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 07:07:00 +00:00
warren%netscape.com
a89e09d70c Added
git-svn-id: svn://10.0.0.236/trunk@32093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:43:13 +00:00