fb62663173
Log parser token refcounting, and fix a number of token leaks in view-source that were also leaking strings. Bug 402633, r+sr=mrbkap
2007-11-07 09:28:22 -08:00
bf9f4758c3
Fixing bug 394534. Make first attribute win in misplaced content. Patch by bzbarsky@mit.edu, r=mrbkap@gmail.com, sr=peterv@propagandism.org, a=jonas@sicking.cc/dsicore@mozilla.com
2007-09-10 16:50:16 -07:00
98de634631
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
ee56579c39
nsIParserNode::GetSource should be a const function. bug 374041, r+sr=jst
2007-05-18 11:45:39 -07:00
timeless@mozdev.org
3bc8a1937c
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
peterv@propagandism.org
b69b8eada1
Merging patch by jst (from mozilla/htmlparser).
...
Fixing bug 241328. Eliminating dead code, and making some classes use less memory on some 64-bit platforms. Also doing some general cleaning. r+sr=bzbarsky@mit.edu
2004-04-23 13:29:02 +00:00
peterv@propagandism.org
1ed76a83d6
Merging patch by gerv (from mozilla/htmlparser).
...
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
jst@mozilla.jstenback.com
88b7851c7b
Fixing bug 183373. Provide XPCOM methods for accessing a shared empty string object. r=bryner@brianryner.com, sr=dbaron@dbaron.org
2004-01-21 21:36:40 +00:00
jaggernaut@netscape.com
3e0289c7a6
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:47:59 +00:00
harishd@netscape.com
aff4b775a5
Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst
2003-01-03 23:17:22 +00:00
harishd@netscape.com
696dfc1a5e
Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst
2002-11-19 18:29:35 +00:00
bzbarsky@mit.edu
b4a66781e3
use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst
2002-09-03 22:23:22 +00:00
alecf@netscape.com
fff3bf6fe2
fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
...
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
harishd@netscape.com
3bae7ffa4a
Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
2002-04-10 22:16:46 +00:00
harishd@netscape.com
e3ca0042cf
Backing out timeless's checkin. This wasn't supposed to happen until we branched
2002-04-09 00:43:00 +00:00
timeless@mac.com
a6033e0904
Bug 111576 Incorrect line numbers in HTML files
...
patch by harishd, r=heikki, sr=jst, a=chofmann
2002-04-08 23:52:12 +00:00
dbaron@fas.harvard.edu
e990a4631d
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-24 00:16:18 +00:00
alecf@netscape.com
68eb9c6451
progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
...
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd
2002-02-12 21:17:53 +00:00
jst@netscape.com
bc89fe4176
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
bzbarsky@mit.edu
2c8fef2d2e
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
gerv@gerv.net
9a421db1b4
License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
2001-09-26 00:40:45 +00:00
harishd@netscape.com
89bd085b18
91320 - Removed unused files from htmlparser module and created a public directory.
...
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
harishd@netscape.com
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
waterson@netscape.com
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
valeski@netscape.com
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
waterson@netscape.com
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
pchen@netscape.com
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
waterson@netscape.com
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
harishd@netscape.com
b4b63d2acb
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
vidur@netscape.com
a52545af8f
Fix checked in for Mac casting problem
2000-12-13 00:25:26 +00:00
vidur@netscape.com
5d0ca658ca
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
rickg@netscape.com
2c40b563a9
fixed nsbeta3+PDT[n] bugs: 48351, 49278, 50070, 52478. Partial fix (WIP) for 49678 and 52725. R=attinasi, buster, syd. A=buster
2000-09-21 02:58:12 +00:00
nisheeth@netscape.com
3d5e4d2332
r=jst. Fixing refcounting of ID attribute atoms. Additional work to earlier checkin for fixing bug 10292. Also, added support for getElementByID() in XML documents.
2000-09-01 02:21:06 +00:00
harishd@netscape.com
2aa411b09b
46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
...
r=vidur
2000-08-30 18:22:03 +00:00
dbaron@fas.harvard.edu
ac5ecd262e
Adding newline to end of file to fix HP bustage from nisheeth's checkin.
2000-08-30 01:55:09 +00:00
nisheeth@netscape.com
8e209d470c
- Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
...
authors to use ID selectors to target elements in an XML document.
- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com )
2000-08-30 00:35:43 +00:00
beard@netscape.com
cf089f87f6
Monitoring nsCParserNode leaks. r=warren
2000-08-25 06:41:42 +00:00
rickg@netscape.com
860597f4b6
fixed several nsbeta2+ bugs; r=harish, buster; a=pdt
2000-06-10 02:53:04 +00:00
rickg@netscape.com
926d0d3f2e
StrictDTD wip, and fixed bugs: 37417 and 26023
2000-05-15 07:28:12 +00:00
scc@netscape.com
1ec8eadff5
making string conversions explicit, and converting global static returning function to the canonical form
2000-04-27 20:19:17 +00:00
scc@netscape.com
fbf1212b0e
making string conversions explict
2000-04-03 08:09:23 +00:00
rickg@netscape.com
775e5ddc35
leak removal; r=harishd
2000-03-26 04:45:45 +00:00
rickg@netscape.com
8ec7c86596
fixed 22340, 23749, 23931, 24419, 25522, 25630, 25845 and 25895; r=harishd
2000-02-11 12:11:29 +00:00
rickg@netscape.com
00db291d72
finally landing residual style handling code; r=harishd; other changes include warning removal and comment handling fix, r=buster. This fixes over 50 bugs.
1999-12-07 00:22:15 +00:00
rickg@netscape.com
df5a0f67b7
fixed bug 20229; r=beard. Special thanks to patrick for his persistence with leaks.
1999-12-03 00:33:17 +00:00
harishd@netscape.com
be2cc5a0e3
This checkin contains combined work of rickg and harishd
...
Harishd's Changes:
Fix for bugs
2749 - Tweaked strict comment handling, i.e., <!------> is now treated as an illegal comment in strict mode
16934 - Rectifed reporting of JS line error when a newline is found within a tag.
15204 - Made TEXTAREA content to reflect the source document.
11979, 16826 - Stoping the parser properly on receiving the stop-error message.
17594 - Added code to parse <!DOCTYPE> content correctly.
17496 - Building up the stack for orphaned OPTIONs
r=rickg
Rickg's Changes:
rickg will be posting comments on his changes by 11/12/99.
r=harishd
1999-11-13 03:53:11 +00:00
dmose@mozilla.org
20621227af
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
rickg@netscape.com
784523d2a3
removed a bunch of statically constructed objects
1999-09-19 16:51:08 +00:00
rickg@netscape.com
20f71c56fd
fixed bugs 10104 and 10107 -- also removed warnings
1999-07-20 06:58:01 +00:00
rickg@netscape.com
fc431e1090
fixed build warnings and eliminated a few bugs
1999-07-17 10:06:04 +00:00