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

1895 Коммитов

Автор SHA1 Сообщение Дата
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
gerv%gerv.net a276cfdb53 License changes Round 2. Expat. Updating licensing to be consistent with latest version of expat (MIT/X); relicensing NS-contributed code under expat's license (except the build system, which is tri-licensed.) Removing outdated licensing information and adding new COPYING file. This has been checked with James Clark. Bug 98089. 2001-09-29 00:10:42 +00:00
heikki%netscape.com fff5fa7c0c Bug 96364, Mac project changes. 2001-09-28 23:11:46 +00:00
harishd%netscape.com 329ccb52d0 96364 - New files should go along with my previous checkin. 2001-09-28 23:09:51 +00:00
harishd%netscape.com 6cf7e21d1f 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
gerv%gerv.net 1c6c9ed7c8 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2001-09-26 00:40:45 +00:00
alecf%netscape.com 68c098cad5 bug 101562 - dont' use necko to unnecessarily create URIs just to load a string bundle. r=harishd, sr=attinasi 2001-09-26 00:36:45 +00:00
bzbarsky%mit.edu adb705f2fd Making view source load its stylesheet even when highlighting is off --
it's needed for wrap and the like.  bug 22022, r=rbs,doron sr=alecf
2001-09-24 22:34:47 +00:00
dbaron%fas.harvard.edu 75939573f0 Fix crash due to unsigned integer underflow. b=100451 r=jag, harishd sr=waterson 2001-09-20 02:15:21 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
gerv%gerv.net 180f529086 More license whackage. We are relicensing the expat makefiles to be compatible with the LGPL and GPL but making it clear that expat itself is under James Clakrk's MIT/X license. Bug 98089. 2001-09-19 21:50:17 +00:00
harishd%netscape.com 9150f70d13 98187 - Make sure that the end tag, inline element, does not close tags in the root tag list. r=heikki,sr-vidur 2001-09-19 00:01:42 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
harishd%netscape.com 1936f6c0d2 91744 - Avoid stack overflow by replacing recursion with a simple do-while. Removed unwanted assertions. r=heikki,sr=vidur 2001-09-14 20:48:25 +00:00
harishd%netscape.com 1f8f8d5c07 98261 - Instead of throwing away the current tag close it's parent such that the stack level does not go beyond the reflow depth limit. This would allow leaf tags, that follow the current tag, to find the correct node. r=heikki, sr=attinasi. 2001-09-14 20:45:16 +00:00
jaggernaut%netscape.com 4020cbaca9 Fix debug build bustage on Windows by changing |for (PRUint32 i=0; ..; ..) {} for (PRUint32 i=0; ..; ..) {}| to |PRUint32 i; for (i=0; ..; ..) {} for (i=0; ..; ..) {}| 2001-09-14 09:27:57 +00:00
dbaron%fas.harvard.edu 21949d3f1b Make public identifier matching case-insensitive to expand the set of public identifiers triggering quirks mode since some existing pages use FPIs with incorrect case. Add two additional FPIs to the list. b=98977 r=harishd sr=waterson 2001-09-14 04:18:59 +00:00
alecf%netscape.com 1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
jaggernaut%netscape.com 30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
mkaply%us.ibm.com b5a07aa4fe #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed
2001-09-11 03:22:16 +00:00
harishd%netscape.com 456f1e61a5 98645 - Added SELECT to the set of tags that cannot be crossed over when an end tag ( block-level ) tries to close it's matching open tag on the stack. r=heikki, sr=vidur 2001-09-10 21:29:27 +00:00
dbaron%fas.harvard.edu 390e04a7df Make forward-compatible the DOCTYPE handling for determining whether to be in quirks mode or strict mode: properly parse the DOCTYPE declaration and use a list of known public identifiers that should trigger quirks. Remove some remnants of modes that no longer exist. b=55264 r=harishd sr=vidur 2001-09-08 18:37:19 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
rbs%maths.uq.edu.au 675465a9c2 Back-end to allow viewsource to toggle wrapping of long lines. b=22022 r=bzbarsky sr=jst 2001-09-05 01:02:58 +00:00
heikki%netscape.com d2851c3c06 Mac project change for bug 93574, nsLoggingSink and nsHTMLNullSink should not be a part of the optimized build. 2001-08-31 21:24:07 +00:00
harishd%netscape.com 3a9db9a4cb 96031 - Made LI's parent model to be flow entity. This would allow inline elements, such as I,B,FONT, etc., to contain LI such that bullets / numbers would also inherit the parent properties.
93574 -  nsLoggingSink and nsHTMLNullSink  should not be a part of the optimized build. Wrapped 'em under MOZ_DEBUG flag.
r=heikki, sr=vidur, a=asa.
2001-08-31 21:22:16 +00:00
harishd%netscape.com 426accf47a Parser regression test files.
** NOT PART OF THE BUILD **
2001-08-27 22:40:48 +00:00
rjesup%wgate.com 6f3e4115eb Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
harishd%netscape.com 430336c866 56245 - Misplaced /FONT was closing out TABLE. I've added logic such that if a residual style tag ( inline element ) cannot contain a tag ( block element ) then it
cannot close it either. Which implies that the end tag is misplaced. Also, made userdefined tags to act as inline elements.
r=heikki,sr=vidur,a=tor.
2001-08-22 23:43:43 +00:00
darin%netscape.com f15b47c6af fixes bug 90288 (part 2) "not honoring Pragma: no-cache from HTTP-EQUIV"
r=gagan, sr=dougt
2001-08-22 00:38:46 +00:00
harishd%netscape.com 28d9dc0a0d 96117 - Cache Observer service. r=dp, sr=waterson 2001-08-21 18:46:46 +00:00
shanjian%netscape.com a765b24b69 #95162 Auto-detect doesn't work on kinokuniya page
r=yokoyama sr=jst
2001-08-21 18:46:44 +00:00
dbaron%fas.harvard.edu 113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
dmose%netscape.com 34c8885db6 Update REQUIRES line to fix MOZ_TRACK_MODULE_DEPS bustage; the dependency on 'widget' might conceivably be avoidable, however. 2001-08-18 00:39:53 +00:00
heikki%netscape.com 44fcf3f455 Bug 15089, make XML parser error messages localizable. r=harishd,ftang, sr=jst. 2001-08-17 23:27:20 +00:00
harishd%netscape.com da30c22212 93365 - Allow FONT to contain TABLE so that we can control what properties can and cannot propagate inside TABLE in layout. r=heikki, sr=jst 2001-08-17 01:20:47 +00:00
harishd%netscape.com 01d9f40398 95614 - Initialized an iterator and replaced NS_ENSURE_SUCCESS ( which asserts), since the result code from nsScanner::Peek() does not indicate an exceptional condition, with equivalent code. r=heikki, sr=waterson. 2001-08-16 21:19:33 +00:00
bratell%lysator.liu.se 0fbd73004d Bug91437 - Speeding up the tokenizer slightly by using a smarter scan algorithm and avoiding trying to skip whitespace when there are none. r=harishd sr=jst 2001-08-16 05:24:17 +00:00
timeless%mac.com 826adde04b Bug 83301 improve error reporting for Mismatched Tag XML, eg data:text/xml,<foo></bar>
r=heikki sr=shaver
thanks to tingley@sundell.net and bz
2001-08-15 06:48:59 +00:00
cls%seawood.org a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
harishd%netscape.com 8327fe362c 91051 - Look for '<' or '>' which ever comes first to end DOCTYPE consumption.
r=heikki sr=vidur.
2001-08-10 22:38:37 +00:00
loadrunner%betak.net 41bf2e10fe bug 91696, Meta tag does not work, r=shanjian , sr=vidur 2001-08-10 02:15:41 +00:00
harishd%netscape.com 8d64a0247b 94208 - When removing styles off the style stack ( residual style ) make sure that
the correct ones are getting removed. r=heikki, sr=jst
2001-08-10 02:08:50 +00:00
harishd%netscape.com 6ced79efdb Oops my previous checkin has incorrect bug # and sr=. Backing out my preivous change to update the comments 2001-08-10 02:02:01 +00:00
harishd%netscape.com 260413769d 94028 - Make sure that the correct style is removed off the style stack - residual style handling. r=heikki, sr=vidur 2001-08-10 01:44:30 +00:00
mkaply%us.ibm.com d9ff17dfd0 OS/2 breakage - PR_CALLBACK 2001-08-08 03:23:03 +00:00
harishd%netscape.com fcbaffa391 83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
84000 - Preserve NOFRAMES content - patch submitted by scoda@alias.it. r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.
2001-08-07 19:05:21 +00:00
waterson%netscape.com 9abf7984af Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
heikki%netscape.com ebe59ae777 DAMNIT! 2001-08-04 01:26:22 +00:00
heikki%netscape.com b874eedb80 Trying to fix Mac bustage by building stuff that should not need to be built. The real fix would probably be to turn on the environment variable MOZ_DISABLE_DTD_DEBUG but I do not know how. 2001-08-04 00:35:54 +00:00
dbaron%fas.harvard.edu e95f98b0b7 Fix bustage by removing nsTokenHandler.cpp (it was already removed from makefile.win and cvs removed). 2001-08-03 22:25:56 +00:00
heikki%netscape.com c81cb2a269 Fixing Mac bustage, MANIFEST is in public now. 2001-08-03 22:20:42 +00:00
harishd%netscape.com b32de2097d Forgot to cvs remove nsITokenhandler.h 2001-08-03 21:34:40 +00:00
heikki%netscape.com d3751b87d5 Bug 91320 :
** MAC PROJECT CHANGE ** -- Patch from harishd
2001-08-03 21:21:35 +00:00
harishd%netscape.com a51389e84f 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
harishd%netscape.com ab911670c4 91205 - Removed a debug flag that accidently got enabled.
r=nisheeth, sr=jst.
2001-07-18 22:56:22 +00:00
harishd%netscape.com 2d8363be9b 90379 - Added null check to avert a topcrash. Real problem unknown!
r=heikki,sr=blake
2001-07-17 20:46:17 +00:00
harishd%netscape.com 47b8b8e1b6 87110 - Avoid memory bloat by moving Malloc out of do-while. Also do not propagate error messages
from unicode coverter. r=ftang, sr=vidur.
89732 - Stop searching for words if mOffset is negative. r=jst sr=vidur
2001-07-13 18:21:23 +00:00
vidur%netscape.com 49b7d756c0 Fix for bugs 89177 and 89155. We now ignore bad charsets, ones that aren't recognized by the charset alias service and a fixed list of UTF-16 and UTF-32 charsets. r=yokoyama, sr=jst 2001-07-11 00:59:14 +00:00
vidur%netscape.com a588ff7696 Fix for bugs 89169 and 89522. Reverting the priority of the cached charset to fix regressions. We now resniff the charset even on a cached load. r=yokoyama, sr=jst 2001-07-11 00:59:01 +00:00
harishd%netscape.com 027e1300fd Regression test files.
** NOT PART OF THE BUILD **
2001-07-05 23:16:43 +00:00
harishd%netscape.com 21bbde052f Forgot to include this comment in my previous checkin.
88746 - Make sure to not update *end*. Also, skip quotes when the charset has no value. r=heikki sr=vidur.
2001-07-05 22:26:10 +00:00
harishd%netscape.com 7ef87f6bbd 40072 - (patch provided by pollmann) Do not process METAs after FRAMESET. r=harishd sr=vidur
58809 - Handle numeric & hexadecimal entities correctly r=heikki sr=vidur
72249 - Per SGML endtag can contain whitespace between generic identifier and tagc. r=heikki sr=vidur
82971 - if the last character was a CR make sure to not lose that information. r=heikki sr=vidur
2001-07-05 22:20:34 +00:00
cls%seawood.org 66d937045b Landing static build changes for OS2
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #85283 r=mkaply r=waterson
2001-07-01 12:11:13 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
jaggernaut%netscape.com daac6be6f2 Fix senna bustage (REQUIRES += nkcache) 2001-06-30 04:48:11 +00:00
vidur%netscape.com 9a358b6df4 Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson 2001-06-29 22:56:58 +00:00
heikki%netscape.com 6e062f0563 Bug 84002, remove unused code (expat DTD etc.). r=rbs@maths.uq.edu.au, sr=jst. 2001-06-27 23:10:09 +00:00
jaggernaut%netscape.com 55694b4cad Bug 78458: ``Remove our broken text/rtf support'', patch by Boris Zbarsky <bzbarsky@mit.edu>, r=harishd, sr=jst 2001-06-26 05:22:23 +00:00
kmcclusk%netscape.com e52b604682 Added code to interrupt the parser's processing of tokens if a threshold is exceeded to improve interactivity during long page loads. Turned OFF by default. Can be enabled through a pref. bug 76722 r=harishd@netscape.com,rickg@netscape.com sr=vidur@netscape.com,attinasi@netscape.com a=chofmann@netscape.com 2001-06-21 02:06:23 +00:00
waterson%netscape.com b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
dbaron%fas.harvard.edu a236696e96 To improve performance, change string iterator postfix ++ to prefix ++ when used as a statement. b=78032 r=peterv, scc, harishd, dmose sr=hyatt a=asa 2001-06-19 22:38:45 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
harishd%netscape.com addc8ca065 82500 - Make sure that DidBuildModel gets called only once per document.
79492 - In collecting skipped content make sure that entity-like-markup is not mistaken for an entity.
80009 - PRE should be treated as a block-level element - per spec.
82498 - Do not process script content in a frameset document.
82544 - Beginning/ending quotes in attribute values are now removed by the parser.
77145 - Fix off-by-one error.

