Граф коммитов

1700 Коммитов

Автор SHA1 Сообщение Дата
heikki%netscape.com 49d0a35f7d Bug 110464, don't load external entities for standalone documents (minor perf optimization). Patch from henris@clinet.fi. r=heikki, sr=jst. 2002-02-12 01:02:44 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
heikki%netscape.com 3a6fb922c1 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser. 2002-02-01 22:28:55 +00:00
alecf%netscape.com 5483b6f627 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
alecf%netscape.com 28b3772942 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
dougt%netscape.com c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
alecf%netscape.com 171c4587c3 back out my accidental checkin 2002-01-28 02:47:30 +00:00
alecf%netscape.com bcd6a6fb94 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
heikki%netscape.com 17ab5a619c Bug 35984, make an undefined entity always a fatal error; report errors while parsing external entities (regression) and a minor optimization in loading external entities. r=harishd, sr=jst. 2002-01-25 23:19:23 +00:00
heikki%netscape.com 633177c06d Bug 44458, enable XHTML entities when an XHTML doctype with public id is present in an XML document. r=rbs@maths.uq.edu.au, sr=jst. 2002-01-25 00:07:45 +00:00
harishd%netscape.com d5fc3771e2 Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst 2002-01-24 22:15:58 +00:00
timeless%mac.com 7edbfb6b60 Bug 119310 preferences + open in new tab + clicking browser crashes @nsLoadGroup::RemoveRequest
assert instead of crashing if some load fails
r=darin sr=waterson
2002-01-16 00:16:51 +00:00
shanjian%netscape.com 135a83854c #118000 support unicode plane 1 characters
r=ftang, sr=attinasi
this part of checkin added support to NCR of non-BMP characters.
2002-01-16 00:00:50 +00:00
rbs%maths.uq.edu.au cb2675a64f Fix bug 113400 - remapknown public IDs (such as that of XHTML+MathML or SVG) to local DTD files. r=harishd, sr=jst 2002-01-15 22:52:32 +00:00
harishd%netscape.com 00d2f31d25 Fix ports bustage. Removing MOZ_SVG stuff for now since the code in nsExpatDriver is a bit different than nsExpatTokenizer. Will checkin a correct fix soon. 2002-01-15 03:03:54 +00:00
harishd%netscape.com 8e213c8aed Putting back the change that I just backed outsince it doesn't affect xul window performance. a=sheriff 2002-01-15 00:35:11 +00:00
harishd%netscape.com 974467d75c Fixing regressions: In order to update the expat buffer position correctly do not block after processing a start element. b=119399, r=heikki, sr=jst. Update the expat buffer position if we're blocked after processing the end element. b=119727, r=heikki, sr=jst 2002-01-14 23:42:53 +00:00
harishd%netscape.com 2a9444257b Backing a part of my code to see if it improves xul window performance. a=sheriff 2002-01-14 23:34:37 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
harishd%netscape.com 953e72274b Reduce the size of tokens. b=113657, r=heikki, sr=jst 2002-01-11 19:39:57 +00:00
harishd%netscape.com 9984cd8b61 Decrement mOpenFormCount only if there's an open form. b=115262, r=heikki, sr=jst.\n Counter related code should be DEBUG only. b=92618, r=heikki, sr=jst 2002-01-11 19:33:31 +00:00
harishd%netscape.com 641b5b1ca4 119038 - Make sure that WillResume() and WillInterrupt() get called on the sink. This should fix the fast loader assertion. r=heikki, sr=brendan 2002-01-11 01:26:41 +00:00
alecf%netscape.com 4bcb3fde51 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson 2002-01-09 21:31:19 +00:00
dbaron%fas.harvard.edu 3ea07efb02 Fix leak regression from harishd's changes yesterday. b=105137 r=harishd 2002-01-09 18:49:45 +00:00
dbaron%fas.harvard.edu 9a039b7c3a Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd 2002-01-09 18:15:36 +00:00
mkaply%us.ibm.com 7daa5c43e2 This will be the next OS/2 bustage - I found it trying to verify dbarons stuff 2002-01-09 17:46:55 +00:00
harishd%netscape.com c19bd46ce6 Replace C++ style comment with C style comment 2002-01-09 06:48:12 +00:00
beard%netscape.com 89c84455fe fixing mac bustage of access paths. 2002-01-09 03:55:44 +00:00
harishd%netscape.com f1fe71a17b Replaced C++ style comment with C comment 2002-01-09 03:32:56 +00:00
beard%netscape.com 1215960968 bug #105137, fixing mac bustage. 2002-01-09 03:27:17 +00:00
harishd%netscape.com 7c522efd05 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
harishd%netscape.com 23bbf73083 95487 - document.write shouldn't be interrupted. r=kmcclusk, sr=jst 2002-01-03 21:25:33 +00:00
mcafee%netscape.com e47b64c3d3 Ignore generated files. 2001-12-29 04:19:36 +00:00
shanjian%netscape.com bf85c86c6a #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
dbaron%fas.harvard.edu 7a72f2d9f4 Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527 2001-12-20 02:09:49 +00:00
dougt%netscape.com 849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com 1108828444 Fix Darwin bustage 2001-12-17 09:22:47 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
seawood%netscape.com 51fa852613 Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls
2001-12-14 23:49:04 +00:00
bbaetz%cs.mcgill.ca 5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
harishd%netscape.com a133859bc0 103095 - Do not ignore '/', in short hand tags, in viewsource [ fixing regression ].
r=peterv, sr=jband.
2001-12-12 01:08:51 +00:00
ccarlen%netscape.com 993cd4c06f Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 04:54:47 +00:00
ccarlen%netscape.com baca6ece31 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 20:42:22 +00:00
dbaron%fas.harvard.edu 23c3efa195 Add two more IETF HTML 3 doctypes to the list of quirks-mode doctypes. b=109123 r=harishd sr=jst 2001-12-08 22:47:15 +00:00
harishd%netscape.com 9721eab3d0 106746 - Do not allow DD to contain DT and vice versa.
103095 - Ignore forward slash, in short hand tags, in html.
96861 - Ignore nested FORMS.
94269 - Do not allow P to contain FORM.
84592 - Ignore body after FRAMESET.

