74 Commits

Author SHA1 Message Date
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
akkana%netscape.com
af3c8c0562 Switch to the perl version of the test script
git-svn-id: svn://10.0.0.236/trunk@63091 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:47:00 +00:00
akkana%netscape.com
dc13b280c3 Install the new TestOutSinks.pl
git-svn-id: svn://10.0.0.236/trunk@62831 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:24:44 +00:00
akkana%netscape.com
890297e8f8 17883, indentation spaces (from Daniel Bratell, bratell@lysator.liu.se),
30380, blockquote should be block (also from Daniel),
6079, URLs surrounded by quotes *and* angle brackets (from Ben Bucksch,
      mozilla@bucksch.org),
translate test into perl (so it will eventually be runnable on mac)
 and fix up some old tests (me).


git-svn-id: svn://10.0.0.236/trunk@62814 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:15 +00:00
akkana%netscape.com
eb98d76923 More on 19428: fix the output tests on windows. r=cmanske, a=rickg.
git-svn-id: svn://10.0.0.236/trunk@61629 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 01:09:37 +00:00
akkana%netscape.com
3ad292276a 19428: fix copying from a document with a doctype.
Also add test cases to notice this if it ever regresses.
Fix from harishd, r=me, a=rickg.


git-svn-id: svn://10.0.0.236/trunk@61464 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 01:23:29 +00:00
akkana%netscape.com
4270972196 Put the extra newline back. Rick had changed something last night
which fixed the bogus extra newline problem, and caused the tree to
go orange since the test still had the extra newline; but now he's
apparently reverted that fix, so the extra newline is back and
the tree is orange again. This should make it go green.  a=trudelle


git-svn-id: svn://10.0.0.236/trunk@60577 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 02:47:06 +00:00
akkana%netscape.com
e622d7e61f Fix problem in the output tests. r=rickg,a=leaf
git-svn-id: svn://10.0.0.236/trunk@60500 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 20:30:25 +00:00
rickg%netscape.com
3656e27e92 added htmlgen docs
git-svn-id: svn://10.0.0.236/trunk@58371 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 00:56:02 +00:00
rickg%netscape.com
8374c14a86 small improvements to htmlgen utility; this does NOT affect the mozilla tree
git-svn-id: svn://10.0.0.236/trunk@58370 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 00:55:25 +00:00
rickg%netscape.com
25f07525e8 further enhancements to residual style docs
git-svn-id: svn://10.0.0.236/trunk@58258 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 21:50:44 +00:00
rickg%netscape.com
3a8ccbf675 adding residual style tests
git-svn-id: svn://10.0.0.236/trunk@58257 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 21:33:20 +00:00
akkana%netscape.com
0c72b33d06 Add a printf to the failure case. Trivial change, and no one but me is running this anyway.
git-svn-id: svn://10.0.0.236/trunk@58176 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:24:46 +00:00
akkana%netscape.com
252ae5b494 Fix reporting of errors at the end of the script. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@58164 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:01:10 +00:00
akkana%netscape.com
e56df1283f Add quotes around final errmsg test, to handle the case where more than one test fails. r=slamm
git-svn-id: svn://10.0.0.236/trunk@58128 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:59:42 +00:00
pinkerton%netscape.com
28c3b87687 fixing bug 21414 the right way, reverting api's to their previous ways.
git-svn-id: svn://10.0.0.236/trunk@57303 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 23:04:24 +00:00
pinkerton%netscape.com
1078822384 fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@57154 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 02:15:33 +00:00
akkana%netscape.com
0b09bca2e6 Remove URL: in automated test, tracking BenB's last change
git-svn-id: svn://10.0.0.236/trunk@56740 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 20:23:04 +00:00
briano%netscape.com
c6d00331d3 Fix for Greg Noel's (GregNoel@san.rr.com) non-srcdir build problem. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55942 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 23:10:16 +00:00
akkana%netscape.com
d035392759 Add tests/outsinks to build. r=slamm
git-svn-id: svn://10.0.0.236/trunk@55454 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:34:11 +00:00
akkana%netscape.com
8bbd947552 Add htmlparser/tests/outsinks to the enable-tests build
git-svn-id: svn://10.0.0.236/trunk@55451 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:29:49 +00:00
akkana%netscape.com
37e650b1bc Fix the last output test that didn't pass.
Now TestOutSinks can be run as an automated test, by anyone, to find
regressions, instead of me having to go through each one by hand.


git-svn-id: svn://10.0.0.236/trunk@54953 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:41:22 +00:00
akkana%netscape.com
4cd9cfb812 20253, 20246: Fix extra ; after entity output. Clean up the code which
inserts the "html" text for an open html tag.  Changes from rickg to
remove large amounts of obsolete code from nsXIFDTD. r=rickg


git-svn-id: svn://10.0.0.236/trunk@54933 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:09:21 +00:00
akkana%netscape.com
6bd223eae3 19515: fix a XIF DTD problem where text nodes with names corresponding
to XIF node names didn't make it into the output.  Fix from rick, r=me.
Also, a temp fix to the html output sink to get around bug 20246,
and a couple of test case tweaks.