r=heikki
sr=vidur
a=asa
2001-06-18 21:18:37 +00:00
dbaron%fas.harvard.edu 1d560bf6e8 Reduce the size of EntityNode from 92 bytes to 8 bytes (on 32-bit platforms) by holding a pointer to the string in the text segment or string owned by the creator instead of copying that string into an nsCAutoString. b=81746 r=harishd@netscape.com sr=vidur@netscape.com a=asa@mozilla.org 2001-06-05 00:39:38 +00:00
rbs%maths.uq.edu.au 69e72fc7af Fix crasher bug 82332 - Avoid relying on the scanner because it can be set to null while the tokenizer isn't yet done. Use a pointer cached in the parser to retrieve the filename needed for error reporting. r=harishd sr=jst a=blizzard 2001-06-02 09:06:20 +00:00
jst%netscape.com 77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
rbs%maths.uq.edu.au 447c8e4ab3 Report the name of the faulty file when there is an XML parsing error. Useful for popup windows or XUL files. b=47416 r=heikki sr=jst 2001-05-16 02:49:24 +00:00
harishd%netscape.com 1a5a83dc13 75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.
2001-05-15 22:32:26 +00:00
ftang%netscape.com 81953be03a fix 76689. r=harishd sr=blizzard
fix non-ASCII xml element name display in the end tag at xml view source
2001-05-11 14:39:17 +00:00
harishd%netscape.com 50404b6290 77746 - Remove style from the style stack on encountering the appropritate end tag.
78202 - Added text-decoration property for GetComputedStyle.
26347 - Anchor ( special element ) should be able to close phrasel elements
78140 - Putting back list-style-image support for getComputedStyle that got removed accidently.

