Commit Graph

41 Commits

Author SHA1 Message Date
harishd@netscape.com
2cea53f1bb 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
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
faedc2e79a 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
f83f8b912c 96117 - Cache Observer service. r=dp, sr=waterson 2001-08-21 18:46:46 +00:00
dbaron@fas.harvard.edu
4c647ea08a 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
mkaply@us.ibm.com
1267060dfc OS/2 breakage - PR_CALLBACK 2001-08-08 03:23:03 +00:00
waterson@netscape.com
deea236d00 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
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
waterson@netscape.com
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
dbaron@fas.harvard.edu
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 r=harishd@netscape.com sr=vidur@netscape.com a=asa@mozilla.org 2001-06-05 00:39:38 +00:00
harishd@netscape.com
3a6a40bf1e 68790 - Remove nsHTMLContentSinkStream dependency. Not in use anymore
r=heikki
sr=jst
2001-04-17 23:23:33 +00:00
shaver@mozilla.org
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
rickg@netscape.com
63fe67e49f Adding hook for preloader; r=peterl, sr=attinasi 2001-04-03 19:40:58 +00:00
shaver@mozilla.org
569946653a 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
65c7023497 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
4d06fc278c 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
pinkerton@netscape.com
0fdbcc176f Removing HTML->text sink from the parser. r=akkana/sr=vidur. bug 62432. 2001-02-06 07:15:32 +00:00
harishd@netscape.com
27fd2b352c 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
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
bratell@lysator.liu.se
4539ae8aaa Backing myself out to save mac build 2000-12-19 22:54:40 +00:00
bratell@lysator.liu.se
fd552d6ccb 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
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
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jst@netscape.com
ac4808dda8 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
2000-10-07 10:57:30 +00:00
vidur@netscape.com
d52d2b7222 Added IsBlock() to nsIParserService. r=jst 2000-09-10 07:05:09 +00:00
vidur@netscape.com
a001837b48 Added parser service methods to aid external serialization. r=jst 2000-09-10 02:28:11 +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
rickg@netscape.com
e801ded848 fixed a few nsbeta2+ bugs; r=harishd and kmcclusk 2000-06-16 07:28:02 +00:00
rickg@netscape.com
da586dbb57 StrictDTD WIP and fixed mode regression 2000-05-04 05:53:52 +00:00
harishd@netscape.com
a915710d14 34458 - Added static APIs to determine DTD for a given
DOCTYPE,MIMETYPE,COMMAND.
r=rickg,pollmann
33397 - Fixed the NOSCRIPT interference on residual style handling.
r=rickg.
35456 - Emulating Nav. for documents with unclosed STYLE and SCRIPT.
37052 - Handling XMP content.
r=pollmann
2000-05-03 22:09:09 +00:00
harishd@netscape.com
65e675083d XIF DTD now depends on a single stack rather than
multiple stacks.
r=akkana
Moved Node recycling to DTD Utils so that the recycler could
be used across DTDs.
r=rickg
Also fixed bug 27136.
2000-04-18 21:10:28 +00:00
scc@netscape.com
fbf1212b0e making string conversions explict 2000-04-03 08:09:23 +00:00
dougt@netscape.com
d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
pp@ludusdesign.com
d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +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
7818f0683d fixed bug17388, dtd leak; r=mscott 1999-10-28 07:53:21 +00:00
harishd@netscape.com
921d2e7a2b Fix for Bugs
13640, 13736 - Memory leaks - R=rickg
1312 - Hooked up XHTML DOCTYPE - R=rickg
7590 - Prematuredly closing <SCRIPT> on seeing </SCRIPTERR>
2749 - Strict comment handling for noquirks mode - R=rickg
14955 - LEGEND inside FIELDSET was causing infinite looping - R=rickg,pollmann
14952 - LABEL got closed on seeing SPAN (LABEL can contain SPAN ) - R=pollmann
15381 - comment handling for XIF and HTML - R=akkana
15346 - Stray end tag caused loading blank document - R=rickg,pollmann
1999-10-06 19:04:29 +00:00
vidur@netscape.com
13e2eeacbb Converted parser into a module. NS_NewFoo routines are temporarily inlined to call component manager. Introduced nsIParserService for temporary replacement of nsHTMLTags and nsHTMLEntities static methods. RickG to do complete review. 1999-09-30 22:01:48 +00:00
kipp@netscape.com
4546843373 new 1999-09-28 00:44:47 +00:00