Commit Graph
3139 Commits
Author SHA1 Message Date
[email protected] baba14c5c8 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
[email protected] bf5d20e2ac Fix senna bustage (REQUIRES += nkcache) 2001-06-30 04:48:11 +00:00
[email protected] da53dcfac6 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
[email protected] 0df120d266 Bug 84002, remove unused code (expat DTD etc.). [email protected], sr=jst. 2001-06-27 23:10:09 +00:00
[email protected] 38ad42293f Bug 78458: ``Remove our broken text/rtf support'', patch by Boris Zbarsky <[email protected]>, r=harishd, sr=jst 2001-06-26 05:22:23 +00:00
[email protected] d09cca7bb6 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 [email protected],[email protected] [email protected],[email protected] [email protected] 2001-06-21 02:06:23 +00:00
[email protected] 2498f51f20 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
[email protected] a64b25509f 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
[email protected] 5ecb9322a7 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
[email protected] c35da71f92 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 [email protected] [email protected] [email protected] 2001-06-05 00:39:38 +00:00
[email protected] 6eb8c717e6 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
[email protected] 519fe64e10 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
[email protected] 06c790bddc 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
[email protected] c0885841e3 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
[email protected] ccd033b794 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
[email protected] 1bdcb3ac31 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
[email protected] 4be2167def sr=rpotts. cookie/wallet r=morse, xmlTerm [email protected], 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
[email protected] 820392ff38 Checking in patch from [email protected] that enables view-source of text/sgml in mozilla, fixes bug 76671. [email protected], sr=me. 2001-05-04 10:13:25 +00:00
[email protected] 6c423b2e75 Bugzilla Bug 77080 Show application/x-javascript in browser window instead of trying to download
fix by [email protected], r=harishd, sr=jst
2001-05-03 22:28:44 +00:00
[email protected] c3e5230222 Fix bug 76567 (load viewsource.css on demand rather than at startup) and bug 60892 (show title on the viewsource window). Patch mostly by [email protected] r=harishd,brendan sr=jst 2001-05-02 04:55:30 +00:00
[email protected] d55b919c61 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
[email protected] 85c9c6c3a4 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
[email protected] 97a5956709 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 [email protected] [email protected] 2001-04-28 02:03:18 +00:00
[email protected] 1f6b863c98 #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
[email protected] a65fa90710 Forgot a file, fix bustage. 2001-04-26 20:46:17 +00:00
[email protected] ad8f5a3777 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
[email protected] f2b99c884c fixing the bustage... 2001-04-21 22:57:22 +00:00
[email protected] 0a46875075 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
[email protected] 653bad6469 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc
2001-04-18 05:59:43 +00:00
[email protected] be954160b5 Removed nsHTMLContentStream.cpp. Checked in for harishd. 2001-04-17 23:49:10 +00:00
[email protected] 3a6a40bf1e 68790 - Remove nsHTMLContentSinkStream dependency. Not in use anymore
r=heikki
sr=jst
2001-04-17 23:23:33 +00:00
[email protected] 8915bdfeca Improve the speed of viewsource - Patch of Boris Zbarsky <[email protected]> b=74486 r=rbs r=attinasi 2001-04-17 07:23:04 +00:00
[email protected] 6e56cbb989 Changed to ignore encoding="UTF-16" in detectByteOrderMark(), bug 66807, r=ftang, sr=erik. 2001-04-12 23:57:18 +00:00
[email protected] 82c64083ca 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
[email protected] 36da248d63 Attempt at fixing Nebiros bustage, r=peterv, tested on linux, Mac and Windows. 2001-04-11 09:32:03 +00:00
[email protected] a4a0fae645 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
[email protected] 1d5c9760eb 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. [email protected] [email protected] b=65431 2001-04-11 02:28:17 +00:00
[email protected] 298557fdf0 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
[email protected] bc60fc2ced 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
[email protected] 3aaab296ef 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
[email protected] 94411cd064 backing out changes to fix 74728 as they are causing assertion death spirals in todays builds. 2001-04-05 17:53:18 +00:00
[email protected] 1362434bf0 65845 - new order files 2001-04-05 06:02:32 +00:00
[email protected] dc29ec153a 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
[email protected] d868da9780 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
[email protected] 77ffd47f2d 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
[email protected] 67f4c976c6 Part of the fix for bug 52154, 'Make gui for view source coloring pref' [email protected] [email protected] 2001-04-04 03:18:34 +00:00
[email protected] 63fe67e49f Adding hook for preloader; r=peterl, sr=attinasi 2001-04-03 19:40:58 +00:00
[email protected] 04bb92971c fix speedracer bustage 2001-04-03 01:18:09 +00:00
[email protected] 4e56e9386c landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
[email protected] 02c28571e4 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