r=heikki
sr=jst
2001-05-09 03:29:09 +00:00
valeski%netscape.com 939312c7fa sr=rpotts. cookie/wallet r=morse, xmlTerm r=saravn@mozdev.org, mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug. 2001-05-04 20:15:38 +00:00
jst%netscape.com 2b2c615477 Checking in patch from sbanu@softwin.ro that enables view-source of text/sgml in mozilla, fixes bug 76671. r=harishd@netscape.com, sr=me. 2001-05-04 10:13:25 +00:00
timeless%mac.com 1d6d2167b1 Bugzilla Bug 77080 Show application/x-javascript in browser window instead of trying to download
fix by bzbarsky@mit.edu, r=harishd, sr=jst
2001-05-03 22:28:44 +00:00
rbs%maths.uq.edu.au 7056d3990f Fix bug 76567 (load viewsource.css on demand rather than at startup) and bug 60892 (show title on the viewsource window). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst 2001-05-02 04:55:30 +00:00
cls%seawood.org d62bacf705 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
cls%seawood.org 00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
dbaron%fas.harvard.edu 4e6d15665f Improve performance of nsScanner::ReadUntil by requiring the terminal set to be nsAFlatString and using an nested while loop rather than calling a string find function. b=65431 r=harishd@netscape.com sr=vidur@netscape.com 2001-04-28 02:03:18 +00:00
shanjian%netscape.com 85ddc7bd1b #43529 Propagate charset override in frames
r = ftang sr=erik
Charset from parent frame should take precedence of charset from cache.
2001-04-27 21:47:14 +00:00
heikki%netscape.com ce70d52bb4 Forgot a file, fix bustage. 2001-04-26 20:46:17 +00:00
heikki%netscape.com 4095a51dde Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2001-04-26 19:33:12 +00:00
harishd%netscape.com 4002826c6e fixing the bustage... 2001-04-21 22:57:22 +00:00
harishd%netscape.com d4272380d9 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
timeless%mac.com 46b177e406 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc
2001-04-18 05:59:43 +00:00
pierre%netscape.com c827cfce65 Removed nsHTMLContentStream.cpp. Checked in for harishd. 2001-04-17 23:49:10 +00:00
harishd%netscape.com fa9d1080cf 68790 - Remove nsHTMLContentSinkStream dependency. Not in use anymore
r=heikki
sr=jst
2001-04-17 23:23:33 +00:00
rbs%maths.uq.edu.au 67e1cb2bbb Improve the speed of viewsource - Patch of Boris Zbarsky <bzbarsky@mit.edu> b=74486 r=rbs r=attinasi 2001-04-17 07:23:04 +00:00
nhotta%netscape.com f74cc292e3 Changed to ignore encoding="UTF-16" in detectByteOrderMark(), bug 66807, r=ftang, sr=erik. 2001-04-12 23:57:18 +00:00
shaver%mozilla.org a0daa1645d 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
disttsc%bart.nl 28d945e01c Attempt at fixing Nebiros bustage, r=peterv, tested on linux, Mac and Windows. 2001-04-11 09:32:03 +00:00
waterson%netscape.com 44736bce0b Bug 74728, take three. Properly handle stack-based tokens; specifically, require that only arena-allocated tokens may have attribute tokens. r=harishd, sr=jst 2001-04-11 03:05:22 +00:00
dbaron%fas.harvard.edu 9c4a46ab61 Switch variants of |nsScanner::ReadUntil| to accept new string classes for |aTermSet| and to use |FindCharInReadable| instead of |nsString::FindChar|. Remove (function-scope) |static nsString|s from nsHTMLTokens.cpp. r=harishd@netscape.com sr=vidur@netscape.com b=65431 2001-04-11 02:28:17 +00:00
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
mozilla.BenB%bucksch.org 79c457feff 58377: Spaces at end of line, empty lines with spaces. Fixed both. Adjusting test to follow. All changes intended and an improvement. 2001-04-10 01:13:07 +00:00
waterson%netscape.com a6c83f4203 Bug 5569. Make sure that Terminate() can propogate DidBuildModel() to the sink, and that the sink will ensure an initial reflow has occurred. r=harishd, sr=jst 2001-04-10 00:49:49 +00:00
valeski%netscape.com 761edd13d9 backing out changes to fix 74728 as they are causing assertion death spirals in todays builds. 2001-04-05 17:53:18 +00:00
dprice%netscape.com 8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
waterson%netscape.com 5a412f273d Bug 74728, redux. Fix without leaking tokens: make sure that nsCParserNode always has an nsTokenAllocator object. r=harishd, sr=shaver 2001-04-05 00:27:11 +00:00
pchen%netscape.com 3c309058d5 blocker bug 74728, r=pinkerton, Check for null mTokenAllocator before trying to free a token, for some reason unbeknowst to me, view source likes to create nsCParserNodes with a null allocator. Why this didn't bite us in the ass before is also beyond me. 2001-04-04 18:38:28 +00:00
waterson%netscape.com 8e6365a96f Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc 2001-04-04 05:00:08 +00:00
stephend%netscape.com 5207c10572 Part of the fix for bug 52154, 'Make gui for view source coloring pref' r=akkana@netscape.com sr=hewitt@netscape.com 2001-04-04 03:18:34 +00:00
rickg%netscape.com db15c70246 Adding hook for preloader; r=peterl, sr=attinasi 2001-04-03 19:40:58 +00:00
scc%mozilla.org 69dd0e5434 fix speedracer bustage 2001-04-03 01:18:09 +00:00
scc%mozilla.org 70de2e4a46 landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
harishd%netscape.com 8f72b5c1bd 69331 - <?XML..> does not require BODY!!
66985 - Do not open BODY for INPUT type=hidden. For compatibility
72639 - Discard nested FORMS
2749  - Enable Strict comment parsing.