git-svn-id: svn://10.0.0.236/trunk@54617 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:33:32 +00:00
akkana%netscape.com
6f4b49e030 17564, 17871, 17883, 18249, 13753,
18012, 16800, maybe 17565 and 13278:
Integrate contributions from Ben Bucksch (mozilla@bucksch.org)
and Daniel Brattell (bratell@lysator.liu.se) to improve formatted
plaintext output, including adding text style indicators, improving
table output and wrapping, and fixing several wrapping/whitespace bugs.
Also update the auto tests to reflect some of the bugs recently fixed.
  r=myself,mozilla@bucksch.org,bratell@lysator.liu.se


git-svn-id: svn://10.0.0.236/trunk@53104 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:50:45 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
akkana%netscape.com
ec594ff4cd Contribution by Daniel Bratell <bratell@lysator.liu.se> to implement
format=flowed for mail plaintext output.  Restructures the plaintext
output wrapping code, wholly or partially fixes numerous bugs in plaintext
output (13278, 13442, 17823, 17824, 13753, 12551), makes the automated
tests work on Windows and adds some new automated tests. r=akkana.


git-svn-id: svn://10.0.0.236/trunk@52653 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 02:44:44 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
akkana%netscape.com
e9db800eb8 Update a few of the standalone tests. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@51570 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 21:35:16 +00:00
akkana%netscape.com
0ab9b94827 Fix a runtime error message -- r= (and suggested by) dp
git-svn-id: svn://10.0.0.236/trunk@51451 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 23:12:31 +00:00
dveditz%netscape.com
30a83caa1d Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
akkana%netscape.com
bc8b6d116e 13750,13753,14075,15293,13873,12551:
- Rewrite wrapping logic for plaintext output sink,
  and run all output through the wrapping/formatting Write method
  (which now has logic to determine when we should be wrapping).
- Handle blockquote type=cite mail quotes.
- Write several new regression tests for plaintext output bugs,
  and include those tests and their expected output into the
  automated output test.
r=sfraser,harishd


git-svn-id: svn://10.0.0.236/trunk@50072 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 01:10:32 +00:00
akkana%netscape.com
163649cbd0 Automated tests of output. Not part of apprunner, not built by default.
Fix Compare() function;
add lots of before and after files for testing various regressions;
add a TestOutSinks script which tests the known cases.


git-svn-id: svn://10.0.0.236/trunk@49596 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 20:55:01 +00:00
akkana%netscape.com
ca522033c5 Many changes to make output test really useful. Fix Windows makefile. Add some sample test input files
git-svn-id: svn://10.0.0.236/trunk@49318 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 20:11:07 +00:00
akkana%netscape.com
7a969adf4f Pass formatted flag along in plaintext case
git-svn-id: svn://10.0.0.236/trunk@48391 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:06:29 +00:00
akkana%netscape.com
cd601ac51d Call the test program outtest instead of Convert; fix some of the debug prints
git-svn-id: svn://10.0.0.236/trunk@47987 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:09:42 +00:00
akkana%netscape.com
735a035e26 First attempt at a makefile.win
git-svn-id: svn://10.0.0.236/trunk@47424 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 22:48:35 +00:00
akkana%netscape.com
3da3733c21 The test builds and works now, with autoreg help from dp
git-svn-id: svn://10.0.0.236/trunk@47422 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 22:43:18 +00:00
briano%netscape.com
661307307a General cleanup.
git-svn-id: svn://10.0.0.236/trunk@46915 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 01:43:34 +00:00
warren%netscape.com
de60d2685c Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
briano%netscape.com
e0bf25c550 Cleaned it up and eliminated the pointless #!gmake.
git-svn-id: svn://10.0.0.236/trunk@45591 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:30:07 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
akkana%netscape.com
fd513f1e7a Standalone test of output sinks. Builds, but doesn't quite work yet because the charset service isn't registered
git-svn-id: svn://10.0.0.236/trunk@44873 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:58:57 +00:00
ramiro%netscape.com
1784612f6b cleanup linking of libmozreg.
git-svn-id: svn://10.0.0.236/trunk@44002 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 15:41:53 +00:00
briano%netscape.com
684f6b2907 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568.
git-svn-id: svn://10.0.0.236/trunk@41354 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:27:44 +00:00
rickg%netscape.com
24ccdaeb04 removed potential memory deref errors
git-svn-id: svn://10.0.0.236/trunk@39858 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 11:08:28 +00:00
dveditz%netscape.com
1008384826 makeile cleanups
git-svn-id: svn://10.0.0.236/trunk@38041 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:38:47 +00:00
dveditz%netscape.com
6c67b618a0 Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles
git-svn-id: svn://10.0.0.236/trunk@38031 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 11:50:19 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
valeski%netscape.com
268d31ffa8 nsIChannel api change
git-svn-id: svn://10.0.0.236/trunk@37309 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 01:54:05 +00:00