r=heikki, sr=jst
2001-12-07 21:33:12 +00:00
leaf%mozilla.org 8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
alecf%netscape.com 917e1454a4 fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter 2001-12-04 01:10:43 +00:00
rpotts%netscape.com 1f0cc6e6b9 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
dbaron%fas.harvard.edu 09f3c18b0e Fix OS/2 PR_CALLBACK bustage. 2001-11-28 08:43:30 +00:00
jst%netscape.com 1aa597b139 Adding missing #include that's needed for debug builds. 2001-11-28 07:18:35 +00:00
jst%netscape.com f54b1ef763 Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com 2001-11-28 06:13:11 +00:00
alecf%netscape.com 8e1f300899 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
bzbarsky%mit.edu edfb3b268f Use <> for system headers, not "". This should help prevent Sun WSU2
compiler bustage.  Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu
2001-11-23 22:36:54 +00:00
rpotts%netscape.com b1e18f1c1d Removing dead, wrong, evil, dangerous code from the parser!! 2001-11-22 05:50:04 +00:00
rpotts%netscape.com 857328b715 bug #102737 (r=harishd@netscape.com, sr=jst@netscape.com) one more time! only emit an empty HTML document when the content type is *not* text/plain 2001-11-22 04:37:39 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com 55fe97bff7 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
timeless%mac.com 060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
bzbarsky%mit.edu 72df08441d Make SetInnerHTML use the right parser mode (ie strict for strict
documents instead of always quirks).  Bug 106565, r=harishd, sr=jst
2001-11-16 04:48:30 +00:00
jaggernaut%netscape.com ee4f787321 Clean up REQUIRES lines. r/sr=alecf 2001-11-16 01:54:59 +00:00
alecf%netscape.com d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
jaggernaut%netscape.com 0ecf7cce91 Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf 2001-11-14 12:35:52 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
dbaron%fas.harvard.edu 8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
dbaron%fas.harvard.edu bfb2f49916 Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc 2001-11-07 04:12:20 +00:00
kmcclusk%netscape.com de636441d9 Fix leak of parser objects when page load is interrupted by calling nsParser::CancelParsingEvents inside nsParser::Terminate; bug 108049 (patch from aaronr@us.ibm.com) r=harishd sr=attinasi 2001-11-07 01:02:56 +00:00
harishd%netscape.com 50a1cda073 106746 - DD/DT should not contain each other. r=heikki, sr=attinasi.
99388 - Avoid PR_GetEnv(). sr=attinasi.
2001-11-06 00:48:11 +00:00
seawood%netscape.com be10c3b1a8 Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
harishd%netscape.com cef966fac2 107994 - Backing out rpotts change ( bug 102737 ) to fix the smoketest blocker. 2001-11-01 19:40:48 +00:00
seawood%netscape.com 8a2a775382 Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
rpotts%netscape.com 290b24fd42 bug #102737 (r=harishd@netscape.com, sr=jst@netscape.com) do not emit <html> ... </html> for empty text/plain documents. 2001-10-31 23:15:57 +00:00
mkaply%us.ibm.com 929cffecf8 More reordering crap 2001-10-30 12:59:00 +00:00
sfraser%netscape.com 72ca9383ae Clean up static linkage with unichar utils (bug 100214) for alecf. r=fm, sr=alecf 2001-10-26 23:34:53 +00:00
alecf%netscape.com 491fe6b2bd Added files: mozilla/intl/unicharutils/util/nsUnicharUtils.cpp 2001-10-26 03:37:38 +00:00
jaggernaut%netscape.com cb1d127071 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-25 07:45:52 +00:00
dougt%netscape.com b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
harishd%netscape.com 90a960756e Backing out fix for bug 100397 since it caused the relow numbers and the page load time to shoot up. 2001-10-22 20:51:09 +00:00
alecf%netscape.com c8469b7ac5 bug 100214 - add libunicharutil_s to all unix projects that require it, r=cls 2001-10-22 20:44:02 +00:00
alecf%netscape.com 6606ee7e2f next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase 2001-10-19 21:00:02 +00:00
ftang%netscape.com 3e050f711f fix bug 93343 so we can display UTF-16 and UTF-32.
r=harishd sr=vidur.
2001-10-19 20:58:22 +00:00
harishd%netscape.com c7140326c2 97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
99282  - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.
2001-10-19 20:48:18 +00:00
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
jst%netscape.com a0b52cf92d Fixing bug 104031. Bad string code in nsHTMLDocument::WriteCommon(). r=bzbarsky@mit.edu, sr=vidur@netscape.com 2001-10-16 01:31:49 +00:00
jaggernaut%netscape.com b9f4fd8c36 Remove dead nsString::GetBuffer() code usage. r=dbaron, rs=scc. 2001-10-14 04:57:59 +00:00
heikki%netscape.com 70147bca9e Bug 98214, minor performance improvements and cleanup. r=harishd, sr=vidur. 2001-10-12 22:01:19 +00:00
dbaron%fas.harvard.edu eabe89951e Parser still depends on cache. Fixing bustage. b=100895 2001-10-10 04:42:51 +00:00
alecf%netscape.com a90bbda826 fix for bug 100895, contributed by jonsmirl@mediaone.net
r=harishd, sr=alecf
slam dunk those dependencies!
2001-10-10 04:13:16 +00:00
heikki%netscape.com b784bee4d7 Bugscape bug 9924, fix perceived hang by improving comment parsing performance in strict mode. Patch from harishd, r=heikki, sr=vidur. 2001-10-03 06:54:31 +00:00
dbaron%fas.harvard.edu d458055d16 Make HoTMetaL 4 doctype trigger quirks mode. b=102442 r=harishd sr=waterson 2001-10-02 02:40:28 +00:00
harishd%netscape.com 16eab6ee3b 102376 - Make sure that the channel exists for the life time of the parser.
r=dp sr=rpotts.
2001-10-01 05:14:03 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
seawood%netscape.com 69a62e2955 Files must end with a newline.
Fixing tinderbox bustage
2001-09-29 03:55:30 +00:00