Replace PRBools with bit operation.
nsScanner Append() should return nsresult not PRBool.

r=heikki
sr=jst
2001-03-31 22:44:05 +00:00
mkaply%us.ibm.com 3a11baeffe #72239
r=heikki, sr=brendan
The XML parser is designed to receive extern "C" functions, so that is what we should be passing
2001-03-30 14:28:06 +00:00
disttsc%bart.nl dacbb4faa9 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
ftang%netscape.com be1f1314ec fix 72557
r=harishd sr=erik
add the hack mapping for the last two new cp1252 characters.
2001-03-30 02:45:12 +00:00
disttsc%bart.nl 18642f9efd Bustage fix, attempt #2: So Win32 seemed to like attempt #1, but Mac didn't. Different approach (I don't like this :-/ ) 2001-03-27 12:39:59 +00:00
disttsc%bart.nl 2b986c5668 I'll have to figure out sometime why mac/win don't like assigning an nsAReadableString into a (static?) nsString... hope this fixes the bustage. 2001-03-27 12:12:16 +00:00
disttsc%bart.nl f4edb65ad4 bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc 2001-03-27 11:17:17 +00:00
disttsc%bart.nl f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
scc%mozilla.org f941b99ef3 syntax fix 2001-03-25 21:51:40 +00:00
blakeross%telocity.com 85f54f99db Removing non-compliant text/xul mimetype, replacing with application/vnd.mozilla.xul+xml (28237, patch by gerv@gerv.net). r=blake sr=hyatt 2001-03-25 16:49:38 +00:00
dprice%netscape.com edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
valeski%netscape.com 68017cb9e2 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
shaver%mozilla.org fcf7cd0d9f 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +00:00
harishd%netscape.com f32dd60ff9 69826 - Flush conten model to access named items
Fixed an assertion.
Added a few more properties for getComputedStyle and did some clean up.
r=heikki, sr=jst
2001-03-11 20:47:06 +00:00
Peter.VanderBeken%pandora.be 47d931e2cd Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
nisheeth%netscape.com 1662afc65b Made it so that expat defines abort() to nothing when it is compiled within Mozilla. r=peterv. sr=jst 2001-03-10 07:27:16 +00:00
disttsc%bart.nl 8b43034cef Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
heikki%netscape.com a8ee517153 Bug 66786, fix UMR in GetLine(). Fix by Daniel Bratell (bratell@lysator.liu.se). r=heikki, sr=vidur. 2001-03-07 02:03:57 +00:00
scc%mozilla.org c3afefa22d r=jst, avoid deprecated operator 2001-03-06 08:33:00 +00:00
harishd%netscape.com 64c04f1e02 Backing out a unintentional change.
r=jst
2001-03-03 02:52:57 +00:00
harishd%netscape.com c3cedc0110 69160 - Parser stack & sink stack should be 1:1 even when handling nested MAPs.
3248  - Added Support for http headers ( link,content-base,default-style ) in the sink.
41426 - Making sure that XML like syntax ( <tag/> ) does not produce an extra end tag ( <tag></tag> ) in view-source.
62803 - Stop processing NOFRAME content ( will have to add support to process the content once we have to ability to turn off frames).

