63 Commits

Author SHA1 Message Date
cvshook%sicking.cc
177dc712ba Bug 351731: Add hash to map directly from nsIAtom* -> id. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@213356 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-09 22:08:45 +00:00
sayrer%gmail.com
468d83a18a Bug 334302. Adjust SAXLocator reports in ReportError. Patch by Alex Vincent <ajvincent@gmail.com>. r=sayrer, sr=bz
git-svn-id: svn://10.0.0.236/trunk@210039 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 18:20:05 +00:00
timeless%mozdev.org
8307560339 Bug 315826 Scriptable XPCOM wrapper for SAX content handler
patch by sayrer@gmail.com r=peterv sr=sicking


git-svn-id: svn://10.0.0.236/trunk@194488 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 01:13:07 +00:00
bsmedberg%covad.net
fb456e0537 Bug 318616 - module-static nsTestTagTable is bad, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@185963 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 16:53:30 +00:00
peterv%propagandism.org
92b741449b Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@179660 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 14:18:56 +00:00
mats.palmgren%bredband.net
33c3943a52 Make gHTMLElements table const. b=286916 r=mrbkap sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@170931 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 00:45:02 +00:00
mats.palmgren%bredband.net
ddb5c6e57a TestParser: support --enable-perf-metrics with --disable-debug. b=286920 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@170930 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-20 23:54:24 +00:00
timeless%mozdev.org
141164ce86 Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=mrbkap sr=bz


git-svn-id: svn://10.0.0.236/trunk@168788 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 05:05:10 +00:00
jst%mozilla.jstenback.com
bbbde81598 Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@164795 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-02 19:52:32 +00:00
peterv%propagandism.org
7697906006 Merging patch by gerv (from mozilla/htmlparser).
Bug 236613: change to MPL/LGPL/GPL tri-license.


git-svn-id: svn://10.0.0.236/trunk@155383 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:24:28 +00:00
timeless%mozdev.org
83b15b1d1b Bug 211266 void nsHTMLEntities::AddRefTable doesn't check the return value of PL_DHashTableInit
r=axel sr=heikki


git-svn-id: svn://10.0.0.236/trunk@148880 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 22:11:55 +00:00
timeless%mozdev.org
45269ef258 Adding the ablity to disable view source.
patch by dougt r=bz,sr=darin,b=199335


git-svn-id: svn://10.0.0.236/trunk@145405 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 23:57:39 +00:00
timeless%mozdev.org
ff3c22c2a1 Bug 214445 View Page Source fails
Backing out:
Bug 199335 [minimo]make all viewsource stuff configurable


git-svn-id: svn://10.0.0.236/trunk@145381 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 17:02:52 +00:00
dougt%meer.net
c2677efc6d Adding the ablity to disable view source. r=bz,sr=darin,b=199335
git-svn-id: svn://10.0.0.236/trunk@145367 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 02:39:05 +00:00
timeless%mozdev.org
96d9177b06 Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=harishd sr=heikki


git-svn-id: svn://10.0.0.236/trunk@139429 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 04:03:09 +00:00
alecf%netscape.com
7e8aa74093 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


git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
dbaron%fas.harvard.edu
a397ea7022 Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@116720 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:34:43 +00:00
dp%netscape.com
507da7c4a5 backing out previous change to figure out whats going on
git-svn-id: svn://10.0.0.236/trunk@116063 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 16:45:25 +00:00
dp%netscape.com
ebea38ccd0 (again) bug 116023 Parser recycling buffers. Protects all cases of
usage of mCurrentPosition without checking mSlidingBuffer. r=harishd,
sr=sfraser, a=asa


git-svn-id: svn://10.0.0.236/trunk@116061 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 15:43:12 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
harishd%netscape.com
476668ebbc 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00
jst%netscape.com
e9bd9a6f04 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
git-svn-id: svn://10.0.0.236/trunk@109117 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:13:11 +00:00
harishd%netscape.com
1c4e4c74ec 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.


git-svn-id: svn://10.0.0.236/trunk@104152 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:17 +00:00
gerv%gerv.net
cf694b8116 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
git-svn-id: svn://10.0.0.236/trunk@103776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:45 +00:00
harishd%netscape.com
f4d6d67500 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.


git-svn-id: svn://10.0.0.236/trunk@102098 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 21:22:16 +00:00
harishd%netscape.com
41b05e57a0 96117 - Cache Observer service. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101523 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 18:46:46 +00:00
dbaron%fas.harvard.edu
3485888237 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
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
mkaply%us.ibm.com
5701ba1811 OS/2 breakage - PR_CALLBACK
git-svn-id: svn://10.0.0.236/trunk@100557 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-08 03:23:03 +00:00
waterson%netscape.com
6de9a41f13 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
git-svn-id: svn://10.0.0.236/trunk@100459 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 02:55:54 +00:00
harishd%netscape.com
36086848b7 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@100322 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 21:15:15 +00:00
waterson%netscape.com
18986ada3f 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.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
dbaron%fas.harvard.edu
be5fd03419 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
git-svn-id: svn://10.0.0.236/trunk@96375 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:39:38 +00:00
harishd%netscape.com
ebecf5a4cb 68790 - Remove nsHTMLContentSinkStream dependency. Not in use anymore
r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@92594 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:23:33 +00:00
shaver%mozilla.org
8a65cf3329 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.


git-svn-id: svn://10.0.0.236/trunk@91976 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 14:23:13 +00:00
rickg%netscape.com
da16bfd694 Adding hook for preloader; r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91156 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 19:40:58 +00:00
shaver%mozilla.org
823ae8572c 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


git-svn-id: svn://10.0.0.236/trunk@89354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 20:43:02 +00:00
harishd%netscape.com
f755934606 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


git-svn-id: svn://10.0.0.236/trunk@89299 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 20:47:06 +00:00
Peter.VanderBeken%pandora.be
328e0907f9 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 21:02:12 +00:00
pinkerton%netscape.com
ce9fa42472 Removing HTML->text sink from the parser. r=akkana/sr=vidur. bug 62432.
git-svn-id: svn://10.0.0.236/trunk@86325 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 07:15:32 +00:00
harishd%netscape.com
4541137502 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


git-svn-id: svn://10.0.0.236/trunk@85991 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:03:48 +00:00
harishd%netscape.com
7a086d6265 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


git-svn-id: svn://10.0.0.236/trunk@85501 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:37:23 +00:00
bratell%lysator.liu.se
d319a76958 Backing myself out to save mac build
git-svn-id: svn://10.0.0.236/trunk@83867 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 22:54:40 +00:00
bratell%lysator.liu.se
5811dd1c0b Bug 62432, remove nsHTMLToTXTSinkStream from build. r=akkana@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83864 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:38:36 +00:00
vidur%netscape.com
3e62b3f9f3 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
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
vidur%netscape.com
8df662a363 Added IsBlock() to nsIParserService. r=jst
git-svn-id: svn://10.0.0.236/trunk@78663 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 07:05:09 +00:00
vidur%netscape.com
4c82d90f60 Added parser service methods to aid external serialization. r=jst
git-svn-id: svn://10.0.0.236/trunk@78650 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 02:28:11 +00:00
harishd%netscape.com
34a0c50b1e 46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
r=vidur


git-svn-id: svn://10.0.0.236/trunk@77624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:22:03 +00:00