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

1503 Коммитов

Автор SHA1 Сообщение Дата
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