r=heikki,sr=vidur
2001-03-03 00:37:04 +00:00
disttsc%bart.nl 277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
jst%netscape.com 4fe2dbdb4b Removing unused files. r=harishd@netscape.com 2001-03-02 00:35:33 +00:00
jst%netscape.com de0f81218c Don't export unused nsXIFDTD.h file. r=harishd@netscape.com 2001-03-02 00:33:13 +00:00
jst%netscape.com fea82dcc80 Removing unused files. r=harishd@netscape.com 2001-03-02 00:10:33 +00:00
dprice%netscape.com 199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
nisheeth%netscape.com dfe1c3515e r=harishd. sr=vidur. Fix for bug 44094. Fixes off by one error in column number in XML error message. 2001-02-23 06:44:37 +00:00
disttsc%bart.nl a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com 128f95aa9b Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
harishd%netscape.com bdca09dd7b Modified parser test script.
** NOT PART OF THE BUILD **
2001-02-16 17:44:23 +00:00
akkana%netscape.com c454828fc7 61757: fix a character type problem. Fix provided by Charles Hannum <mycroft@netbsd.org>, r=me, sr=sfraser 2001-02-14 01:23:23 +00:00
scc%mozilla.org 94452f35f3 bug #66562: r=harish, sr=brendan, a=blizzard. Make |document.write| work. 2001-02-13 21:26:58 +00:00
dprice%netscape.com 997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
scc%mozilla.org 0361a1413a fix bustage caused by access violations not caught in CodeWarrior <sorry> 2001-02-10 01:05:43 +00:00
dougt%netscape.com 1b9ca82439 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
scc%mozilla.org 9e2755d249 bug #66562: r=harishd, sr=brendan, a=brendan. Allow insertion into sliding string buffers 2001-02-10 00:02:28 +00:00
harishd%netscape.com bc2996109d 68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.
2001-02-09 22:36:23 +00:00
bratell%lysator.liu.se f4b863a700 Removing files that are no longer used. Not part of build. 2001-02-07 06:52:24 +00:00
harishd%netscape.com 462dde7c69 63423 - Unblock parser before evaluating external js content.
63661 - Do not create an end token automatically if the tag did not contain '>'
33051 - Handle residual style before closing a tag.
58992 - Leaf content should go thro' the normal HandleToken path.
61462 - Release parser bundle only when the parser is about to shutdown

r=jst
sr=vidur
2001-02-06 23:35:29 +00:00
waterson%netscape.com 406fb24d64 Remove unnecessary #include that breaks gcc-3.0; r=pierre,harishd. 2001-02-06 23:28:44 +00:00
pinkerton%netscape.com 41357cce17 Removing HTML->text sink from the parser. r=akkana/sr=vidur. bug 62432. 2001-02-06 07:15:32 +00:00
disttsc%bart.nl 64e5d99e9e ``death to iostreams in htmlparser!''. For real this time. bug=58344, sr=brendan 2001-02-05 14:37:33 +00:00
heikki%netscape.com 73b1eaa48b Bug 44564. Problems with internal subset, especially with view source XML. Also fixed CDATA section problems. Some cleanups. r=harishd, sr=vidur. 2001-02-03 01:13:55 +00:00
anthonyd%netscape.com e6a453fa48 bug fix for 67007, user tags being consumed
r=akkana
sr=harishd
2001-02-01 23:57:24 +00:00
harishd%netscape.com 8fe0a26770 Trying to fix the orangeness! 2001-02-01 22:26:44 +00:00
harishd%netscape.com ae3a96bb31 61630 - propagate onstop request.
48256 - Verify hierarchy requested by a child tag.
43678 - Make TABLE a legal child of P.
58942 - MAP is not a legal child of TR!
57999 - When the parser is enabled make sure to pass correct information to ResumeParse().
59669 - Remove a warning.

r=heikki
sr=vidur
2001-02-01 21:03:48 +00:00
gagan%netscape.com 79713bc4c2 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
dbaron%fas.harvard.edu 6a1cef6f9a Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
harishd%netscape.com 5aed5c5047 Made parser nodes arena allocated. Also, fixed a few potential leaks.
Note: Parser nodes could be heap allocated by enabling HEAP_ALLOCATED_NODES flag.
r=jst
sr=vidur
2001-01-25 19:37:23 +00:00
mkaply%us.ibm.com 0cddd31ff7 #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names
2001-01-18 15:35:00 +00:00
heikki%netscape.com 5b4029e4d5 Bug 64448, comments in internal subset moved to before internal subset. I also fixed some static global variables and NS_GET_IID stuff. r=harishd, sr=vidur. 2001-01-17 18:59:12 +00:00
harishd%netscape.com b25a2890b7 60498 - Strip off embedded null char found between tokens/tags.
r=heikki
sr=vidur
2001-01-12 21:16:40 +00:00
harishd%netscape.com 093cf92690 Minor modification to the regression script.
** NOT PART OF THE BUILD **
2001-01-12 20:08:03 +00:00
harishd%netscape.com 783c73bbfc 64576 -- Make sure to update termial string position to avoid infinite looping.
r=heikki
sr=vidur
2001-01-12 19:50:25 +00:00
harishd%netscape.com a0452d126e Used for regression testing 2001-01-12 19:23:21 +00:00
shanjian%netscape.com 08f2f8ffc2 #59268
backup to previous version because of new problem found with this fix.
2001-01-12 00:36:21 +00:00
harishd%netscape.com 916ef102e8 64622 - Make sure that IsResidualStyleTag() returns the correct value. That is, return TRUE for tags that fall under residual style category.
r=jst
sr=vidur
2001-01-11 21:31:03 +00:00
akkana%netscape.com 21558c5361 42452,61173: output formatted lists even in unformatted plaintext output. r=bratell, sr=sfraser 2001-01-10 22:08:08 +00:00
dbaron%fas.harvard.edu 614350e5e5 Remove static constructors. GetScratchString was no longer used and GetTempStack was used too rarely to be a real performance benefit. r=harishd@netscape.com sr=waterson@netscape.com b=63014 2001-01-10 04:04:08 +00:00
shanjian%netscape.com c74ac067e8 #59268 Autodetection should not override charset from cache and bookmark
r = ftang
sr = erik
lower the priority of autodection.
2001-01-09 22:18:44 +00:00
jst%netscape.com 0e33a0e878 Fix crash in the XML error reporter (and doing some cleanup), the format string for printf'ing out numbers should be %d, not %s! r=harishd@netscape.com 2001-01-09 19:54:37 +00:00
rickg%netscape.com c1629cfcea removed a few warnings 2001-01-08 06:21:00 +00:00
rickg%netscape.com 12056f95ba Inadvertently removed a IF_RELEASE(); r=waterson 2001-01-08 04:44:39 +00:00
rickg%netscape.com f274846dce various bug fixes and landed blizzard patch to remove iostream from parser. r=harish, attinasi, kmcclusk; sr=buster 2001-01-08 03:37:15 +00:00
heikki%netscape.com 587a668271 Bug 34168, report error instead of crashing if we encounter a parameter entity containing double percent sign. Fix from James Clark. r=nisheeth, a=vidur. 2001-01-04 23:03:32 +00:00
harishd%netscape.com cffc9ba629 56070 - Rewrote the handling of misplaced content inside TABLE to also be effective when document
is provided in multipel buffers.
62954 - DD is not a legal child of SELECT.

r=heikki
sr=vidur
2001-01-04 22:15:06 +00:00
heikki%netscape.com c97d0a8243 Bug 63560, XML content sink was not adding script element contents to the content model. Includes also minor optimizations and fixes 2 compiler warnings. r=harishd, a=vidur. 2001-01-04 00:30:11 +00:00
bryner%uiuc.edu 69e9b90bc6 Removing dead .toc files. Not part of build. a=sfraser. 2001-01-03 01:32:06 +00:00
harishd%netscape.com f4101b2637 62754 - Fix meta charset that was getting ignored.
63234 - Fix up an infinite looping caused by embedded null chars.

r=ftang
sr=vidur
2000-12-21 20:46:00 +00:00
bratell%lysator.liu.se 38cb922a58 Backing myself out to save mac build 2000-12-19 22:54:40 +00:00
bratell%lysator.liu.se e7f77964a4 Bug 62432, remove nsHTMLToTXTSinkStream from build. r=akkana@netscape.com, sr=vidur@netscape.com 2000-12-19 21:38:36 +00:00
vidur%netscape.com 2c971746c9 Fix for bug 62782. Edge case in scanner caused us to drop characters occasionally. Thanks to jst for identification of the problem. r=harishd, sr=jst 2000-12-18 20:58:53 +00:00
vidur%netscape.com 295e3e781a Fix for bug 62782. Edge case in scanner caused us to drop characters occasionally. Thanks to jst for identification of the problem. r=harishd, sr=jst 2000-12-18 20:44:10 +00:00
jst%netscape.com 1bd04c173d Checking in fix for annoying asserts on startup caused by a doctype token problem in the parser that was introduced yesterday, casting char * to PRUnichar * just aint a good idea (although that was only part of the problem). Fix done mostly by heikki@netscape.com, r=heikki, harishd, sr=me. 2000-12-14 02:30:12 +00:00
disttsc%bart.nl 7449888c4f Attempt to fix HPUX bustage, r=scc 2000-12-13 04:08:45 +00:00
vidur%netscape.com 6eb37a5d24 Fix checked in for Mac casting problem 2000-12-13 00:25:26 +00:00
vidur%netscape.com b1d632006d Inadvertant checkin of nsLoggingSink 2000-12-12 23:55:35 +00:00
vidur%netscape.com 2a5e1288c1 removed files: mozilla/htmlparser/src/CRtfDTD.cpp 2000-12-12 22:04:11 +00:00
vidur%netscape.com 7e6daf7388 removed files: mozilla/htmlparser/src/nsXIFDTD.cpp 2000-12-12 22:02:17 +00:00
vidur%netscape.com 3d01aed3f7 Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst 2000-12-12 21:58:14 +00:00
vidur%netscape.com 62c172d2f6 Set expat endian flags so we don't do an extra copy. r=heikki, sr=jst 2000-12-12 20:23:50 +00:00
dbaron%fas.harvard.edu 2b2160f1b0 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
harishd%netscape.com 6b35919567 REGRESSION TEST FILES - *** NOT PART OF THE BUILD ***
a=granrose
2000-12-05 18:51:05 +00:00
harishd%netscape.com ddb5afbc9c Regression test file - Not part of the build 2000-11-30 21:44:27 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
harishd%netscape.com 3de6c97c42 59189 - Make sure that SanitizeKey() is accessed only by the attribute token.
r=jar
sr=scc
2000-11-06 06:03:34 +00:00