Compare commits

...

5352 Commits

Author SHA1 Message Date
rpotts%netscape.com
5f910a6cbd Wired up OverLink notifications to the status bar...
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@8209 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:54:54 +00:00
rpotts%netscape.com
2c1b26e03d Wired up the nsIWebShellContainer notifications...
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@8208 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:52:09 +00:00
rpotts%netscape.com
da249fc1f5 Wired up the Container pointers for Frame WebShells...
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@8207 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:51:15 +00:00
scullin%netscape.com
def9a630e7 Initialize prefs hack.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@8178 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:42:14 +00:00
scullin%netscape.com
ffaa73871a Give reasonable default values to prefs which may fail.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@8177 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:41:27 +00:00
scullin%netscape.com
4af8a684c5 Limit connections to 16 instead of 32, don't use stdio for support
interfaces.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@8131 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 18:56:40 +00:00
valeski%netscape.com
7f235f5bb9 see valeski
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@8099 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:06:48 +00:00
rpotts%netscape.com
60949aaf23 Tweaked the nsIWebShellContainer interface
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7992 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:57:12 +00:00
buster%netscape.com
5b69d1bda6 Rick's fixes for a variety of bugs, most having to do with illegal HTML.
See checkin note on TIP for details.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7932 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:54:45 +00:00
rpotts%netscape.com
f10b0147cb Abort the data stream if the image is bad...
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7928 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:15:15 +00:00
rpotts%netscape.com
07ba324022 Fixed OnDataAvailable() to abort stream if it returns a failure code...
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7927 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:12:29 +00:00
buster%netscape.com
c829d8ccfe Bug 313002: resize reflow of table not correct
Bug 313702: assert because we try to BalanceColumnWidths on a continuing frame


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7913 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 05:39:46 +00:00
buster%netscape.com
b74ff0a50e removed print statements
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7912 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 05:38:54 +00:00
scullin%netscape.com
1617703d05 simple mod, questions? talk to valeski
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7897 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 03:03:49 +00:00
rods%netscape.com
e811d70eb2 Changed the WindowStyle so the scrollbar appears when the list is larger than the given
bounding rectangle.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7880 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:42:25 +00:00
rods%netscape.com
343763c114 Change the calculation of how big the dropdown list should be. The max size is now 20.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7879 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:41:44 +00:00
kipp%netscape.com
c8a6f142b2 Applying vidur's bug fix from the tip to the branch for empty background spec's
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7865 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:49:14 +00:00
kipp%netscape.com
775007e11f Made the release conditional
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7864 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:35:44 +00:00
karnaze%netscape.com
8de9a8b427 form submission on single text field when "enter" key is pressed
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7836 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:48:17 +00:00
rickg%netscape.com
37b1e4bf16 numerous parser fixes; improvements to propagation
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7816 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 08:07:48 +00:00
rickg%netscape.com
ced4339450 fixed indexing bug in ::ObjectAt()
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7815 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 08:06:51 +00:00
peterl%netscape.com
7fcb980c78 force aliasing of courier to courier new (if available)
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7790 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 23:58:50 +00:00
kipp%netscape.com
3ec91f3f26 Landed fix from tip into the branch (part of bug #313332)
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7779 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:59:24 +00:00
kostello%netscape.com
c166a80a70 Added better support for AOLMAIL format -- for proper
formatting <HTML></HTML> is required around the data.
Also, we are now placing HTML on the clipboard for the
text format -- this is to fix a temporary problem
with getting data on the clipboard under win95/98.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7742 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 16:31:54 +00:00
scullin%netscape.com
4fd84740f7 Initialize form elements when calculating size to work around painting
bug with form elements in scrolling view.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7718 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:32:37 +00:00
rods%netscape.com
c80b2895b1 Re-fixing a fix I thought got put in (check 3.52), confusing, may have made change
to only the tip. (But I check it closely)


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7704 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:07:26 +00:00
rods%netscape.com
4c85829b30 Bug# 313031 - changed > to >=, correctly paints selection and shows cursor at beginning of line
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7696 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:18:13 +00:00
peterl%netscape.com
3c54c55c43 added marginwidth & marginheight attributes to body tag
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7692 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:53:18 +00:00
buster%netscape.com
81cee66d2e a minor workaround that will be replaced as soon as we implement
%-width columns inside of auto-width tables.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7666 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 18:12:55 +00:00
valeski%netscape.com
3c4e8e227e the previous checkin had the code in the wrong place (I overlooked a patch issue)
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7634 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 18:17:50 +00:00
valeski%netscape.com
1bb3ca6b58 added http:// assumption code to the webshell (removed it from the viewer) to move the functionality downward.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7633 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 17:53:30 +00:00
valeski%netscape.com
fdfd5414c3 removed the http:// assumption code out of the viewer.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7630 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 16:22:10 +00:00
joki%netscape.com
5c9494e5f2 Workaround bug 312985 on branch. Working on real fix for tip
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7627 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 07:34:52 +00:00
jevering%netscape.com
7c966c6564 *** empty log message ***
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7611 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 21:57:53 +00:00
michaelp%netscape.com
48ab23f5cc fixed bug where scrollto would not scroll child widgets.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7607 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 04:43:40 +00:00
michaelp%netscape.com
44526b82e1 fixed bug where when resizing the webwidget with the document scrolled, any
child widgets would get put in the wrong place.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7606 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 04:38:32 +00:00
michaelp%netscape.com
aaca8471c8 fixed bug #312576. junk at bottom of window when scrolling code let's you
scroll past the bottom of the real document. cujo also reported this one
awhile ago.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7604 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 03:46:54 +00:00
scullin%netscape.com
a4c142625c Fixed CanBack/CanForward code.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7599 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:14:19 +00:00
kostello%netscape.com
05cfd37253 Add clipboard support for "AOLMAIL" and "text/html"
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7590 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:16:28 +00:00
kostello%netscape.com
2550c8ccfb Fix build error -- change NS_FALSE to PR_FALSE
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7589 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:15:43 +00:00
buster%netscape.com
f6013fcb7c bug #312932 nested tables with percent-widths that also have percent-width content
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7585 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 22:23:29 +00:00
scullin%netscape.com
ba1fcba242 Added stop and reload members to webshell interface.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7584 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 22:08:24 +00:00
rods%netscape.com
826c60ed0b Shift clicking no longer crashes the viewer BUG# 312931
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7581 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 20:51:58 +00:00
rods%netscape.com
603c351876 Select All now turns on selection
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7580 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 20:51:10 +00:00
rods%netscape.com
eaaef1b947 Commented out the rendering of the "blue" poition marker
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7579 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 20:50:19 +00:00
jdunn%netscape.com
18a20653de Added temporary IMG tag support for ART (AOL's graphic format) images.
Basically, I am not checking the 'source' for all IMG tags and if it
is an ART file (.art or image/art, image/x-art, image/x-jg) then
I call the EMBED handler, rather than the IMG one.

scopus bug 312917
Approved by Rick
Reviewed by Rick and Michael


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7575 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:51:45 +00:00
michaelp%netscape.com
d915339805 fixes to: call npp_writeready() before writing, deal with busted netlib and
file: urls, support plugin lookup by extension with bad or non-existent
mimetypes.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7572 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:33:30 +00:00
rods%netscape.com
6327f0d7e2 Fixes memory errors and changed cursor to a blue triangle
Bug #312640


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7563 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 16:16:47 +00:00
rickg%netscape.com
8ff9eaf742 fixes bug 312688
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7529 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 04:48:55 +00:00
joki%netscape.com
9b2b840c7a Fix bug 312534, Add editor mode and JS console back into release mode.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7527 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 04:07:00 +00:00
scullin%netscape.com
3c63c35788 Added CanBack and CanForward methods.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7526 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 04:01:02 +00:00
scullin%netscape.com
0616cafd61 Added NS_FALSE value.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7525 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:57:53 +00:00
peterl%netscape.com
3d797e706d build fix
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7524 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:44:02 +00:00
peterl%netscape.com
958ab14509 better handling of font face
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7522 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:27:04 +00:00
peterl%netscape.com
22b3fc4505 fixed parsing of font faces (dealing with quotes)
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7521 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:26:46 +00:00
peterl%netscape.com
33b36164a7 made string tokens preserve quote char
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7520 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:26:20 +00:00
peterl%netscape.com
fc7cd4f1cf made nsFont have multiple font names
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7519 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:25:04 +00:00
kipp%netscape.com
53e7aa193e Pull mozilla/build so that build works
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7514 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:39:45 +00:00
kipp%netscape.com
6c7046e316 Landed branch version of nglayout.mk on the branch
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7506 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:08:50 +00:00
buster%netscape.com
994d8e7006 fixed bug 312799. Table cell now always reserve at least the maxElementSize
of its content, fixing problems when desiredSize<maxElementSize


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7505 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:06:19 +00:00
scullin%netscape.com
9de902ce4f make resource: urls work relative to netlib.dll.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7504 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 01:59:45 +00:00
kipp%netscape.com
c4709f74fd Fixed embed/flush-text bug #312433
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7503 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 01:50:12 +00:00
buster%netscape.com
c4abc5bbbc fixed the following bugs:312653 312656 312655
the fixes were:
1. cells now inherit their bgcolor from the row, if available.  This is the
Nav4 way of drawing row bgcolor, rather than having the row paint its own bgcolor.
2. colspans across cols that are all specified width no longer try to proportionately
divide the width of the span between the cols.
3. min table sizes are fixed, so min width changes to content now effect the
table correctly during incremental reflow.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7484 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:35:07 +00:00
scullin%netscape.com
736d6d379d Added repaint method to nsIWebShell
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7482 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:20:46 +00:00
karnaze%netscape.com
e447b3cd3e implemented border, frameborder attributes in <frameset>
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7479 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 22:52:20 +00:00
scullin%netscape.com
bda4a2339c Tack our DLL path onto the PATH so that our install directory doesn't
have to be in the user's PATH.


git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7478 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 22:44:14 +00:00
kipp%netscape.com
e164cb9095 Work around for bug #312572
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7438 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 16:57:56 +00:00
rods%netscape.com
25059828af Fixed: Selection cursor display when clicking on a link. Bug #312563
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7435 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 16:24:05 +00:00
rods%netscape.com
e415a4cb8b Fixed clicking on links bug #312562
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7434 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 16:16:33 +00:00
scullin%netscape.com
85460ee324 Whack to allow passing in of absolute windows file paths.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7427 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:23:26 +00:00
scullin%netscape.com
1016989f3d Make sure the threading model is set when registering.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7419 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:47:54 +00:00
scullin%netscape.com
ccb58929e5 Remove nsString from public api
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7413 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:19:53 +00:00
scullin%netscape.com
5ff9d63744 Remove nsRect from public api
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7412 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:19:32 +00:00
michaelp%netscape.com
80f9006a74 changed to work with stuff on branch.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7408 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 00:59:11 +00:00
scullin%netscape.com
7ab439a02a Remove nsRect and nsString from our external API.
git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7407 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 00:46:30 +00:00
(no author)
e981030233 This commit was manufactured by cvs2svn to create branch
'NGLayoutStability_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/NGLayoutStability_BRANCH@7394 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:39:03 +00:00
rods%netscape.com
c4b82f67ab Removed debug statement
git-svn-id: svn://10.0.0.236/trunk@7393 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:39:02 +00:00
rods%netscape.com
84a20c8618 Additional selection changes
git-svn-id: svn://10.0.0.236/trunk@7392 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:38:24 +00:00
pierre%netscape.com
b5b464a381 declared NSGetFactory_WIDGET_DLL() as "C" function (even though it's still out-commented for now)
git-svn-id: svn://10.0.0.236/trunk@7391 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:28:37 +00:00
karnaze%netscape.com
ed1560d42a support for frameset cells without frames, fixed nsCSSRendering paint background divide by zero
git-svn-id: svn://10.0.0.236/trunk@7390 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:24:56 +00:00
rods%netscape.com
24d1b7f443 Fixed a warning in SelectAll
git-svn-id: svn://10.0.0.236/trunk@7389 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:23:03 +00:00
rods%netscape.com
0fdb88d53c Added a new GetWidth that take a nsIDeviceContext
git-svn-id: svn://10.0.0.236/trunk@7388 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:21:21 +00:00
kipp%netscape.com
0856501791 Added decls for framesets
git-svn-id: svn://10.0.0.236/trunk@7387 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:08:33 +00:00
troy%netscape.com
3b4e4530a6 Added some release calls for mBack, mForward, and mLocation
git-svn-id: svn://10.0.0.236/trunk@7386 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:06:58 +00:00
kostello%netscape.com
f7e923f8f1 Transfered CollectAttributes from CNavDTD.cpp -- code which was commented out
as part of a previous checkin


git-svn-id: svn://10.0.0.236/trunk@7385 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 21:50:20 +00:00
dcone%netscape.com
cb0c2c5600 fixed the plugin checkout to pull off of the tip
git-svn-id: svn://10.0.0.236/trunk@7384 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 21:48:44 +00:00
law%netscape.com
5da5e55fa0 I take back what I said about mjudge; he did screw up. But I think I've saved his butt for sure this time.
git-svn-id: svn://10.0.0.236/trunk@7383 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 21:16:55 +00:00
kin%netscape.com
b6a0aff66a Fixed ENDER related compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@7382 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 20:21:43 +00:00
kin%netscape.com
3a5af378fa Added code to define ENDER if MOZ_ENDER is set.
Approved by wtc.


git-svn-id: svn://10.0.0.236/trunk@7381 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 20:21:13 +00:00
kin%netscape.com
77adf03846 Changed C++ comment to C comment.
git-svn-id: svn://10.0.0.236/trunk@7380 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 19:13:08 +00:00
kin%netscape.com
34850048ef Initial check-in of HTMLArea (embedded composer widget) form
element feature. All Ender related code is ifdef'd ENDER.


git-svn-id: svn://10.0.0.236/trunk@7379 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 19:08:58 +00:00
law%netscape.com
6032f49576 doh! mjudge didn't screw up after all. No, I'm not talking about the upcoming nuptials. Turning his /DENDER back on...
git-svn-id: svn://10.0.0.236/trunk@7378 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 19:00:15 +00:00
dfm%netscape.com
a96c4e838d Enabled privacy policies in winfe. Approved: garrett
git-svn-id: svn://10.0.0.236/trunk@7377 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:36:32 +00:00
despotdaemon%netscape.com
2e01a7f9c4 Pseudo-automatic update of changes made by martinl@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7376 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:34:15 +00:00
despotdaemon%netscape.com
600d9aac6d Pseudo-automatic update of changes made by martinl@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7375 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:33:23 +00:00
kostello%netscape.com
ae3ac55caa Added GetDepth
git-svn-id: svn://10.0.0.236/trunk@7374 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:14:16 +00:00
kostello%netscape.com
9e4dc10edf Added GetDepth method
git-svn-id: svn://10.0.0.236/trunk@7373 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:12:41 +00:00
michaelp%netscape.com
11139cfbd9 we now set the correct stretchblt mode. as a result scaled images look a lot sweeter.
git-svn-id: svn://10.0.0.236/trunk@7372 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:06:19 +00:00
kmcclusk%netscape.com
fc4129cfcc Really fix IRIX build.
git-svn-id: svn://10.0.0.236/trunk@7371 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:56:56 +00:00
kmcclusk%netscape.com
9e179a6c72 Fix for Linux build.
git-svn-id: svn://10.0.0.236/trunk@7370 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:32:14 +00:00
dcone%netscape.com
12be85a50e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7369 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:24:06 +00:00
despotdaemon%netscape.com
c95ba78de0 Pseudo-automatic update of changes made by jwz@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@7368 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:19:56 +00:00
kmcclusk%netscape.com
7dd69421a1 Fix for animated gifs.
git-svn-id: svn://10.0.0.236/trunk@7367 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:06:00 +00:00
dcone%netscape.com
85037cfadf First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7366 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:01:56 +00:00
kmcclusk%netscape.com
32b2d94a95 Changed XtSetValues to XtMoveWidget for Scrolling.
git-svn-id: svn://10.0.0.236/trunk@7365 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 16:51:54 +00:00
troy%netscape.com
640244ef6c Changed 8 bit images to use DIB_PAL_COLORS. Also changed it so that
8-bit images aren't dithered to the color cube on a true color device


git-svn-id: svn://10.0.0.236/trunk@7364 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:51:31 +00:00
dcone%netscape.com
e329e37de4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7363 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:44:36 +00:00
troy%netscape.com
55ab0c808f Added GetDepth() member function
git-svn-id: svn://10.0.0.236/trunk@7362 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:26:15 +00:00
ramiro%netscape.com
206a86201d Fix the mozilla-motif-export target linking.
git-svn-id: svn://10.0.0.236/trunk@7361 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:17:43 +00:00
kmcclusk%netscape.com
cc31f8a99d Changed STATUS_HEIGHT constant for unix. It wasn't big enough.
Left STATUS_HEIGHT as is for windows.


git-svn-id: svn://10.0.0.236/trunk@7360 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:11:46 +00:00
jfrancis%netscape.com
466ea47fda First pass of the htmlarea form element, aka Ender. Module owners dagley and brade ok'd.
git-svn-id: svn://10.0.0.236/trunk@7359 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 12:38:53 +00:00
jfrancis%netscape.com
118c97805b First pass of the htmlarea form element for macfe, aka Ender. module owners dagley and brade ok'd.
git-svn-id: svn://10.0.0.236/trunk@7358 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 12:36:53 +00:00
pierre%netscape.com
90847ac95f fix build on Windows and Unix
git-svn-id: svn://10.0.0.236/trunk@7357 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 09:02:52 +00:00
beard%netscape.com
dec5335dea Disabled object stack item caching, as stale cache entries are living longer than the PA_Tags they are associated with. This is the cause of defect ID: 311147 in bugsplat.
git-svn-id: svn://10.0.0.236/trunk@7356 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 09:01:09 +00:00
ftang%netscape.com
9d7c3da55f add viscii to unicode conversion source
thanks Thu Nguyen <tnn@neomagic.com> from the net.


git-svn-id: svn://10.0.0.236/trunk@7355 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:45:21 +00:00
pierre%netscape.com
462cbb441c build xpcom as a static lib
git-svn-id: svn://10.0.0.236/trunk@7354 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:32:38 +00:00
pierre%netscape.com
e6c188ac32 added "view", "libpref" and "plugin" groups
git-svn-id: svn://10.0.0.236/trunk@7353 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:31:41 +00:00
pierre%netscape.com
82e3a8508c added targets to build static libs
git-svn-id: svn://10.0.0.236/trunk@7352 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:30:44 +00:00
pierre%netscape.com
e5e43f569f added base64.c to fix Raptor build
git-svn-id: svn://10.0.0.236/trunk@7351 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:30:07 +00:00
pierre%netscape.com
1f117b43ba added several files in "base", "events" and "html/document" groups
git-svn-id: svn://10.0.0.236/trunk@7350 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:29:20 +00:00
pierre%netscape.com
c752f086bd added nsParserFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@7349 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:28:24 +00:00
pierre%netscape.com
5dc5abc3be added the "mac" group
git-svn-id: svn://10.0.0.236/trunk@7348 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:27:38 +00:00
pierre%netscape.com
0737abbdec added header files to fix Raptor build
git-svn-id: svn://10.0.0.236/trunk@7347 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:26:45 +00:00
pierre%netscape.com
4109c4f50e fixed to compile on Mac
git-svn-id: svn://10.0.0.236/trunk@7346 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:26:03 +00:00
pierre%netscape.com
7585290428 removed NS_IMPL_IDS: it moved to nsPref.cpp
git-svn-id: svn://10.0.0.236/trunk@7345 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:25:24 +00:00
pierre%netscape.com
f7ba479251 fix build on Mac
git-svn-id: svn://10.0.0.236/trunk@7344 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:23:13 +00:00
pierre%netscape.com
e10aa9e151 include nsMacRepository.h
git-svn-id: svn://10.0.0.236/trunk@7343 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:22:38 +00:00
pierre%netscape.com
4137a7050a added dozens of missing pure virtual functions
git-svn-id: svn://10.0.0.236/trunk@7342 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:21:01 +00:00
pierre%netscape.com
61e1b08588 On Mac only, explicitly create the ImageManagerInit
git-svn-id: svn://10.0.0.236/trunk@7341 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:20:01 +00:00
pierre%netscape.com
3d3c42a6c7 renamed NSGetFactory to build on Mac
git-svn-id: svn://10.0.0.236/trunk@7340 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:17:06 +00:00
pierre%netscape.com
f3ed50246f added declaration of pure virtual functions to fix build on Mac
git-svn-id: svn://10.0.0.236/trunk@7338 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:11:01 +00:00
pierre%netscape.com
97aee721c3 defined MOZ_NGLAYOUT
git-svn-id: svn://10.0.0.236/trunk@7336 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:07:39 +00:00
pierre%netscape.com
3fc4edcce4 added nsMacRepository.h
git-svn-id: svn://10.0.0.236/trunk@7335 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:06:50 +00:00
pierre%netscape.com
07ee5e3104 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7334 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:06:33 +00:00
pierre%netscape.com
29130e6ef7 fix build errors with Raptor
git-svn-id: svn://10.0.0.236/trunk@7333 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:02:20 +00:00
ftang%netscape.com
d2aca792ab check in KOI8-U support for XFE. Thanks
Dmitry Kohmanyuk dk+@ua.net from the net


git-svn-id: svn://10.0.0.236/trunk@7332 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 07:29:55 +00:00
beard%netscape.com
36e48fa33a For OJI, macroized access to LO_BuiltinStruct. Should really put these macros in layout.h.
git-svn-id: svn://10.0.0.236/trunk@7331 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 05:44:47 +00:00
beard%netscape.com
70d4ea64e6 Removed redundant declaration of gForcingRedraw.
git-svn-id: svn://10.0.0.236/trunk@7330 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 05:38:36 +00:00
beard%netscape.com
3b05b85628 Version check breaks HTML dialogs.
git-svn-id: svn://10.0.0.236/trunk@7329 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 05:25:12 +00:00
michaelp%netscape.com
f6f0263fa5 changes for plugins.
git-svn-id: svn://10.0.0.236/trunk@7328 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 04:23:21 +00:00
michaelp%netscape.com
c273de6a07 added tags for plugins.
git-svn-id: svn://10.0.0.236/trunk@7327 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 04:22:51 +00:00
michaelp%netscape.com
80cbe36b7a latest changes to get plugins working...
git-svn-id: svn://10.0.0.236/trunk@7326 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 04:21:36 +00:00
pinkerton%netscape.com
f299f54987 Comment out lines that aren't being used. Also fixes build bustage.
git-svn-id: svn://10.0.0.236/trunk@7325 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 04:07:29 +00:00
morse%netscape.com
e4811f323a fix minor bugs, alphabetize items in cookie viewer lists
git-svn-id: svn://10.0.0.236/trunk@7324 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:34:16 +00:00
rickg%netscape.com
945143176c fixed a potential crash in case of empty documents
git-svn-id: svn://10.0.0.236/trunk@7323 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:16:51 +00:00
pinkerton%netscape.com
62c171618b Register a bunch of new classes for the new aurora ui.
git-svn-id: svn://10.0.0.236/trunk@7322 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:01:02 +00:00
pinkerton%netscape.com
850cfd8fa1 moving CChameleonCaption out to its own class (appr brade).
git-svn-id: svn://10.0.0.236/trunk@7321 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:00:31 +00:00
pinkerton%netscape.com
b74f4ec3de Shack stuff.
git-svn-id: svn://10.0.0.236/trunk@7320 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:00:13 +00:00
pinkerton%netscape.com
efce6dbe46 Tons of stuff for color and behavior properties.
git-svn-id: svn://10.0.0.236/trunk@7319 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:59:42 +00:00
pinkerton%netscape.com
cf147546f6 Implement ListenToMessage and trap the message from the IconCache to call a pure virtual. Means subclasses don't have to override ListenToMessage.
git-svn-id: svn://10.0.0.236/trunk@7318 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:59:23 +00:00
pinkerton%netscape.com
a8a0b63ffe REmoved CCaption and added CColorCaption.
git-svn-id: svn://10.0.0.236/trunk@7317 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:58:26 +00:00
pinkerton%netscape.com
38ebbe44b8 Rewritten and broken out so that the same base class can be used for both the title strip and the command strip.
git-svn-id: svn://10.0.0.236/trunk@7316 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:57:56 +00:00
pinkerton%netscape.com
c5841c0cbd use a constant instead of hard-coded pane id.
git-svn-id: svn://10.0.0.236/trunk@7315 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:57:26 +00:00
pinkerton%netscape.com
a44f6a0bd8 sfraser's fix for less flashing when showing a window for the first time.
git-svn-id: svn://10.0.0.236/trunk@7314 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:57:06 +00:00
pinkerton%netscape.com
d32cf4e9ea More rewrites for the new UI. Command area, mode switching, colors and behavior properties fully implemented.
git-svn-id: svn://10.0.0.236/trunk@7313 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:56:24 +00:00
warren%netscape.com
33abdfdfe3 Removed
git-svn-id: svn://10.0.0.236/trunk@7312 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:56:18 +00:00
pinkerton%netscape.com
9b0f6210d7 New suite of CreateHTPane methods to take a variety of parameters.
git-svn-id: svn://10.0.0.236/trunk@7311 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:55:38 +00:00
pinkerton%netscape.com
d036475b83 Added a target to DoGetURL so shack can dispatch correctly.
git-svn-id: svn://10.0.0.236/trunk@7310 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:55:07 +00:00
warren%netscape.com
b3837b8667 lib/plugin is obsolete -- moved to modules/plugin
git-svn-id: svn://10.0.0.236/trunk@7309 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:55:03 +00:00
pinkerton%netscape.com
f4dbc31508 More stuff for RDF properties as well as fixing color parsing.
git-svn-id: svn://10.0.0.236/trunk@7308 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:54:32 +00:00
pinkerton%netscape.com
420c492a7e some new traits for Aurora.
git-svn-id: svn://10.0.0.236/trunk@7307 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:53:31 +00:00
pinkerton%netscape.com
d2c950ad1d new UI for Aurora (mode switching, command pane).
git-svn-id: svn://10.0.0.236/trunk@7306 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:53:18 +00:00
warren%netscape.com
627233819d Added av's changes back in from lib/plugin/npglue.cpp -- Adding sizing feature to the plugin API. Reviewed by Nisheeth.
git-svn-id: svn://10.0.0.236/trunk@7305 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:53:11 +00:00
pinkerton%netscape.com
c842c7a21e Updated ctyp's for CRDFCoordinator and created a new one for CBroadcastChameleonCaption
git-svn-id: svn://10.0.0.236/trunk@7304 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:52:49 +00:00
pinkerton%netscape.com
dad17cf475 Moving CChameleonCaption to a separate file. (appr brade).
git-svn-id: svn://10.0.0.236/trunk@7303 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:52:10 +00:00
pinkerton%netscape.com
5b550b6e3a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7302 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:50:38 +00:00
kin%netscape.com
47af53e22b Fix Linux build bustage when ENDER is defined. Changed C++ comment to C
comment. Approved by nisheeth.


git-svn-id: svn://10.0.0.236/trunk@7301 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:41:21 +00:00
spider%netscape.com
febb683597 Minor fix for release builds
git-svn-id: svn://10.0.0.236/trunk@7300 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:17:36 +00:00
karnaze%netscape.com
01254d8747 fixed bug when size=0 is specified on form control
git-svn-id: svn://10.0.0.236/trunk@7299 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:16:26 +00:00
rickg%netscape.com
8f5813c0a2 WIP for token reduction and a few bug fixes
git-svn-id: svn://10.0.0.236/trunk@7298 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:01:44 +00:00
rickg%netscape.com
6355c16731 improved deque API a tad
git-svn-id: svn://10.0.0.236/trunk@7297 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:59:34 +00:00
morse%netscape.com
fa337bf2b3 change for anonymous mode, reviewed by dfm
git-svn-id: svn://10.0.0.236/trunk@7296 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:49:15 +00:00
morse%netscape.com
80db92eef0 change for anonymous mode
git-svn-id: svn://10.0.0.236/trunk@7295 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:47:15 +00:00
kipp%netscape.com
51b373aef4 Added an assertion and a little more debug noise when nspr logging is maxed out
git-svn-id: svn://10.0.0.236/trunk@7294 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:43:42 +00:00
kipp%netscape.com
9734b7b092 Use flexible library naming
git-svn-id: svn://10.0.0.236/trunk@7293 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:40:20 +00:00
warren%netscape.com
ed2c784ba2 Fixed version umber for js3250.lib.
git-svn-id: svn://10.0.0.236/trunk@7292 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:33:36 +00:00
kipp%netscape.com
e940baebe7 Fix windows build to use js3250.dll
git-svn-id: svn://10.0.0.236/trunk@7291 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:33:07 +00:00
rickg%netscape.com
c4b5ce8b7d kipps changes
git-svn-id: svn://10.0.0.236/trunk@7290 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:31:14 +00:00
ftang%netscape.com
c42af0e216 back up cp9xx table check in rev 3.3 untill more test got perform
git-svn-id: svn://10.0.0.236/trunk@7289 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:23:24 +00:00
warren%netscape.com
1a15f88bcf Added include of config.mk so that MOZ_OJI gets defined.
git-svn-id: svn://10.0.0.236/trunk@7288 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:19:53 +00:00
warren%netscape.com
3dbe7c3077 Added
git-svn-id: svn://10.0.0.236/trunk@7287 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 00:50:56 +00:00
hyatt%netscape.com
2b64f6786f Improving drag feedback.
git-svn-id: svn://10.0.0.236/trunk@7286 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 00:38:41 +00:00
warren%netscape.com
35941018bd Changes to build with MOZ_OJI, and optionally build NSJVM. Changes to regenerate jar files. Changed version number to 50.
git-svn-id: svn://10.0.0.236/trunk@7285 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 00:36:13 +00:00
kin%netscape.com
009d01704d Fixed build bustage on Linux when ENDER is defined. Replaced C++ comment with
a C comment.


git-svn-id: svn://10.0.0.236/trunk@7284 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 00:07:19 +00:00
raman%netscape.com
87bf85eb79 Adde context as argument to all caps public methods that could be used by JS
git-svn-id: svn://10.0.0.236/trunk@7283 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 23:54:29 +00:00
av%netscape.com
4360e22d9b Adding sizing feature to the plugin API. Reviewed by Nisheeth.
git-svn-id: svn://10.0.0.236/trunk@7282 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 23:49:09 +00:00
kin%netscape.com
00a0f2f6d1 Fixed Unix build bustage when ENDER is defined.
Reviewed and approved by brendan.


git-svn-id: svn://10.0.0.236/trunk@7281 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 23:18:10 +00:00
kipp%netscape.com
48351d5ffc Init refcnt for html anchor rules
git-svn-id: svn://10.0.0.236/trunk@7280 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 23:06:39 +00:00
jgellman%netscape.com
49dff19b5f whups! cpp ifdefs aren't the same as nmake ifdefs!
git-svn-id: svn://10.0.0.236/trunk@7279 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:59:24 +00:00
jgellman%netscape.com
f89cd110eb link against pop3url.lib if RDF mail is being built
git-svn-id: svn://10.0.0.236/trunk@7278 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:58:08 +00:00
waterson%netscape.com
3d8af28698 Added timing for top-level table blockage.
git-svn-id: svn://10.0.0.236/trunk@7277 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:56:15 +00:00
waterson%netscape.com
1975e743f5 Added timing/tracking for cache hits.
git-svn-id: svn://10.0.0.236/trunk@7276 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:55:25 +00:00
toshok%netscape.com
c6a007a728 Fix problem of alignment inside table cells getting lost. fixes 311994 (www.zdnet.com) and 311983 (www.mozilla.org) initial layout.
git-svn-id: svn://10.0.0.236/trunk@7275 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:26:42 +00:00
robinf%netscape.com
16e28d0024 changed title and button names to match UI
git-svn-id: svn://10.0.0.236/trunk@7274 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:55:31 +00:00
despotdaemon%netscape.com
ea7619260a Pseudo-automatic update of changes made by ddrinan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7273 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:55:02 +00:00
saari%netscape.com
b88d0a311b Merging in sfraser's MacMemAllocator changes from 4.5, along with improved MacMemAllocator/cache behavior.
git-svn-id: svn://10.0.0.236/trunk@7272 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:50:56 +00:00
troy%netscape.com
cb2e01c0ab Removed some annoying printf messages
git-svn-id: svn://10.0.0.236/trunk@7271 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:44:42 +00:00
warren%netscape.com
379619f4e4 Fixed crashes in reporting errors on failure to initialize.
git-svn-id: svn://10.0.0.236/trunk@7269 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:37:16 +00:00
radha%netscape.com
e71e2315ba Context menu changes
git-svn-id: svn://10.0.0.236/trunk@7268 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:20:45 +00:00
radha%netscape.com
3032438c7d Implement some of the RDFView context menu features.
git-svn-id: svn://10.0.0.236/trunk@7267 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:20:13 +00:00
kipp%netscape.com
8c7c80abed Reworked floater handling and sanitized space manager usage
git-svn-id: svn://10.0.0.236/trunk@7266 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:18:16 +00:00
kipp%netscape.com
af8125b945 Updates for better floater support
git-svn-id: svn://10.0.0.236/trunk@7265 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:17:56 +00:00
kipp%netscape.com
c2e7c19613 Cleanup frame-first-reflow bit
git-svn-id: svn://10.0.0.236/trunk@7264 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:17:18 +00:00
kipp%netscape.com
2c1def0a9e snapshot
git-svn-id: svn://10.0.0.236/trunk@7263 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:16:58 +00:00
kipp%netscape.com
c63ad2aed0 Tell line layout about floater
git-svn-id: svn://10.0.0.236/trunk@7262 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:16:32 +00:00
kipp%netscape.com
f6db301b4d Enable refresh after document is loaded
git-svn-id: svn://10.0.0.236/trunk@7261 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:16:13 +00:00
kipp%netscape.com
736e58effc Removed nextid tag
git-svn-id: svn://10.0.0.236/trunk@7260 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:14:19 +00:00
ftang%netscape.com
d07b10ac8d these are meaningless check in to attach comment for my last check in.
Accidentally, my last check do not include comment.
Below is the comment for last check in;
Add KOI8-U support for UNIX
Add XP_ASSERT to Unicode converter


git-svn-id: svn://10.0.0.236/trunk@7259 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:11:09 +00:00
rods%netscape.com
e197487ae9 Fixed the fix
git-svn-id: svn://10.0.0.236/trunk@7258 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:06:35 +00:00
rods%netscape.com
21f2943467 Added a check for a null hWnd on call to ScreenToClient, DESTROY event
can cause wHnd to be null


git-svn-id: svn://10.0.0.236/trunk@7257 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:04:02 +00:00
hyatt%netscape.com
440b725854 Fixes for bugs 301228 and 311949. Approved by blythe.
git-svn-id: svn://10.0.0.236/trunk@7256 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:00:44 +00:00
ftang%netscape.com
8297ae1a85 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7255 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:53:37 +00:00
ftang%netscape.com
cd1f026c73 Switch to the windows cp9xx Unicode conversion table instead
git-svn-id: svn://10.0.0.236/trunk@7254 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:53:11 +00:00
troy%netscape.com
e001e89faa Fixed memory leak (mObservers wasn't being freed)
git-svn-id: svn://10.0.0.236/trunk@7253 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:46:00 +00:00
bjorn%netscape.com
30ead9145f Additional xpcom support for JS. Currently not in use by anyone. See MyScriptable.{h,cpp}
for an example of how to use this interface.


git-svn-id: svn://10.0.0.236/trunk@7252 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:34:20 +00:00
troy%netscape.com
92be964d2d Moved DoSelectAll() outside of a #ifdef NS_DEBUG
git-svn-id: svn://10.0.0.236/trunk@7251 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:04:55 +00:00
waterson%netscape.com
d633694d11 Fixed bustage that I'd missed while merging.
git-svn-id: svn://10.0.0.236/trunk@7250 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:44:07 +00:00
rickg%netscape.com
53a4ef4f1e lets try this again
git-svn-id: svn://10.0.0.236/trunk@7249 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:38:46 +00:00
waterson%netscape.com
93138f6445 Changes to timing to support clocks. Layout changes approved by toshok, netlib changes approved by gagan.
git-svn-id: svn://10.0.0.236/trunk@7248 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:35:56 +00:00
ftang%netscape.com
7b30af3acf Comment out problemtic XP_ASSERT. We should double check editor when we
introduce Thai line breaking into mozill


git-svn-id: svn://10.0.0.236/trunk@7247 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:12:42 +00:00
beard%netscape.com
4e7e554922 Added oji[Debug].o static libraries, and access path to find them. Also added LiveConnect[Debug].shlb shared libraries, which are found via the aliases in the client[_debug] build directories.
git-svn-id: svn://10.0.0.236/trunk@7246 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:10:16 +00:00
ftang%netscape.com
c644a9b9d9 Correct KOI8-U conversion table and add .ut and .uf file.
Thanks Dmitry Kohmanyuk dk@farm.org from the net. However, we are
not sure the mapping for Bullet is correct.


git-svn-id: svn://10.0.0.236/trunk@7245 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:09:29 +00:00
beard%netscape.com
f195af1848 No longer processing mozilla/js/jsj/MANIFEST, which is superseded by mozilla/js/src/liveconnect/MANIFEST.
git-svn-id: svn://10.0.0.236/trunk@7244 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:08:47 +00:00
rickg%netscape.com
647cb7ac32 get parser back on line
git-svn-id: svn://10.0.0.236/trunk@7243 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:04:14 +00:00
nisheeth%netscape.com
bad06dcb17 Fix for bug 129639: Only add the new linefeed for preformatted text inside
lo_RelayoutTextElements().  This fixes the extra line feeds that were
being generated for regular text.


git-svn-id: svn://10.0.0.236/trunk@7242 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:01:27 +00:00
karnaze%netscape.com
45f1e4583c form submission on carriage return in some cases; replaced NS_RELEASE with NS_IF_RELEASE in nsFrame destructor
git-svn-id: svn://10.0.0.236/trunk@7241 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 18:19:51 +00:00
hyatt%netscape.com
871b8909f6 Fixing Windows build bustage.
git-svn-id: svn://10.0.0.236/trunk@7240 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 17:45:56 +00:00
buster%netscape.com
0438f71bc7 removed an overly-aggressive assertion that prevents nested tables from laying out
git-svn-id: svn://10.0.0.236/trunk@7239 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 17:16:56 +00:00
karnaze%netscape.com
b3c9dd780b test9 no longer uses test6
git-svn-id: svn://10.0.0.236/trunk@7238 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 16:57:44 +00:00
rickg%netscape.com
cf891caa2b fixed serious parser bug from earlier today
git-svn-id: svn://10.0.0.236/trunk@7237 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 10:16:09 +00:00
rickg%netscape.com
d9c958d147 minor tweak to remove tabs
git-svn-id: svn://10.0.0.236/trunk@7236 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 10:12:45 +00:00
hyatt%netscape.com
344492bee8 Improvements to the control strip on the nav bar. Fix for the status bar bug
where the status bar isn't taking over the whole area at the bottom like it
should.


git-svn-id: svn://10.0.0.236/trunk@7235 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 08:25:37 +00:00
troy%netscape.com
7fb8a37109 Fixed Win95 transparent image problem
git-svn-id: svn://10.0.0.236/trunk@7234 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 05:24:14 +00:00
dfm%netscape.com
32bdbc5e22 Added ifdefs around morse's single signon calls.
git-svn-id: svn://10.0.0.236/trunk@7233 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 05:15:53 +00:00
michaelp%netscape.com
9fed2ea8af hacks to get the build going on IRIX.
git-svn-id: svn://10.0.0.236/trunk@7232 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 04:57:24 +00:00
warren%netscape.com
07f21d02f5 Added cross-java jar files so we don't have to build them every time.
git-svn-id: svn://10.0.0.236/trunk@7231 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 04:21:00 +00:00
dfm%netscape.com
c8e1dac630 Removed ifdefs from dependency on privacy module.
git-svn-id: svn://10.0.0.236/trunk@7230 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 04:16:53 +00:00
michaelp%netscape.com
2201d863cf fix for unix build.
git-svn-id: svn://10.0.0.236/trunk@7229 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 04:07:59 +00:00
warren%netscape.com
329caf5f7c Added cross-java jar files so we don't have to build them every time.
git-svn-id: svn://10.0.0.236/trunk@7228 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 03:57:46 +00:00
dfm%netscape.com
6c6412630d Fixing build bustage. Removed conditional compilation of privacy.
git-svn-id: svn://10.0.0.236/trunk@7227 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 03:51:01 +00:00
leif
35b2c182d7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7226 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 03:50:56 +00:00
michaelp%netscape.com
4cb90a9f6d attempt to fix busted Unix builds...
git-svn-id: svn://10.0.0.236/trunk@7225 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 03:21:43 +00:00
clayton
8249797f6f Fixed relatively stupid error on my part in the avref2berptrptr function.
This broke binary modifies.  Tested fix on Solaris and NT.  Works fine
without leaking memory or dumping core on both platforms.


git-svn-id: svn://10.0.0.236/trunk@7224 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 02:28:12 +00:00
morse%netscape.com
c1ca573fea back out change to fix tree bustage
git-svn-id: svn://10.0.0.236/trunk@7223 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 02:20:15 +00:00
ramiro%netscape.com
f7b46c4dff Fix privacy build bustage.
git-svn-id: svn://10.0.0.236/trunk@7222 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:58:43 +00:00
timm%netscape.com
e26eb9ad36 change compServ to .NRS
git-svn-id: svn://10.0.0.236/trunk@7221 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:44:37 +00:00
dfm%netscape.com
89354588b2 Added export of laylayer.h, as needed for privacy module.
git-svn-id: svn://10.0.0.236/trunk@7220 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:41:21 +00:00
timm%netscape.com
8cf5fc67d1 add call to SetCacheState
git-svn-id: svn://10.0.0.236/trunk@7219 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:38:43 +00:00
clu%netscape.com
b28fd3472e changed composer table insert menu items. reviewed by jfrancis.
git-svn-id: svn://10.0.0.236/trunk@7218 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:30:13 +00:00
timm%netscape.com
62cf538626 change .IAS to .NRS
git-svn-id: svn://10.0.0.236/trunk@7217 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:28:55 +00:00
dfm%netscape.com
4cf65288f8 Removed temporary privacy policy warning dialog.
git-svn-id: svn://10.0.0.236/trunk@7216 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:26:57 +00:00
timm%netscape.com
7603b93dec change extension from .IAS to .NRS to avoid conflict with those files
git-svn-id: svn://10.0.0.236/trunk@7215 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:24:52 +00:00
clu%netscape.com
54584c9b08 changes to table menu items.
git-svn-id: svn://10.0.0.236/trunk@7214 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:24:40 +00:00
dfm%netscape.com
83642a4545 Removed ifdefs from privacy calls. Approved: nisheeth
git-svn-id: svn://10.0.0.236/trunk@7213 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:17:43 +00:00
hyatt%netscape.com
0dab428c74 Added control strip, removed selector bar and HTML pane, and added support
for template data fetching from the back end.


git-svn-id: svn://10.0.0.236/trunk@7212 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:10:49 +00:00
timm%netscape.com
cc3c8aaae1 change to use compServer
git-svn-id: svn://10.0.0.236/trunk@7211 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:06:49 +00:00
timm%netscape.com
d472fba684 add support for cache writethrough
git-svn-id: svn://10.0.0.236/trunk@7210 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:06:09 +00:00
timm%netscape.com
79de90379f fix getBrowserVersionNumber
git-svn-id: svn://10.0.0.236/trunk@7209 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:05:37 +00:00
timm%netscape.com
6a78520926 fix acctSetupFolder
git-svn-id: svn://10.0.0.236/trunk@7208 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:05:22 +00:00
timm%netscape.com
3832c2eff7 add compServer form element
git-svn-id: svn://10.0.0.236/trunk@7207 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:04:41 +00:00
timm%netscape.com
d481afb151 change to use compServer not regServer
git-svn-id: svn://10.0.0.236/trunk@7206 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:04:19 +00:00
timm%netscape.com
c91fae1434 remove debugging stubs
git-svn-id: svn://10.0.0.236/trunk@7205 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:03:49 +00:00
buster%netscape.com
da8f241ef3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7204 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:58:34 +00:00
buster%netscape.com
e514cbfa57 backed out a mistake from my last checkin. table min sizes are ok again
git-svn-id: svn://10.0.0.236/trunk@7203 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:56:57 +00:00
warren%netscape.com
caf7891083 Removed struct/class warning for _jobject.
git-svn-id: svn://10.0.0.236/trunk@7202 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:53:49 +00:00
morse%netscape.com
e45542c650 change for anonymous mode
git-svn-id: svn://10.0.0.236/trunk@7201 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:51:34 +00:00
preed%netscape.com
e05c2829b5 Added testfailed status; modified gz filenames to add buildates; reviewed
by ltabb.


git-svn-id: svn://10.0.0.236/trunk@7200 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:29:17 +00:00
hyatt%netscape.com
a80f62eebb Messed up the names of two properties. Approved by RJC.
git-svn-id: svn://10.0.0.236/trunk@7199 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:28:03 +00:00
gagan%netscape.com
54436a0c32 Fix for 309403. Support for WebSTAR FTP server added.
git-svn-id: svn://10.0.0.236/trunk@7198 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:24:06 +00:00
kin%netscape.com
0d93b2dba9 Fix for bug crasher bug that occurs when communicator is built with ENDER
defined and a page with a textarea is loaded.
Reviewed and approved by nisheeth.


git-svn-id: svn://10.0.0.236/trunk@7197 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:21:36 +00:00
gagan%netscape.com
c96822cc25 Prefetching enabled and architechtural changes put in. Anchor tags for prefetching is deprecated.
git-svn-id: svn://10.0.0.236/trunk@7196 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:20:38 +00:00
robinf%netscape.com
49c42adc1e fixed line endings
git-svn-id: svn://10.0.0.236/trunk@7195 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:20:24 +00:00
dfm%netscape.com
74c9764f83 Removed MOZ_PRIVACY switch, added MOZ_TRANSACTION_RECEIPTS switch.
Approved: sar


git-svn-id: svn://10.0.0.236/trunk@7194 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:20:15 +00:00
dfm%netscape.com
7477ff1f3d Changed name of privacy policy pref. Approved: garrett
git-svn-id: svn://10.0.0.236/trunk@7193 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:18:29 +00:00
gagan%netscape.com
43db707ad6 Calling PRE_fetch now. Removed a parameter from Addtoprefetch list. Approved by Nisheeth.
git-svn-id: svn://10.0.0.236/trunk@7192 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:18:07 +00:00
vidur%netscape.com
c6800e0a6e Added generation of declaration and forwarding macros. Better handling of families of interfaces.
git-svn-id: svn://10.0.0.236/trunk@7191 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:08:29 +00:00
vidur%netscape.com
c6fd3f22ca Added document.forms. Specialized interfaces for images and forms. Better handling of childNodes collection.
git-svn-id: svn://10.0.0.236/trunk@7190 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:05:22 +00:00
despotdaemon%netscape.com
2e756b326f Pseudo-automatic update of changes made by preed@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7189 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:05:17 +00:00
dfm%netscape.com
a9eb638cb7 Removed ifdefs from inclusion of privacy module. Approved: garrett
git-svn-id: svn://10.0.0.236/trunk@7188 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:58:08 +00:00
gagan%netscape.com
c5071756e1 Prefetching changes. Removed pre-fetch values on a per tag basis. Pref is now the max number of docs to prefetch.
git-svn-id: svn://10.0.0.236/trunk@7187 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:53:58 +00:00
dfm%netscape.com
3829b4cba0 Removed ifdefs from build of privacy module. Approved: sar
git-svn-id: svn://10.0.0.236/trunk@7186 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:44:11 +00:00
hyatt%netscape.com
7c9b9b19ed Added more control strip properties. Approved by RJC.
git-svn-id: svn://10.0.0.236/trunk@7185 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:41:58 +00:00
dfm%netscape.com
10ca389632 Removed ifdefs from privacy-policy fields. Approved: gagan
git-svn-id: svn://10.0.0.236/trunk@7184 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:39:51 +00:00
rods%netscape.com
d4e21d533b Fixed the release problem on shell and doc and added a default paramenter to
Display Selection


git-svn-id: svn://10.0.0.236/trunk@7183 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:39:16 +00:00
dfm%netscape.com
3d03cc7019 Added privacy.warn_no_policy preference; default is off.
git-svn-id: svn://10.0.0.236/trunk@7182 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:32:13 +00:00
dfm%netscape.com
d103f8b2d1 Removed ifdefs from netlib privacy-policy code. Approved: gagan
git-svn-id: svn://10.0.0.236/trunk@7181 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:29:48 +00:00
troy%netscape.com
220c86b242 Added ASSERT for the case where we get passed a reflow reason of initial
when we've already been reflowed once


git-svn-id: svn://10.0.0.236/trunk@7180 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:29:35 +00:00
hyatt%netscape.com
c3e3652fa7 Fixing Mac build bustage. Approved by RJC and Pinkerton.
git-svn-id: svn://10.0.0.236/trunk@7179 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:23:30 +00:00
rods%netscape.com
114c8b9669 Added repaint is forced on Select All
git-svn-id: svn://10.0.0.236/trunk@7178 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:14:54 +00:00
kmcclusk%netscape.com
a14366b05b Derive nsDeviceContextUnix from nsDeviceContext and removed redudant methods
and fields


git-svn-id: svn://10.0.0.236/trunk@7177 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:06:05 +00:00
kmcclusk%netscape.com
1c82fde593 Derived nsDeviceContextUnix from nsDeviceContextImpl and removed redudant
methods + fields.


git-svn-id: svn://10.0.0.236/trunk@7176 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:05:13 +00:00
dfm%netscape.com
2af09e7b08 Added fields (removed ifdefs) for privacy policies. Approved: gagan
git-svn-id: svn://10.0.0.236/trunk@7175 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:01:13 +00:00
dfm%netscape.com
166afd5dc6 Removed temporary SD macro for privacy policy dialogs.
git-svn-id: svn://10.0.0.236/trunk@7174 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:57:37 +00:00
troy%netscape.com
ab3a9de57d Changed rendering context to use stock black brush (this reduces our GDI
usage ever so slightly), and added some XXX comments


git-svn-id: svn://10.0.0.236/trunk@7173 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:56:16 +00:00
rods%netscape.com
794fc90afc Small selection fix, force update when frane changes but content stays the same.
git-svn-id: svn://10.0.0.236/trunk@7172 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:53:27 +00:00
dfm%netscape.com
c28e6ce625 Added laylayer.h export for privacy module. Approved: nisheeth
git-svn-id: svn://10.0.0.236/trunk@7171 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:52:16 +00:00
dfm%netscape.com
071b1bb9ce Added unconditional dependency on privacy module, switch for
MOZ_TRANSACTION_RECEIPTS. Reviewed: nisheeth


git-svn-id: svn://10.0.0.236/trunk@7170 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:49:38 +00:00
dfm%netscape.com
fb88cf7972 Added export of laylayer.h for privacy module, even though the Mac build
system is cheating right now and doesn't need it. Reviewed: nisheeth


git-svn-id: svn://10.0.0.236/trunk@7169 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:45:14 +00:00
guha%netscape.com
116123ed08 One more small thing in the name of mail
git-svn-id: svn://10.0.0.236/trunk@7168 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:38:10 +00:00
rods%netscape.com
cfa99ac119 added select all and fixed the foreground colors for the URL and Status bars
git-svn-id: svn://10.0.0.236/trunk@7167 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:32:34 +00:00
hyatt%netscape.com
22d404b970 Added notion of templates to HT. Added several configurable properties.
git-svn-id: svn://10.0.0.236/trunk@7166 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:32:19 +00:00
rods%netscape.com
605968f8d8 Add method void nsTextWidget::SubclassWindow(BOOL bState)
and LRESULT CALLBACK nsTextWidget::TextWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 to filter out the "ding" when the return key is pressed.


git-svn-id: svn://10.0.0.236/trunk@7165 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:31:07 +00:00
rods%netscape.com
29c7563ade Implemented SetUpForPaint, but it doesn't do the SetBkMode
git-svn-id: svn://10.0.0.236/trunk@7164 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:28:49 +00:00
rods%netscape.com
19959a047b Added the method SetUpForPaint for setting up the proper foreground
and background colors for the WM_CTLCOLORXXXX messages


git-svn-id: svn://10.0.0.236/trunk@7163 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:28:00 +00:00
rods%netscape.com
339fff0c28 Added ref counting for nsIContent, made selection rendering changes
git-svn-id: svn://10.0.0.236/trunk@7162 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:23:32 +00:00
dfm%netscape.com
7abd0f037e Altered privacy module build to exclude receipt.c unless
MOZ_TRANSACTION_RECEIPTS is set. Reviewed: morse


git-svn-id: svn://10.0.0.236/trunk@7161 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:23:10 +00:00
guha%netscape.com
c37fed4be6 More random mail stuff
git-svn-id: svn://10.0.0.236/trunk@7160 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:22:40 +00:00
rods%netscape.com
3d6e85a342 Added ref counting for nsIContent and made a a lot of fixes to selection
git-svn-id: svn://10.0.0.236/trunk@7159 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:22:27 +00:00
guha%netscape.com
d38f09efa7 Added SMART_MAIL ifdef
git-svn-id: svn://10.0.0.236/trunk@7158 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:21:58 +00:00
rods%netscape.com
0ca0bb5fbd Added ref counting on nsIContent and changed select all to only select the body
and it's content


git-svn-id: svn://10.0.0.236/trunk@7157 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:21:53 +00:00
rods%netscape.com
b63dfc3b9d Added ref counting on nsIContent
git-svn-id: svn://10.0.0.236/trunk@7156 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:20:41 +00:00
guha%netscape.com
04f2e83271 Fix Hyatt's bug + some more
git-svn-id: svn://10.0.0.236/trunk@7155 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:20:20 +00:00
rods%netscape.com
6d0e0f6b8c Added ref counting
git-svn-id: svn://10.0.0.236/trunk@7154 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:19:40 +00:00
dfm%netscape.com
2765798f81 Created MOZ_TRANSACTION_RECEIPTS ifdef for that frozen feature; removed obsolete
MOZ_PRIVACY. Approved: sar


git-svn-id: svn://10.0.0.236/trunk@7153 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:18:53 +00:00
robinf%netscape.com
17be3d57d0 rewording this help screen title
git-svn-id: svn://10.0.0.236/trunk@7152 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:18:28 +00:00
robinf%netscape.com
a5fd82f6f0 rewordking the title of thies screen to say "Start Accnt Setup"
git-svn-id: svn://10.0.0.236/trunk@7151 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:17:46 +00:00
pierre%netscape.com
d21ba2bc87 updated build log file path for Tinderbox (again)
git-svn-id: svn://10.0.0.236/trunk@7150 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:06:56 +00:00
warren%netscape.com
abd529162e Fixed NPP_GetValue signature for new npapi.h header.
git-svn-id: svn://10.0.0.236/trunk@7149 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:56:21 +00:00
warren%netscape.com
6f3eccdd4c Removed ifdef NSPR20 for unix text plugin.
git-svn-id: svn://10.0.0.236/trunk@7148 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:53:49 +00:00
blythe%netscape.com
638e21f9cb VC6 compatibility, aprv kipp
git-svn-id: svn://10.0.0.236/trunk@7147 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:38:59 +00:00
rickg%netscape.com
0609a6954b fixed problem in testCRT. GetUnicode returns a const ptr
git-svn-id: svn://10.0.0.236/trunk@7146 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:33:32 +00:00
danm%netscape.com
5748a66d65 adding (optional) glowcode build stuff
git-svn-id: svn://10.0.0.236/trunk@7145 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:29:18 +00:00
clu%netscape.com
4d923a4e26 Re-checking in previous changes. Also changed all CCaption objects to LGACaption objects.
git-svn-id: svn://10.0.0.236/trunk@7144 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:14:48 +00:00
troy%netscape.com
5b71155170 Added release of throbber in the hopes that this would allow the image
group and hence the image manager to be released, but it doesn't quite do
the trick because the ref count of the throbber is 2...


git-svn-id: svn://10.0.0.236/trunk@7143 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:11:22 +00:00
ftang%netscape.com
c84a30b007 add cp936,949,950,932 conversion table based on
ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS


git-svn-id: svn://10.0.0.236/trunk@7142 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:09:36 +00:00
troy%netscape.com
e07f1e5e78 Fixed reference counting of singleton image manager
git-svn-id: svn://10.0.0.236/trunk@7141 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:05:36 +00:00
rickg%netscape.com
84cc2596cf major perf changes; a few WIP's
git-svn-id: svn://10.0.0.236/trunk@7140 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:04:54 +00:00
timm%netscape.com
0df059b336 123505 fix for NCI files not showing up in pick list
git-svn-id: svn://10.0.0.236/trunk@7139 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:04:38 +00:00
rickg%netscape.com
e325840a5d added a few assertions, just to be safe
git-svn-id: svn://10.0.0.236/trunk@7138 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:03:49 +00:00
akkana%netscape.com
2703eb7627 Bring Table menu and table properties dialog up to intended 5.0 functionality.
git-svn-id: svn://10.0.0.236/trunk@7137 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:51:45 +00:00
akkana%netscape.com
0d4603f2d4 Add new option menu convenience routine: fe_get_current_attribute_option
git-svn-id: svn://10.0.0.236/trunk@7136 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:49:30 +00:00
akkana%netscape.com
94099529c0 fix a warning
git-svn-id: svn://10.0.0.236/trunk@7135 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:48:21 +00:00
rickg%netscape.com
b8cd75c6bf major upgrade to string class implementation
git-svn-id: svn://10.0.0.236/trunk@7134 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:46:38 +00:00
law%netscape.com
bc049a77b2 Windows(98) integration feature
git-svn-id: svn://10.0.0.236/trunk@7133 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:33:38 +00:00
buster%netscape.com
ef08d853f8 fixed this case: (an image tag with no width attribute) inside (a specified-width column) inside
(a nested table with specified width) inside (an auto-width column)
inside (a specified-width table).  Got that?
The problem was that we we not setting state correctly during incremental reflow
when the image returned its proper metrics after giving default metrics that
were for its ALT text.


git-svn-id: svn://10.0.0.236/trunk@7132 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:27:59 +00:00
law%netscape.com
20f0381b2d Fixing res problem on Windows95-98
git-svn-id: svn://10.0.0.236/trunk@7131 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:24:45 +00:00
scc%netscape.com
bba26953c4 Oops. since build_project is no longer AppleScript, "false" should be 0. That's why we were building too often.
git-svn-id: svn://10.0.0.236/trunk@7130 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:20:53 +00:00
leif
260b4cb667 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7129 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 19:25:03 +00:00
leif
e6867c039a Now handles no extra arguments, and also weird arguments like \@foo.
git-svn-id: svn://10.0.0.236/trunk@7128 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 19:23:01 +00:00
kipp%netscape.com
d72db37d83 Fixed reference counting bugs with OPTION tag handling
git-svn-id: svn://10.0.0.236/trunk@7127 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 19:21:26 +00:00
karnaze%netscape.com
6e825c79fc fixed bug where <select> assummed all children were <option>s
git-svn-id: svn://10.0.0.236/trunk@7126 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 19:04:55 +00:00
pierre%netscape.com
b24dcd399e updated build log file path for Tinderbox
git-svn-id: svn://10.0.0.236/trunk@7125 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:44:01 +00:00
kostello%netscape.com
e2862d846d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7124 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:37:30 +00:00
kipp%netscape.com
285d26c57c Undid previous change because it didn't work right (doh)
git-svn-id: svn://10.0.0.236/trunk@7123 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:12:42 +00:00
kipp%netscape.com
85bb024632 Disable VerifyTree for now
git-svn-id: svn://10.0.0.236/trunk@7122 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:12:13 +00:00
kipp%netscape.com
7240e492ab Normalized style tag handling
git-svn-id: svn://10.0.0.236/trunk@7121 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:10:43 +00:00
buster%netscape.com
ca7239e43e HR's min width is its specified width, if there is one.
Otherwise, it's one pixel for "springy-ness"


git-svn-id: svn://10.0.0.236/trunk@7120 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:17:50 +00:00
kipp%netscape.com
0e73ea661f Stub out VerifyTree to avoid crashes; remove List methods and add in ListTag methods so that listings look better
git-svn-id: svn://10.0.0.236/trunk@7119 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:09:37 +00:00
kipp%netscape.com
b55b6911f1 Pre-size the text-run array to reduce the number of malloc/free's
git-svn-id: svn://10.0.0.236/trunk@7118 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:08:57 +00:00
kipp%netscape.com
4346e26007 Added finer grained DidReflow code and then disabled it until we solve the nested view x,y problem
git-svn-id: svn://10.0.0.236/trunk@7117 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:07:44 +00:00
kipp%netscape.com
e3c9c8ed12 Use FirstChild method so that implementation can be reused by subclasses
git-svn-id: svn://10.0.0.236/trunk@7116 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:06:42 +00:00
hshaw%netscape.com
07133ba64f DEBUG_hshaw ifdef for splash window
git-svn-id: svn://10.0.0.236/trunk@7115 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 12:54:30 +00:00
ramiro%netscape.com
0bad008399 Rename mkicons.c to mkicons.cpp. Needs to be built with c++ because of libimg
dependancy.  Libimg has recently been "improved" by being made c++ only.


git-svn-id: svn://10.0.0.236/trunk@7114 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 08:32:31 +00:00
leif
24d0734ea9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7113 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 08:12:21 +00:00
ramiro%netscape.com
8f48ba05ed Make it work with optimized builds.
git-svn-id: svn://10.0.0.236/trunk@7112 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 08:06:17 +00:00
leif
c67cf143ce *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7111 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 07:54:08 +00:00
leif
899881af79 First version, mainly ported to the new API. Also merged in some code from
LdapUtils.pm so that this file is more self sustained.


git-svn-id: svn://10.0.0.236/trunk@7110 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 07:53:31 +00:00
leif
d578a728de Fixed the modifyRDN function.
git-svn-id: svn://10.0.0.236/trunk@7109 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 07:50:54 +00:00
leif
60dcbee3be Removed the DESTROY method.
git-svn-id: svn://10.0.0.236/trunk@7108 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:58:21 +00:00
leif
52f1012d17 * Added getLD() function.
* Fixed the getErrorCode() function, and added support for (optionally)
retrieving the match and extra error strings.

* Fixed reference bug in the add() method.


git-svn-id: svn://10.0.0.236/trunk@7107 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:58:01 +00:00
leif
7e12448830 Fixed the ldap_get_lderrno() function so that it now supports:
ldap_get_lderrno($ld, undef, undef);
ldap_get_lderrno($ld, \$match, undef);
ldap_get_lderrno($ld, undef, \$msg);
ldap_get_lderrno($ld, \$match, \$msg);


I think this should work ok, but a code review is probably a good idea.


git-svn-id: svn://10.0.0.236/trunk@7106 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:53:23 +00:00
ramiro%netscape.com
7324202ecb Deal with common pixel/pixmap/sensitive resources in SetValues().
git-svn-id: svn://10.0.0.236/trunk@7105 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:52:06 +00:00
ramiro%netscape.com
9452a0966b Change XfeManagerApply() so it can conditionaly deal with private components.
git-svn-id: svn://10.0.0.236/trunk@7104 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:51:37 +00:00
ramiro%netscape.com
6d688e1f6c Fix a SetValues() bug. XfePrimitive was not responding to changes in
XmNbackground.  Geez, unbelievably, no bitched about it before.


git-svn-id: svn://10.0.0.236/trunk@7103 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:48:31 +00:00
ramiro%netscape.com
22813daadf Add _XfeManagerPropagateSetValues().
git-svn-id: svn://10.0.0.236/trunk@7102 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:45:15 +00:00
ramiro%netscape.com
6c58d6a8ed Fix a typo.
git-svn-id: svn://10.0.0.236/trunk@7101 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:42:44 +00:00
ramiro%netscape.com
3a28cc4a40 Change top/bottom shadow change detection order. yes, im anal.
git-svn-id: svn://10.0.0.236/trunk@7100 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:42:31 +00:00
nisheeth%netscape.com
7ad3e20406 Fix for bug# 301664.
We needed to initialize the LO_CELL element's pointers
to table state inside lo_SquishSubDocToCell().  The LO_CELL element in this function
is used to hold the contents of a <CAPTION> tag and does not have a peer lo_TableCell
structure.  The uninitialized pointers to table state in this element get dereferenced
when the table is freed and cause the app to crash.  Initializing the pointers fixes
the crash.


git-svn-id: svn://10.0.0.236/trunk@7099 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:41:58 +00:00
ramiro%netscape.com
67b18412ef Get editres working again.
git-svn-id: svn://10.0.0.236/trunk@7098 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:38:48 +00:00
troy%netscape.com
8128f46778 Added #include of "ns_util.h"
git-svn-id: svn://10.0.0.236/trunk@7097 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 05:34:28 +00:00
troy%netscape.com
c9a599ad14 More work in progress for palette support
git-svn-id: svn://10.0.0.236/trunk@7096 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 05:32:52 +00:00
troy%netscape.com
40d67100a8 Work in progress for Windows palette support
git-svn-id: svn://10.0.0.236/trunk@7095 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 05:24:59 +00:00
troy%netscape.com
7332039d2d API changes to how an image group context is created
git-svn-id: svn://10.0.0.236/trunk@7094 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 05:10:14 +00:00
troy%netscape.com
33c952da3a API changes to image group
git-svn-id: svn://10.0.0.236/trunk@7093 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 04:55:21 +00:00
troy%netscape.com
83ab7dd4d9 Image group now holds a reference to a nsIDeviceContext and not a
nsIRenderingContext. Optimize() member function of nsIImage changed
to take a nsIDeviceContext


git-svn-id: svn://10.0.0.236/trunk@7092 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 04:53:25 +00:00
troy%netscape.com
6334db57d5 Device context changes
git-svn-id: svn://10.0.0.236/trunk@7091 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 04:51:17 +00:00
leif
6b401b57b8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7090 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 04:26:32 +00:00
clayton
62ace165eb Whoops...These files were last checked in after editing in VIM under NT.
Usually VIM detects UNIX format files (LF), but this time it seems to have
used CR/LF.  I've fixed this problem and checked in working versions.


git-svn-id: svn://10.0.0.236/trunk@7089 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 02:35:26 +00:00
guha%netscape.com
70a36f7935 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@7088 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 01:39:03 +00:00
clayton
66d925b4d9 Updated version number to 1.00 to prepare for release version. Still need
to add 'all' to the EXPORT_TAGS and test.


git-svn-id: svn://10.0.0.236/trunk@7087 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 00:29:25 +00:00
clayton
de4c7422a6 Makefile.PL - Changed it quite a bit. Asks less stupid questions...now works
with LDAPv2 and LDAPv3 SDKs.

README - Write a skeleton version.  Needs lots of work.


git-svn-id: svn://10.0.0.236/trunk@7086 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 00:27:51 +00:00
clayton
a2a6dea886 API.xs - Added missing functions (bind/bind_s)
api.pl - Made a few misc changes...minor... (removed system calls/fixed rebind)

constant.h - Completely changed this file to streamline response.
    Might still want to move SUCCESS, SCOPE, and a few others out of the
    new switch/case thing.


git-svn-id: svn://10.0.0.236/trunk@7085 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 00:26:38 +00:00
toshok%netscape.com
378c43d6cc Support JavaScript version 1.4. Patch by Mike Shaver <shaver@netscape.com>
git-svn-id: svn://10.0.0.236/trunk@7084 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 00:11:24 +00:00
troy%netscape.com
1c6314ed8a Fixed some ref counting problems with the nsIImage
git-svn-id: svn://10.0.0.236/trunk@7083 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-02 17:04:53 +00:00
troy%netscape.com
dcdf341134 Added NS_IF_RELEASE of mImage
git-svn-id: svn://10.0.0.236/trunk@7082 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-02 17:03:08 +00:00
joki%netscape.com
2a080256d0 Fix bug 311157, mouseover crashes release builds.
git-svn-id: svn://10.0.0.236/trunk@7081 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-02 04:15:08 +00:00
michaelp%netscape.com
df05d6f25f additional plugins work.
git-svn-id: svn://10.0.0.236/trunk@7080 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-02 03:20:22 +00:00
shaver%netscape.com
4d73b7f9f2 forgot to add NPL (bad Mike\!)
git-svn-id: svn://10.0.0.236/trunk@7079 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 23:56:38 +00:00
guha%netscape.com
7413297e63 Additions for pop mail based on shack.
ifdefed out.


git-svn-id: svn://10.0.0.236/trunk@7078 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 23:18:26 +00:00
guha%netscape.com
c8c9d707e9 Additions for Pop mail. Approved by Judson.
(ifdefed out)


git-svn-id: svn://10.0.0.236/trunk@7077 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 23:17:45 +00:00
michaelp%netscape.com
2a2636582a another hack to get Unix to be happy.
git-svn-id: svn://10.0.0.236/trunk@7076 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 23:02:14 +00:00
michaelp%netscape.com
8573e8fcd1 added CheckFontExistence().
git-svn-id: svn://10.0.0.236/trunk@7075 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 22:29:55 +00:00
michaelp%netscape.com
8e72cf5556 more unix hackery...
git-svn-id: svn://10.0.0.236/trunk@7074 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 22:23:35 +00:00
michaelp%netscape.com
3a0d81fb4e tiny change to see if the unix build will come back to life.
git-svn-id: svn://10.0.0.236/trunk@7073 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 22:19:05 +00:00
michaelp%netscape.com
33c7c278ac changed to see if unix build might work again.
git-svn-id: svn://10.0.0.236/trunk@7072 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 22:17:29 +00:00
michaelp%netscape.com
27433a2ce4 fixed IRIX build problem.
git-svn-id: svn://10.0.0.236/trunk@7071 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:56:24 +00:00
michaelp%netscape.com
c4bd8ca7d5 got the plugin code off the OJI branch.
git-svn-id: svn://10.0.0.236/trunk@7069 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:41:56 +00:00
michaelp%netscape.com
eda302622f added docs for function.
git-svn-id: svn://10.0.0.236/trunk@7068 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:37:40 +00:00
michaelp%netscape.com
15e34a049a added font existence API.
git-svn-id: svn://10.0.0.236/trunk@7067 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:36:05 +00:00
law%netscape.com
4a20761ebc Still cleaning up after mjudge (just touching cxpane.cpp to force it to be recompiled)
git-svn-id: svn://10.0.0.236/trunk@7066 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:13:16 +00:00
law%netscape.com
b0e78cde31 Undoing mjudge's last screwup as a single man
git-svn-id: svn://10.0.0.236/trunk@7065 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 20:35:58 +00:00
buster%netscape.com
a228539105 made auto-width tables that have all-fixed-width columns act like
fixed-width tables.


git-svn-id: svn://10.0.0.236/trunk@7064 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 20:31:40 +00:00
joki%netscape.com
f6fc5baf9a Adding submit and reset events
git-svn-id: svn://10.0.0.236/trunk@7063 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 20:30:11 +00:00
shaver%netscape.com
8899f4d056 added JSVERSION_1_4, removed prconv.sed NULs
git-svn-id: svn://10.0.0.236/trunk@7062 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:52:50 +00:00
shaver%netscape.com
e450ec31e8 added JSVersion JSVERSION_1_4
git-svn-id: svn://10.0.0.236/trunk@7061 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:43:23 +00:00
mjudge%netscape.com
ad6622db39 turning on ENDER father forgive me. if this is bad, backout this mozilla.mak change only please
git-svn-id: svn://10.0.0.236/trunk@7060 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:32:58 +00:00
mjudge%netscape.com
8204439408 one more fix to default to treeview in builtin
git-svn-id: svn://10.0.0.236/trunk@7059 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:29:51 +00:00
mjudge%netscape.com
c74c65c72f left builtin to default to treeview
git-svn-id: svn://10.0.0.236/trunk@7058 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:29:02 +00:00
mjudge%netscape.com
34cdc9e40d font fix and kill focus problem correction for toolbars. long live ender
git-svn-id: svn://10.0.0.236/trunk@7057 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:26:52 +00:00
mjudge%netscape.com
f97a76b68d Font correction.
git-svn-id: svn://10.0.0.236/trunk@7056 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:13:31 +00:00
law%netscape.com
3039c74045 mozprobe feature (approved by blythe/don); mozprobe.dll implementation, plus C/C++ test programs
git-svn-id: svn://10.0.0.236/trunk@7055 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:12:04 +00:00
shaver%netscape.com
eedb2202bc added XMLGraph and XMLParser JS/XML glue
git-svn-id: svn://10.0.0.236/trunk@7054 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:08:05 +00:00
law%netscape.com
8f1df79429 mozprobe feature (approved by blythe/don); Add code to process mozprobe IPC requests
git-svn-id: svn://10.0.0.236/trunk@7053 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:05:02 +00:00
law%netscape.com
8a8a4a5267 mozprobe feature (approved by blythe/don); expose ProcessIPCRequst even without mail/news
git-svn-id: svn://10.0.0.236/trunk@7052 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:01:55 +00:00
law%netscape.com
85c7d17a0d mozprobe feature (approved by blythe/don); interface to mozprobe.dll
git-svn-id: svn://10.0.0.236/trunk@7051 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:00:03 +00:00
morse%netscape.com
d0d981bccf change tutorial http address to inside the firewall
git-svn-id: svn://10.0.0.236/trunk@7050 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 17:02:14 +00:00
morse%netscape.com
b62ce08b4f backing out change
git-svn-id: svn://10.0.0.236/trunk@7049 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 16:09:55 +00:00
morse%netscape.com
37ca678ba8 backing out change to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@7048 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 16:08:35 +00:00
morse%netscape.com
4930ad811a fix build bustage
git-svn-id: svn://10.0.0.236/trunk@7047 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 15:56:23 +00:00
morse%netscape.com
2806f82fc9 changes for anonymous mode, reviewed by rdf
git-svn-id: svn://10.0.0.236/trunk@7046 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 15:00:35 +00:00
morse%netscape.com
90f4be2d7b change for anonymous mode, reviewed by nisheeth
git-svn-id: svn://10.0.0.236/trunk@7045 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:55:14 +00:00
morse%netscape.com
1f93fdf7b6 change for anonymous mode, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@7044 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:52:41 +00:00
morse%netscape.com
49fca03352 changes for anonymous mode, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@7043 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:51:15 +00:00
morse%netscape.com
3fd68b1053 add routines needed for anonymous mode
git-svn-id: svn://10.0.0.236/trunk@7042 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:48:51 +00:00
morse%netscape.com
e44920ed5d add field needed for anonymous mode
git-svn-id: svn://10.0.0.236/trunk@7041 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:47:43 +00:00
wtc%netscape.com
04cef24c72 Backed out accidental check-in from OJI branch merge.
git-svn-id: svn://10.0.0.236/trunk@7040 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:35:39 +00:00
ftang%netscape.com
debf18bbba correct typo in the resource name
git-svn-id: svn://10.0.0.236/trunk@7039 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:19:53 +00:00
ftang%netscape.com
8b84cabf97 Add Thai Unicode conersion table for Mac
git-svn-id: svn://10.0.0.236/trunk@7038 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:18:28 +00:00
ftang%netscape.com
38fcda1489 add macthai.uf and macthai.ut which build based on
ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/APPLE/THAI.TXT
dated Feb 6,1998


git-svn-id: svn://10.0.0.236/trunk@7037 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:13:51 +00:00
rpotts%netscape.com
fe90fe64c6 Disable NET_PollSockets(...) optimization until it works correctly...
git-svn-id: svn://10.0.0.236/trunk@7036 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:13:20 +00:00
ftang%netscape.com
9eada2ea36 Check in new cp874.ut cp874.uf based on the one which include EURO sign.
The source is posted in ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP874.TXT
and date as Apr 15, 1998 by cpxlate@microsoft.com


git-svn-id: svn://10.0.0.236/trunk@7035 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:04:33 +00:00
ftang%netscape.com
bd5bbb0616 add Unicode conversion table for Thai
git-svn-id: svn://10.0.0.236/trunk@7034 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 08:46:02 +00:00
ftang%netscape.com
450443c152 Make the table easier to change and read.
git-svn-id: svn://10.0.0.236/trunk@7033 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 08:03:19 +00:00
ftang%netscape.com
318d37b780 Check in submit by Samphan Raruenrom <samphan@email.ksc.net> for Thai support.
git-svn-id: svn://10.0.0.236/trunk@7032 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:53:24 +00:00
ftang%netscape.com
4cb0b7d10c Check in submit by Samphan Raruenrom <samphan@email.ksc.net> for Thai languages
git-svn-id: svn://10.0.0.236/trunk@7031 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:52:36 +00:00
ftang%netscape.com
8cdb0ab306 Check in changes for Thai WinFE UI changes. Approved by Garrett Blythe
submitted by samphan@email.ksc.net (with slight changes)


git-svn-id: svn://10.0.0.236/trunk@7030 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:49:21 +00:00
ftang%netscape.com
412d0bb646 Check in change to make it easier to do different line breaking.
Prepare for Thai line break to land. approved by thshok


git-svn-id: svn://10.0.0.236/trunk@7029 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:44:33 +00:00
ftang%netscape.com
556baa99b8 Add NPL to file in fromftp .
Check in unicode table submit by chenxy@sun.ihep.ac.cn


git-svn-id: svn://10.0.0.236/trunk@7028 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:42:06 +00:00
ftang%netscape.com
47ff0d6d0d check in the changes in 3.4 again after teh tree is green
git-svn-id: svn://10.0.0.236/trunk@7027 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:35:18 +00:00
rpotts%netscape.com
1c2b66d0d1 Added a new test for the raptorweb.dll COM factory. This is WIN32 only
git-svn-id: svn://10.0.0.236/trunk@7026 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:48:28 +00:00
rpotts%netscape.com
99f9d9ce10 Added support (on WIN32 only) for the raptorweb.dll to be a COM component...
git-svn-id: svn://10.0.0.236/trunk@7025 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:46:38 +00:00
rpotts%netscape.com
05ff888e16 Added check to see if DocLoader exists before dereferencing the pointer...
git-svn-id: svn://10.0.0.236/trunk@7024 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:45:43 +00:00
mjudge%netscape.com
b611fe765a Ender checkins got Nisheeth's approval. whew last one
git-svn-id: svn://10.0.0.236/trunk@7023 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:18:19 +00:00
mjudge%netscape.com
9f99464fef Damn almost let that one by.
git-svn-id: svn://10.0.0.236/trunk@7022 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:16:47 +00:00
mjudge%netscape.com
f6972e7936 Ender checkins got Nisheeth's approval.
git-svn-id: svn://10.0.0.236/trunk@7021 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:14:59 +00:00
mjudge%netscape.com
446b48f5ce Error if ENDER turned on. inside ifdef
git-svn-id: svn://10.0.0.236/trunk@7020 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:09:47 +00:00
mjudge%netscape.com
fc954d3e8a Ender checkins got Nisheeth's approval.
git-svn-id: svn://10.0.0.236/trunk@7019 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:08:32 +00:00
michaelp%netscape.com
c16cdc6288 plugin changes.
git-svn-id: svn://10.0.0.236/trunk@7018 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 05:47:53 +00:00
michaelp%netscape.com
fcde59601b turned on plugins.
git-svn-id: svn://10.0.0.236/trunk@7017 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 05:47:34 +00:00
michaelp%netscape.com
0d0da6883a changes for plugins.
git-svn-id: svn://10.0.0.236/trunk@7016 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 05:47:19 +00:00
michaelp%netscape.com
eaa37a2444 changes for plugin support.
git-svn-id: svn://10.0.0.236/trunk@7015 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 05:46:47 +00:00
pierre%netscape.com
bb5be67502 Changed to the log filename to "Mozilla.BuildLog" as required by the Tinderbox script.
git-svn-id: svn://10.0.0.236/trunk@7014 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:37:32 +00:00
buster%netscape.com
e8a410eac4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7013 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:36:31 +00:00
buster%netscape.com
66c58fcd10 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7012 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:32:27 +00:00
buster%netscape.com
7a18ab6e6c fixed cases where we were not computing the table width correctly
fixed cases where we were inappropriately portioning out
a spanning cell's min width to the columns it spanned.


git-svn-id: svn://10.0.0.236/trunk@7011 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:31:55 +00:00
buster%netscape.com
c5e030feb0 fixed a memory leak on a style context
git-svn-id: svn://10.0.0.236/trunk@7010 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:30:35 +00:00
spider%netscape.com
86ede49e0d Prefs support
git-svn-id: svn://10.0.0.236/trunk@7009 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 01:43:57 +00:00
peterl%netscape.com
da229082e2 sync to new unit conversion functions
git-svn-id: svn://10.0.0.236/trunk@7008 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 01:08:36 +00:00
warren%netscape.com
3aa25d856d Added compile of base for mozilla.
git-svn-id: svn://10.0.0.236/trunk@7007 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 01:01:27 +00:00
peterl%netscape.com
59508a6259 re-added backed-out changes
git-svn-id: svn://10.0.0.236/trunk@7006 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 00:56:28 +00:00
despotdaemon%netscape.com
7431dbd43b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@7005 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 00:42:01 +00:00
warren%netscape.com
f7983eaff1 removed jsj for MOZ_JAVA
git-svn-id: svn://10.0.0.236/trunk@7004 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 00:03:31 +00:00
donm%netscape.com
fd2f6646d6 backing out changes made while trying to land OJI.
git-svn-id: svn://10.0.0.236/trunk@7003 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:58:26 +00:00
warren%netscape.com
e5b5100917 Stubbed out nsZig.c
git-svn-id: svn://10.0.0.236/trunk@7002 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:58:02 +00:00
beard%netscape.com
827e053795 For OJI landing, changed access paths from mozila/lib/plugin to mozilla/modules/plugin/src, added Caps[Debug].o static libraries.
git-svn-id: svn://10.0.0.236/trunk@7001 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:49:49 +00:00
warren%netscape.com
51701bcb12 Changes from OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
git-svn-id: svn://10.0.0.236/trunk@7000 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:41:45 +00:00
peterl%netscape.com
ac2ec1a340 rounding support
git-svn-id: svn://10.0.0.236/trunk@6999 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:34:45 +00:00
michaelp%netscape.com
2f0ac5c990 Fixed Raptor build bustage caused by the OJI landing...
git-svn-id: svn://10.0.0.236/trunk@6997 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:32:08 +00:00
peterl%netscape.com
ad487cbb39 replaced macros with inline functions
git-svn-id: svn://10.0.0.236/trunk@6996 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:27:36 +00:00
warren%netscape.com
cf5f61ee24 Fixed mysterious c++ name mangling problem.
git-svn-id: svn://10.0.0.236/trunk@6995 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:19:02 +00:00
warren%netscape.com
f0afa16a2f Added plugin dir
git-svn-id: svn://10.0.0.236/trunk@6994 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:14:42 +00:00
peterl%netscape.com
1f85b02bec temporarily removed CvtURL test to fix build
git-svn-id: svn://10.0.0.236/trunk@6993 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:56:02 +00:00
donm%netscape.com
51f1a96c5d backing out change made during OJIcarpool.
git-svn-id: svn://10.0.0.236/trunk@6992 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:54:04 +00:00
joki%netscape.com
e21130395e Change AddScriptListener call to get EventManager from window, not tag content
git-svn-id: svn://10.0.0.236/trunk@6991 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:53:00 +00:00
thom%netscape.com
1040fc9cbe Added new domDebug.slib target. Envolved added a bunch of shared libraries, but only for that target. Also added all the DOM files that weren't in the project previously and grouped them. This change was for ALL targets.
git-svn-id: svn://10.0.0.236/trunk@6990 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:49:58 +00:00
warren%netscape.com
a8abe80143 Added plugimpl include path (even though it's the current dir) to fix irix breakage.
git-svn-id: svn://10.0.0.236/trunk@6989 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:49:31 +00:00
warren%netscape.com
972b565f31 Added caps
git-svn-id: svn://10.0.0.236/trunk@6988 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:43:05 +00:00
kmcclusk%netscape.com
bdae8e6b98 Removed call to XtMoveWidget since this breaks the IRIX build.
git-svn-id: svn://10.0.0.236/trunk@6987 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:36:54 +00:00
warren%netscape.com
48bb689076 fixed irix -rdynamic (again)
git-svn-id: svn://10.0.0.236/trunk@6986 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:25:23 +00:00
joki%netscape.com
ddaa767e02 Filling out document event handlers, adding form events
git-svn-id: svn://10.0.0.236/trunk@6985 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:09:51 +00:00
joki%netscape.com
741dfdf08c Adding form events in, filling out window event handling code.
git-svn-id: svn://10.0.0.236/trunk@6984 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:09:03 +00:00
thom%netscape.com
3ffd801f50 Added MOZ_NGLAYOUT. This had better not effect any other platforms or we're doomed.
git-svn-id: svn://10.0.0.236/trunk@6983 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:08:15 +00:00
joki%netscape.com
2cccada0d4 More new event types
git-svn-id: svn://10.0.0.236/trunk@6981 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:01:42 +00:00
warren%netscape.com
5e49404e07 Removed build of java classes.
git-svn-id: svn://10.0.0.236/trunk@6980 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:54:16 +00:00
warren%netscape.com
07bd30dde7 removed bad rules from old ns tree
git-svn-id: svn://10.0.0.236/trunk@6979 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:38:13 +00:00
kmcclusk%netscape.com
a2f786f21a Removed debug output.
git-svn-id: svn://10.0.0.236/trunk@6978 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:37:51 +00:00
warren%netscape.com
1e26476c44 Removed -rdynamic for irix.
git-svn-id: svn://10.0.0.236/trunk@6977 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:34:15 +00:00
warren%netscape.com
af74b07970 Fixed _jni dir problem
git-svn-id: svn://10.0.0.236/trunk@6976 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:22:43 +00:00
clayton
62a3e61147 Makefile.PL - Fixed a build problem with NT and Perl 5.005
- Added define for LDAPV3.
            - Needs gobs of work before release
               o LDAPv2 Library Support
               o Better UI
               o Consistent environment variable usage.


git-svn-id: svn://10.0.0.236/trunk@6975 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:18:29 +00:00
clayton
d07d7bbac2 Fixed the 'use' line in the examples. Removed a few lines from api.pl
and added a configuration option to set the number of adds.


git-svn-id: svn://10.0.0.236/trunk@6974 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:16:32 +00:00
kmcclusk%netscape.com
3238987342 Fixed SetCursor
git-svn-id: svn://10.0.0.236/trunk@6973 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:13:31 +00:00
warren%netscape.com
20b5610704 Removed unzip step.
git-svn-id: svn://10.0.0.236/trunk@6972 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:12:32 +00:00
warren%netscape.com
63a5564d72 Fixed breakage on irix -- couldn't cast void* to int.
git-svn-id: svn://10.0.0.236/trunk@6971 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:06:04 +00:00
kmcclusk%netscape.com
f5749c3dcc Fixed up scrolling some more.
git-svn-id: svn://10.0.0.236/trunk@6970 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:48:30 +00:00
warren%netscape.com
5254948d65 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
git-svn-id: svn://10.0.0.236/trunk@6969 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:46:45 +00:00
warren%netscape.com
d149ed5625 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
git-svn-id: svn://10.0.0.236/trunk@6968 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:31:14 +00:00
warren%netscape.com
3c42f93bf9 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
git-svn-id: svn://10.0.0.236/trunk@6967 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:19:50 +00:00
kmcclusk%netscape.com
16d692ef0b Fix for Linux.
git-svn-id: svn://10.0.0.236/trunk@6966 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:06:41 +00:00
kostello%netscape.com
ede619c82a Add NS_RELEASE in save code
git-svn-id: svn://10.0.0.236/trunk@6965 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:35:19 +00:00
kostello%netscape.com
a7b5f12c78 Fix retail build problem
git-svn-id: svn://10.0.0.236/trunk@6964 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:34:53 +00:00
joki%netscape.com
3666aec195 Adding get status method to nsIBrowserWindow
git-svn-id: svn://10.0.0.236/trunk@6963 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:22:27 +00:00
joki%netscape.com
098159977e Adding support for event handlers in html tags and moving event handler IIDs to central file.
git-svn-id: svn://10.0.0.236/trunk@6962 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:21:37 +00:00
karnaze%netscape.com
aa933a2dd5 temporary fix of bug causing www.stocksite.com to crash
git-svn-id: svn://10.0.0.236/trunk@6961 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 17:47:50 +00:00
kmcclusk%netscape.com
d5612e4264 Added extern reference for XtMoveWidget to fix Irix build.
git-svn-id: svn://10.0.0.236/trunk@6960 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 17:40:43 +00:00
kmcclusk%netscape.com
d7c85290bf Removed XmP.h include
git-svn-id: svn://10.0.0.236/trunk@6957 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 16:57:02 +00:00
kostello%netscape.com
eaeb75712d Moved DoCopy and related methods out of debug build into public
git-svn-id: svn://10.0.0.236/trunk@6956 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 16:53:45 +00:00
kmcclusk%netscape.com
eec5a10700 Fix for Irix. Pass Positions to XtMoveWidget
git-svn-id: svn://10.0.0.236/trunk@6955 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 16:39:43 +00:00
kmcclusk%netscape.com
e46ccabec6 Fix for IRIX build.
git-svn-id: svn://10.0.0.236/trunk@6954 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 15:52:20 +00:00
ramiro%netscape.com
651ee361f4 Fix small typo.
git-svn-id: svn://10.0.0.236/trunk@6953 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:37:03 +00:00
ramiro%netscape.com
8ef332b25b Make it build on solaris.
git-svn-id: svn://10.0.0.236/trunk@6952 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:30:03 +00:00
ramiro%netscape.com
2eddd55d12 Make it build on losing platforms.
git-svn-id: svn://10.0.0.236/trunk@6951 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:28:35 +00:00
ramiro%netscape.com
b9dc591ecb oops. check the value, not the pointer.
git-svn-id: svn://10.0.0.236/trunk@6950 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:25:15 +00:00
ramiro%netscape.com
fe09c443a4 Pick a dumbass pixmap default for loser platforms.
git-svn-id: svn://10.0.0.236/trunk@6949 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:23:36 +00:00
ramiro%netscape.com
e46af11968 I want to build these tests on platforms that dont have xpm, so i added
some ifdefs to allow building on loser platforms that dont ship xpm.


git-svn-id: svn://10.0.0.236/trunk@6948 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:00:24 +00:00
ramiro%netscape.com
e09030687b Add caption files.
git-svn-id: svn://10.0.0.236/trunk@6947 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 10:46:34 +00:00
ramiro%netscape.com
f2b0de0319 Unbloat the XfeWidgets a little bit. Move the combo stuff to their own lib.
git-svn-id: svn://10.0.0.236/trunk@6946 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 10:22:09 +00:00
peterl%netscape.com
1431e4c8e5 connected prefs
git-svn-id: svn://10.0.0.236/trunk@6945 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 06:02:06 +00:00
peterl%netscape.com
2a63cbc80b connected prefs, tweaked UI font sizes
git-svn-id: svn://10.0.0.236/trunk@6944 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 06:01:45 +00:00
peterl%netscape.com
effad0e88b renamed LoadImage
git-svn-id: svn://10.0.0.236/trunk@6943 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:59:31 +00:00
mcafee%netscape.com
825dd8b76e These files moved to Netscape private tree, ns/fullsoft.
git-svn-id: svn://10.0.0.236/trunk@6942 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:59:17 +00:00
peterl%netscape.com
78fe4d5089 connected prefs to the webshell
git-svn-id: svn://10.0.0.236/trunk@6941 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:58:41 +00:00
peterl%netscape.com
456b6e2d39 cleaned up
git-svn-id: svn://10.0.0.236/trunk@6940 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:58:13 +00:00
peterl%netscape.com
2acc4cfa0e renamed LoadImage to avoid conflicts with windows headers
git-svn-id: svn://10.0.0.236/trunk@6939 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:55:41 +00:00
peterl%netscape.com
5411e49c2d connected prefs
added compatibility mode


git-svn-id: svn://10.0.0.236/trunk@6938 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:54:59 +00:00
peterl%netscape.com
f28d7e2a30 improved font rounding when app units aren't twips
git-svn-id: svn://10.0.0.236/trunk@6937 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:53:55 +00:00
sdagley%netscape.com
1095e94380 Merging fix for #311292
git-svn-id: svn://10.0.0.236/trunk@6936 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:37:56 +00:00
mjudge%netscape.com
92bd81fc60 Updating files for Ender, should all be ifdefed. reviewed->danm
git-svn-id: svn://10.0.0.236/trunk@6935 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:31:02 +00:00
mjudge%netscape.com
fda02295cd Adding files for Ender, should all be ifdefed. reviewed->danm
git-svn-id: svn://10.0.0.236/trunk@6934 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:27:32 +00:00
mjudge%netscape.com
e9d1eee5d3 Adding file for Ender's toolbar reviewed->danm
git-svn-id: svn://10.0.0.236/trunk@6933 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:26:44 +00:00
karnaze%netscape.com
8fa66a552f sizing improvements of form controls for nav4 compatibility
git-svn-id: svn://10.0.0.236/trunk@6932 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:22:35 +00:00
guha%netscape.com
ebc10caa28 Fix build breakage
git-svn-id: svn://10.0.0.236/trunk@6927 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:29:24 +00:00
toshok%netscape.com
f1c203035b make sure we use the right size for an LO_FLOAT element.
git-svn-id: svn://10.0.0.236/trunk@6926 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:25:08 +00:00
toshok%netscape.com
17e01443e6 track change to lo_AppendFloatInLineList, and plug a style sheet memory leak.
git-svn-id: svn://10.0.0.236/trunk@6925 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:23:54 +00:00
toshok%netscape.com
32ed47adb3 Change lo_AppendFloatInLineList to use lo_NewElement instead of XP_NEW_ZAP. This fixes a memory leak, since now it's allocated from the arena instead of just random heap space.
git-svn-id: svn://10.0.0.236/trunk@6924 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:22:35 +00:00
toshok%netscape.com
581b791ae3 Add LO_SPACER to the list of elements to ignore in lo_DisplayElement.
git-svn-id: svn://10.0.0.236/trunk@6923 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:19:21 +00:00
toshok%netscape.com
ad26fcbbfc plug memory leak.
git-svn-id: svn://10.0.0.236/trunk@6922 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:11:30 +00:00
guha%netscape.com
9e61e87372 Make related links work again
git-svn-id: svn://10.0.0.236/trunk@6921 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:55:27 +00:00
guha%netscape.com
7681c7bed8 Make Related links work again
git-svn-id: svn://10.0.0.236/trunk@6920 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:54:10 +00:00
mcafee%netscape.com
5bfeb23563 Moving this file to the Netscape private tree @ ns/fullsoft/public/fullsoft.h
git-svn-id: svn://10.0.0.236/trunk@6919 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:25:43 +00:00
thom%netscape.com
84f17a989b Someone forgot to add nsParserCIID.h to the manifest, broke mac build (what about the others?)
git-svn-id: svn://10.0.0.236/trunk@6918 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:24:24 +00:00
leif
f93b06cfdf *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6917 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:22:50 +00:00
ftang%netscape.com
5b5645a301 back up last check in untill Mac Gromit tree green
git-svn-id: svn://10.0.0.236/trunk@6916 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 01:55:21 +00:00
mccabe%netscape.com
cd73b6485a Another attempt to remove trailing nul characters added courtesy CVS.
git-svn-id: svn://10.0.0.236/trunk@6915 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 01:45:05 +00:00
buster%netscape.com
741b4316ae LengthOf defined in both debug and non-debug builds
git-svn-id: svn://10.0.0.236/trunk@6914 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 01:40:21 +00:00
clu%netscape.com
7a3534c2f3 Backing out changes.
git-svn-id: svn://10.0.0.236/trunk@6913 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:43:46 +00:00
buster%netscape.com
7e38cceda4 we now paint backgrounds regardless of our content. Cell borders are
still conditionally painted based on whether the cell's content has
0=size or not.


git-svn-id: svn://10.0.0.236/trunk@6912 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:32:27 +00:00
buster%netscape.com
fa31586077 fixed an error where min width of col spanners were getting proportionately distributed
only desired width gets distributed, not min size.


git-svn-id: svn://10.0.0.236/trunk@6911 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:31:09 +00:00
mjudge%netscape.com
ad7d54c91e ENDER checkins. all Ifdef'd out
git-svn-id: svn://10.0.0.236/trunk@6910 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:24:57 +00:00
blythe%netscape.com
3289858341 Remove unneeded functions
git-svn-id: svn://10.0.0.236/trunk@6909 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:18:30 +00:00
warren%netscape.com
b5a5fc2ebe Added dummy privilege manager classes.
git-svn-id: svn://10.0.0.236/trunk@6908 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:14:18 +00:00
mccabe%netscape.com
b32b6c20e8 Propagating numerous fixes from js/ref
and development branches, including but
not limited to:

- Preliminary exception handling per
ECMA proposal; try, multiple
catchblocks, and finally.  Catchblocks
are of the form catch (v) or
catch(v:<guard>), where guard is an
optional boolean expression that is
evaluated to determine whether the
exception is to be caught by that block.

- ECMA-proposed 'in' operator; "'foo' in
o" or "4 in o" asks if o has property
foo or element 4.

- Added a new set of defines in
jsconfig.h for js 1.4
features-in-progress.  (in, instanceof,
exception handling.)  Default build
version is now 1.4.  Fixed a few
conditional features that had become
broken.

- Progress towards porting to FreeBSD
and Alpha; casts of NaN and friends to
int are a little more localized.  Not
there yet...

- New config files to compile on more
OSes; various fixes to improve
portability.


git-svn-id: svn://10.0.0.236/trunk@6907 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:07:22 +00:00
ftang%netscape.com
8eb80556d6 Fix 310625. Change single byte conversion table in macfe.r to convert EURO sign from 0x80 (cp1252) to 0xDB (MacRoman)
git-svn-id: svn://10.0.0.236/trunk@6906 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:58:53 +00:00
mccabe%netscape.com
5dce40da3b Propagating work and bug fixes from
development branch:

- Preliminary exception handling per
ECMA proposal; try, multiple
catchblocks, and finally.  Catchblocks
are of the form catch (v) or
catch(v:<guard>), where guard is an
optional boolean expression that is
evaluated to determine whether the
exception is to be caught by that block.

- ECMA-proposed 'in' operator; "'foo' in
o" or "4 in o" asks if o has property
foo or element 4.

- Added a new set of defines in
jsconfig.h for js 1.4
features-in-progress.  (in, instanceof,
exception handling.)  Default build
version is now 1.4.  Fixed a few
conditional features that had become
broken.

- Progress towards porting to FreeBSD
and Alpha; casts of NaN and friends to
int are a little more localized.  Not
there yet...

- New config files to compile on more
OSes; various fixes to improve
portability.


git-svn-id: svn://10.0.0.236/trunk@6905 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:46:29 +00:00
mccabe%netscape.com
b289a7e9f5 Added NPL.
git-svn-id: svn://10.0.0.236/trunk@6904 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:44:39 +00:00
spider%netscape.com
e421318622 Use new raptor gfx stuff
git-svn-id: svn://10.0.0.236/trunk@6903 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:33:17 +00:00
michaelp%netscape.com
2ee65356fb improved performance of background rendering.
git-svn-id: svn://10.0.0.236/trunk@6902 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:31:42 +00:00
scullin%netscape.com
3ee1c27792 Fixed date struct overflow.
git-svn-id: svn://10.0.0.236/trunk@6901 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:30:10 +00:00
spider%netscape.com
a67a24d215 New rules to pull/build raptor as dist
git-svn-id: svn://10.0.0.236/trunk@6900 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:28:03 +00:00
spider%netscape.com
34a0f53dec Update to new nsIWidget interface
git-svn-id: svn://10.0.0.236/trunk@6899 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:26:58 +00:00
clu%netscape.com
ffaeff57e7 #300214; #300216; #300212; reviewed by jfrancis.
Fixed PREV and NEXT in cell dialog in order that it would apply the changes before moving down to the next selection.  Fixed the color chip in cell dialog so it now updates correctly.  Captions in the cell dialog are now enabled and disabled with their respective edit fields.


git-svn-id: svn://10.0.0.236/trunk@6898 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:25:34 +00:00
spider%netscape.com
2b601bf2f4 Removing NS_NewParserNode method
git-svn-id: svn://10.0.0.236/trunk@6897 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:14:18 +00:00
kmcclusk%netscape.com
53a506556c Fixes for scrolling. Each widget does an AddChild to insert it in it's parent's
list of children.


git-svn-id: svn://10.0.0.236/trunk@6896 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:06:32 +00:00
pierre%netscape.com
9364207962 fix tinderbox: compile the MemAllocator stubs before NSRuntime
git-svn-id: svn://10.0.0.236/trunk@6895 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:54:07 +00:00
spider%netscape.com
443dbc8a98 XPCOM'ing the parser. Use repository to get a parser now.
git-svn-id: svn://10.0.0.236/trunk@6893 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:42:27 +00:00
spider%netscape.com
4c38e53112 Support for parser changes
git-svn-id: svn://10.0.0.236/trunk@6892 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:29:10 +00:00
troy%netscape.com
918e7f33f8 Removed assertion in image complete code that assumed we have gotten at
least one pixmap update notification


git-svn-id: svn://10.0.0.236/trunk@6891 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:24:11 +00:00
leif
515a889e19 Changed all hardcoded index references, e.g. 0 to $[.
git-svn-id: svn://10.0.0.236/trunk@6890 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:12:24 +00:00
leif
a018b1f1ba - Changed all hardcoded index numbers (from 0 to $[).
- Added modifyRDN, not tested yet...


git-svn-id: svn://10.0.0.236/trunk@6889 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:12:02 +00:00
thom%netscape.com
3b31111d11 Added Shared Library target. Shouldn't affect any current targets.
git-svn-id: svn://10.0.0.236/trunk@6888 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 21:36:21 +00:00
karnaze%netscape.com
9644a5c3c8 turn off frameborders ala nav4; mouse sensitive to frame borders, but can't yet resize
git-svn-id: svn://10.0.0.236/trunk@6884 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 21:25:35 +00:00
kmcclusk%netscape.com
31595bc655 Build XImage on each draw only if Optimize has not been called.
git-svn-id: svn://10.0.0.236/trunk@6883 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 20:42:15 +00:00
troy%netscape.com
197e645830 Fixed some crashes where it wa assumes mStr was non-NULL
git-svn-id: svn://10.0.0.236/trunk@6882 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 20:36:51 +00:00
buster%netscape.com
c3210c7b46 fixed non-Debug build by making LengthOf part of both debug and non-Debug builds
git-svn-id: svn://10.0.0.236/trunk@6881 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 19:54:17 +00:00
rickg%netscape.com
18cb3820b8 more string improvements
git-svn-id: svn://10.0.0.236/trunk@6880 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 18:35:58 +00:00
rickg%netscape.com
6a4fa58e55 fixed string assignment bug
git-svn-id: svn://10.0.0.236/trunk@6879 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 18:26:46 +00:00
troy%netscape.com
93da04bdcf Added some calls to NS_RELEASE() when exiting the function
git-svn-id: svn://10.0.0.236/trunk@6878 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:46:33 +00:00
kmcclusk%netscape.com
2135ae7e66 Changed Enumerator constructor to initialize mRefCnt to 1 instead of 0.
git-svn-id: svn://10.0.0.236/trunk@6877 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:40:22 +00:00
troy%netscape.com
711459c9ae Re-ordered some code to ensure we don't miss a Release() call
git-svn-id: svn://10.0.0.236/trunk@6876 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:39:41 +00:00
kmcclusk%netscape.com
911790834d Changed back to initialize refcount to 1 instead of 0 for now.
git-svn-id: svn://10.0.0.236/trunk@6875 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:37:26 +00:00
troy%netscape.com
123d50d86b Added XXX comment about the lack of proper ref counting...
git-svn-id: svn://10.0.0.236/trunk@6874 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:30:44 +00:00
kmcclusk%netscape.com
c55ea2573c Fix for loading second document in the viewer
git-svn-id: svn://10.0.0.236/trunk@6873 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:29:22 +00:00
kipp%netscape.com
a6afed5582 Make gamma 1.0
git-svn-id: svn://10.0.0.236/trunk@6872 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 16:07:18 +00:00
kipp%netscape.com
ca5c9e43cc Removed ForceRefresh call
git-svn-id: svn://10.0.0.236/trunk@6871 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 16:07:04 +00:00
kipp%netscape.com
1348d186a9 Moved root creation into WillBuildModel; added code to enable refresh of the display on the first StartLayout call
git-svn-id: svn://10.0.0.236/trunk@6870 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 16:06:22 +00:00
dfm%netscape.com
4d1f5e2897 Moved a couple necessary things out of receipt.c into privacy.c. This
file doesn't build on the tip.


git-svn-id: svn://10.0.0.236/trunk@6869 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 14:55:50 +00:00
leif
6bc4a36c04 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6868 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:14:41 +00:00
leif
9407f90220 This mostly works now.
git-svn-id: svn://10.0.0.236/trunk@6867 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:13:23 +00:00
leif
9630a95462 This actually works now, mostly...
git-svn-id: svn://10.0.0.236/trunk@6866 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:08:31 +00:00
leif
2ca35af400 Fixed references to normalizeDN.
git-svn-id: svn://10.0.0.236/trunk@6865 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:08:00 +00:00
leif
feedc2e63c - Bug fixes in normalizeDN, because of calling convention changed.
- Added the answer function, from our LdapUtils.pm module.


git-svn-id: svn://10.0.0.236/trunk@6864 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:06:56 +00:00
leif
655135bbdc *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6863 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:55:12 +00:00
leif
cd7a2de712 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6862 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:52:33 +00:00
leif
71fd832d76 Minor changes.
git-svn-id: svn://10.0.0.236/trunk@6861 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:52:19 +00:00
leif
79ab6e22ec * Bug fixes.
* Changed the update code, works.

* Added some debug code for the LDAPMod code.


git-svn-id: svn://10.0.0.236/trunk@6860 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:51:35 +00:00
leif
73eaecc323 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6859 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:22:15 +00:00
leif
8d74f72858 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6858 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:02:33 +00:00
leif
c956783074 Added unixCrypt. This is non-portable, since it doesn't exist on
Windows...


git-svn-id: svn://10.0.0.236/trunk@6857 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 08:43:06 +00:00
leif
afb8179583 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6856 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 08:42:31 +00:00
chuckb%netscape.com
3b81970ba8 Small fix for killing connections
git-svn-id: svn://10.0.0.236/trunk@6855 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 07:35:57 +00:00
valeski%netscape.com
a86457db07 309383 - http:// is now assumed by the browser shell window url bar.
git-svn-id: svn://10.0.0.236/trunk@6854 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 06:57:02 +00:00
leif
0a43abaf6c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6853 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 06:49:18 +00:00
leif
3da0615f40 This is the first version, of a script originally implemented at Netscape.
git-svn-id: svn://10.0.0.236/trunk@6852 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 06:49:03 +00:00
slamm%netscape.com
6654b1f9f5 Reverting to 3.4. Changes were breaking the builds.
git-svn-id: svn://10.0.0.236/trunk@6851 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 06:11:41 +00:00
leif
5ebce5fcdf *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6848 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 05:26:08 +00:00
troy%netscape.com
d67ed45304 Changed BuildCellMap() to iterate table cell frames using the sibling
list instead of ChildAt()


git-svn-id: svn://10.0.0.236/trunk@6847 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 04:50:38 +00:00
pierre%netscape.com
8ac7ba0910 fixing Unix build
git-svn-id: svn://10.0.0.236/trunk@6846 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 04:47:44 +00:00
cmanske%netscape.com
8be1a4ec6d Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@6845 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 04:38:01 +00:00
pierre%netscape.com
24e28fb9d2 removed nsDocLoader.cpp which already sits in webshell.mcp
git-svn-id: svn://10.0.0.236/trunk@6844 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:41:26 +00:00
pierre%netscape.com
4c46861f34 fixing Mac build: added "ostrstream.h"
git-svn-id: svn://10.0.0.236/trunk@6843 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:38:37 +00:00
pierre%netscape.com
83de131366 added ostrstream.h
git-svn-id: svn://10.0.0.236/trunk@6842 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:32:43 +00:00
pierre%netscape.com
e5201ae718 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@6841 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:32:20 +00:00
leif
8e9e2b911a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6840 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:08:03 +00:00
troy%netscape.com
4cfdd62847 Changed nsString to nsAutoString to eliminate heap allocation
git-svn-id: svn://10.0.0.236/trunk@6838 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:49:13 +00:00
despotdaemon%netscape.com
19d0b80056 Pseudo-automatic update of changes made by jwz@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6837 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:47:33 +00:00
gagan%netscape.com
5af3525e5e Fix for 309717 and 64550.
git-svn-id: svn://10.0.0.236/trunk@6835 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:32:48 +00:00
cmanske%netscape.com
db02faf87d Backed out hack for loading image problems in Composer
git-svn-id: svn://10.0.0.236/trunk@6834 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:32:46 +00:00
cmanske%netscape.com
23a6ffe225 Backed out hack for loading image problems in Composer. Also fixed other Composer bugs
git-svn-id: svn://10.0.0.236/trunk@6833 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:30:35 +00:00
cmanske%netscape.com
dee408681b Backed out hack for loading image problems in Composer. The correct mime converter is now being used
git-svn-id: svn://10.0.0.236/trunk@6832 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:20:52 +00:00
ramiro%netscape.com
af9d5f0304 Add clobber_all target to make mozilla build system happy.
git-svn-id: svn://10.0.0.236/trunk@6831 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:05:13 +00:00
slamm%netscape.com
694ab1fe1c Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@6830 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:53:30 +00:00
scc%netscape.com
26b948db34 added Chris Nandor's changes to call CodeWarriorLib.pm instead of using AppleScript.
git-svn-id: svn://10.0.0.236/trunk@6827 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:09:52 +00:00
scc%netscape.com
b972bab520 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@6826 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:04:27 +00:00
scc%netscape.com
d884324335 removed Talkback glue library
git-svn-id: svn://10.0.0.236/trunk@6825 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:02:37 +00:00
scc%netscape.com
0db2e2e30f removed FullCircle headers
git-svn-id: svn://10.0.0.236/trunk@6824 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:01:17 +00:00
scc%netscape.com
905181057a conditionalized references to FullCircle routines and headers
git-svn-id: svn://10.0.0.236/trunk@6823 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:58:34 +00:00
racham%netscape.com
ccbc26fbe6 1step & 2step changes
git-svn-id: svn://10.0.0.236/trunk@6822 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:42:52 +00:00
blythe%netscape.com
ac6882437f winpref optimization, submitted by rix2k@radsoft.net
git-svn-id: svn://10.0.0.236/trunk@6821 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:27:35 +00:00
racham%netscape.com
42b41ca723 Added Onestepmode checkbox text
git-svn-id: svn://10.0.0.236/trunk@6820 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:23:01 +00:00
racham%netscape.com
c507f796aa 1step mode is set to default
git-svn-id: svn://10.0.0.236/trunk@6819 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:21:55 +00:00
racham%netscape.com
5b140ce414 1step & 2step changes
git-svn-id: svn://10.0.0.236/trunk@6818 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:18:47 +00:00
hardts%netscape.com
1380afdee5 make NGLayout use tip imagelib
git-svn-id: svn://10.0.0.236/trunk@6817 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:16:06 +00:00
timm%netscape.com
617756d545 put in old Reggie 4.0 stuff for allowing old style reg serv connections... moved the new stuff to CompServ.IAS
git-svn-id: svn://10.0.0.236/trunk@6816 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:57:29 +00:00
timm%netscape.com
4379fc6a87 fix up button showing for error2.htm
git-svn-id: svn://10.0.0.236/trunk@6815 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:56:06 +00:00
pierre%netscape.com
3c74a5eaa1 fixing Mac build: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6814 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:43:22 +00:00
rickg%netscape.com
2016c7c883 fixed attribute bug and factored DTDDebug interfaces
git-svn-id: svn://10.0.0.236/trunk@6813 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:43:20 +00:00
slamm%netscape.com
1d3f47fe60 An even easier way to fix the commercial animation.
git-svn-id: svn://10.0.0.236/trunk@6812 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:37:27 +00:00
pierre%netscape.com
1b97e85cdb fixing Mac build: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6811 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:37:15 +00:00
troy%netscape.com
47dbd5c803 Changed CreateFrame() to do quick style resolution for text by calling
ResolvePseudoStyleContextFor()


git-svn-id: svn://10.0.0.236/trunk@6810 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:31:56 +00:00
slamm%netscape.com
57d723d6ea Fix pull of commercial animation.
git-svn-id: svn://10.0.0.236/trunk@6809 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:24:23 +00:00
pinkerton%netscape.com
94cd62c965 Updated "no-close-box" browser window to not have selector bar.
git-svn-id: svn://10.0.0.236/trunk@6808 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:17:05 +00:00
troy%netscape.com
be511b110e Changed default constructor to leave capacity at 0 and not allocate
a buffer of 24 bytes


git-svn-id: svn://10.0.0.236/trunk@6807 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:06:21 +00:00
kmcclusk%netscape.com
2f5683111e Added debug menu items to bring motif viewer in sync with win32 viewer.
git-svn-id: svn://10.0.0.236/trunk@6806 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:56:25 +00:00
pinkerton%netscape.com
37e44bb207 Turning on privacy features for dfm.
git-svn-id: svn://10.0.0.236/trunk@6805 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:49:24 +00:00
pinkerton%netscape.com
2ee9b92e03 Added privacy.c for dfm.
git-svn-id: svn://10.0.0.236/trunk@6804 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:49:01 +00:00
hardts%netscape.com
c4600fcf79 Finally use the tip imagelib
git-svn-id: svn://10.0.0.236/trunk@6803 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:48:44 +00:00
dfm%netscape.com
7afa6f4df7 Minor changes; this file does not yet build on tip.
git-svn-id: svn://10.0.0.236/trunk@6802 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:45:03 +00:00
hardts%netscape.com
1dc2e6d9d6 Reenable Charlie's editor hack to deal with IL_ViewStream/IL_NewStream problems
git-svn-id: svn://10.0.0.236/trunk@6801 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:42:44 +00:00
hardts%netscape.com
4672676a7f add more stub functions to ImageURLImpl to deal with changes in nsIURL
git-svn-id: svn://10.0.0.236/trunk@6800 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:39:28 +00:00
dfm%netscape.com
0228a06e22 Removed privacy dependencies on transaction receipt functions.
This file does not yet build in the default tree configuration.


git-svn-id: svn://10.0.0.236/trunk@6799 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:39:12 +00:00
pierre%netscape.com
c6d7eb9a7a fixing Windows build bustage: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6798 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:33:29 +00:00
kmcclusk%netscape.com
4dcba7ae30 Implemented SetCursor
git-svn-id: svn://10.0.0.236/trunk@6797 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:33:03 +00:00
scullin%netscape.com
a34505b241 Added motif LAF stubs.
git-svn-id: svn://10.0.0.236/trunk@6796 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:16:24 +00:00
scullin%netscape.com
5869dcb368 Ref count fixes, fix widget test app.
git-svn-id: svn://10.0.0.236/trunk@6795 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:15:18 +00:00
timm%netscape.com
36ef104588 get CompServer value from ACCTSET.INI, not RegServer value for IAS file to dial
git-svn-id: svn://10.0.0.236/trunk@6794 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:09:37 +00:00
timm%netscape.com
c507506992 change RegSource to DUE5, add CompServer which points to compare page server
git-svn-id: svn://10.0.0.236/trunk@6793 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:08:46 +00:00
timm%netscape.com
81d169809e new file for compare page dial
git-svn-id: svn://10.0.0.236/trunk@6792 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:59:17 +00:00
sdagley%netscape.com
ff306adb95 Fix build hoarkage caused by missing access path in one of the project targets
git-svn-id: svn://10.0.0.236/trunk@6791 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:55:32 +00:00
akkana%netscape.com
d04aa84313 Lots of table resizing, object resizing, and table editing fixes.
git-svn-id: svn://10.0.0.236/trunk@6790 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:45:52 +00:00
scc%netscape.com
61b0eb02e1 added :mozilla:privacy:public:MANIFEST
git-svn-id: svn://10.0.0.236/trunk@6788 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:36:20 +00:00
timm%netscape.com
9cbd03adf7 change to 888
git-svn-id: svn://10.0.0.236/trunk@6787 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:31:56 +00:00
pinkerton%netscape.com
19c5c7aaa2 Use new CDockedRDFCoordinator and bumped saved state version #. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6786 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:23:40 +00:00
pinkerton%netscape.com
e9d4fccf05 Remove stuff dealing with selector bar. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6785 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:22:55 +00:00
pinkerton%netscape.com
6a5afa63e9 Removed obsolete command (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6784 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:22:37 +00:00
pinkerton%netscape.com
a8832f6ea0 removed obsolete constants (selector bar is no more).
git-svn-id: svn://10.0.0.236/trunk@6783 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:22:13 +00:00
scc%netscape.com
e2d0e914d3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@6782 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:22:10 +00:00
pinkerton%netscape.com
90498eb149 SHACK changes (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6781 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:21:52 +00:00
kmcclusk%netscape.com
bca21726d0 Added the <strstream.h> for all non WIN32 platforms. Removed the ifdef WIN32 in DoCopy
git-svn-id: svn://10.0.0.236/trunk@6780 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:21:08 +00:00
pinkerton%netscape.com
5b4f890482 Removed selector bar. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6779 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:20:35 +00:00
pinkerton%netscape.com
7fdf152aba No more selector bar, and broke out docked stuff into a new CDockedRDFCoordinator class. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6778 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:20:16 +00:00
pinkerton%netscape.com
aae50b72a8 Shack stub implementations (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6777 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:19:49 +00:00
pinkerton%netscape.com
895233ceed Shack methods (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6776 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:19:31 +00:00
pinkerton%netscape.com
de0e98511d Removed Guide submenu (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6775 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:18:56 +00:00
pinkerton%netscape.com
351854c5e9 Removed selector bar stuff, and some other small stuff (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6774 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:18:16 +00:00
pinkerton%netscape.com
cf1ac0c58b Removed CNavCenterSelectorBar.cp (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6773 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:17:57 +00:00
pinkerton%netscape.com
228061140f Changed CTYP for CRDFCoordinator because it no longer has a selector bar. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6772 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:17:36 +00:00
pinkerton%netscape.com
e5f36930ea Removed selector bar (rev saari, appr sdagley) and using new CDockedRDFCoordinator.
git-svn-id: svn://10.0.0.236/trunk@6771 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:17:09 +00:00
blythe%netscape.com
717caf714f Fix Build bustage, totally my fault
git-svn-id: svn://10.0.0.236/trunk@6770 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:15:23 +00:00
pierre%netscape.com
89f3d25c47 added nsSetupRegistry.cpp and nsWebCrawler.cpp
git-svn-id: svn://10.0.0.236/trunk@6769 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:09:25 +00:00
pierre%netscape.com
34090236fe fixing Mac build: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6768 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:06:19 +00:00
scullin%netscape.com
db399badcd More refcount fixes.
git-svn-id: svn://10.0.0.236/trunk@6767 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:04:44 +00:00
pierre%netscape.com
dd40185241 pull the correct branches for imglib and plugin, no longer pull the 5.0 layout libs
git-svn-id: svn://10.0.0.236/trunk@6766 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:03:47 +00:00
pierre%netscape.com
4dee89d0c6 changed the 'modular' targets: removed cvpics.c, added cvmime.c and nsRelatedLinks.cp
git-svn-id: svn://10.0.0.236/trunk@6765 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:57:11 +00:00
pierre%netscape.com
4421a53984 added a bunch of cpp files according to the Window make file
git-svn-id: svn://10.0.0.236/trunk@6763 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:54:38 +00:00
scullin%netscape.com
c47cbfadcc Fix ref count oddities.
git-svn-id: svn://10.0.0.236/trunk@6761 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:49:28 +00:00
akkana%netscape.com
ac20e0a2b1 EditHdrDialog should be part of MOZ_MAIL_NEWS.
git-svn-id: svn://10.0.0.236/trunk@6760 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:46:18 +00:00
hardts%netscape.com
cf5fd08af6 Change from JRI_PUBLIC_API to PR_PUBLIC_API so NGLayout build will work
git-svn-id: svn://10.0.0.236/trunk@6759 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:38:47 +00:00
toshok%netscape.com
e587c8d3a2 Always initialize clear_type. gets rid of UMR.
git-svn-id: svn://10.0.0.236/trunk@6758 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:30:24 +00:00
despotdaemon%netscape.com
71608a398f Pseudo-automatic update of changes made by gagan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6757 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:20:06 +00:00
kipp%netscape.com
101913b9b5 Remove most compiler warnings on IRIX
git-svn-id: svn://10.0.0.236/trunk@6756 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:19:08 +00:00
akkana%netscape.com
580743b370 Fix build bustage for MOZ_MEDIUM (which doesn't show up on Tinderbox!):
Move fe_make_option_menu and friends from MOZ_MAIL_NEWS to all.


git-svn-id: svn://10.0.0.236/trunk@6755 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:04:14 +00:00
kmcclusk%netscape.com
0b0fe0850a Added check in CreateInstance to see if QueryObject returns NS_OK. If it doesn't then release the interface.
git-svn-id: svn://10.0.0.236/trunk@6754 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:04:05 +00:00
toshok%netscape.com
5b7053a1c6 make sure to initialize all parts of the LO_TextStruct structure. this was causing UMR's in the XFE (and causing the text to just not be displayed).
git-svn-id: svn://10.0.0.236/trunk@6753 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:41:17 +00:00
kipp%netscape.com
9fd4236998 Disabled widget&view for now; render the object so that people know code is coming
git-svn-id: svn://10.0.0.236/trunk@6752 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:33:48 +00:00
kipp%netscape.com
70f2d42c59 Tidy up the rendering; don't take space when show-borders is on
git-svn-id: svn://10.0.0.236/trunk@6751 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:33:27 +00:00
kipp%netscape.com
159a848417 When debugging allow zero width/height frames to render; do not render show-borders around them however
git-svn-id: svn://10.0.0.236/trunk@6750 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:33:00 +00:00
blythe%netscape.com
0cf565fe00 VC6 compiler support changes, had to rename structure as now defined in system headers
git-svn-id: svn://10.0.0.236/trunk@6749 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:15:05 +00:00
scullin%netscape.com
f2f0d180f6 Normalize widget api on UNIX and Win.
git-svn-id: svn://10.0.0.236/trunk@6748 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:57:26 +00:00
scullin%netscape.com
845b37a7b7 Added LAF implementation.
git-svn-id: svn://10.0.0.236/trunk@6747 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:55:25 +00:00
scullin%netscape.com
47287b80cc Added LAF interface.
git-svn-id: svn://10.0.0.236/trunk@6746 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:54:36 +00:00
scullin%netscape.com
1af12fa1dc Normalize widget api on UNIX and win, add LAF interface, make sample
apps function again.


git-svn-id: svn://10.0.0.236/trunk@6745 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:51:45 +00:00
scullin%netscape.com
e8b12694fb Normalize widget api on UNIX and Win
git-svn-id: svn://10.0.0.236/trunk@6744 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:50:51 +00:00
scullin%netscape.com
a3a8ac0459 Make widget tests work again, normalize widget api on UNIX and Win, and
add start of platform LAF interface.


git-svn-id: svn://10.0.0.236/trunk@6743 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:47:50 +00:00
scullin%netscape.com
9eb212f8af Safety check our automatic context deleting. (NGLayout only)
git-svn-id: svn://10.0.0.236/trunk@6742 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:44:23 +00:00
rods%netscape.com
cbb188e7fa added NS_RELEASE in DoToggleSelection
git-svn-id: svn://10.0.0.236/trunk@6740 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 17:39:28 +00:00
timm%netscape.com
149282bbac change to use language value from dynamic data
git-svn-id: svn://10.0.0.236/trunk@6739 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 17:21:46 +00:00
timm%netscape.com
41b5b09c96 change to hardcoded IP numbers
git-svn-id: svn://10.0.0.236/trunk@6738 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 17:18:33 +00:00
despotdaemon%netscape.com
b34ee30d13 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6737 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 14:10:37 +00:00
ramiro%netscape.com
9b734c20fb Add underline drawing support to XfeButton - XmNunderlineThickness.
git-svn-id: svn://10.0.0.236/trunk@6736 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 12:10:32 +00:00
ramiro%netscape.com
e785b8dd24 Add XmNarmForeground resource.
git-svn-id: svn://10.0.0.236/trunk@6735 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:50:34 +00:00
rpotts%netscape.com
d204bd4f80 Call nsIWebShell::Destroy() when the Browser window is going away...
git-svn-id: svn://10.0.0.236/trunk@6734 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:49:51 +00:00
rpotts%netscape.com
2f4d8826cb Added a Destroy() method which is called when the WebShell container is going away...
git-svn-id: svn://10.0.0.236/trunk@6733 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:49:01 +00:00
rpotts%netscape.com
9c1ca7e3d2 Added a missing Release() which should allow the nsDocument to be destroyed...
git-svn-id: svn://10.0.0.236/trunk@6732 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:47:52 +00:00
ramiro%netscape.com
077da1fbd3 I screwed up. Backout changes that should not have gone in.
git-svn-id: svn://10.0.0.236/trunk@6731 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:06:53 +00:00
ramiro%netscape.com
923a5b4c6f Fix a bunch of comments that got screwed when the license was pasted. Also,
add a basic defines header where to put commonly accesed macros without
having to include all the stuff in <Xfe/Xfe.h>.


git-svn-id: svn://10.0.0.236/trunk@6730 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:53:53 +00:00
leif
eabb9f8d80 Added ChangeLog for main and example directories.
git-svn-id: svn://10.0.0.236/trunk@6729 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:14:06 +00:00
leif
3a1c5fa430 Added monitor.pl
git-svn-id: svn://10.0.0.236/trunk@6728 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:13:21 +00:00
leif
0aefd13b24 First version, this actually works as well.
git-svn-id: svn://10.0.0.236/trunk@6727 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:12:37 +00:00
leif
fabbed1c05 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6726 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:09:20 +00:00
leif
044aeb6fa1 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6725 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:01:12 +00:00
leif
f9afb384c1 Added support for passing a hash array of arguments, as returned by the
ldapArgs() function.


git-svn-id: svn://10.0.0.236/trunk@6724 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:00:51 +00:00
leif
07133eaf0b First working version.
git-svn-id: svn://10.0.0.236/trunk@6723 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:59:14 +00:00
leif
fe233a2e11 Changed to not import the Utils name space into this object. Bad Leif.
git-svn-id: svn://10.0.0.236/trunk@6722 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:41:39 +00:00
leif
185de4543c Minor changes, to look better.
git-svn-id: svn://10.0.0.236/trunk@6721 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:36:45 +00:00
leif
885158f827 Added more functions.
git-svn-id: svn://10.0.0.236/trunk@6720 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:29:07 +00:00
leif
f705a7fbe7 Minor change, to do regex match on osname=MSwin.
git-svn-id: svn://10.0.0.236/trunk@6719 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:27:00 +00:00
leif
4c6ab90699 Changed some of the "reserved" hash indexes, to make sure they all both
start and end with the "_". This makes it easy to isolate them, with the
regexp /^_.*_$/.


git-svn-id: svn://10.0.0.236/trunk@6718 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:25:57 +00:00
leif
c01960c631 * Got it to work.
* Changed some of the error handling functions, this needs to be tested.
* Converts attribute values from arrays to pointers to arrays.
* Changed the bind API calls.


git-svn-id: svn://10.0.0.236/trunk@6717 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:23:53 +00:00
leif
a1b398d580 Changed to use Exporter::export_ok_tags().
git-svn-id: svn://10.0.0.236/trunk@6716 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:21:44 +00:00
leif
84cd95d233 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6715 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:19:12 +00:00
toshok%netscape.com
ee971790f0 Free the cloned tag of the LO_LIST element.
git-svn-id: svn://10.0.0.236/trunk@6713 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 07:37:14 +00:00
toshok%netscape.com
f7e76b6217 call lo_FreeLayoutData when we're done relaying out -- stop leaking memory on resizes
git-svn-id: svn://10.0.0.236/trunk@6712 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 07:36:54 +00:00
toshok%netscape.com
c80a2e0d7b plug memory leak when reading/writing font_specs.
git-svn-id: svn://10.0.0.236/trunk@6711 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 07:35:05 +00:00
waterson%netscape.com
d1bf922eed Added FE hooks to dynamically enable/disable runtime tracing. Approved by blythe.
git-svn-id: svn://10.0.0.236/trunk@6709 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:05:33 +00:00
rpotts%netscape.com
e4f888c485 Removed all calls to NET_PollSockets(...). Netlib now does this itself...
git-svn-id: svn://10.0.0.236/trunk@6708 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:03:29 +00:00
waterson%netscape.com
55e8dd989c Added runtime tracing calls. Approved by gagan.
git-svn-id: svn://10.0.0.236/trunk@6707 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:03:10 +00:00
rpotts%netscape.com
fa4119dae4 Removed all calls to NET_PollSockets(...). Netlib now does the polling itself...
git-svn-id: svn://10.0.0.236/trunk@6706 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:01:57 +00:00
rpotts%netscape.com
9c98d36f7e Removed the need for clients to explicitly call NET_PollSockets(...). This has been replaced with a timer based polling scheme
git-svn-id: svn://10.0.0.236/trunk@6705 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:01:11 +00:00
waterson%netscape.com
6d82776c4e Added timing.h file for runtime performance tracing. Approved by gagan.
git-svn-id: svn://10.0.0.236/trunk@6704 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:00:38 +00:00
leif
be7f1e0133 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6703 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 05:56:54 +00:00
rickg%netscape.com
bd7f2685e8 improved parser handling of pathologic attributes
git-svn-id: svn://10.0.0.236/trunk@6702 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 05:13:35 +00:00
kipp%netscape.com
ef71e68407 Clean up stuff during destruction
git-svn-id: svn://10.0.0.236/trunk@6697 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:08:27 +00:00
kipp%netscape.com
eb3766b3d2 Free up some stuff during shutdown
git-svn-id: svn://10.0.0.236/trunk@6696 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:07:54 +00:00
kipp%netscape.com
27dee5dead Dont' release browser after destroying it
git-svn-id: svn://10.0.0.236/trunk@6695 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:07:27 +00:00
kipp%netscape.com
943b5f0770 Release font metrics when done
git-svn-id: svn://10.0.0.236/trunk@6693 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:06:37 +00:00
kipp%netscape.com
230a9dbfac Made placeholders implement nsIInlineReflow so that their existance wouldn't screw up whitespace compression
git-svn-id: svn://10.0.0.236/trunk@6692 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:05:49 +00:00
kipp%netscape.com
fa400ce72c Added support for hspace and vspace style attributes
git-svn-id: svn://10.0.0.236/trunk@6691 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:05:04 +00:00
kipp%netscape.com
abcc6dc4b8 Added missing NS_RELEASE call
git-svn-id: svn://10.0.0.236/trunk@6690 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:04:39 +00:00
kipp%netscape.com
85f83e02fc Added code to try (poorly unfortunately) to give events to floating objects before regular objects
git-svn-id: svn://10.0.0.236/trunk@6689 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:04:01 +00:00
kipp%netscape.com
d2a90e7073 cleaned up handling of list bullets; fixed FindFloaters to not recurse into child blocks (doh!); get x,y coordinate right for blocks that don't implement IRunAround; place floaters in nested blocks properly
git-svn-id: svn://10.0.0.236/trunk@6688 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:03:12 +00:00
kipp%netscape.com
a6b61cb882 When computing the max avail space for a frame, allow zero as a legal answer so that zero width objects on the same line stay on the line (e.g. BR's); fixed reflow routines to translate the spacemanager x,y
git-svn-id: svn://10.0.0.236/trunk@6687 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:59:33 +00:00
kipp%netscape.com
95e52c80f6 updated
git-svn-id: svn://10.0.0.236/trunk@6686 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:57:40 +00:00
kipp%netscape.com
5dae01efa5 Fixed GetFontMetrics API to AddRef
git-svn-id: svn://10.0.0.236/trunk@6685 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:57:27 +00:00
leif
9cfd62203f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6684 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:53:52 +00:00
donm%netscape.com
824e466d47 fixing build bustage where ldap is required without MOZ_LDAP set.
git-svn-id: svn://10.0.0.236/trunk@6683 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:47:59 +00:00
clayton
e36b8520f9 MANIFEST - Changed Connection.pm to Conn.pm
Makefile.PL - Added Interactive and Automatic Makefile creation
test.pl - Added Automatic Testing through use of environment variables.


git-svn-id: svn://10.0.0.236/trunk@6682 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:43:34 +00:00
leif
bffe7206dc *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6681 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:30:26 +00:00
leif
c6d936194f Fixed the #include for <ldap.h>
git-svn-id: svn://10.0.0.236/trunk@6679 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 02:58:54 +00:00
leif
a7e90811c0 Changed this file to be Conn.pm.
git-svn-id: svn://10.0.0.236/trunk@6675 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 02:45:53 +00:00
sar%netscape.com
2da3296ca7 backing out toshok's changes made to a closed burning tree
git-svn-id: svn://10.0.0.236/trunk@6674 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 02:41:52 +00:00
leif
af18f1f6a8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6673 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 02:41:11 +00:00
troy%netscape.com
c03ad51328 Added LoadIconImage() for Unix
git-svn-id: svn://10.0.0.236/trunk@6671 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 01:31:59 +00:00
toshok%netscape.com
3ca2ba26f0 plug memory leak when reading/writing font_specs.
git-svn-id: svn://10.0.0.236/trunk@6669 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:52:46 +00:00
troy%netscape.com
991de4f579 Added LoadIconImage member function to nsIDeviceContext, and added new
network context for doing sync load (used when loading icons)


git-svn-id: svn://10.0.0.236/trunk@6668 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:42:50 +00:00
toshok%netscape.com
d0694efad3 call lo_FreeLayoutData when we're done relaying out -- stop leaking memory on resizes.
git-svn-id: svn://10.0.0.236/trunk@6667 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:37:32 +00:00
toshok%netscape.com
754905c3b1 Free the cloned tag of the LO_LIST element.
git-svn-id: svn://10.0.0.236/trunk@6666 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:37:04 +00:00
sar%netscape.com
3f7ace6ead removing npwplat.cpp and .h because they are mysteriously breaking gromit
git-svn-id: svn://10.0.0.236/trunk@6665 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:23:08 +00:00
kipp%netscape.com
2b08aad70b Setup metrics better for closer navigator compatability (and fix a bug)
git-svn-id: svn://10.0.0.236/trunk@6663 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:34:01 +00:00
kipp%netscape.com
5cb6cac74f Bottom align BR's to make the compatible with nav
git-svn-id: svn://10.0.0.236/trunk@6662 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:33:31 +00:00
leif
1fbbe7b925 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6659 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:28:53 +00:00
leif
ed6be948b3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6657 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:28:29 +00:00
leif
42f5e7735f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6656 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:28:18 +00:00
leif
6ce5ffb62f First version, migrated from my Netscape source.
git-svn-id: svn://10.0.0.236/trunk@6655 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:27:17 +00:00
spider%netscape.com
818952ccf3 Add WIN#@_LEAN_AND_MEAN
git-svn-id: svn://10.0.0.236/trunk@6654 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 22:37:09 +00:00
timm%netscape.com
1daa7eff14 new templates for more info page
git-svn-id: svn://10.0.0.236/trunk@6651 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 21:31:33 +00:00
despotdaemon%netscape.com
2a2f4dfd4e Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6643 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 20:40:22 +00:00
jwz%netscape.com
c9bb816841 from Dawn Endico <dawn@cannibal.mi.org>:
Make the url prefix for bonsai configurable.


git-svn-id: svn://10.0.0.236/trunk@6638 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:18:54 +00:00
jwz%netscape.com
7024b10684 from Dawn Endico <dawn@cannibal.mi.org>:
add bonsaihome configuration variable


git-svn-id: svn://10.0.0.236/trunk@6637 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:42 +00:00
jwz%netscape.com
0c7f1b1eb1 from Dawn Endico <dawn@cannibal.mi.org>:
export $Path variable. Local.pm needs it as a global variable.

htmlify file names and email addresses


git-svn-id: svn://10.0.0.236/trunk@6636 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:30 +00:00
jwz%netscape.com
9252ea44ab from Dawn Endico <dawn@cannibal.mi.org>:
remove the hard space from the template. Its now the job of the
description function to provide a space in case of a blank desc.


git-svn-id: svn://10.0.0.236/trunk@6635 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:14 +00:00
jwz%netscape.com
bbaf60067d from Dawn Endico <dawn@cannibal.mi.org>:
move description functions to the new Local.pm module


git-svn-id: svn://10.0.0.236/trunk@6634 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:03 +00:00
jwz%netscape.com
467e984c7d from Dawn Endico <dawn@cannibal.mi.org>:
use the new bonsaihome configuration variable


git-svn-id: svn://10.0.0.236/trunk@6633 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:16:48 +00:00
jwz%netscape.com
3019692d1a from Dawn Endico <dawn@cannibal.mi.org>:
Place installation specific subroutines into their own module.
New improved file/directory description hackery goes here.


git-svn-id: svn://10.0.0.236/trunk@6632 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:16:34 +00:00
selmer%netscape.com
7d7ed29a10 Changed reference of 'yeahr' to 'year'
git-svn-id: svn://10.0.0.236/trunk@6631 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 17:22:05 +00:00
sar%netscape.com
a29a980565 backing out Akanna's changes that broke Irix
git-svn-id: svn://10.0.0.236/trunk@6627 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 08:33:24 +00:00
pierre%netscape.com
c88159a432 renamed some header files > 31 chars but left them ifdef'ed out XP_MAC because of other problems
git-svn-id: svn://10.0.0.236/trunk@6625 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:56:55 +00:00
pierre%netscape.com
d98b37220d added modules/plugin in the Checkout and Manifest lists
git-svn-id: svn://10.0.0.236/trunk@6624 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:55:23 +00:00
pierre%netscape.com
161249f916 updated to Windows make file (removed "npupp.h" from the list)
git-svn-id: svn://10.0.0.236/trunk@6623 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:54:29 +00:00
pierre%netscape.com
a0405018f5 renamed some filenames > 31 chars
git-svn-id: svn://10.0.0.236/trunk@6622 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:53:45 +00:00
pierre%netscape.com
8adf059210 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@6620 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:52:53 +00:00
pierre%netscape.com
f02b246974 fix build breakage from previous checkin
git-svn-id: svn://10.0.0.236/trunk@6618 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 05:31:01 +00:00
troy%netscape.com
f2399dd3fa Added dependency on raptorgfx_s.lib
git-svn-id: svn://10.0.0.236/trunk@6617 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 05:09:31 +00:00
pierre%netscape.com
999df4ec5e added nsWebCrawler.cpp
git-svn-id: svn://10.0.0.236/trunk@6616 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:18:01 +00:00
pierre%netscape.com
38b94a423c fix Mac build: include <fstream.h>
git-svn-id: svn://10.0.0.236/trunk@6614 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:16:13 +00:00
pierre%netscape.com
b100b34267 fix Mac build (is this file obsolete?)
git-svn-id: svn://10.0.0.236/trunk@6613 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:15:46 +00:00
pierre%netscape.com
2814f6638f fix Mac build: include <iosfwd.h>
git-svn-id: svn://10.0.0.236/trunk@6612 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:14:58 +00:00
pierre%netscape.com
134996a137 use standalone imglib from tips, added dom:public:html:MANIFEST, build Navigator stubs
git-svn-id: svn://10.0.0.236/trunk@6611 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:14:22 +00:00
pierre%netscape.com
97a888a6e4 raptor: added mkstream.c to the 'modular' targets
git-svn-id: svn://10.0.0.236/trunk@6610 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:09:06 +00:00
pierre%netscape.com
635ae3f59c updated to Windows make file
git-svn-id: svn://10.0.0.236/trunk@6609 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:08:33 +00:00
pierre%netscape.com
e859e783ed added the 2 'standalone' targets
git-svn-id: svn://10.0.0.236/trunk@6608 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:05:23 +00:00
pierre%netscape.com
cc15527c71 added CParserContext.cpp (for now... we may need to add plenty of other files later)
git-svn-id: svn://10.0.0.236/trunk@6607 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:04:23 +00:00
rickg%netscape.com
d914584ab7 unwound changes to skipped content consumption
git-svn-id: svn://10.0.0.236/trunk@6606 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:00:38 +00:00
rickg%netscape.com
640b8153eb even more improvements to containment creation
git-svn-id: svn://10.0.0.236/trunk@6605 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 02:54:02 +00:00
warren%netscape.com
6cf0255e58 Committed from OJI_19980618_TIP_MERGE1.
git-svn-id: svn://10.0.0.236/trunk@6602 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 02:11:07 +00:00
warren%netscape.com
450194e0b1 Moved to modules/plugin/bad
git-svn-id: svn://10.0.0.236/trunk@6601 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 01:49:33 +00:00
rickg%netscape.com
3778c0a397 fixed build buster; seems VC doesn't know false
git-svn-id: svn://10.0.0.236/trunk@6600 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 01:39:55 +00:00
pinkerton%netscape.com
5d87d25bcd Now that the cache actually works, make sure we put the entry into the icon cache _before_ we go to the net to try to fetch it.
git-svn-id: svn://10.0.0.236/trunk@6599 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 01:25:14 +00:00
rickg%netscape.com
bce39df640 too many fixes to enumerate
git-svn-id: svn://10.0.0.236/trunk@6598 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 01:08:12 +00:00
chuckb%netscape.com
a85bc4645d Java LDAP SDK
git-svn-id: svn://10.0.0.236/trunk@6597 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:58:49 +00:00
akkana%netscape.com
e4a5b58d33 Move fe_make_option_menu from SearchRuleView to Menu so that it no
longer is bound to MOZ_MAIL_NEWS.


git-svn-id: svn://10.0.0.236/trunk@6596 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:58:40 +00:00
buster%netscape.com
011fab0947 made this test case a bit flashier
git-svn-id: svn://10.0.0.236/trunk@6595 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:51:53 +00:00
pinkerton%netscape.com
36ebd21591 Respond to even more properties in HT, esp ones that allow creation of a Simple View.
git-svn-id: svn://10.0.0.236/trunk@6594 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:46:33 +00:00
pinkerton%netscape.com
c6a25fe8a4 don't allow context menu when the HT property is turned off.
git-svn-id: svn://10.0.0.236/trunk@6593 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:45:52 +00:00
pinkerton%netscape.com
231bc767e7 Added GetColor() and PropertyValueBool() and rewrote most utility routines (for chrome color) to use these.
git-svn-id: svn://10.0.0.236/trunk@6592 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:45:31 +00:00
pinkerton%netscape.com
ae7de3af09 Added clickCountToOpen() and made some methods const.
git-svn-id: svn://10.0.0.236/trunk@6591 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:44:27 +00:00
pinkerton%netscape.com
5a5d658338 consolodate Post() and Post1() into one routine with one API.
git-svn-id: svn://10.0.0.236/trunk@6590 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:43:42 +00:00
pinkerton%netscape.com
aa7298e2ef Adding new behavior properties for tree view (rev/appr rjc)
git-svn-id: svn://10.0.0.236/trunk@6589 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:43:07 +00:00
buster%netscape.com
3fbc040e9a fix for distributing spanned width that is less than the column minimums it spans.
git-svn-id: svn://10.0.0.236/trunk@6588 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:23:01 +00:00
michaelp%netscape.com
547a56e5a1 fixed webcrawler relater build bustage.
git-svn-id: svn://10.0.0.236/trunk@6587 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:05:32 +00:00
michaelp%netscape.com
2d351f43df fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@6586 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:00:35 +00:00
despotdaemon%netscape.com
0200b3b5d0 Pseudo-automatic update of changes made by av@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6585 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:54:20 +00:00
buster%netscape.com
d5270b8dea more span fixes
git-svn-id: svn://10.0.0.236/trunk@6584 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:47:54 +00:00
rods%netscape.com
1c3decd6bd Removed a debug printf
git-svn-id: svn://10.0.0.236/trunk@6583 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:30:49 +00:00
rods%netscape.com
4777c88f25 removed DO_SELECTION #define
git-svn-id: svn://10.0.0.236/trunk@6582 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:20:35 +00:00
kipp%netscape.com
f585f169b0 Fixed -p flag; fixed so that it exits on last window close
git-svn-id: svn://10.0.0.236/trunk@6581 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:19:06 +00:00
rods%netscape.com
9adea67d43 Added processing for the mouse up event
git-svn-id: svn://10.0.0.236/trunk@6580 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:17:10 +00:00
rods%netscape.com
03b9fd94cc Added drag scrolling, and event processing for mouse events
outside the scrolling view.


git-svn-id: svn://10.0.0.236/trunk@6579 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:14:31 +00:00
michaelp%netscape.com
1c0dd973b4 hooked up the plugin manager to the webshell.
git-svn-id: svn://10.0.0.236/trunk@6578 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:08:52 +00:00
kipp%netscape.com
feaa1ebcb4 Added max-pages
git-svn-id: svn://10.0.0.236/trunk@6577 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:01:06 +00:00
kipp%netscape.com
4ca88f4858 Limit crawling to a max number of pages
git-svn-id: svn://10.0.0.236/trunk@6576 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:00:50 +00:00
kipp%netscape.com
6f93197da6 Make crawler exit properly; added -N argument
git-svn-id: svn://10.0.0.236/trunk@6575 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:00:11 +00:00
kipp%netscape.com
13773b205c Skip over junky url's
git-svn-id: svn://10.0.0.236/trunk@6574 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:42:12 +00:00
kmcclusk%netscape.com
36ce6ff732 Added implementation for nsScrollbar::Create passing a nsNativeWidget.
Also check for nsnull cliprect in ScrollTo


git-svn-id: svn://10.0.0.236/trunk@6573 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:25:43 +00:00
kipp%netscape.com
c2707a82ec time to crawl
git-svn-id: svn://10.0.0.236/trunk@6572 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:16:13 +00:00
kipp%netscape.com
be3b2b8207 Use web crawler instead of doc loader; new argument support code for web crawler
git-svn-id: svn://10.0.0.236/trunk@6571 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:15:58 +00:00
kipp%netscape.com
d0f020831f Switch to nsWebCrawler
git-svn-id: svn://10.0.0.236/trunk@6570 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:15:30 +00:00
pinkerton%netscape.com
4b1663ca70 backing out dcone's addition of nsRelatedLinks.cpp to project.
git-svn-id: svn://10.0.0.236/trunk@6568 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:15:18 +00:00
despotdaemon%netscape.com
6ca35e3037 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6565 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:42:39 +00:00
dcone%netscape.com
5c399e2012 defined NS_IMPL_IDS for the mac build only
git-svn-id: svn://10.0.0.236/trunk@6564 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:37:49 +00:00
despotdaemon%netscape.com
10fb35f292 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6563 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:36:59 +00:00
michaelp%netscape.com
d4a702b3f9 documented GetClipView() API.
git-svn-id: svn://10.0.0.236/trunk@6562 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:30:14 +00:00
dcone%netscape.com
3a46dd85d5 fixed up the project to use the cross platform files
git-svn-id: svn://10.0.0.236/trunk@6561 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:26:29 +00:00
terry%netscape.com
cc89ce6837 Expand email addresses properly when sending tree opened, tree closed notices.
git-svn-id: svn://10.0.0.236/trunk@6560 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:10:16 +00:00
kostello%netscape.com
41a83c0d74 Really fix unix build bustage
git-svn-id: svn://10.0.0.236/trunk@6559 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:10:02 +00:00
michaelp%netscape.com
a9864345c6 made color handling code in css part of the gfx color utilities.
git-svn-id: svn://10.0.0.236/trunk@6557 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:07:47 +00:00
terry%netscape.com
d0c9a2719a Munge the username to a proper email address before sending mail.
git-svn-id: svn://10.0.0.236/trunk@6556 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 20:57:51 +00:00
ramiro%netscape.com
3e4135e7f3 Remove un needed xmversion.sh. The file has been 'cvs rm'ed already.
git-svn-id: svn://10.0.0.236/trunk@6555 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 20:57:31 +00:00
terry%netscape.com
860721ac93 Deal better with % in the middle of usernames.
git-svn-id: svn://10.0.0.236/trunk@6554 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 20:53:06 +00:00
despotdaemon%netscape.com
2e70f238d8 Pseudo-automatic update of changes made by gordon@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6553 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 20:40:17 +00:00
dcone%netscape.com
810d77c032 defined a mac WH_TempName for modular Netlib. Raptor change.
git-svn-id: svn://10.0.0.236/trunk@6552 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:53:51 +00:00
dcone%netscape.com
b27a458d85 turned on the compilation of mkstream.c
git-svn-id: svn://10.0.0.236/trunk@6551 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:50:40 +00:00
donm%netscape.com
d55464fe49 fixing build bustage on linux.
git-svn-id: svn://10.0.0.236/trunk@6550 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:27:12 +00:00
kostello%netscape.com
559cf2d43a Removed DoCopy for all but the Win32 build. We are
having build problems because of the ostrstream class.


git-svn-id: svn://10.0.0.236/trunk@6549 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:26:18 +00:00
kostello%netscape.com
0b713b26ad Fix UNIX bustage
git-svn-id: svn://10.0.0.236/trunk@6548 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:11:51 +00:00
kostello%netscape.com
2469387b1d Fix build problem
git-svn-id: svn://10.0.0.236/trunk@6547 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:52:31 +00:00
kostello%netscape.com
aefcc6d34a Implemented DoCopy to put HTML on the pasteboard
Added Dialog for DoDebugSave


git-svn-id: svn://10.0.0.236/trunk@6546 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:17:07 +00:00
kostello%netscape.com
d4d89af1ef Moved pretty printing interfaces inside implementation of nsHTMLContentSinkStream
Added interfaces to turn pretty printing on/off -- support for copy/paste


git-svn-id: svn://10.0.0.236/trunk@6545 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:16:01 +00:00
kostello%netscape.com
8835c76c61 Added support for the copy command (converting the selection to XIF)
Changed XIF interface


git-svn-id: svn://10.0.0.236/trunk@6544 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:11:14 +00:00
kostello%netscape.com
0442716683 Added support for saving the selection (important for copy).
Change XIF interfaces


git-svn-id: svn://10.0.0.236/trunk@6543 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:08:58 +00:00
kipp%netscape.com
0ea28e0b66 Fixed a top-100 url
git-svn-id: svn://10.0.0.236/trunk@6542 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:55 +00:00
kostello%netscape.com
167baa01ed Added support for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
Changed XIF interfaces


git-svn-id: svn://10.0.0.236/trunk@6541 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:35 +00:00
kipp%netscape.com
9d6b2116f7 Some hackery for image documents
git-svn-id: svn://10.0.0.236/trunk@6540 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:34 +00:00
kipp%netscape.com
f69df9e46f Added some trace messages
git-svn-id: svn://10.0.0.236/trunk@6539 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:11 +00:00
kipp%netscape.com
7a8119443f Disable releasing atoms for now
git-svn-id: svn://10.0.0.236/trunk@6538 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:04:58 +00:00
kipp%netscape.com
2504bb6855 Added some more logging; discard dangling frame's
git-svn-id: svn://10.0.0.236/trunk@6537 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:04:38 +00:00
kostello%netscape.com
04527bd3a6 Changed XIF interface
git-svn-id: svn://10.0.0.236/trunk@6536 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:04:04 +00:00
kostello%netscape.com
277877cda2 Added method for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.


git-svn-id: svn://10.0.0.236/trunk@6535 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:03:16 +00:00
kipp%netscape.com
6bf078cf47 Added nsImageDocument
git-svn-id: svn://10.0.0.236/trunk@6534 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:01:06 +00:00
kipp%netscape.com
54fea7573f snapshot
git-svn-id: svn://10.0.0.236/trunk@6533 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:55:17 +00:00
kipp%netscape.com
68f4e124c0 REference NS_NewImageDocument too
git-svn-id: svn://10.0.0.236/trunk@6532 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:51:56 +00:00
kipp%netscape.com
951f0e17ca Added NS_NewImageDocument
git-svn-id: svn://10.0.0.236/trunk@6531 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:51:42 +00:00
kipp%netscape.com
bbdead3958 Fixed a typo
git-svn-id: svn://10.0.0.236/trunk@6530 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:51:17 +00:00
kipp%netscape.com
2dd71806c2 new
git-svn-id: svn://10.0.0.236/trunk@6529 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:50:58 +00:00
cmanske%netscape.com
2907537361 Tweaked return key handling to pay attention to m_bUseCurrentTextFormat value when adjusting text format
git-svn-id: svn://10.0.0.236/trunk@6528 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:34:48 +00:00
dcone%netscape.com
be2fb0c641 added some manifest support for layout/event includes
git-svn-id: svn://10.0.0.236/trunk@6527 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:30:48 +00:00
dcone%netscape.com
833f51e679 Added nsEventListenerManager.h
git-svn-id: svn://10.0.0.236/trunk@6526 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:29:58 +00:00
dcone%netscape.com
2785da3077 added nsIStateManager.h, nsIEventListenerManager.h, nsIPrivateDOMEvent.h
git-svn-id: svn://10.0.0.236/trunk@6525 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:29:24 +00:00
hardts%netscape.com
ddbb64f57e landing MODULAR_IMGLIB_BRANCH
git-svn-id: svn://10.0.0.236/trunk@6524 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:14:32 +00:00
cmanske%netscape.com
3e2fbbd7f5 Added check for null pointer in lo_ValidEditableElement
git-svn-id: svn://10.0.0.236/trunk@6523 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:14:29 +00:00
hardts%netscape.com
198fb52d49 renaming .c files to .cpp for landing MODULAR_IMGLIB_BRANCH
git-svn-id: svn://10.0.0.236/trunk@6522 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:12:07 +00:00
cmanske%netscape.com
25cc9f3bac Implemented smart detection of character format (to be used for next text type) depending on last arrow key usage
git-svn-id: svn://10.0.0.236/trunk@6521 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 15:45:27 +00:00
cmanske%netscape.com
55eee39394 Fixed problem with deleting Meta tag entry in Composer dialog
git-svn-id: svn://10.0.0.236/trunk@6520 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 15:42:24 +00:00
dcone%netscape.com
701aa2cc9f Added manifiest file so the nsIEventListenerManager could be public
git-svn-id: svn://10.0.0.236/trunk@6519 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 15:30:14 +00:00
dcone%netscape.com
0d71371179 Added this file so nsEventListenerManager.h is public
git-svn-id: svn://10.0.0.236/trunk@6518 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 14:41:36 +00:00
ramiro%netscape.com
0a7ca31ae0 Add xfe pref for toggling PORT and PASV ftp modes.
Thanks to Christopher Seawood <cls@seawood.org>.


git-svn-id: svn://10.0.0.236/trunk@6516 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 11:19:28 +00:00
ramiro%netscape.com
d54301919c Add xfe pref for toggling PORT and PASV ftp modes.
Thanks to Christopher Seawood <cls@seawood.org>.


git-svn-id: svn://10.0.0.236/trunk@6515 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 10:41:02 +00:00
buster%netscape.com
e61f20a237 empty cells do not render border or background color
git-svn-id: svn://10.0.0.236/trunk@6514 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 07:37:57 +00:00
buster%netscape.com
d257e2c1e8 minor fixes for spans
git-svn-id: svn://10.0.0.236/trunk@6513 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 07:20:03 +00:00
karnaze%netscape.com
70d80c6f21 more robust frameset layout; <frame>, <iframe> borders; reenabled scrolling attr for <iframe>
git-svn-id: svn://10.0.0.236/trunk@6512 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 05:59:37 +00:00
buster%netscape.com
97be0fee7f cleaner version of earlier code. still buggy on some pages for no apparent reason.
git-svn-id: svn://10.0.0.236/trunk@6511 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 05:32:50 +00:00
cmanske%netscape.com
450a45329e Fixed Composer bug 153443. Move delete button in meta tag editor. Changed tab labels in Table property dialogs
git-svn-id: svn://10.0.0.236/trunk@6510 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 04:46:11 +00:00
cmanske%netscape.com
69bc9b643f Fixed Composer bug 227527 - Implemented autodelete of single space in table cell when new text is typed.
git-svn-id: svn://10.0.0.236/trunk@6509 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 04:17:18 +00:00
buster%netscape.com
5eeba2d305 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6508 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 03:02:32 +00:00
buster%netscape.com
c017339e1c much better handling of tables who have fixed-width columns that make the table wider than it is allowed to be
added some sanity checking in BalanceColumnWidths be ensure that a column width
can never be less than the minimum element in that column.


git-svn-id: svn://10.0.0.236/trunk@6507 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 02:15:37 +00:00
cmanske%netscape.com
0de1753c64 Added detection of element clicked on to determine text format to use
git-svn-id: svn://10.0.0.236/trunk@6506 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 02:01:51 +00:00
troy%netscape.com
d5bd3a30e4 Added a #undef NS_EXPORT_ before defining it so that we don't get all
the warnings. Our definition is defined differently than in nsCom.h in
xpcom. The problem with the way it's defined in xpcom is that the 4.x
compiler generates a compiler error


git-svn-id: svn://10.0.0.236/trunk@6505 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 01:42:13 +00:00
cmanske%netscape.com
3818c4e571 Fixed lots of Composer bugs, modified property dialogs for tables, images; menu updates
git-svn-id: svn://10.0.0.236/trunk@6504 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 01:18:38 +00:00
cmanske%netscape.com
82028137ff Lots of Composer bug fixes and continued work on table and list editing
git-svn-id: svn://10.0.0.236/trunk@6503 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 01:09:58 +00:00
troy%netscape.com
7362b47fb3 Defined macros for Unix and Mac
git-svn-id: svn://10.0.0.236/trunk@6502 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 00:45:35 +00:00
michaelp%netscape.com
9137aba336 changed order of stuff in new macros.
git-svn-id: svn://10.0.0.236/trunk@6501 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 00:32:36 +00:00
cmanske%netscape.com
1fd568b4a9 Added comments for no-longer supported alignments for Composer
git-svn-id: svn://10.0.0.236/trunk@6500 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 00:01:18 +00:00
troy%netscape.com
ae50bd2628 Combined raptorgfx.dll and raptorgfxwin.dll into one DLL
git-svn-id: svn://10.0.0.236/trunk@6499 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 23:52:36 +00:00
troy%netscape.com
33313b0fda Added some variants of NS_EXPORT and NS_IMPORT that take a type and
declare the function __stdcall


git-svn-id: svn://10.0.0.236/trunk@6498 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 23:40:58 +00:00
michaelp%netscape.com
35726078d4 a tiny fix for scrollbars in scrolling views made without a widget association.
git-svn-id: svn://10.0.0.236/trunk@6497 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 23:32:33 +00:00
michaelp%netscape.com
89fd53967c fixed troy's bustage.
git-svn-id: svn://10.0.0.236/trunk@6496 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 23:25:05 +00:00
troy%netscape.com
a9d89fc3c0 Added DeviceContextImpl base class
git-svn-id: svn://10.0.0.236/trunk@6495 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 04:28:48 +00:00
michaelp%netscape.com
fa4330329c form elements, etc. (i.e. sub widgets) now scroll smoothly.
git-svn-id: svn://10.0.0.236/trunk@6494 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 04:24:42 +00:00
buster%netscape.com
a264875bff COLS attribute ignored if any column width info is specified (like <TD width=100>)
fixed lots of COLS related bugs.
handle min width spec (<TD width=0 or width=0% or width=0*>)
major fix to colspan handling


git-svn-id: svn://10.0.0.236/trunk@6493 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 04:23:01 +00:00
ramiro%netscape.com
ab5b0557eb Insert an intermediate cast when casting (void *) to enum. Fixes the OSF
build.
Thanks to wtc@netscape.com for providing the fix.


git-svn-id: svn://10.0.0.236/trunk@6492 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 08:26:42 +00:00
wtc%netscape.com
c269e80a83 Use -std1 (strict ANSI C) instead of -std (ANSI C but allows common
programming practices disallowed by the standard).  Define OSF1V4
for all V4.x versions.


git-svn-id: svn://10.0.0.236/trunk@6487 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 04:58:47 +00:00
wtc%netscape.com
3bb3e18910 We should not use -I/usr/include/machine. That is not the right way
to fix the endian.h inclusion problem in mcom_db.h.  We should fix
mcom_db.h to say:
#ifdef __osf__
#include <machine/endian.h>
#endif
Using -I/usr/include/machine will pull in <machine/signal.h>, which
is incompatible with the intended <signal.h>.


git-svn-id: svn://10.0.0.236/trunk@6483 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 04:46:55 +00:00
peterl%netscape.com
e51bea9ab6 fixed build on unix
git-svn-id: svn://10.0.0.236/trunk@6482 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:17:13 +00:00
racham%netscape.com
10c921aa07 Corrected NPL comment style.
git-svn-id: svn://10.0.0.236/trunk@6481 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:15:52 +00:00
racham%netscape.com
d9d6119f49 BUG 181242 : ASE 1step&2step sync-up. Corrected path for windows ACCTSET.INI file
git-svn-id: svn://10.0.0.236/trunk@6480 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:11:54 +00:00
rickg%netscape.com
192449c4bc warning removal
git-svn-id: svn://10.0.0.236/trunk@6479 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:11:02 +00:00
racham%netscape.com
753fbc325b BUG 181242 : ASE 1step & 2step sync-up. Added check box to control OneStepMode Flag.
git-svn-id: svn://10.0.0.236/trunk@6478 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:09:30 +00:00
racham%netscape.com
ffdc7c9c14 BUG 181242 : ASE sync-up between 1step and 2step worlds. Added OneStepMode flag handling.
git-svn-id: svn://10.0.0.236/trunk@6477 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:07:10 +00:00
joki%netscape.com
f59e41e644 Fix for unitialized var and missing add/release ref pair in the GetScriptGlobalObject call
git-svn-id: svn://10.0.0.236/trunk@6476 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:53:54 +00:00
joki%netscape.com
30a68f1ef5 Fix for missing add/release ref pair in the GetScriptGlobalObject call
git-svn-id: svn://10.0.0.236/trunk@6475 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:53:15 +00:00
racham%netscape.com
64042f998a BUG 181240 : added OneStepMode flag (OneStepMode=no)
git-svn-id: svn://10.0.0.236/trunk@6474 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:35:03 +00:00
racham%netscape.com
d0876ea50f BUG 181240 : added control statements to decide 1step vs 2step
git-svn-id: svn://10.0.0.236/trunk@6473 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:29:14 +00:00
peterl%netscape.com
3fd424e374 added accessor for html style sheet
git-svn-id: svn://10.0.0.236/trunk@6472 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:26:12 +00:00
racham%netscape.com
50f3cd6f98 BUG 181240 : 1step vs 2step changes
git-svn-id: svn://10.0.0.236/trunk@6471 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:22:46 +00:00
peterl%netscape.com
1be2f50f93 added font scaling support
git-svn-id: svn://10.0.0.236/trunk@6470 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:22:10 +00:00
peterl%netscape.com
f13e8293ce made anchor pseudo classes not resolve unless anchor has an href
git-svn-id: svn://10.0.0.236/trunk@6469 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:21:47 +00:00
peterl%netscape.com
f22a2a560b added body link color support
git-svn-id: svn://10.0.0.236/trunk@6468 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:20:48 +00:00
peterl%netscape.com
d9316198c0 added bosy link color support
added font scaling support


git-svn-id: svn://10.0.0.236/trunk@6467 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:17:42 +00:00
vidur%netscape.com
b1a93e7680 Added recursive document.write
git-svn-id: svn://10.0.0.236/trunk@6465 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:13:23 +00:00
peterl%netscape.com
b04e60046d added Nav's magic font scaler
git-svn-id: svn://10.0.0.236/trunk@6464 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:11:49 +00:00
rickg%netscape.com
d59fdb0f14 fixed a state problem in parser related to nesting levels
git-svn-id: svn://10.0.0.236/trunk@6463 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:02:01 +00:00
vidur%netscape.com
62319c5f57 Added methods to nsINetService to get and set cookie string for a URL
git-svn-id: svn://10.0.0.236/trunk@6459 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:32:32 +00:00
vidur%netscape.com
640de09889 Added document.cookie. HTMLCollection.namedItem looks for both NAME and ID attributes
git-svn-id: svn://10.0.0.236/trunk@6458 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:31:52 +00:00
rickg%netscape.com
1cc0a2a7f3 added line number support to nodes for Javascript
git-svn-id: svn://10.0.0.236/trunk@6457 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:29:15 +00:00
rickg%netscape.com
3e91f727ac even more progress in the parser
git-svn-id: svn://10.0.0.236/trunk@6456 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:05:29 +00:00
kin%netscape.com
b5ea9e187d Fix for 5.0SF1 in bug #300901: Lose <br> inside a cell in a table
Modified lo_LayoutTag() to set hard linebreaks for NSDTs.
Reviewed by toshok and nisheeth.


git-svn-id: svn://10.0.0.236/trunk@6455 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:59:46 +00:00
vidur%netscape.com
96502a2a0f Added PR_EXTERN_C macros necessry for Raptor
git-svn-id: svn://10.0.0.236/trunk@6454 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:52:27 +00:00
morse%netscape.com
f43582b3bb fix bug 309831, reviewed by gagan
git-svn-id: svn://10.0.0.236/trunk@6453 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:38:25 +00:00
waterson%netscape.com
dd6486ad2f Removed until approval from modul owner.
git-svn-id: svn://10.0.0.236/trunk@6452 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:33:15 +00:00
rickg%netscape.com
45deb3064c first pass at getting javascript to work in parser
git-svn-id: svn://10.0.0.236/trunk@6451 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:29:30 +00:00
akkana%netscape.com
aa5e0e516c New composer Table menu.
git-svn-id: svn://10.0.0.236/trunk@6449 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:26:39 +00:00
buster%netscape.com
de71f78fb7 NOWRAP turned off in fixed-width cells for backwards compatibility
we handle inconsistent width attributes better


git-svn-id: svn://10.0.0.236/trunk@6448 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:26:23 +00:00
akkana%netscape.com
9fb0d085b6 Strings for table menu and replace dialog
git-svn-id: svn://10.0.0.236/trunk@6447 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:26:05 +00:00
akkana%netscape.com
a5d27ceb5d Split off find dialog into new file; add optional Replace functionality to it.
git-svn-id: svn://10.0.0.236/trunk@6446 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:25:16 +00:00
mccabe%netscape.com
171803661a typedef of int64 for osf now avoids long long - because long long is a
compiler extension, and we want to be able to turn off compiler
extensions for osf.  And longs are long long there anyway.

Propagated from nspr, courtesy wtc.


git-svn-id: svn://10.0.0.236/trunk@6445 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:12:09 +00:00
waterson%netscape.com
eaad300991 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@6444 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:07:58 +00:00
kin%netscape.com
3c85661c1e Fix for bug #300809: Composer adds and deletes tags; bad image display;
HTML does not validate
Modified CEditContainerElement::PrintEnd() to fix problem where we were
not closing all CENTER tags.


git-svn-id: svn://10.0.0.236/trunk@6443 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:04:39 +00:00
blythe%netscape.com
5e83276d6e Fix a few pref calls to check or assert for errors
git-svn-id: svn://10.0.0.236/trunk@6442 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:56:50 +00:00
danm%netscape.com
9cc5d97580 fixing glowcode build stompage from landing of jpeg branch
git-svn-id: svn://10.0.0.236/trunk@6441 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:49:02 +00:00
waterson%netscape.com
b2e56958d6 Fixed MOZ_PROF to include symbols, build optimized.
git-svn-id: svn://10.0.0.236/trunk@6438 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:47:22 +00:00
waterson%netscape.com
d161cfc014 Fixed MOZ_PROF to build optimized with symbols.
git-svn-id: svn://10.0.0.236/trunk@6437 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:46:44 +00:00
blythe%netscape.com
3af887bde9 VC6 support, aprvd Suresh Duddi
git-svn-id: svn://10.0.0.236/trunk@6436 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:46:04 +00:00
blythe%netscape.com
2fe9fa8ecb VC6 support, aprvd module owner
git-svn-id: svn://10.0.0.236/trunk@6435 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:45:25 +00:00
timm%netscape.com
aa0dbf56cd turn off trace in non-debug builds
git-svn-id: svn://10.0.0.236/trunk@6434 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:43:39 +00:00
timm%netscape.com
890b559654 add GetISPSupportPhoneNumber
git-svn-id: svn://10.0.0.236/trunk@6433 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:42:52 +00:00
timm%netscape.com
716900606e remove trace statements
git-svn-id: svn://10.0.0.236/trunk@6432 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:42:14 +00:00
robinf%netscape.com
c52e5c3bcb fixed corrupted file
git-svn-id: svn://10.0.0.236/trunk@6431 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:41:58 +00:00
timm%netscape.com
12cf6870b1 fix path bug
git-svn-id: svn://10.0.0.236/trunk@6430 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:41:37 +00:00
timm%netscape.com
d3f0b6a904 add isp support number window
git-svn-id: svn://10.0.0.236/trunk@6429 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:41:21 +00:00
timm%netscape.com
adde46a635 make sure to rm ispplans.htm
git-svn-id: svn://10.0.0.236/trunk@6428 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:41:04 +00:00
timm%netscape.com
d6c49742c1 was going to wrong error page
git-svn-id: svn://10.0.0.236/trunk@6427 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:40:04 +00:00
robinf%netscape.com
18615611ed Main.htm: removed text about profiles; dialinf1.htm: reworded description of outside line dialing prefix
git-svn-id: svn://10.0.0.236/trunk@6426 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:39:42 +00:00
clayton
a8566748df Fixed some constant handling for constants that return strings or other
non-numeric data.  Fixes problem with LDAP_OPT_ON/LDAP_OPT_OFF.


git-svn-id: svn://10.0.0.236/trunk@6425 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:31:03 +00:00
rickg%netscape.com
a927f7ef63 tons-o-fixes in the parser
git-svn-id: svn://10.0.0.236/trunk@6422 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:57:43 +00:00
michaelp%netscape.com
d6b827040d re-added optimization with the ability to use it anywhere by setting the
NS_VMREFRESH_AUTO_DOUBLE_BUFFER when calling UpdateView().


git-svn-id: svn://10.0.0.236/trunk@6421 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:49:02 +00:00
michaelp%netscape.com
e54b780b41 backed out change for a moment.
git-svn-id: svn://10.0.0.236/trunk@6420 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:32:02 +00:00
michaelp%netscape.com
62cb870d39 re-added conditional double buffering based on screen area thresholding.
git-svn-id: svn://10.0.0.236/trunk@6419 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:29:47 +00:00
kostello%netscape.com
3b64843424 Added SetDefaultString for the Save dialog
git-svn-id: svn://10.0.0.236/trunk@6418 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:12:19 +00:00
michaelp%netscape.com
b8cc27a234 added APIs to viewmanager to enable and disable all rendering.
made Refresh() APIs of viewmanager implementation private.


git-svn-id: svn://10.0.0.236/trunk@6417 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:05:50 +00:00
sman%netscape.com
461d137537 libmime updates: security cleansing
git-svn-id: svn://10.0.0.236/trunk@6416 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:05:24 +00:00
rpotts%netscape.com
1d8ecc8b94 Get rid of those unix warnings...
git-svn-id: svn://10.0.0.236/trunk@6415 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:03:33 +00:00
rpotts%netscape.com
ce01187b95 Get rid of some unix warnings...
git-svn-id: svn://10.0.0.236/trunk@6414 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 20:53:38 +00:00
sman%netscape.com
ae398f4411 libmime updates: move crypto into rosetta
git-svn-id: svn://10.0.0.236/trunk@6413 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 20:47:34 +00:00
clayton
4ea2e640fb - Moved everything from @EXPORT to @EXPORT_OK and %EXPORT_TAGS
- Removed references to 'donley@cig.mot.com' substituted 'donley@wwa.com'


git-svn-id: svn://10.0.0.236/trunk@6411 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 19:01:51 +00:00
kipp%netscape.com
4ae741811a snapshot
git-svn-id: svn://10.0.0.236/trunk@6410 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:20:55 +00:00
kipp%netscape.com
01a663f33e Added base tag support
git-svn-id: svn://10.0.0.236/trunk@6409 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:20:27 +00:00
kipp%netscape.com
01768db263 support base href/target
git-svn-id: svn://10.0.0.236/trunk@6408 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:18:05 +00:00
kipp%netscape.com
d66f99c127 Support base_href attributes
git-svn-id: svn://10.0.0.236/trunk@6407 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:17:36 +00:00
kipp%netscape.com
11ea3f2bd6 New atoms for base tag handling
git-svn-id: svn://10.0.0.236/trunk@6406 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:16:24 +00:00
kipp%netscape.com
dc04c5339f Handle absolute url's better
git-svn-id: svn://10.0.0.236/trunk@6405 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:16:05 +00:00
dcone%netscape.com
c0015d5b1d New file for the macintosh main viewer routine
git-svn-id: svn://10.0.0.236/trunk@6404 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 17:19:44 +00:00
buster%netscape.com
2f95de4aac turn off debug
git-svn-id: svn://10.0.0.236/trunk@6403 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 17:15:12 +00:00
buster%netscape.com
5c09b61055 GetColCount now returns the effective column count of the table, adjusted
for nonsense COLSPANs at the edge of a table.  Fixed some bugs this uncovered
where the cell was being asked for its colspan attribute rather than the table
being asked for the cell's effective col span.


git-svn-id: svn://10.0.0.236/trunk@6402 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:51:16 +00:00
kipp%netscape.com
44408c2dc0 Check style unit before translating relative position coords
git-svn-id: svn://10.0.0.236/trunk@6401 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:22:54 +00:00
despotdaemon%netscape.com
8a69b9ef71 Pseudo-automatic update of changes made by harishd@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6400 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:16:23 +00:00
kipp%netscape.com
e573e3c06b Futz the fonts a bit to make it look a little softer
git-svn-id: svn://10.0.0.236/trunk@6399 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:03:11 +00:00
kipp%netscape.com
927512c9f4 Allow most everything to live in a caption, just like a table cell
git-svn-id: svn://10.0.0.236/trunk@6398 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:54:18 +00:00
clayton
2b5a9cae67 Adding write.pl test program - again...
git-svn-id: svn://10.0.0.236/trunk@6397 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:35:52 +00:00
clayton
faaa021048 Actually adding the files that were under t/
git-svn-id: svn://10.0.0.236/trunk@6396 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:32:08 +00:00
clayton
752e571041 Moved t to test_api, as 't' is a special use directory for running multiple
automated tests.  Perhaps we will change our tests to run this way in
   the future, but until then, it breaks 'make test'.


git-svn-id: svn://10.0.0.236/trunk@6395 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:21:41 +00:00
spider%netscape.com
6a5a9ab7c7 Pull JULIAN_TREX_BRANCH instead of Nav45
git-svn-id: svn://10.0.0.236/trunk@6394 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:20:54 +00:00
clayton
fd87d7144a Fixed conflicts from last checkin.
git-svn-id: svn://10.0.0.236/trunk@6393 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:19:10 +00:00
spider%netscape.com
bd3d6d162c Pull JULIAN_TREX_BRANCH rather than Nav45_BRANCH
git-svn-id: svn://10.0.0.236/trunk@6392 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 14:48:51 +00:00
spider%netscape.com
179d62077d If MOZ_DEBUG set, force USE_DEBUG_RTL
git-svn-id: svn://10.0.0.236/trunk@6391 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 14:27:06 +00:00
spider%netscape.com
83deae3fe0 Module Specific Error Generation
git-svn-id: svn://10.0.0.236/trunk@6390 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 13:47:09 +00:00
rpotts%netscape.com
b174cb490f Added IStreamListener::OnStatus(...)...
git-svn-id: svn://10.0.0.236/trunk@6389 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 10:02:50 +00:00
morse%netscape.com
6d7c9aeb3e fix build bustage
git-svn-id: svn://10.0.0.236/trunk@6388 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 08:27:56 +00:00
morse%netscape.com
00f1429fcc moved variables from FE to BE, reviewed by dfm
git-svn-id: svn://10.0.0.236/trunk@6386 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 07:29:38 +00:00
morse%netscape.com
4f1c5ed789 moved some privacy variables from FE to BE, reviewed by blythe
git-svn-id: svn://10.0.0.236/trunk@6385 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 07:26:46 +00:00
morse%netscape.com
1fe6378eb7 remove receipt transactions from emenu, reviewed by blythe
git-svn-id: svn://10.0.0.236/trunk@6384 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 07:21:37 +00:00
morse%netscape.com
a218080548 add prefs for privacy features
git-svn-id: svn://10.0.0.236/trunk@6383 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 07:19:42 +00:00
rpotts%netscape.com
3f44a70bba When stopping a TextTimer Cancel(...) the nsTimer before releasing it...
git-svn-id: svn://10.0.0.236/trunk@6381 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:41:34 +00:00
rpotts%netscape.com
9b3fc28076 Fixed up some reference counting issues...
git-svn-id: svn://10.0.0.236/trunk@6380 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:39:18 +00:00
rpotts%netscape.com
dcf0540afc Removed an incorrect comment...
git-svn-id: svn://10.0.0.236/trunk@6379 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:33:29 +00:00
joki%netscape.com
0b0de7e5d8 Adding GetScriptGlobalObject function to nsIScriptContextOwner interface
git-svn-id: svn://10.0.0.236/trunk@6378 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:07:51 +00:00
joki%netscape.com
5333c0c290 Adding a few more events types.
git-svn-id: svn://10.0.0.236/trunk@6377 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:07:07 +00:00
joki%netscape.com
fb49c0d645 Hooking up window element to event chain and adding in support for a few more event types.
git-svn-id: svn://10.0.0.236/trunk@6376 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:06:44 +00:00
joki%netscape.com
ff52657708 Hooking up the 'window' object into the event chain.
git-svn-id: svn://10.0.0.236/trunk@6375 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:05:42 +00:00
timm%netscape.com
169e3faf3a 242587 change text on page to UI spec
git-svn-id: svn://10.0.0.236/trunk@6374 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:05:17 +00:00
timm%netscape.com
158355fa13 300984 fix feature icons
git-svn-id: svn://10.0.0.236/trunk@6373 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:01:14 +00:00
timm%netscape.com
fa69365814 added abililty to make release builds
git-svn-id: svn://10.0.0.236/trunk@6372 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:36:26 +00:00
timm%netscape.com
f2b16bf5ec make level match
git-svn-id: svn://10.0.0.236/trunk@6371 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:35:58 +00:00
timm%netscape.com
58dea11975 added call to generate compare page contents
git-svn-id: svn://10.0.0.236/trunk@6370 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:35:20 +00:00
timm%netscape.com
a7b6073bb3 renamed message to setMessage and remove_message to clearMessage
git-svn-id: svn://10.0.0.236/trunk@6369 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:34:20 +00:00
timm%netscape.com
be48a74d02 fixed javascript ids
git-svn-id: svn://10.0.0.236/trunk@6368 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:33:48 +00:00
timm%netscape.com
1ef3f5a16c added functionality for more info page
git-svn-id: svn://10.0.0.236/trunk@6367 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:33:22 +00:00
brade%netscape.com
b4266e4fea make editor call API change
git-svn-id: svn://10.0.0.236/trunk@6366 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:15:11 +00:00
brade%netscape.com
f1ce19d2c1 remove warnings on Macintosh; clean up internal API calls
git-svn-id: svn://10.0.0.236/trunk@6365 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:14:39 +00:00
brade%netscape.com
0e8f476059 remove warnings on Macintosh; clean up internal API calls
(if'd out for now)


git-svn-id: svn://10.0.0.236/trunk@6364 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:12:58 +00:00
brade%netscape.com
29d322c2d2 remove warnings on Macintosh; clean up internal API calls
git-svn-id: svn://10.0.0.236/trunk@6363 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:05:16 +00:00
brade%netscape.com
b237fb9611 fix warnings (only for Macintosh)
git-svn-id: svn://10.0.0.236/trunk@6362 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 03:58:28 +00:00
buster%netscape.com
37153913f6 fixed column balancing for case where minColWidth > specifiedFixedColumnWidth
git-svn-id: svn://10.0.0.236/trunk@6361 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 03:53:59 +00:00
troy%netscape.com
1de4ef58fe Changed PaintChildren() to check for lines that intersect the damage
area


git-svn-id: svn://10.0.0.236/trunk@6359 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 03:18:35 +00:00
despotdaemon%netscape.com
d95db16f30 Pseudo-automatic update of changes made by mjudge@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6356 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 03:05:22 +00:00
brade%netscape.com
e8fbbb15f2 fix warning on Macintosh
git-svn-id: svn://10.0.0.236/trunk@6354 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:56:47 +00:00
brade%netscape.com
5c1e57c90a new resizing; cursor stuff; other stuff
git-svn-id: svn://10.0.0.236/trunk@6353 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:55:23 +00:00
scullin%netscape.com
ee9b5b7370 Really fix cookies for modular netlib.
git-svn-id: svn://10.0.0.236/trunk@6352 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:34:52 +00:00
blythe%netscape.com
d27423a88c aprvd Scott Furman, changes to support VC6 compiler
git-svn-id: svn://10.0.0.236/trunk@6351 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:30:02 +00:00
blythe%netscape.com
7257a7479d VC6 compiler support changes, editor files reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@6350 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:12:13 +00:00
despotdaemon%netscape.com
23ac6801ae Pseudo-automatic update of changes made by harishd@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6349 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:10:18 +00:00
despotdaemon%netscape.com
fb4ca610ec Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6348 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:03:54 +00:00
wtc%netscape.com
94bbe5a07a Merged Linux/MIPS patch contributed by Ralf <ralf@uni-koblenz.de>.
Files changed: _linux.cfg and _linux.h.


git-svn-id: svn://10.0.0.236/trunk@6347 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:52:44 +00:00
pierre%netscape.com
8776327b1e Back to MOZ_MEDIUM: updated the splashscreen.
git-svn-id: svn://10.0.0.236/trunk@6346 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:52:00 +00:00
blythe%netscape.com
8c1000970a Support VC6 compiler
git-svn-id: svn://10.0.0.236/trunk@6345 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:48:33 +00:00
buster%netscape.com
ec0b3d1318 any table with a nonsense rowspan lays out better
git-svn-id: svn://10.0.0.236/trunk@6344 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:43:09 +00:00
akkana%netscape.com
1021fec2f1 244341: infinite loop/hang in text layout. Reviewed by Nisheeth.
Thanks to Matthew Dillon <dillon@backplane.com> for the fix!


git-svn-id: svn://10.0.0.236/trunk@6343 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:39:30 +00:00
michaelp%netscape.com
8e0db3595b fixed resource leak.
git-svn-id: svn://10.0.0.236/trunk@6342 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:29:17 +00:00
clu%netscape.com
c5602959cb #71523; reviewed by jfrancis.
Added EDITDLG_BROWSE_PUBLISHED, a new dialog resource id.


git-svn-id: svn://10.0.0.236/trunk@6341 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:22:35 +00:00
clu%netscape.com
1bf750dd57 #103493; #71523; #300239; reviewed by jfrancis.
1) Brings up extra-html help window.
2) Added a new dialog box to see if the user wants to browse the the default location after publishing.  
3) Selects the row field when the table info dialog box first pops up.


git-svn-id: svn://10.0.0.236/trunk@6340 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:20:48 +00:00
slamm%netscape.com
624b40b849 Clear dropdown history in location bar when the user clears the history (in Prefs). Bug #114674 (P1 & TS1). This change also keeps all the dropdown lists in sync.
git-svn-id: svn://10.0.0.236/trunk@6339 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:19:21 +00:00
clu%netscape.com
459baf5730 #300236; #300209; #300231.
New layout in table and cell dialogs.  Also changed tab order in table info, and disable/enable popup menus in table info correctly.


git-svn-id: svn://10.0.0.236/trunk@6338 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:15:34 +00:00
clu%netscape.com
bd6227ad48 #300219 and #67722; reviewed by jfrancis.
Fixed carret redrawing in tables.  Also fixed bullet undo/redo.


git-svn-id: svn://10.0.0.236/trunk@6337 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:10:09 +00:00
troy%netscape.com
6ea9614ff6 CHanged Invalidate() to pass the NS_VMREFRESH_NO_SYNC flag. Temporary
measure to keep us from painting before the DidReflow() notifications
have been sent...


git-svn-id: svn://10.0.0.236/trunk@6336 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:01:53 +00:00
rjc%netscape.com
f070701e0c Bug fix re: HT_SetNodeData()
git-svn-id: svn://10.0.0.236/trunk@6335 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 23:51:12 +00:00
pinkerton%netscape.com
43591af1ce Fix bug where an infinite loop in the RDF data file could blow out the stack. Limits menu to 5 levels.
git-svn-id: svn://10.0.0.236/trunk@6334 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 23:48:46 +00:00
troy%netscape.com
8f713e8e5f Tweaked the repaint code in Reflow() to make sure the entire frame is
repainted for a resize reflow


git-svn-id: svn://10.0.0.236/trunk@6333 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 23:28:03 +00:00
kipp%netscape.com
1b1be3143d Use proper cast path for query-interfaces
git-svn-id: svn://10.0.0.236/trunk@6332 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 23:13:39 +00:00
vidur%netscape.com
e5d5261a5e Simple document.write test
git-svn-id: svn://10.0.0.236/trunk@6331 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:47:32 +00:00
vidur%netscape.com
9f87056a2e Added missing parameter to scanner constructor in the case where we're parsing a string
git-svn-id: svn://10.0.0.236/trunk@6330 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:46:48 +00:00
kmcclusk%netscape.com
03a157cd07 Added mAlphaBit field to prevent crashes when loading images in the viewer
git-svn-id: svn://10.0.0.236/trunk@6329 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:46:02 +00:00
scullin%netscape.com
6fed7dc68b Fix operator grouping warning.
git-svn-id: svn://10.0.0.236/trunk@6328 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:27:53 +00:00
bjorn%netscape.com
8b53ff3864 Restoring tree to previous version. Should not affect the build. The previous
checkin had no impact on the build either, but I'll wait with these changes until
the tree is open again. Sorry for the inconvenience.


git-svn-id: svn://10.0.0.236/trunk@6327 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:25:16 +00:00
michaelp%netscape.com
4235b6cfbb added libraptorplugin.so to link libs.
git-svn-id: svn://10.0.0.236/trunk@6326 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:12:09 +00:00
dcone%netscape.com
57e35a7302 added new manifest support for layout/base/src
git-svn-id: svn://10.0.0.236/trunk@6325 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:07:20 +00:00
vidur%netscape.com
73ae93f3a5 nsHTMLDocument now holds on to its parser till loading is complete. Hooked up document.write and document.writeln
git-svn-id: svn://10.0.0.236/trunk@6324 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:06:05 +00:00
dcone%netscape.com
dc272fac46 added manifest file
git-svn-id: svn://10.0.0.236/trunk@6323 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:05:51 +00:00
dcone%netscape.com
d5136b7105 fixed the project so the Async image file for nsImageContext is used
git-svn-id: svn://10.0.0.236/trunk@6322 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:04:02 +00:00
buster%netscape.com
73c07a04f5 completed AdjustTableThatIsTooWide, now gets the table down to the right width.
git-svn-id: svn://10.0.0.236/trunk@6321 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:55:45 +00:00
michaelp%netscape.com
6c788bcc59 unix will build again...
git-svn-id: svn://10.0.0.236/trunk@6320 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:54:26 +00:00
troy%netscape.com
c76ea311f7 Added XXX description of floater problem
git-svn-id: svn://10.0.0.236/trunk@6319 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:35:53 +00:00
troy%netscape.com
4bf14165ae Fixed nbody code to do a WillReflow() and to size the frame when incrementally
reflowing an absolutely positioned frame


git-svn-id: svn://10.0.0.236/trunk@6316 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:16:09 +00:00
rickg%netscape.com
55ada9fcc7 bug fixes; more docs; lots of new testing
git-svn-id: svn://10.0.0.236/trunk@6315 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:10:19 +00:00
michaelp%netscape.com
4ab5768050 removed double pull of plugins... oops again.
git-svn-id: svn://10.0.0.236/trunk@6314 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:02:31 +00:00
michaelp%netscape.com
6c911103de oops again...
git-svn-id: svn://10.0.0.236/trunk@6313 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:59:45 +00:00
michaelp%netscape.com
214d4a18ac oops.
git-svn-id: svn://10.0.0.236/trunk@6312 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:57:34 +00:00
michaelp%netscape.com
5828551631 modified to pull plugins.
git-svn-id: svn://10.0.0.236/trunk@6311 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:55:32 +00:00
dcone%netscape.com
6502e2da9d first version
git-svn-id: svn://10.0.0.236/trunk@6310 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:49:20 +00:00
bjorn%netscape.com
f507367ff5 New version of jsIScriptable.h (clobbers the old one). New files added for
testing (MyScriptable) and embedding support (JSWrapper,jsIScriptable,main).


git-svn-id: svn://10.0.0.236/trunk@6309 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:46:28 +00:00
michaelp%netscape.com
117c98f47a modified for new streaming APIs.
git-svn-id: svn://10.0.0.236/trunk@6308 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:43:08 +00:00
michaelp%netscape.com
5887cc994a added in plugins and cleaned up.
git-svn-id: svn://10.0.0.236/trunk@6306 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:36:48 +00:00
michaelp%netscape.com
d3c5fd6e43 cleaning and plugin preparation.
git-svn-id: svn://10.0.0.236/trunk@6305 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:36:06 +00:00
michaelp%netscape.com
b492b0ebd1 modified for new streaming APIs.
git-svn-id: svn://10.0.0.236/trunk@6304 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:35:43 +00:00
kmcclusk%netscape.com
af0caa0115 Added KeyRelease event generation
git-svn-id: svn://10.0.0.236/trunk@6303 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:34:46 +00:00
michaelp%netscape.com
8afa74e8ef modified streaming APIs to be what the OJI guys want.
git-svn-id: svn://10.0.0.236/trunk@6302 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:34:01 +00:00
dcone%netscape.com
a86f7df66e first version of manifest for this directory
git-svn-id: svn://10.0.0.236/trunk@6301 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:31:35 +00:00
slamm%netscape.com
467d2a3ccf Bring over another change from the RDFBranch.
git-svn-id: svn://10.0.0.236/trunk@6300 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:29:01 +00:00
troy%netscape.com
5b0c4cb47f Moved cde that does damage repair for a resize reflow from the
body to the root content frame


git-svn-id: svn://10.0.0.236/trunk@6299 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:19:05 +00:00
guha%netscape.com
58eae65277 Fix for crashing bug when related links pane is docked
git-svn-id: svn://10.0.0.236/trunk@6298 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:08:27 +00:00
spider%netscape.com
289fec2239 Backing out nsError.h revision 3.2 until the tree opens...
git-svn-id: svn://10.0.0.236/trunk@6297 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:08:13 +00:00
kipp%netscape.com
9939f47884 new
git-svn-id: svn://10.0.0.236/trunk@6296 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:58:09 +00:00
kipp%netscape.com
33be9dd48b Removed hack reflow code now that body/block do it properly
git-svn-id: svn://10.0.0.236/trunk@6295 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:56:11 +00:00
kipp%netscape.com
2b5bf809b8 Handle floaters better by triggering a resize-reflow on the body's content frame after reflowing the floater
git-svn-id: svn://10.0.0.236/trunk@6294 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:55:27 +00:00
kipp%netscape.com
9b7a4a531c Fix floater placement by removing it's old location before adding it again; use proper reflow state when getting a floaters style-size; don't forget to place below-current-line-floaters on frame-appended reflow
git-svn-id: svn://10.0.0.236/trunk@6293 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:54:44 +00:00
slamm%netscape.com
b243f33db6 Change some extern'd functions to static. Fixes Solaris build bustage.
git-svn-id: svn://10.0.0.236/trunk@6292 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:51:30 +00:00
slamm%netscape.com
0451077787 Fix more Solaris build bustage.
git-svn-id: svn://10.0.0.236/trunk@6291 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:43:11 +00:00
slamm%netscape.com
8be75e77c8 Fix more build bustage on Solaris.
git-svn-id: svn://10.0.0.236/trunk@6290 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:39:37 +00:00
spider%netscape.com
d87285d4ce Added Support for Module Specific Error Codes which are compatible with
the native platform.


git-svn-id: svn://10.0.0.236/trunk@6289 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:28:00 +00:00
slamm%netscape.com
da5747b7fb Kill a warning.
git-svn-id: svn://10.0.0.236/trunk@6288 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:26:31 +00:00
slamm%netscape.com
45706a2dab Add some casts to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@6287 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:12:31 +00:00
rjc%netscape.com
0efa4ab3f7 Propagate change to notification handler parameters to all clients (RDF_BRANCH landing).
git-svn-id: svn://10.0.0.236/trunk@6286 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:05:47 +00:00
racham%netscape.com
baee9c9c09 BUG 181240 : Added dial2stp.js to support dial2stp.htm
git-svn-id: svn://10.0.0.236/trunk@6285 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:44:40 +00:00
racham%netscape.com
97c75cd418 BUG 181240 : Added dial1stp.js to support dial1stp.htm
git-svn-id: svn://10.0.0.236/trunk@6284 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:43:25 +00:00
racham%netscape.com
818c1598c1 BUG 181240 : Added dial2stp.htm which is equivalent ot dialinf2.htm
git-svn-id: svn://10.0.0.236/trunk@6283 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:42:42 +00:00
racham%netscape.com
16c214e981 Added dial1stp.htm file that is required for 1step world
git-svn-id: svn://10.0.0.236/trunk@6282 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:41:32 +00:00
racham%netscape.com
01e39bf79a BUG 181240 : Setting right syntax for variable oneStepMode
git-svn-id: svn://10.0.0.236/trunk@6281 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:40:06 +00:00
ramiro%netscape.com
b3dc7a2697 Mege from RDF_BRANCH_060398 branch. Also known as RDF landing.
git-svn-id: svn://10.0.0.236/trunk@6280 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:38:03 +00:00
racham%netscape.com
5067649fe6 BUG 181240 : Changed Javascript ID to Connect 102
git-svn-id: svn://10.0.0.236/trunk@6279 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:37:50 +00:00
racham%netscape.com
348a392e75 BUG 181240 : Added display control for 1step world
git-svn-id: svn://10.0.0.236/trunk@6278 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:36:16 +00:00
racham%netscape.com
1ab28e6260 BUG 181240 : Added Connect to Server to the control panel
git-svn-id: svn://10.0.0.236/trunk@6277 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:34:58 +00:00
racham%netscape.com
17453d56f0 BUG 181240 : Changed navigation to allow 1step and 2step modes
git-svn-id: svn://10.0.0.236/trunk@6276 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:32:29 +00:00
scullin%netscape.com
2be66236a5 Fixed build bustage. I can't believe people are still adding context
functions. They should be shot.


git-svn-id: svn://10.0.0.236/trunk@6275 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:31:05 +00:00
pinkerton%netscape.com
4c0a98ae4d Two new params added for column support (RDF_BRANCH landing).
git-svn-id: svn://10.0.0.236/trunk@6274 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:26:26 +00:00
pinkerton%netscape.com
1a647b3201 Update vocab used in properties for RDF_BRANCH landing
git-svn-id: svn://10.0.0.236/trunk@6273 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:26:08 +00:00
pinkerton%netscape.com
0cb550e1b2 Added laybuiltin.c for SHACK.
git-svn-id: svn://10.0.0.236/trunk@6272 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:25:49 +00:00
pinkerton%netscape.com
44752b9db7 Added support for SHACK and RDF_BRANCH landing.
git-svn-id: svn://10.0.0.236/trunk@6271 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:25:35 +00:00
ramiro%netscape.com
8a953006b3 C++ comment begone from c code. thank you.
git-svn-id: svn://10.0.0.236/trunk@6270 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:22:43 +00:00
peterl%netscape.com
0911285865 properly setup fonts and backgound colors
git-svn-id: svn://10.0.0.236/trunk@6269 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:16:11 +00:00
kmcclusk%netscape.com
cc5d2e7044 Initialize event structure for mouse events
git-svn-id: svn://10.0.0.236/trunk@6268 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:07:42 +00:00
peterl%netscape.com
b1788da65c replaced with one more useful
git-svn-id: svn://10.0.0.236/trunk@6267 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:05:35 +00:00
peterl%netscape.com
590cae8cb1 factored backgound finding code to nsStyleUtil
git-svn-id: svn://10.0.0.236/trunk@6266 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:05:03 +00:00
peterl%netscape.com
7dcc12313b added nsStyleUtil.cpp
git-svn-id: svn://10.0.0.236/trunk@6265 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:04:24 +00:00
peterl%netscape.com
dd9f55d2a4 factored font sizing code to nsStyleUtil
implemented font flags


git-svn-id: svn://10.0.0.236/trunk@6264 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:03:55 +00:00
peterl%netscape.com
ccca01f09b added nsStyleUtil.h
git-svn-id: svn://10.0.0.236/trunk@6263 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:02:55 +00:00
peterl%netscape.com
88f335a54b factored font size= code to style utils
added font flag support
body tag now sets default color


git-svn-id: svn://10.0.0.236/trunk@6262 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:58:22 +00:00
peterl%netscape.com
cbaf7c38af added font flags
git-svn-id: svn://10.0.0.236/trunk@6261 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:57:16 +00:00
peterl%netscape.com
37869e4433 added setters for default colors
git-svn-id: svn://10.0.0.236/trunk@6260 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:57:00 +00:00
peterl%netscape.com
986889e04c removed threed text hack, added font flags
git-svn-id: svn://10.0.0.236/trunk@6259 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:55:02 +00:00
peterl%netscape.com
6b8b1e525d tweaks to rounding problems with twips to pixels and font point sizes
added hack to support desdemona font for test cases


git-svn-id: svn://10.0.0.236/trunk@6258 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:52:40 +00:00
rjc%netscape.com
69afc71335 Export XP_GetNavCenterContext
git-svn-id: svn://10.0.0.236/trunk@6257 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:52:36 +00:00
rjc%netscape.com
77999d0f25 Add Java Security code into Mac project.
git-svn-id: svn://10.0.0.236/trunk@6256 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:50:48 +00:00
rjc%netscape.com
f9f414f38a Add prototypes.
git-svn-id: svn://10.0.0.236/trunk@6255 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:50:27 +00:00
hyatt%netscape.com
093c33bb46 Landing the WinFE RDF branch.
git-svn-id: svn://10.0.0.236/trunk@6254 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:48:39 +00:00
kmcclusk%netscape.com
9ce4fd6a3d Added key event support.
git-svn-id: svn://10.0.0.236/trunk@6253 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:47:28 +00:00
hyatt%netscape.com
9c0a5be316 Landing SHACK changes for RDF_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@6252 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:44:53 +00:00
hyatt%netscape.com
94d927d118 Landing SHACK changes from RDF branch.
git-svn-id: svn://10.0.0.236/trunk@6251 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:44:04 +00:00
hyatt%netscape.com
93e1523a5b Committing changes for RDF branch landing.
git-svn-id: svn://10.0.0.236/trunk@6250 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:38:51 +00:00
hyatt%netscape.com
589041359f Landing the RDF branch.
git-svn-id: svn://10.0.0.236/trunk@6249 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:36:59 +00:00
dcone%netscape.com
fe06c4c582 deleted nsCellCol, nsCollColl and nsHTMLIFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@6248 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:06:48 +00:00
dcone%netscape.com
8fa6cfff0c added nsIContentViewerContainer.h and nsIWebshell.h
git-svn-id: svn://10.0.0.236/trunk@6247 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:05:42 +00:00
kipp%netscape.com
fbc199b1b4 Work around scrolling bug and fix a memory leak with #ref url's
git-svn-id: svn://10.0.0.236/trunk@6246 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 15:29:04 +00:00
clayton
a89aaf3810 Fixed memory leak in hash2mod
Fixed segfault in avref2*
Replaced calls to av2modvals with avref2*


git-svn-id: svn://10.0.0.236/trunk@6244 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 12:34:32 +00:00
leif
43126b9a90 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6243 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 11:05:59 +00:00
rickg%netscape.com
9e4bdbf96e tried again to fix linux build
git-svn-id: svn://10.0.0.236/trunk@6242 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 09:17:45 +00:00
rickg%netscape.com
4922d71172 fixed a linux build problem
git-svn-id: svn://10.0.0.236/trunk@6241 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 09:01:24 +00:00
ftang%netscape.com
d86de835bd fix bug #bug 122043; . This have been check in into 4.06 already.
git-svn-id: svn://10.0.0.236/trunk@6240 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 08:50:11 +00:00
ftang%netscape.com
ab5a9206b1 seperate Encoding menu into different menu spec so it will make sense
according to the type of window. Approved by ramiro


git-svn-id: svn://10.0.0.236/trunk@6239 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 08:44:30 +00:00
rickg%netscape.com
1988983aeb table bug fixes, heading fixes, performance, docs
git-svn-id: svn://10.0.0.236/trunk@6238 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 08:21:02 +00:00
leif
3eaf5c79b8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6237 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 05:31:22 +00:00
leif
d035e5af1a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6236 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 05:25:09 +00:00
troy%netscape.com
9da17705fc Moved code to invalidate dirty area for an initial reflow from the
body frame to the root content frame


git-svn-id: svn://10.0.0.236/trunk@6235 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 05:00:39 +00:00
joki%netscape.com
50ac03bebf Fix addref problem during mouseovers.
git-svn-id: svn://10.0.0.236/trunk@6233 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:53:14 +00:00
rpotts%netscape.com
431c95c8f5 Get rid of those tabs...
git-svn-id: svn://10.0.0.236/trunk@6231 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:26:07 +00:00
rpotts%netscape.com
181523663d Fixed uninitialized variable...
git-svn-id: svn://10.0.0.236/trunk@6230 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:25:20 +00:00
rpotts%netscape.com
cb4fec62ef Added GetDocumentLoader(...) and support for creating nested document loaders if the webshell is nested itself...
git-svn-id: svn://10.0.0.236/trunk@6229 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:24:36 +00:00
rpotts%netscape.com
56a717417c Added GetDocumentLoader(...).
git-svn-id: svn://10.0.0.236/trunk@6228 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:23:00 +00:00
troy%netscape.com
e67dda592f Added code to Reflow() to invalidate the damaged areas
git-svn-id: svn://10.0.0.236/trunk@6227 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:22:41 +00:00
troy%netscape.com
4a9451f206 Changed MoveViewTo() so it doesn't do any painting unless the
origin actually changes


git-svn-id: svn://10.0.0.236/trunk@6226 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:21:05 +00:00
cmanske%netscape.com
5919a65f53 Added status info for table cursors. Implemented new drag cursor and drag table and cell behavior
git-svn-id: svn://10.0.0.236/trunk@6225 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:20:38 +00:00
cmanske%netscape.com
8ac0270738 Fixed bugs 174178, 188530, 299735. Implemented new drag cell and table behavior
git-svn-id: svn://10.0.0.236/trunk@6224 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:18:49 +00:00
cmanske%netscape.com
170d9ecd11 Added strings for table editing status. Added function to give user feedback to select line in Composer
git-svn-id: svn://10.0.0.236/trunk@6223 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:18:07 +00:00
cmanske%netscape.com
7fb2283c96 Added new cursor to indicate selecting a line in Composer
git-svn-id: svn://10.0.0.236/trunk@6222 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:07:24 +00:00
pinkerton%netscape.com
1b584db1e9 Fix warning about assignment to temp (thanks to paule@edmark.com).
git-svn-id: svn://10.0.0.236/trunk@6221 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:03:02 +00:00
pinkerton%netscape.com
252797444a Migrate over bugfixes for bug #116389 (form submission fixes).
git-svn-id: svn://10.0.0.236/trunk@6220 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:02:03 +00:00
joki%netscape.com
5352fa5b8e More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout.
git-svn-id: svn://10.0.0.236/trunk@6219 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 02:55:33 +00:00
despotdaemon%netscape.com
718c6d0a66 Pseudo-automatic update of changes made by benito@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6214 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 00:14:54 +00:00
kipp%netscape.com
60401b4303 Implement scroll to ref
git-svn-id: svn://10.0.0.236/trunk@6210 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:42:47 +00:00
kipp%netscape.com
677f8123bb Init mStatus
git-svn-id: svn://10.0.0.236/trunk@6209 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:41:36 +00:00
kipp%netscape.com
021f275c40 Implement GetURL
git-svn-id: svn://10.0.0.236/trunk@6208 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:40:54 +00:00
kipp%netscape.com
b6847ea0a2 Added GetURL method
git-svn-id: svn://10.0.0.236/trunk@6207 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:40:27 +00:00
kipp%netscape.com
17974ca433 Implement ScrollTo method
git-svn-id: svn://10.0.0.236/trunk@6206 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:39:56 +00:00
kipp%netscape.com
03ec186995 Added ScrollTo method
git-svn-id: svn://10.0.0.236/trunk@6205 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:39:23 +00:00
kipp%netscape.com
4a3ed7cb7d Added in parsing for references
git-svn-id: svn://10.0.0.236/trunk@6204 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:38:20 +00:00
vidur%netscape.com
d1ec90d994 Reenabled JSConsole.
git-svn-id: svn://10.0.0.236/trunk@6203 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:34:07 +00:00
vidur%netscape.com
63fb0a9b04 Fixed HTMLDocument and HTMLCollection interfaces
git-svn-id: svn://10.0.0.236/trunk@6202 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:33:17 +00:00
vidur%netscape.com
5c9e91ae0c Introduced nsContentLists. Added a DocumentWillBeDestroyed method to nsIDocumentObserver. Added a document parameter to all DocumentObserver notifications. Added the nsIDOMHTMLDocument interface to HTMLDocument. Implemented document.images, etc and getElementsByTagName.
git-svn-id: svn://10.0.0.236/trunk@6201 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:32:19 +00:00
jevering%netscape.com
43474df1cd Fixed build problem on NT 5.0 with null exports line.
git-svn-id: svn://10.0.0.236/trunk@6200 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:25:35 +00:00
scullin%netscape.com
1aba8c9108 Fix win95 build bustage.
git-svn-id: svn://10.0.0.236/trunk@6199 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:21:23 +00:00
leif
6d635e52a6 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6198 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:49:55 +00:00
leif
103fac8e49 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6195 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:38:38 +00:00
leif
4b70ba63b9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6194 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:35:46 +00:00
troy%netscape.com
282ad01de6 Changed mEmptyString to be a static const nsAutoString, and commented
out mName because it isn't being used


git-svn-id: svn://10.0.0.236/trunk@6193 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:18:14 +00:00
hshaw%netscape.com
86f2db9106 Changes for bug#301401, remove java from build, ldap library is needed independent of MOZ_JAVA
git-svn-id: svn://10.0.0.236/trunk@6192 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:04:31 +00:00
spider%netscape.com
05f3322529 Pull Nav45_BRANCH for Julian now
git-svn-id: svn://10.0.0.236/trunk@6191 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:02:33 +00:00
rods%netscape.com
c4bfa9d561 turning off debug
git-svn-id: svn://10.0.0.236/trunk@6190 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:01:46 +00:00
spider%netscape.com
99fce32288 Pull Nav45_BRANCH of Julian instead
git-svn-id: svn://10.0.0.236/trunk@6189 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:01:08 +00:00
rods%netscape.com
bb3075fd02 selection improvements
git-svn-id: svn://10.0.0.236/trunk@6188 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:00:23 +00:00
rods%netscape.com
18fe376320 selection improvements
git-svn-id: svn://10.0.0.236/trunk@6187 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:56:48 +00:00
troy%netscape.com
522244780d Added some '=' operator member functions to nsAutoString
git-svn-id: svn://10.0.0.236/trunk@6185 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:38:48 +00:00
sar%netscape.com
49a6d2747e Pam Nunn- JPEG landing
git-svn-id: svn://10.0.0.236/trunk@6184 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:33:05 +00:00
pnunn%netscape.com
a4d038762d Landing JPEG_BRANCH
git-svn-id: svn://10.0.0.236/trunk@6182 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:17:01 +00:00
pnunn%netscape.com
c544a8329e Landing JPEG_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@6181 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:15:59 +00:00
terry%netscape.com
a1d0935400 Call ldap with only 20 people at a time, because it sometimes seems to
choke if you give it too many at once.


git-svn-id: svn://10.0.0.236/trunk@6180 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:12:19 +00:00
buster%netscape.com
87d38283ca fixed-width columns now respected when their content desired width exceeds
the specified width.


git-svn-id: svn://10.0.0.236/trunk@6179 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 20:06:31 +00:00
terry%netscape.com
b27eb6980d Can't use /bin/mail, so be disgusting and use dolog.pl just to cause mail to be sent.
git-svn-id: svn://10.0.0.236/trunk@6178 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 19:02:30 +00:00
terry%netscape.com
4877d40dd3 Fix to deal with new '%' style of usernames.
git-svn-id: svn://10.0.0.236/trunk@6177 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 19:01:47 +00:00
kipp%netscape.com
4db8df159f Pretend we are 4.05 since some websites can't handle 5.0 yet
git-svn-id: svn://10.0.0.236/trunk@6176 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 18:50:17 +00:00
kipp%netscape.com
747b6f6fd4 Implement block in inline
git-svn-id: svn://10.0.0.236/trunk@6175 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 18:38:57 +00:00
troy%netscape.com
b6576e3de5 Fixed it so backgrounds are properly tiled again
git-svn-id: svn://10.0.0.236/trunk@6174 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 18:34:14 +00:00
buster%netscape.com
00a794eb94 BasicTableLayoutStrategy::Initialize now properly re-iinitializes instance variables
git-svn-id: svn://10.0.0.236/trunk@6173 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 18:22:12 +00:00
kipp%netscape.com
9bc848dc75 Avoid excessive content-changed reflows during text appending
git-svn-id: svn://10.0.0.236/trunk@6172 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 17:40:05 +00:00
rpotts%netscape.com
0a063a503f nsIWebShell now supports a single observer for all documents loads...
git-svn-id: svn://10.0.0.236/trunk@6168 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:26:18 +00:00
rpotts%netscape.com
71f151059e nsIWebShell now supports a single observer for all document loads...The DocLoader now stops any pending binds when a new document is requested...
git-svn-id: svn://10.0.0.236/trunk@6167 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:24:50 +00:00
rpotts%netscape.com
15b08d846d First pass at nested document loaders...
git-svn-id: svn://10.0.0.236/trunk@6166 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:23:32 +00:00
rpotts%netscape.com
d99534a520 nsIWebShell now supports a single observer for all document loads...
git-svn-id: svn://10.0.0.236/trunk@6165 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:22:59 +00:00
rpotts%netscape.com
fe21e56f28 Allow OnDataAvailable(...) to abort a binding operation by returning an error code...
git-svn-id: svn://10.0.0.236/trunk@6164 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:21:27 +00:00
rpotts%netscape.com
3bc4158ab9 Removed some signed/unsigned warnings...
git-svn-id: svn://10.0.0.236/trunk@6163 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:20:37 +00:00
rpotts%netscape.com
be262a9a8f IWebShell now supports a single observer...
git-svn-id: svn://10.0.0.236/trunk@6162 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:19:54 +00:00
despotdaemon%netscape.com
6483954dab Pseudo-automatic update of changes made by davidm@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6161 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 07:36:44 +00:00
ramiro%netscape.com
848b28b7b5 Allow the user to ignore the OS_VERSION, which is usually irrelevant.
git-svn-id: svn://10.0.0.236/trunk@6155 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 05:38:53 +00:00
buster%netscape.com
97ce24b2ed fixed table width problems when there are colspanning cells
git-svn-id: svn://10.0.0.236/trunk@6154 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 05:38:41 +00:00
troy%netscape.com
878c1d1350 Changed PaintBorder() to use the (x,y) that's passed in
git-svn-id: svn://10.0.0.236/trunk@6152 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 05:02:07 +00:00
ramiro%netscape.com
cc38f9f94a Define proper macros for linux 2.2.
git-svn-id: svn://10.0.0.236/trunk@6150 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 04:59:29 +00:00
ramiro%netscape.com
8a21134be1 Allow the user to override the default host identity.
git-svn-id: svn://10.0.0.236/trunk@6149 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 04:53:19 +00:00
troy%netscape.com
4f2b172ab6 Changed clip operation to intersect
git-svn-id: svn://10.0.0.236/trunk@6148 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 04:49:09 +00:00
buster%netscape.com
26234a5a97 * reworked the way colspan and rowspans are handled in table layout strategy. We do less work, and we look better.
* fixed more margin code.  we're inching towards correctness.
* the width contributed by a colspanning cell is now proportionately distributed to the columns based on the columns "effective width"
* added logic for handling illegal COLS attribute on a table (like COLS=4 in a 3-column table).  See nsTableFrame::GetEffectiveCOLSAttribute()
* added logic for handling illegal COLSPAN attribute on a cell (like COLSPAN=4 in a 3-column table).  See nsTableFrame::GetEffectiveColSpan().  This is wrong, and will get reworked soon.
* added the ability for cell width attributes to effect column width like Nav4.


git-svn-id: svn://10.0.0.236/trunk@6145 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 03:53:43 +00:00
scullin%netscape.com
e6798021cc Fix crash _and_ memory leak? Is it too much to hope?
git-svn-id: svn://10.0.0.236/trunk@6144 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 03:48:17 +00:00
scullin%netscape.com
264497527a Fix crash, leak again.
git-svn-id: svn://10.0.0.236/trunk@6137 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 02:56:50 +00:00
troy%netscape.com
e727c63ed5 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height


git-svn-id: svn://10.0.0.236/trunk@6136 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 02:46:00 +00:00
troy%netscape.com
e926f6207a Added support for displaying inset border and alt-text while loading
an image


git-svn-id: svn://10.0.0.236/trunk@6135 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 02:44:44 +00:00
ramiro%netscape.com
19cf1d19e5 Add realclean target to be compatible with the rest of the build system.
git-svn-id: svn://10.0.0.236/trunk@6134 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 01:19:28 +00:00
valeski%netscape.com
8d0b4bad42 299916. no longer sending gratuitus connection header if we don't need to. and no longer sending uname/password in referer fields (edge case bug)
git-svn-id: svn://10.0.0.236/trunk@6133 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 01:04:01 +00:00
sar%netscape.com
134a79fff9 adding mozilla/base in preparaion for landing OJI
git-svn-id: svn://10.0.0.236/trunk@6132 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:56:55 +00:00
valeski%netscape.com
adac52bc7f 123018, changing http authentication mechanism.
git-svn-id: svn://10.0.0.236/trunk@6131 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:49:51 +00:00
selmer%netscape.com
f28d93a148 Include stubs for vanilla build
git-svn-id: svn://10.0.0.236/trunk@6130 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:47:51 +00:00
scullin%netscape.com
5c0ed389df Propagate alerts, confirms and prompts up to browser window.
git-svn-id: svn://10.0.0.236/trunk@6128 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:26:23 +00:00
scullin%netscape.com
ece788d507 Fix context leakage.
git-svn-id: svn://10.0.0.236/trunk@6127 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:16:00 +00:00
law%netscape.com
679388d3aa Fix for bug #49584
git-svn-id: svn://10.0.0.236/trunk@6126 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:59:38 +00:00
robinf%netscape.com
a24c0b9a96 Fixinb bug # 300065; adding help screen for Connect to ISP screen in Accnt setup
git-svn-id: svn://10.0.0.236/trunk@6125 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:45:57 +00:00
danm%netscape.com
1634836c14 copy fullsoft runtime files
git-svn-id: svn://10.0.0.236/trunk@6124 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:41:39 +00:00
cmanske%netscape.com
bf2df107ef Fixed problem with clearing is_new_document flag in edit buffer when reusing existing new-doc buffer
git-svn-id: svn://10.0.0.236/trunk@6123 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:36:03 +00:00
karnaze%netscape.com
51d7d8a151 set attributes on <frame>, <frameset> layout
git-svn-id: svn://10.0.0.236/trunk@6121 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:20:04 +00:00
cmanske%netscape.com
59ebdc3a76 Fixed bad XP_BOOL usage. Submitted by Kazushi Marukawa (jam@pobox.com)
git-svn-id: svn://10.0.0.236/trunk@6120 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 22:57:04 +00:00
hshaw%netscape.com
1038485a49 Fix for NETBSD from toshok@netscape.com via net (don't have email address to assign credit to)
git-svn-id: svn://10.0.0.236/trunk@6119 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 22:40:49 +00:00
dcone%netscape.com
07eb8f4373 Fixed build for this, took out files not needed.
git-svn-id: svn://10.0.0.236/trunk@6115 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:53:32 +00:00
dcone%netscape.com
ce48cf9e85 added nsIContentViewerContainer.h and nsIWebshell.h
git-svn-id: svn://10.0.0.236/trunk@6114 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:49:35 +00:00
dcone%netscape.com
4e21959daf added nsHTMLTAGS.h
git-svn-id: svn://10.0.0.236/trunk@6113 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:48:26 +00:00
dcone%netscape.com
217141c147 removed nsHTMLTags.cpp
git-svn-id: svn://10.0.0.236/trunk@6112 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:47:41 +00:00
dcone%netscape.com
593a7a9486 added nsIScriptEventListener.h
git-svn-id: svn://10.0.0.236/trunk@6111 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:46:32 +00:00
danm%netscape.com
674e1eacd6 plug leaking URL in Icon_GetUrlExitRoutine. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@6110 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:37:45 +00:00
scullin%netscape.com
f3792def27 Default implementation of QueryInterface needs to NULL result on failure.
git-svn-id: svn://10.0.0.236/trunk@6109 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:32:52 +00:00
kmcclusk%netscape.com
c58eb3c9b0 Fixed bug where child window is not being displayed in Viewer. Show() now
manages and unmanages the widget directly without testing visibility.


git-svn-id: svn://10.0.0.236/trunk@6108 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:26:17 +00:00
scullin%netscape.com
1aa94e896b Added rules to install/clobber resource gifs.
git-svn-id: svn://10.0.0.236/trunk@6107 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:22:25 +00:00
kipp%netscape.com
5fec00d851 Set max-element-size when computing reflow metrics
git-svn-id: svn://10.0.0.236/trunk@6106 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:20:55 +00:00
danm%netscape.com
e6c9332b26 plug leak, ensure viewstream initialization in IL_ViewStream. a:pnunn
git-svn-id: svn://10.0.0.236/trunk@6105 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:17:58 +00:00
ftang%netscape.com
54d2ce0bd9 Seperate "View:Encoding" submenu into different menu so the content can make sense
git-svn-id: svn://10.0.0.236/trunk@6103 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:40:51 +00:00
valeski%netscape.com
4bf506b49c switching a trace macro around
git-svn-id: svn://10.0.0.236/trunk@6102 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:40:03 +00:00
ftang%netscape.com
e256481bce fix 241429
git-svn-id: svn://10.0.0.236/trunk@6101 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:38:27 +00:00
valeski%netscape.com
88c98253cd No longer setting the referrer field on retrieveal of image urls. 299916.
git-svn-id: svn://10.0.0.236/trunk@6100 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:35:44 +00:00
scullin%netscape.com
629d196dca Hook up status remarks from netlib, add interface for prompts and alerts.
git-svn-id: svn://10.0.0.236/trunk@6099 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:27:59 +00:00
selmer%netscape.com
9ec6531e85 Include stubs for vanilla build
git-svn-id: svn://10.0.0.236/trunk@6098 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:26:23 +00:00
selmer%netscape.com
c8b6434e08 Add stubs for vanilla build
git-svn-id: svn://10.0.0.236/trunk@6097 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:25:50 +00:00
scullin%netscape.com
399fd53444 Add field for modular netlib data to MWContext (sigh).
git-svn-id: svn://10.0.0.236/trunk@6096 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:18:42 +00:00
scullin%netscape.com
af41501a41 Export lib as soon as it is built, instead of waiting until install
phase.


git-svn-id: svn://10.0.0.236/trunk@6095 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:17:44 +00:00
scullin%netscape.com
cca057f5f8 Use resource urls for icons, close stream on completion, and clean up
generated html, all only for nglayout.


git-svn-id: svn://10.0.0.236/trunk@6094 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:16:16 +00:00
scullin%netscape.com
05829765bd Include different types table in nglayout that uses resource urls instead
of internal icons.


git-svn-id: svn://10.0.0.236/trunk@6093 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:14:50 +00:00
scullin%netscape.com
c748d35ec8 mkformat.c was inadvertantly resurrected by montulli, re-removing.
git-svn-id: svn://10.0.0.236/trunk@6092 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:12:47 +00:00
scullin%netscape.com
4df989a34e Internal news url type is obsolete, according to montulli.
git-svn-id: svn://10.0.0.236/trunk@6091 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:12:21 +00:00
scullin%netscape.com
2616593e0f Fix to allow stderr tracing on windows.
git-svn-id: svn://10.0.0.236/trunk@6090 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:11:17 +00:00
scullin%netscape.com
6c862c7f6a Add cvmime back into nglayout build. Not hooked up, though.
git-svn-id: svn://10.0.0.236/trunk@6089 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:10:27 +00:00
scullin%netscape.com
0e61d096db Comment out assert that's problematic for ftp without a disk cache.
git-svn-id: svn://10.0.0.236/trunk@6088 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:09:08 +00:00
selmer%netscape.com
7a2c9a7176 Adding stubs for vanilla build
git-svn-id: svn://10.0.0.236/trunk@6087 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:07:31 +00:00
scullin%netscape.com
d9de96f70c Icons for ftp/file directories.
git-svn-id: svn://10.0.0.236/trunk@6086 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 19:35:35 +00:00
scullin%netscape.com
0f1d8f5b7d Allow multipe urls on command line.
NGLayout only.


git-svn-id: svn://10.0.0.236/trunk@6083 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:44:20 +00:00
scullin%netscape.com
73407b8a14 Ready to accept status messages from netlib.
git-svn-id: svn://10.0.0.236/trunk@6082 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:42:50 +00:00
scullin%netscape.com
8bf713df1d Include xp strings.
NGLayout build only.


git-svn-id: svn://10.0.0.236/trunk@6081 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:40:42 +00:00
scullin%netscape.com
cfb0210f8f These were inadvertantly resurrected by montulli. Moved to network/mimetype.
Not part of any build.


git-svn-id: svn://10.0.0.236/trunk@6080 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:38:21 +00:00
scullin%netscape.com
7203a3e8df Fix release build.
git-svn-id: svn://10.0.0.236/trunk@6079 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:09:53 +00:00
rods%netscape.com
efc42cfbad fixed the bug for setting background color on controls
git-svn-id: svn://10.0.0.236/trunk@6078 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:04:18 +00:00
rods%netscape.com
b6afa0b36e commented out the setting of the statusbar's background color
git-svn-id: svn://10.0.0.236/trunk@6077 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:03:15 +00:00
dcone%netscape.com
146e25619c fixed libpref to pull off of XPCOM
git-svn-id: svn://10.0.0.236/trunk@6076 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 17:55:19 +00:00
kipp%netscape.com
b73cf8f832 Fixed map tag and area tag handling
git-svn-id: svn://10.0.0.236/trunk@6073 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 17:35:48 +00:00
kipp%netscape.com
8a7c46a03f Implement Open File dialog and -q option
git-svn-id: svn://10.0.0.236/trunk@6072 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:45:21 +00:00
kipp%netscape.com
bc6df48804 Support aggregation (sort of)
git-svn-id: svn://10.0.0.236/trunk@6071 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:44:45 +00:00
kipp%netscape.com
c37a73c664 Enable scripts
git-svn-id: svn://10.0.0.236/trunk@6070 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:44:22 +00:00
kipp%netscape.com
80a892fcdc include script directly
git-svn-id: svn://10.0.0.236/trunk@6069 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:44:09 +00:00
kipp%netscape.com
ef426ce17e Get correct url to open for script src=
git-svn-id: svn://10.0.0.236/trunk@6068 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:43:48 +00:00
kipp%netscape.com
0667f6d4e3 Repaired script tag handling so that attributes make it through
git-svn-id: svn://10.0.0.236/trunk@6067 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:43:25 +00:00
kipp%netscape.com
3021463397 Fixed GetGlobalObject
git-svn-id: svn://10.0.0.236/trunk@6066 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:43:02 +00:00
kipp%netscape.com
edc794281a Added missing refcnt; use an explicit cast to nsIDOMWindow
git-svn-id: svn://10.0.0.236/trunk@6065 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:41:42 +00:00
troy%netscape.com
fab674a39b Fixed MakeSide() so it does a better job of drawing the correct pixels in
the case of 1-pixel thick lines


git-svn-id: svn://10.0.0.236/trunk@6064 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 09:30:03 +00:00
troy%netscape.com
a237b859e6 Fixed it so tables that don't want a border don't get a border
git-svn-id: svn://10.0.0.236/trunk@6063 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 08:12:22 +00:00
troy%netscape.com
23025b2d69 Commented out code that was forcing the border style to solid rather
than using whatever is in the default ua style sheet (inset)


git-svn-id: svn://10.0.0.236/trunk@6062 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 07:47:46 +00:00
warren%netscape.com
3ae4ac68e3 Added generated files for when we're not building java anymore.
git-svn-id: svn://10.0.0.236/trunk@6059 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 05:42:12 +00:00
kipp%netscape.com
84c3cb94bf Removed IScriptContextOwner from browser impl
git-svn-id: svn://10.0.0.236/trunk@6058 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:47:14 +00:00
kipp%netscape.com
b30217fe4a Implement IScriptContextOwner API
git-svn-id: svn://10.0.0.236/trunk@6057 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:46:55 +00:00
kipp%netscape.com
72bc3d12af Added code (currently disabled) to setup the script context appropriately
git-svn-id: svn://10.0.0.236/trunk@6056 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:46:35 +00:00
cmanske%netscape.com
2a928c28d9 Added flag to signal editor when laying out images in Composer
git-svn-id: svn://10.0.0.236/trunk@6055 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:13:04 +00:00
ramiro%netscape.com
4f472ea5d9 Fix build bustage. Remove unused ",".
git-svn-id: svn://10.0.0.236/trunk@6053 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:01:14 +00:00
sar%netscape.com
c7b1990d86 adding mozilla/modules/plugin in preparation for OJI branch landing
git-svn-id: svn://10.0.0.236/trunk@6051 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 03:11:17 +00:00
kipp%netscape.com
5bcb76b2a7 Fixed unix build
git-svn-id: svn://10.0.0.236/trunk@6049 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:45:39 +00:00
leif
393e3ce985 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6048 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:43:28 +00:00
leif
48c89df8e2 Added the MPL license to all files.
git-svn-id: svn://10.0.0.236/trunk@6047 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:42:38 +00:00
cmanske%netscape.com
bfa2b247ce Fixed problem with loading images in Composer
git-svn-id: svn://10.0.0.236/trunk@6046 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:38:18 +00:00
leif
567b3713fa *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6044 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:32:13 +00:00
danm%netscape.com
2712d45df7 fix leak in NET_FreeURLStruct r:gagan
git-svn-id: svn://10.0.0.236/trunk@6043 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:20:45 +00:00
akkana%netscape.com
ac2ab0818b Add new functionality for the new 5.0 table dialog.
Consolidate "new table" and "table properties" dialogs into one.
Includes massive move/redesign of code out of editordialogs.c
into new C++ class XFE_EditTableDialog.


git-svn-id: svn://10.0.0.236/trunk@6042 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:14:23 +00:00
akkana%netscape.com
0e1d664058 Improve table selection
git-svn-id: svn://10.0.0.236/trunk@6041 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:11:06 +00:00
cmanske%netscape.com
fc352cb59a Fixed SF1 bug 148158 as well as problems with loading images into an editor document
git-svn-id: svn://10.0.0.236/trunk@6040 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:59:47 +00:00
cmanske%netscape.com
52de04840b Removed clearing of is_new_document flag so images loaded into Composer do not kill the new doc state
git-svn-id: svn://10.0.0.236/trunk@6039 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:57:59 +00:00
cmanske%netscape.com
e543027dc6 Added use of flag in IL_GetImage to identify an Editor when loading images, and use of that flag in IL_ViewStream to do use IL_NewStream instead (fixes regresion bug)
git-svn-id: svn://10.0.0.236/trunk@6038 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:55:52 +00:00
valeski%netscape.com
9dd807b6d0 63313 - Bugsplat query page now loads faster. This was a problem with javascript pages. approved by don.
git-svn-id: svn://10.0.0.236/trunk@6037 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:53:10 +00:00
cmanske%netscape.com
7011559bb7 Added a comment to explain how Editor uses the owner_id field in URL_Struct
git-svn-id: svn://10.0.0.236/trunk@6036 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:44:25 +00:00
kipp%netscape.com
fbfcf0a2e5 Enabled the js-console accelerators
git-svn-id: svn://10.0.0.236/trunk@6035 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:22:52 +00:00
kipp%netscape.com
a89427d59d byebye
git-svn-id: svn://10.0.0.236/trunk@6034 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:04:09 +00:00
kipp%netscape.com
4d83794d2a Fixed unix porting bugs
git-svn-id: svn://10.0.0.236/trunk@6032 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:03:28 +00:00
kipp%netscape.com
c3fd39a44f Spanked to get most of the menus working again
git-svn-id: svn://10.0.0.236/trunk@6030 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 00:48:35 +00:00
kipp%netscape.com
a5f64bdca9 Added two getters: GetBounds and GetWebShell
git-svn-id: svn://10.0.0.236/trunk@6029 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 00:48:10 +00:00
despotdaemon%netscape.com
3f30d6ac28 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6028 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 00:00:01 +00:00
despotdaemon%netscape.com
91510a3429 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6027 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:59:17 +00:00
troy%netscape.com
5e3cee8013 Changed Paint() to use the parent frame's color style struct. We can't use our
color style struct because we're a pseudo frame and so the style system forces
us to have a transparent background


git-svn-id: svn://10.0.0.236/trunk@6026 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:58:00 +00:00
troy%netscape.com
6b933cd127 Changed Paint() to render the background if there is one
git-svn-id: svn://10.0.0.236/trunk@6025 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:56:17 +00:00
troy%netscape.com
690770da55 Changed SetAttribute() to call nsTableTagContent base class version so that
processing of things like "style=" happens


git-svn-id: svn://10.0.0.236/trunk@6024 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:50:46 +00:00
troy%netscape.com
3771cc3a17 Changed MapAttributesInto() to call MapBackgroundAttributesInto() so that
the bgcolor attribute is properly handled


git-svn-id: svn://10.0.0.236/trunk@6022 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:30:49 +00:00
spider%netscape.com
7bbcb73e57 Fix for latest cvs server move
git-svn-id: svn://10.0.0.236/trunk@6021 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:21:01 +00:00
scullin%netscape.com
3ace1794b6 Fix release mode.
git-svn-id: svn://10.0.0.236/trunk@6013 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:45:35 +00:00
kipp%netscape.com
187754c11c Resurrected DoDebugSave method
git-svn-id: svn://10.0.0.236/trunk@6012 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:22:13 +00:00
kipp%netscape.com
475c61f41a Updated to match revised menu api
git-svn-id: svn://10.0.0.236/trunk@6011 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:16:26 +00:00
kipp%netscape.com
97ea75bbb4 Ported to unix
git-svn-id: svn://10.0.0.236/trunk@6010 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:13:11 +00:00
kipp%netscape.com
43a309b147 new
git-svn-id: svn://10.0.0.236/trunk@6007 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:11:02 +00:00
dfm%netscape.com
37263592a8 Fixed morse's typo.
git-svn-id: svn://10.0.0.236/trunk@6000 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:50:15 +00:00
kipp%netscape.com
483e5874f6 Switch to new source files
git-svn-id: svn://10.0.0.236/trunk@5997 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:17:13 +00:00
kipp%netscape.com
a8d837c019 Implement a pile of debug methods and menu code; abstract out menu bar creation into a native subclass
git-svn-id: svn://10.0.0.236/trunk@5996 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:16:38 +00:00
kipp%netscape.com
c3a8f7b177 Get pref-id's properly setup
git-svn-id: svn://10.0.0.236/trunk@5995 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:16:12 +00:00
kipp%netscape.com
7f7af5b81b new
git-svn-id: svn://10.0.0.236/trunk@5994 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:15:52 +00:00
kipp%netscape.com
332e9db934 Added chrome control for the menu bar
git-svn-id: svn://10.0.0.236/trunk@5993 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:15:21 +00:00
morse%netscape.com
342e6afcee Landing privacy features (con't)
git-svn-id: svn://10.0.0.236/trunk@5992 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:13:22 +00:00
dfm%netscape.com
52c72a5e73 Fixed winfe bustage, morse's whitespace clobber..
git-svn-id: svn://10.0.0.236/trunk@5991 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:13:09 +00:00
robinf%netscape.com
7deafae3d2 added thes files for our dialup builds
git-svn-id: svn://10.0.0.236/trunk@5990 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:11:08 +00:00
timm%netscape.com
88dd91fc24 fix path to routine to append last slash
git-svn-id: svn://10.0.0.236/trunk@5989 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:04:08 +00:00
robinf%netscape.com
2a4aa4df97 merging help files for generic dialup build
git-svn-id: svn://10.0.0.236/trunk@5987 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:57:38 +00:00
robinf%netscape.com
35a5b775f2 Checing in the generic dialup readme
git-svn-id: svn://10.0.0.236/trunk@5985 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:52:28 +00:00
dcone%netscape.com
12f3018569 removed nsDomnodeiterator.cpp, nsHTMLTagContent.cpp
git-svn-id: svn://10.0.0.236/trunk@5984 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:52:14 +00:00
dcone%netscape.com
cab1c3b003 removed nsJSAttributeList.cpp, nsJSNodeIterator.cpp, nsJSDocumentContext.cpp, nsJSTreeIterator.cpp
git-svn-id: svn://10.0.0.236/trunk@5983 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:50:44 +00:00
robinf%netscape.com
1cc1c1b96f checking in the version that turns off billing and dialing screesn
git-svn-id: svn://10.0.0.236/trunk@5982 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:50:12 +00:00
robinf%netscape.com
f641426a5f checking in the de-prestonized versions of these files which are needed for the dialup version.
git-svn-id: svn://10.0.0.236/trunk@5981 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:48:58 +00:00
morse%netscape.com
fca0b01d09 temporary hack to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@5980 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:47:32 +00:00
dcone%netscape.com
3eab84b56a fixed so the fstream include is added.
git-svn-id: svn://10.0.0.236/trunk@5979 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:47:07 +00:00
dcone%netscape.com
3ae6209204 removed nsIHtmlcontentsink.cpp from project
git-svn-id: svn://10.0.0.236/trunk@5978 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:45:56 +00:00
dcone%netscape.com
750c3136b1 Removed nsIWebwidget.h and nsIDocumentWidget.h from the
file for building dist


git-svn-id: svn://10.0.0.236/trunk@5977 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:34:36 +00:00
karnaze%netscape.com
201c38b1f8 initial support for <frameset> <frame> in content sink
git-svn-id: svn://10.0.0.236/trunk@5969 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 18:52:40 +00:00
dfm%netscape.com
3d17427a85 Landed privacy features from PRIVACY_BRANCH_070898; Transaction Receipts
and Privacy Policies are still switched off, so mozilla/privacy doesn't
build by default.


git-svn-id: svn://10.0.0.236/trunk@5968 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 18:40:09 +00:00
despotdaemon%netscape.com
95184a8af4 Pseudo-automatic update of changes made by radha@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5967 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 18:16:46 +00:00
saari%netscape.com
f0f8f6a60e Merging sfraser's MacMemAllocator changes from 4.5
git-svn-id: svn://10.0.0.236/trunk@5966 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 18:10:48 +00:00
despotdaemon%netscape.com
c75c1577ba Pseudo-automatic update of changes made by jdunn@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5965 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 17:47:07 +00:00
kipp%netscape.com
918f834845 Fixed Makefile
git-svn-id: svn://10.0.0.236/trunk@5963 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:38:04 +00:00
kipp%netscape.com
1cc17408d9 Added missing nsweb.h
git-svn-id: svn://10.0.0.236/trunk@5962 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:37:52 +00:00
kipp%netscape.com
507d263bab Moved nsBrowserWindow in
git-svn-id: svn://10.0.0.236/trunk@5961 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:19:22 +00:00
kipp%netscape.com
58c3ef71e3 Removed factory proc
git-svn-id: svn://10.0.0.236/trunk@5960 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:19:00 +00:00
kipp%netscape.com
6b7723a631 Moved nsBrowserWindow out
git-svn-id: svn://10.0.0.236/trunk@5959 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:18:42 +00:00
pinkerton%netscape.com
e961d2ef86 Export right symbols for mac. THis will get whomped by RDF_BRANCH landing.
git-svn-id: svn://10.0.0.236/trunk@5958 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:18:00 +00:00
pinkerton%netscape.com
fe2a29a909 Util routines for setting fg/bg colors in presence (or absence) of HT properties and appearance manager. Also checking with HT to see if it wants to handle loading urls.
git-svn-id: svn://10.0.0.236/trunk@5957 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:13:06 +00:00
pinkerton%netscape.com
359e02bf13 Call HT before loading urls. Handle about:XXX.gif for Aurora gifs.
git-svn-id: svn://10.0.0.236/trunk@5956 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:11:54 +00:00
pinkerton%netscape.com
ce545afbea Adding Tang resource id's for aurora gifs.
git-svn-id: svn://10.0.0.236/trunk@5955 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:11:23 +00:00
pinkerton%netscape.com
87feb577c8 Re-added CTargetFramer, as it got lost somewhere.
git-svn-id: svn://10.0.0.236/trunk@5954 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:11:06 +00:00
pinkerton%netscape.com
2f006739cf lots of stuff that was private is now public to support drawing of gifs anywhere we want, not just in html views.
git-svn-id: svn://10.0.0.236/trunk@5953 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:10:48 +00:00
pinkerton%netscape.com
d569f4f205 Fix so that images can be displayed in places other than HTML views.
git-svn-id: svn://10.0.0.236/trunk@5952 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:10:21 +00:00
pinkerton%netscape.com
fc92503ee8 Add aurora gifs as 'Tang' resources.
git-svn-id: svn://10.0.0.236/trunk@5951 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:09:57 +00:00
pinkerton%netscape.com
901e2ae790 turn on Hyatt's hack for chrome images on mac. Still off on X.
git-svn-id: svn://10.0.0.236/trunk@5950 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:09:34 +00:00
pinkerton%netscape.com
027c9ef5ae Lots o' utility routines, some new, some code moved from other parts of the app. Things like building and extracting the most common flavor data types.
git-svn-id: svn://10.0.0.236/trunk@5949 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:09:05 +00:00
pinkerton%netscape.com
4eec5875b6 Preliminary stuff for turning off drag feedback if container is sorted. Bug fixes for dropping at end of list. Handle tabbing into in Pro2 way.
git-svn-id: svn://10.0.0.236/trunk@5948 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:08:17 +00:00
pinkerton%netscape.com
1b74cc2212 Bug fixes, use gifs and bg and icons, fix tabbing problems, rearchitect FE data for views.
git-svn-id: svn://10.0.0.236/trunk@5947 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:07:09 +00:00
pinkerton%netscape.com
afff616187 use more stuff in CURLDragHelper.
git-svn-id: svn://10.0.0.236/trunk@5946 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:06:03 +00:00
pinkerton%netscape.com
6d2613cf62 Added parameter so data can be passed in before drag for bookmarks flavor. Needed so Aurora can work.
git-svn-id: svn://10.0.0.236/trunk@5945 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:05:38 +00:00
terry%netscape.com
6267ed2bcb Don't exec mail any more.
git-svn-id: svn://10.0.0.236/trunk@5944 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:05:37 +00:00
pinkerton%netscape.com
53a3c681fb Pass correct data to HT on drag and drop, fixes in d&d, check with HT before loading URL.
git-svn-id: svn://10.0.0.236/trunk@5943 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:04:52 +00:00
pinkerton%netscape.com
61c42a6a49 Draw using HT properties for colors or bg gif.
git-svn-id: svn://10.0.0.236/trunk@5942 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:04:20 +00:00
pinkerton%netscape.com
1a325a3d4f Draw selector images using gifs.
git-svn-id: svn://10.0.0.236/trunk@5941 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:03:59 +00:00
pinkerton%netscape.com
d74acc7b1e Added CImageIconMixin, CIconCache, CIconContext. Removed CGuidePopup.
git-svn-id: svn://10.0.0.236/trunk@5940 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:03:16 +00:00
pinkerton%netscape.com
e7a4fcd2ae Drag and drop rewrites (pass valid data to HT), draw using HT properties for colors, etc. BG can now be a gif. Check with HT before loading url.
git-svn-id: svn://10.0.0.236/trunk@5939 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:02:14 +00:00
pinkerton%netscape.com
6ccd891149 No longer an LTabGroup so tabbing works again, can now drag text out of the window, double-click words to select them. Added ScrollBits scrolling fix to make scrolling smooth again.
git-svn-id: svn://10.0.0.236/trunk@5938 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:01:13 +00:00
pinkerton%netscape.com
0604784464 Can now double-click on words to select them and drag selected text out of the browser window.
git-svn-id: svn://10.0.0.236/trunk@5937 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:59:42 +00:00
pinkerton%netscape.com
c38f543d15 expose HT_Pane to those who may need it.
git-svn-id: svn://10.0.0.236/trunk@5936 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:59:11 +00:00
pinkerton%netscape.com
ebbe807887 Check with HT before loading URL.
git-svn-id: svn://10.0.0.236/trunk@5935 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:58:48 +00:00
pinkerton%netscape.com
bcafc84299 Add CTargetFramer (which we lost somehow) and remove the guide popup button.
git-svn-id: svn://10.0.0.236/trunk@5934 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:57:47 +00:00
pinkerton%netscape.com
2fcda19cbc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@5933 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:55:36 +00:00
spider%netscape.com
e9f390557c Re-Exporting CNavDTD class, until a *better* solution is implemented...
git-svn-id: svn://10.0.0.236/trunk@5932 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:39:48 +00:00
ramiro%netscape.com
44638680ff Use -r instead of -x to test for existence of libs - since the permissions
are not always 755.
Thanks to "Gábor Lipták" <gliptak@hotmail.com> for poiting this out.


git-svn-id: svn://10.0.0.236/trunk@5931 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 08:55:30 +00:00
troy%netscape.com
484403779a Changed it so image frames don't have a view, and turned on transparent
images


git-svn-id: svn://10.0.0.236/trunk@5930 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 05:48:46 +00:00
kipp%netscape.com
c35f90152c Added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@5929 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:07:59 +00:00
kipp%netscape.com
dceaa480b6 Implement
git-svn-id: svn://10.0.0.236/trunk@5928 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:07:44 +00:00
kipp%netscape.com
ea492cae9b Upgraded API
git-svn-id: svn://10.0.0.236/trunk@5927 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:07:32 +00:00
kipp%netscape.com
7f47a93775 Removed registry init into a seperate file; use browser window instead of old code
git-svn-id: svn://10.0.0.236/trunk@5926 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:07:20 +00:00
kipp%netscape.com
9055c4fbf5 Moved windows init into winmain
git-svn-id: svn://10.0.0.236/trunk@5925 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:06:47 +00:00
kipp%netscape.com
c1e243702e Build new source
git-svn-id: svn://10.0.0.236/trunk@5924 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:06:25 +00:00
kipp%netscape.com
98981d49fb new
git-svn-id: svn://10.0.0.236/trunk@5923 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:06:14 +00:00
kipp%netscape.com
8926d26f0c Fixed ommision of include of nscore.h
git-svn-id: svn://10.0.0.236/trunk@5922 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 02:03:59 +00:00
kipp%netscape.com
797eee3958 Allocate some IIDs
git-svn-id: svn://10.0.0.236/trunk@5921 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:19:30 +00:00
kipp%netscape.com
4a74506b36 Whacked to use new pluggable throbber
git-svn-id: svn://10.0.0.236/trunk@5920 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:18:57 +00:00
kipp%netscape.com
4c4eb24536 Implement new title API's; normalized factory code
git-svn-id: svn://10.0.0.236/trunk@5919 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:18:40 +00:00
kipp%netscape.com
c4f7797c4b Normalized factory code
git-svn-id: svn://10.0.0.236/trunk@5918 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:18:15 +00:00
kipp%netscape.com
4be9528519 Added new files
git-svn-id: svn://10.0.0.236/trunk@5917 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:17:50 +00:00
kipp%netscape.com
1421902e3a Added title controls; normalized factory API; added GetRootWebShell; removed 2nd arg from AddChild
git-svn-id: svn://10.0.0.236/trunk@5916 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:17:39 +00:00
kipp%netscape.com
42b52ac30b Updated copyright and IID; removed useless Init method
git-svn-id: svn://10.0.0.236/trunk@5915 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:17:09 +00:00
kipp%netscape.com
b0aa64a6c6 Normalized factory api
git-svn-id: svn://10.0.0.236/trunk@5914 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:16:46 +00:00
kipp%netscape.com
bf301b12e7 Export new files
git-svn-id: svn://10.0.0.236/trunk@5913 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:15:26 +00:00
kipp%netscape.com
926e41da39 Pass title to web shell if we are wrapped in one
git-svn-id: svn://10.0.0.236/trunk@5912 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:14:53 +00:00
kipp%netscape.com
3d7769be04 Removed SetTitle
git-svn-id: svn://10.0.0.236/trunk@5911 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:14:21 +00:00
kipp%netscape.com
64f17cd3d4 new
git-svn-id: svn://10.0.0.236/trunk@5910 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:13:06 +00:00
kipp%netscape.com
f7f11b5f3f Updated exports list
git-svn-id: svn://10.0.0.236/trunk@5909 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 22:01:25 +00:00
kipp%netscape.com
70e5a7a7c2 Allocated some IID's
git-svn-id: svn://10.0.0.236/trunk@5908 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:51:28 +00:00
kipp%netscape.com
a3d19a5501 Spanked to use web-shell API's
git-svn-id: svn://10.0.0.236/trunk@5907 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:51:03 +00:00
kipp%netscape.com
e67298a126 Updated build list
git-svn-id: svn://10.0.0.236/trunk@5906 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:50:41 +00:00
kipp%netscape.com
63f46c6f39 Updated to use revised API's; pass UA style sheet to nsIDocumentViewer instance
git-svn-id: svn://10.0.0.236/trunk@5905 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:50:29 +00:00
kipp%netscape.com
a5f12624a7 obsoleted
git-svn-id: svn://10.0.0.236/trunk@5904 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:49:35 +00:00
kipp%netscape.com
e1d02e5761 Updated exports list
git-svn-id: svn://10.0.0.236/trunk@5903 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:49:11 +00:00
kipp%netscape.com
73efbb3649 Decoupled from web widget
git-svn-id: svn://10.0.0.236/trunk@5902 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:49:03 +00:00
kipp%netscape.com
542f84d4a3 Seperated out nsIViewerContainer and nsIContentViewer API's
git-svn-id: svn://10.0.0.236/trunk@5901 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:48:47 +00:00
kipp%netscape.com
a9a829dd34 Obsolete
git-svn-id: svn://10.0.0.236/trunk@5900 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:48:26 +00:00
kipp%netscape.com
f2faff6fb7 Port to new nsIWebShell and related API's
git-svn-id: svn://10.0.0.236/trunk@5899 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:47:56 +00:00
kipp%netscape.com
67fd58be8c Added missing includes
git-svn-id: svn://10.0.0.236/trunk@5898 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:46:51 +00:00
kipp%netscape.com
33803d96e8 Added AddFloater method (not yet used)
git-svn-id: svn://10.0.0.236/trunk@5897 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:45:40 +00:00
kipp%netscape.com
3f5bbb2c14 Find floaters after placing line so that floater list is kept up to date
git-svn-id: svn://10.0.0.236/trunk@5896 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:45:17 +00:00
kipp%netscape.com
11356346b9 Disabled selection noise with an ifdef
git-svn-id: svn://10.0.0.236/trunk@5895 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:44:11 +00:00
kipp%netscape.com
a0cb50b4de new
git-svn-id: svn://10.0.0.236/trunk@5894 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:43:02 +00:00
rods%netscape.com
5ccadb7f78 made changes to selection for debugging
git-svn-id: svn://10.0.0.236/trunk@5893 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 18:19:41 +00:00
rods%netscape.com
b43d68f5f5 changed GetNextContent to pas back next leaf node content
git-svn-id: svn://10.0.0.236/trunk@5892 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 18:18:53 +00:00
rods%netscape.com
b70f709081 made minor changes to selection
git-svn-id: svn://10.0.0.236/trunk@5891 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 18:18:20 +00:00
rods%netscape.com
499d780d00 exported nsSelectionPoint.h
git-svn-id: svn://10.0.0.236/trunk@5890 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 18:17:08 +00:00
troy%netscape.com
ae75899844 Eliminated some unnecessary image rendering
git-svn-id: svn://10.0.0.236/trunk@5889 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 15:26:03 +00:00
rods%netscape.com
088defba07 turned off selection
git-svn-id: svn://10.0.0.236/trunk@5888 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 14:03:43 +00:00
ramiro%netscape.com
4fc83a8447 Fix a dumbass typo.
git-svn-id: svn://10.0.0.236/trunk@5887 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 07:42:15 +00:00
ramiro%netscape.com
6d5ebec537 Remove circular dependancy on config/config.mk from config/mkdepend.
git-svn-id: svn://10.0.0.236/trunk@5886 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 07:38:13 +00:00
ramiro%netscape.com
f9e0ae9815 Add x11 include flags so the motif detection can work on plaforms that dont
have /usr/include/X11 links.  Like solaris, for instance.


git-svn-id: svn://10.0.0.236/trunk@5884 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 06:55:12 +00:00
ramiro%netscape.com
44b495a951 Add -xif, --set-x11-include-flags - Set X11 include flags.
git-svn-id: svn://10.0.0.236/trunk@5883 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 06:52:27 +00:00
ramiro%netscape.com
e4d2d9db4f Look for include/X11/Xlib.h instead as well. Safer Xlib detection.
git-svn-id: svn://10.0.0.236/trunk@5882 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 06:32:55 +00:00
ramiro%netscape.com
552f7e970b Dont use "function" since it breaks on some bourne shells.
git-svn-id: svn://10.0.0.236/trunk@5881 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 06:28:19 +00:00
ramiro%netscape.com
793c609e30 Remove old motif.mk hack. No longer needed. See config/mkdepend for a better
solution.


git-svn-id: svn://10.0.0.236/trunk@5880 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 05:27:15 +00:00
ramiro%netscape.com
ca467285d4 Remove old motif.mk hack.
git-svn-id: svn://10.0.0.236/trunk@5879 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 05:15:49 +00:00
troy%netscape.com
e67414d867 Added some comments clarifying that the value returned are in
device units (pixels)


git-svn-id: svn://10.0.0.236/trunk@5878 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:52:37 +00:00
ramiro%netscape.com
cb4b5239a1 Adding support for detecting various platform specific libraries, paths and
other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)


git-svn-id: svn://10.0.0.236/trunk@5877 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:34:56 +00:00
ramiro%netscape.com
3b55437db6 Adding support for detecting various platform specific libraries, paths and
other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)

Notice how much simpler the Linux chunk of the xfe Makfile has become.


git-svn-id: svn://10.0.0.236/trunk@5876 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:34:26 +00:00
ramiro%netscape.com
ead3497f44 Adding support for detecting various platform specific libraries, paths and
other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)

The shell script detection magic is very modular and can be easily shared
with other build schemes (autoconf for instance).


git-svn-id: svn://10.0.0.236/trunk@5875 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:33:07 +00:00
ramiro%netscape.com
8493233a99 Adding support for detecting various platform specific libraries, paths and
other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)


git-svn-id: svn://10.0.0.236/trunk@5874 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:26:34 +00:00
ramiro%netscape.com
7975e66ba8 Added mkdetect sub directory to mozilla/config.
git-svn-id: svn://10.0.0.236/trunk@5873 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:22:00 +00:00
kipp%netscape.com
7b704db54c Fixed a regression: we were eating the character following a bare ampersand that isn't an entity; in addition tables were being kicked out of paragraphs which is no-no
git-svn-id: svn://10.0.0.236/trunk@5869 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 01:35:45 +00:00
kipp%netscape.com
97c2d3d296 Fixed crasher bug
git-svn-id: svn://10.0.0.236/trunk@5867 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 01:06:30 +00:00
donm%netscape.com
0698bcec4d added NPL. approved by: briano
git-svn-id: svn://10.0.0.236/trunk@5866 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 00:29:29 +00:00
despotdaemon%netscape.com
8536c4fcdd Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@5865 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 00:27:36 +00:00
michaelp%netscape.com
cccd011826 the throbbing N lives. yuck.
git-svn-id: svn://10.0.0.236/trunk@5862 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:48:58 +00:00
ftang%netscape.com
ef73aa833d add EUR for &EURO; ascii fallback
git-svn-id: svn://10.0.0.236/trunk@5861 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:46:26 +00:00
ftang%netscape.com
da6158e6bc Add several unicode tables
Fix the problem in cp1251/2
Add euro sign into mac unicode table


git-svn-id: svn://10.0.0.236/trunk@5860 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:45:44 +00:00
despotdaemon%netscape.com
da4b03c81d Pseudo-automatic update of changes made by clu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5859 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:43:54 +00:00
despotdaemon%netscape.com
4a9f595d63 Pseudo-automatic update of changes made by clu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5858 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:41:33 +00:00
wtc%netscape.com
d9b16d723f Bugzilla bug #263: Merged the NetBSD port of NSPR contributed by
Frank van der Linden <frank@wins.uva.nl>.


git-svn-id: svn://10.0.0.236/trunk@5857 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:33:36 +00:00
kostello%netscape.com
165a6f7dd0 Changed name of method from ToXIF to CreateXIF
git-svn-id: svn://10.0.0.236/trunk@5856 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:02:53 +00:00
kostello%netscape.com
8a1b7e11ba 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.


git-svn-id: svn://10.0.0.236/trunk@5855 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:00:54 +00:00
michaelp%netscape.com
a9572472c4 throbber now has 14 frames and works as a button.
git-svn-id: svn://10.0.0.236/trunk@5853 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 22:58:11 +00:00
kipp%netscape.com
89c8f4ba2a Removed redundant DidReflow's
git-svn-id: svn://10.0.0.236/trunk@5851 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:50:43 +00:00
troy%netscape.com
54fb369e34 Fixed DuplicateImage() code to copy alpha bits properly
git-svn-id: svn://10.0.0.236/trunk@5850 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:37:55 +00:00
kipp%netscape.com
e879a5e8b9 Fixed nesting headings in lists bug
git-svn-id: svn://10.0.0.236/trunk@5849 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:27:42 +00:00
mccabe%netscape.com
2320e36eef added some more #if JS_HAS_SHARP_VARS checks so towards compiliation
under version 120 in jsconfig.h.  Other fixes needed, though...


git-svn-id: svn://10.0.0.236/trunk@5848 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:18:41 +00:00
kipp%netscape.com
530abde14f Implement dom access to the SRC attribute
git-svn-id: svn://10.0.0.236/trunk@5847 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:16:43 +00:00
kipp%netscape.com
2d1f589401 new
git-svn-id: svn://10.0.0.236/trunk@5846 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:16:18 +00:00
despotdaemon%netscape.com
5f1491d0a6 Pseudo-automatic update of changes made by cmanske@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5845 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:09:57 +00:00
despotdaemon%netscape.com
f3a23f8ca2 Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5843 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:07:23 +00:00
buster%netscape.com
2d3b42883a fixed a space leak/logic error handling colspans
added backwards compatibility for percent width tables inside of auto width tables (see http://webreview.com/wr/pub  warning:  you'll have to look at a local copy until
Troy/Vidur/somebody fixes an image problem.)


git-svn-id: svn://10.0.0.236/trunk@5842 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:02:28 +00:00
despotdaemon%netscape.com
6ab6eefc24 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5841 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:01:11 +00:00
despotdaemon%netscape.com
8caad06268 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5840 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 20:58:17 +00:00
mccabe%netscape.com
005974ff02 Fixed #ifdef to #if for various features defined in jsconfig.h -
JS_HAS_IN_OPERATOR, and JS_HAS_INITIALIZERS.


git-svn-id: svn://10.0.0.236/trunk@5839 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 20:46:12 +00:00
despotdaemon%netscape.com
d2b73548fa Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5833 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 19:33:53 +00:00
despotdaemon%netscape.com
dd442f6895 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5832 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 19:33:18 +00:00
joki%netscape.com
479fac2162 Fix notation on key event enum values.
git-svn-id: svn://10.0.0.236/trunk@5831 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 19:25:14 +00:00
mccabe%netscape.com
beb8b2b683 Fixed interpretation of JSOP_IN to match our ECMA proposal - throw a
runtime error if the RHS is not an object.


git-svn-id: svn://10.0.0.236/trunk@5830 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 19:10:46 +00:00
kipp%netscape.com
4d15ea17d4 get dom document directly instead of from defunct web-widget api
git-svn-id: svn://10.0.0.236/trunk@5829 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 18:14:56 +00:00
kipp%netscape.com
5211cc650a Only break from next-in-flow when we have a next-in-flow
git-svn-id: svn://10.0.0.236/trunk@5828 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 18:14:23 +00:00
scullin%netscape.com
5758ee1ca9 Moved from branch
git-svn-id: svn://10.0.0.236/trunk@5827 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 18:07:21 +00:00
kipp%netscape.com
373f9cfa70 Implement debug methods in nsViewer not in WindowData or WebWidget
git-svn-id: svn://10.0.0.236/trunk@5826 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:55:47 +00:00
kipp%netscape.com
13e95eaebb Added GetContentViewer API; removed debug dump methods
git-svn-id: svn://10.0.0.236/trunk@5825 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:55:21 +00:00
kipp%netscape.com
928cbbee13 Removed debug dump methods
git-svn-id: svn://10.0.0.236/trunk@5824 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:55:00 +00:00
kipp%netscape.com
37c51a47ec Init unintialized variable
git-svn-id: svn://10.0.0.236/trunk@5823 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:54:46 +00:00
buster%netscape.com
2280d3dcab fixed table maxElementSize
git-svn-id: svn://10.0.0.236/trunk@5821 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:51:55 +00:00
buster%netscape.com
8928761040 we now allow empty rows
git-svn-id: svn://10.0.0.236/trunk@5820 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:51:43 +00:00
scullin%netscape.com
a75d8a4287 Fixed odd 24 bit gamma problem where gamme correction was being applied
in the reverse direction pixels were coming in, resulting in jpgs
being only half gamma corrected.


git-svn-id: svn://10.0.0.236/trunk@5818 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:35:22 +00:00
troy%netscape.com
409c3597f9 Changed array of points to be a const for DrawPolygon() and FillPolygon()
git-svn-id: svn://10.0.0.236/trunk@5817 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:32:53 +00:00
troy%netscape.com
8afd0cc8f1 Added DrawPolyline
git-svn-id: svn://10.0.0.236/trunk@5816 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:26:21 +00:00
leaf%mozilla.org
f3d165b58d added bdate.c
git-svn-id: svn://10.0.0.236/trunk@5815 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:24:13 +00:00
despotdaemon%netscape.com
ad7faa941a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@5814 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:22:32 +00:00
troy%netscape.com
a03f7427cd Changed to use MaskBlt() under NT when rendering a transparent image
git-svn-id: svn://10.0.0.236/trunk@5813 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 16:50:32 +00:00
despotdaemon%netscape.com
e922be9270 Pseudo-automatic update of changes made by dionisio@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5812 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 16:44:09 +00:00
kipp%netscape.com
cac20d9639 Don't create new frames when a continuation is being reflowed for the first time
git-svn-id: svn://10.0.0.236/trunk@5811 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 16:16:19 +00:00
kipp%netscape.com
79338bbe55 Removed doc-observer LoadURL method and fixedup progress printf's and start throbber at a better time
git-svn-id: svn://10.0.0.236/trunk@5810 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 15:30:59 +00:00
joki%netscape.com
19e7899868 More of the fixe for IRIX weirdness on enums in switches
git-svn-id: svn://10.0.0.236/trunk@5809 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 07:36:50 +00:00
joki%netscape.com
06c8df51e8 Adding JS event handler test
git-svn-id: svn://10.0.0.236/trunk@5808 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 07:32:13 +00:00
joki%netscape.com
37ee608cea Fix IRIX issues with enums in case statements.
git-svn-id: svn://10.0.0.236/trunk@5807 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 07:10:43 +00:00
rpotts%netscape.com
40c0155b10 Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...
git-svn-id: svn://10.0.0.236/trunk@5806 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:32:39 +00:00
rpotts%netscape.com
e223754865 Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...nsHTMLDocument.h
git-svn-id: svn://10.0.0.236/trunk@5805 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:30:00 +00:00
rpotts%netscape.com
9307060f24 Added XXX comment to a particularly nasty piece of code...
git-svn-id: svn://10.0.0.236/trunk@5804 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:27:37 +00:00
joki%netscape.com
8608c3d067 Change DIRS order to fix Unix build
git-svn-id: svn://10.0.0.236/trunk@5803 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:05:39 +00:00
peterl%netscape.com
7a6d281274 added comment support
git-svn-id: svn://10.0.0.236/trunk@5802 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:50:35 +00:00
peterl%netscape.com
fb2f836259 fixed @import parsing
rejected malformed id selectors
sync to declaration api change


git-svn-id: svn://10.0.0.236/trunk@5801 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:50:07 +00:00
peterl%netscape.com
19ed791fd0 fixed fixed font handling
git-svn-id: svn://10.0.0.236/trunk@5800 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:49:03 +00:00
peterl%netscape.com
22e8ae3d18 added fixed font support
better font size support


git-svn-id: svn://10.0.0.236/trunk@5799 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:46:12 +00:00
peterl%netscape.com
40d6b240c1 removed body & table default settings
changed heading sizes to absolute instead of length
removed form element font hacks


git-svn-id: svn://10.0.0.236/trunk@5798 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:45:22 +00:00
peterl%netscape.com
9c49287aa8 better font support
git-svn-id: svn://10.0.0.236/trunk@5797 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:44:27 +00:00
peterl%netscape.com
d6c861205a added fixed pitch font
added default color support
added content pointer
added style reset for table cells & captions
added linear links


git-svn-id: svn://10.0.0.236/trunk@5796 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:43:31 +00:00
peterl%netscape.com
17dc517b22 added default fixed pitch font & default colors
git-svn-id: svn://10.0.0.236/trunk@5795 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:41:41 +00:00
peterl%netscape.com
f3fd63b465 added fixed pitch font, added content pointer
git-svn-id: svn://10.0.0.236/trunk@5794 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:41:02 +00:00
joki%netscape.com
cf64669911 Modifying editor code to correspond to slight change in event interfaces.
git-svn-id: svn://10.0.0.236/trunk@5793 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:53:01 +00:00
joki%netscape.com
20c386dbe1 Adding new DOM stuff to handle JS event handlers
git-svn-id: svn://10.0.0.236/trunk@5792 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:52:12 +00:00
troy%netscape.com
71a267fe0b Added a #if 0 around the code to turn on transparent images
git-svn-id: svn://10.0.0.236/trunk@5791 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:41:35 +00:00
joki%netscape.com
1077b49b25 Turning on scripts by default. This should just show an error or two
and not affect how pages show up.  If this proves not to be true we'll
turn it back off.  But it will help show where we are.


git-svn-id: svn://10.0.0.236/trunk@5790 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:38:47 +00:00
troy%netscape.com
cbcbc0a7f3 Added code to do bit-blt with a mask using a SRCAND of the mask
followed by a SRCPAINT of the image


git-svn-id: svn://10.0.0.236/trunk@5789 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:37:18 +00:00
joki%netscape.com
304337f7d9 Adding new events code to JS event handler support
git-svn-id: svn://10.0.0.236/trunk@5788 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:29:16 +00:00
troy%netscape.com
29a03e020f Sets the frame's view to indicate transparency if an image
associated with the frame is transparent


git-svn-id: svn://10.0.0.236/trunk@5787 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 03:43:46 +00:00
mccabe%netscape.com
24714d3ec7 Modified grammar for for/in and the in operator to exclude parsing the
'in' keyword as an operator in the init clause of for loops; this
disambiguates for/in loop parsing.  (Previously, there was some
treenode examination magic going on.)  Per recent ECMA submission.


git-svn-id: svn://10.0.0.236/trunk@5784 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 02:56:04 +00:00
rickg%netscape.com
d11a9fb1d2 major changes to nested tag handling
git-svn-id: svn://10.0.0.236/trunk@5783 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 02:35:23 +00:00
despotdaemon%netscape.com
1f306cc5bb Pseudo-automatic update of changes made by sudu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5781 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:57:34 +00:00
despotdaemon%netscape.com
9ff7ccaeba Pseudo-automatic update of changes made by friedman@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5779 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:54:09 +00:00
pierre%netscape.com
d0fede611a #301870 (Subscribe dialog: crash on Cancel) call AttemptClose() instead of DoClose(). Full explanations in the bug report.
git-svn-id: svn://10.0.0.236/trunk@5777 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:49:17 +00:00
troy%netscape.com
8d0ccc1717 Some more work on transparent images
git-svn-id: svn://10.0.0.236/trunk@5774 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:09:19 +00:00
pierre%netscape.com
5d311683b9 Imported the Offline panels from Nova.
git-svn-id: svn://10.0.0.236/trunk@5773 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:02:23 +00:00
donm%netscape.com
f838bb527d update build number automatically. approved by: briano
git-svn-id: svn://10.0.0.236/trunk@5772 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:58:00 +00:00
donm%netscape.com
bd7a00be8d update build_number automatically. approved by: briano
git-svn-id: svn://10.0.0.236/trunk@5771 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:57:55 +00:00
spider%netscape.com
53921f2a93 Fix for throbber and offset painting
git-svn-id: svn://10.0.0.236/trunk@5769 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:50:29 +00:00
kmcclusk%netscape.com
d4808d75b9 Removed setting the boundary size in the resize callback directly. This fixes a bug
where the web widget window does not display initially.


git-svn-id: svn://10.0.0.236/trunk@5768 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:46:54 +00:00
despotdaemon%netscape.com
494fab093b Pseudo-automatic update of changes made by robinf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5767 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:43:22 +00:00
vidur%netscape.com
5d9aef20dd Rotation test revamped
git-svn-id: svn://10.0.0.236/trunk@5766 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:39:08 +00:00
kipp%netscape.com
4782a5dbe9 Implement paint method
git-svn-id: svn://10.0.0.236/trunk@5765 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:32:04 +00:00
kipp%netscape.com
4e57742055 Size the placeholder differently when visually debugging; render it too:
git-svn-id: svn://10.0.0.236/trunk@5764 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:31:53 +00:00
kipp%netscape.com
4281a0c565 Tweaked assertions
git-svn-id: svn://10.0.0.236/trunk@5763 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:31:33 +00:00
kipp%netscape.com
668b4d6bc1 Remove descent from BR
git-svn-id: svn://10.0.0.236/trunk@5762 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:31:08 +00:00
kipp%netscape.com
c26cf113d8 Treat floating tables better; place below current line floaters BEFORE clearing over them for nav compatability
git-svn-id: svn://10.0.0.236/trunk@5761 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:30:49 +00:00
kipp%netscape.com
2c0cf21ae5 Build win-dns too
git-svn-id: svn://10.0.0.236/trunk@5760 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:29:34 +00:00
kipp%netscape.com
a4af6bed5c Enable async-dns for windows in the modular netlib
git-svn-id: svn://10.0.0.236/trunk@5759 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:29:18 +00:00
kipp%netscape.com
e3e84177aa updated a comment
git-svn-id: svn://10.0.0.236/trunk@5758 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:28:47 +00:00
kipp%netscape.com
ed43b74945 new
git-svn-id: svn://10.0.0.236/trunk@5757 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:28:21 +00:00
law%netscape.com
00acaea3c1 Fix for bug#301644; don't call SetContext if we ain't got no context
git-svn-id: svn://10.0.0.236/trunk@5756 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:26:42 +00:00
buster%netscape.com
5ec227a946 ua.css changed to match Nav default for cell padding
git-svn-id: svn://10.0.0.236/trunk@5755 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:24:53 +00:00
buster%netscape.com
6ec4e2be88 fundemental overhaul of the BasicTableLayoutStrategy
We now cache lots of useful info in the colframes
we now properly account for margins just as uniform cellspacing


git-svn-id: svn://10.0.0.236/trunk@5754 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:23:31 +00:00
despotdaemon%netscape.com
4988910e53 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5752 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:16:22 +00:00
kin%netscape.com
5a773283e4 Fix for 5.0 SF1in bug #301716: Table WIDTH parameter lost when loaded in
composer

Changed the type of the m_iWidth field of the CEditTableElement class from
XP_Bool to int32.

Reviewed by mjudge.


git-svn-id: svn://10.0.0.236/trunk@5751 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:19:46 +00:00
troy%netscape.com
0cd5c7bd84 Fixed Init() to compute the mask row size correctly
git-svn-id: svn://10.0.0.236/trunk@5750 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:18:36 +00:00
kipp%netscape.com
fe90cdc817 Fix incremental reflow bug
git-svn-id: svn://10.0.0.236/trunk@5748 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:15:02 +00:00
spider%netscape.com
4ab8449abd Performance Optimization: Do not create a writeable GC on every
instantiation of a rendering context.  Re-use the old one.


git-svn-id: svn://10.0.0.236/trunk@5743 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:02:36 +00:00
spider%netscape.com
331e3930f0 Optimization: Don't create a writeable GC for non-html drawing area
git-svn-id: svn://10.0.0.236/trunk@5741 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:01:47 +00:00
kin%netscape.com
46f318388c Fix for 5.0 SF1in bug #300809: Composer adds and deletes tags; bad image
display; HTML does not validate
There are actually 3 different bugs reported in 300809. This checkin fixes
the problem where the spacing and the image are too close: <P></P><BR><IMG>

edtbuf.cpp:
    - Modified CEditBuffer::ParseOpenTag() so we don't discard a <BR> that
      comes after a </P>.
    - Commented out code that adds a blank container before a table that
      follows a </P>.

edtele.cpp:
    - Modified CEditContainerElement::AdjustContainers() to add a blank
      container after a paragraph that ends with a </P> tag.


git-svn-id: svn://10.0.0.236/trunk@5740 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:56:54 +00:00
kmcclusk%netscape.com
a917ff1639 Removed commented out CreateWindow code
git-svn-id: svn://10.0.0.236/trunk@5739 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:43:15 +00:00
spider%netscape.com
34075737ce Do not reset the clip mask when drawing to onscreen buffer.
git-svn-id: svn://10.0.0.236/trunk@5738 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:36:39 +00:00
vidur%netscape.com
c5a2b254f9 Fixed memory leak in the case where a view already exists for a frame
git-svn-id: svn://10.0.0.236/trunk@5737 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:36:25 +00:00
despotdaemon%netscape.com
a04aa720a3 Pseudo-automatic update of changes made by hoi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5736 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:33:38 +00:00
kmcclusk%netscape.com
bd5ae348cd Added code to set the XmNx and XmNy attributes in the resize method
git-svn-id: svn://10.0.0.236/trunk@5735 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:28:51 +00:00
despotdaemon%netscape.com
9ade803eca Pseudo-automatic update of changes made by petitta@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5734 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:15:54 +00:00
vidur%netscape.com
79d4e9fa87 Rotation test
git-svn-id: svn://10.0.0.236/trunk@5733 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:13:10 +00:00
despotdaemon%netscape.com
a4c716f7ce Pseudo-automatic update of changes made by rods@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5731 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 20:43:38 +00:00
despotdaemon%netscape.com
e4855f7555 Pseudo-automatic update of changes made by ricardob@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5730 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 20:37:32 +00:00
despotdaemon%netscape.com
97160293e8 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5729 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 20:34:37 +00:00
karnaze%netscape.com
39be1d110e revised hack for input controls
git-svn-id: svn://10.0.0.236/trunk@5726 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 19:50:03 +00:00
karnaze%netscape.com
e811304f41 removed hack for input, textarea
git-svn-id: svn://10.0.0.236/trunk@5725 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 19:48:37 +00:00
rickg%netscape.com
0affe937f5 fixed frameset/frames
git-svn-id: svn://10.0.0.236/trunk@5724 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 19:36:28 +00:00
jevering%netscape.com
5316230e71 null out related links item.
git-svn-id: svn://10.0.0.236/trunk@5722 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 19:00:11 +00:00
spider%netscape.com
31ac77393a Remove broken-image.gif from install of Makefile. It was moved
to layout/html...


git-svn-id: svn://10.0.0.236/trunk@5721 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:44:32 +00:00
troy%netscape.com
580a3e6cb1 Turned back on optimized images
git-svn-id: svn://10.0.0.236/trunk@5720 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:32:17 +00:00
kmcclusk%netscape.com
48931652e9 Removed #ifdef (!XP_PC) so the VIEWER_UI is defined for Unix
git-svn-id: svn://10.0.0.236/trunk@5719 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:24:56 +00:00
guha%netscape.com
086796380f Fix for bug reported by Mr. Hickman
git-svn-id: svn://10.0.0.236/trunk@5717 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:22:23 +00:00
kipp%netscape.com
cf157da228 Deal with lingering leaf content properly during append reflow
git-svn-id: svn://10.0.0.236/trunk@5716 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:19:53 +00:00
spider%netscape.com
4557a59f98 Update for new cvs server
git-svn-id: svn://10.0.0.236/trunk@5714 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:54:57 +00:00
despotdaemon%netscape.com
c097f3ec61 Pseudo-automatic update of changes made by waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5713 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:54:15 +00:00
spider%netscape.com
b887e12c4f Misc fixes to build on Unix
git-svn-id: svn://10.0.0.236/trunk@5712 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:53:13 +00:00
kmcclusk%netscape.com
1efa86d99c Changed CopyOffScreenBits to copy from 0,0 instead of using the aBounds (x,y)
git-svn-id: svn://10.0.0.236/trunk@5711 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:40:47 +00:00
despotdaemon%netscape.com
7bd0b31bd7 Pseudo-automatic update of changes made by jfrancis@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5710 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:22:48 +00:00
troy%netscape.com
5017300bbc Fixed some more nsColor.h captitalization problems
git-svn-id: svn://10.0.0.236/trunk@5709 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:09:26 +00:00
nisheeth%netscape.com
d917a74fa9 Fix for bug #300477 to stabilize the table freeing changes. This fixes
the crash that occurred when you aborted the loading of the Netscape home
page.


git-svn-id: svn://10.0.0.236/trunk@5705 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 08:42:43 +00:00
ramiro%netscape.com
023a2014d0 Fix a broken INCLUDES += ./
Should be INCLUDES += -I./
Im not really sure why this is needed since the current mime is on the
REQUIRES list.  I had to fix this cause 'make depend' was breaking because
of the misplaced './'


git-svn-id: svn://10.0.0.236/trunk@5703 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 07:25:12 +00:00
mlm%netscape.com
3a7ff11ae4 Fix for bug 122467 (P0 SF1 In): Merge from 4.06 fix for 123836.
If two layers come in with the same name, rename the first one
to avoid a layer getting prematurely garbage collected or GC'd
twice.  Originally reviewed by brendan, chouck, and nisheeth.


git-svn-id: svn://10.0.0.236/trunk@5696 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 05:20:45 +00:00
kipp%netscape.com
3c214f8066 Fixed include
git-svn-id: svn://10.0.0.236/trunk@5694 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 05:04:01 +00:00
troy%netscape.com
7ff89af8f6 Changed background color to be a const
git-svn-id: svn://10.0.0.236/trunk@5693 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 04:51:12 +00:00
troy%netscape.com
1648bbf5e6 Added background color to image loading member functions
git-svn-id: svn://10.0.0.236/trunk@5690 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 04:34:59 +00:00
despotdaemon%netscape.com
d60a52e529 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5684 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 03:39:22 +00:00
gagan%netscape.com
0540d29926 Fix for #300506 and #300207.
git-svn-id: svn://10.0.0.236/trunk@5683 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 03:36:10 +00:00
gagan%netscape.com
f2ba7567ee Fix for bug #300506 and #300207. Incompatible cache formats between gromit and mozilla were causing the crash/asserts. Cleaning your cache before using this should fix everything.
git-svn-id: svn://10.0.0.236/trunk@5682 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 03:33:34 +00:00
troy%netscape.com
f6f52c69d7 Fixed some build bustage I introduced
git-svn-id: svn://10.0.0.236/trunk@5681 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 03:09:33 +00:00
troy%netscape.com
03207dfebf Changed image group GetImage() member function so the background color
is a pointer and not a color by value. This allows it to be NULL if the
caller wants a transparency mask to be created


git-svn-id: svn://10.0.0.236/trunk@5680 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 02:32:08 +00:00
kipp%netscape.com
78c22abb8f Setup includes for unix
git-svn-id: svn://10.0.0.236/trunk@5679 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 02:21:30 +00:00
kipp%netscape.com
efa878fad9 Fixed exporting makefile bug
git-svn-id: svn://10.0.0.236/trunk@5678 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 02:16:05 +00:00
despotdaemon%netscape.com
bc12ec3db4 Pseudo-automatic update of changes made by nisheeth@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5677 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 02:04:25 +00:00
despotdaemon%netscape.com
b19c26c59c Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5676 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:55:28 +00:00
kipp%netscape.com
2a17e31d0d build workage for windows
git-svn-id: svn://10.0.0.236/trunk@5675 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:53:55 +00:00
kipp%netscape.com
b332b3527a Fix unix build woes
git-svn-id: svn://10.0.0.236/trunk@5674 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:19:02 +00:00
kipp%netscape.com
afaab7b6e4 new
git-svn-id: svn://10.0.0.236/trunk@5673 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:16:47 +00:00
despotdaemon%netscape.com
c665396945 Pseudo-automatic update of changes made by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5672 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:10:06 +00:00
despotdaemon%netscape.com
8d9e76babf Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5671 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:08:17 +00:00
despotdaemon%netscape.com
21c2c436de Pseudo-automatic update of changes made by waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5670 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:02:33 +00:00
despotdaemon%netscape.com
4e7df64507 Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5669 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:01:13 +00:00
despotdaemon%netscape.com
08dc50491e Pseudo-automatic update of changes made by rickg@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5668 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:36:03 +00:00
despotdaemon%netscape.com
afcb3283db Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5667 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:33:04 +00:00
rpotts%netscape.com
71ff145fb3 Fix for view reference counting... A reference to the scrolling view was not being release. This prevented Scrolling views from being destroyed.
git-svn-id: svn://10.0.0.236/trunk@5666 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:14:03 +00:00
guha%netscape.com
7f12704c8a Fix bug in related links
git-svn-id: svn://10.0.0.236/trunk@5665 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:10:48 +00:00
despotdaemon%netscape.com
e7e4e7e2b2 Pseudo-automatic update of changes made by slamm@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5664 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:07:37 +00:00
despotdaemon%netscape.com
c2e61578c6 Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5663 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:04:50 +00:00
despotdaemon%netscape.com
43b525e379 Pseudo-automatic update of changes made by rjc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5662 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 23:50:01 +00:00
vidur%netscape.com
2e9c34fbe0 Got rid of unnecessary file
git-svn-id: svn://10.0.0.236/trunk@5661 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 23:49:22 +00:00
karnaze%netscape.com
035ea058c0 initial framesets, nsHTMLIFrame.cpp absorbed by nsHTMLFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@5660 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 23:42:14 +00:00
guha%netscape.com
b5e791727c Remove duplicates from related links
git-svn-id: svn://10.0.0.236/trunk@5659 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 23:39:14 +00:00
kipp%netscape.com
639971d701 Allocated IID's for nsIHTMLContentSink, nsIContentSink, nsIDTD
git-svn-id: svn://10.0.0.236/trunk@5658 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:51:30 +00:00
scullin%netscape.com
da0680f5c0 Attempting to fix raptor mac build (not part of grommit or mozilla build)
git-svn-id: svn://10.0.0.236/trunk@5657 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:41:57 +00:00
rpotts%netscape.com
ced3fe0f75 Added nsIURL argument to the nsIStreamListener interface
git-svn-id: svn://10.0.0.236/trunk@5656 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:38:01 +00:00
kipp%netscape.com
34e87dc2dc Updated to XPCOM'ized sink api
git-svn-id: svn://10.0.0.236/trunk@5653 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:31:10 +00:00
kipp%netscape.com
04161762b4 Revised sink API's and others to be more xpcom'ish
git-svn-id: svn://10.0.0.236/trunk@5652 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:30:39 +00:00
kipp%netscape.com
950b54bd25 Cleaned up exports list
git-svn-id: svn://10.0.0.236/trunk@5651 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:04:21 +00:00
kipp%netscape.com
ed753de2b5 Fixed build issue
git-svn-id: svn://10.0.0.236/trunk@5650 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:03:56 +00:00
despotdaemon%netscape.com
524459db1d Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5649 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:02:47 +00:00
terry%netscape.com
2bf9ff773f Testing Bonsai, try 11.
git-svn-id: svn://10.0.0.236/trunk@5648 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:40:59 +00:00
despotdaemon%netscape.com
57629c5dca Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5647 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:32:47 +00:00
despotdaemon%netscape.com
47cbac7838 Pseudo-automatic update of changes made by gagan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5646 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:31:12 +00:00
despotdaemon%netscape.com
175c5255a7 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5645 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:28:42 +00:00
despotdaemon%netscape.com
60f3889b09 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5644 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:26:26 +00:00
despotdaemon%netscape.com
2554945201 Pseudo-automatic update of changes made by blythe@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5643 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:21:41 +00:00
kipp%netscape.com
7c9fe2aa68 Fixed up to build
git-svn-id: svn://10.0.0.236/trunk@5642 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:07:47 +00:00
kipp%netscape.com
dc021cf11b fix directory name
git-svn-id: svn://10.0.0.236/trunk@5641 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:03:38 +00:00
terry%netscape.com
585c039d35 Testing Bonsai, try 10.
git-svn-id: svn://10.0.0.236/trunk@5640 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 20:56:25 +00:00
terry%netscape.com
b82af375e5 Testing Bonsai, try 9.
git-svn-id: svn://10.0.0.236/trunk@5639 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 20:50:31 +00:00
terry%netscape.com
7584b406cd Use the CVS_ROOT environment variable.
git-svn-id: svn://10.0.0.236/trunk@5638 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 20:50:10 +00:00
terry%netscape.com
b8960a3212 Testing Bonsai, try 8.
git-svn-id: svn://10.0.0.236/trunk@5637 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 20:47:57 +00:00
terry%netscape.com
2b35e8bea8 Testing Bonsai, try 7.
git-svn-id: svn://10.0.0.236/trunk@5636 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:56:37 +00:00
terry%netscape.com
fb6ddda634 Testing Bonsai, try 6.
git-svn-id: svn://10.0.0.236/trunk@5635 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:50:56 +00:00
terry%netscape.com
81e3585758 Testing Bonsai, try 5.
git-svn-id: svn://10.0.0.236/trunk@5634 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:43:52 +00:00
terry%netscape.com
44096764a6 Doesn't seem to know what "localhost" is. Try "127.0.0.1" instead.
git-svn-id: svn://10.0.0.236/trunk@5633 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:43:19 +00:00
terry%netscape.com
f88fa00a15 Testing Bonsai, try 4.
git-svn-id: svn://10.0.0.236/trunk@5632 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:41:56 +00:00
terry%netscape.com
5e730b77d7 Testing Bonsai, try 3.
git-svn-id: svn://10.0.0.236/trunk@5631 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:39:32 +00:00
terry%netscape.com
7bd8088f2b Oops; still wasn't quite right.
git-svn-id: svn://10.0.0.236/trunk@5630 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:39:01 +00:00
terry%netscape.com
7c460a98ff Testing Bonsai, try 2.
git-svn-id: svn://10.0.0.236/trunk@5629 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:37:24 +00:00
terry%netscape.com
66bf2e0829 Speak SMTP directly.
git-svn-id: svn://10.0.0.236/trunk@5628 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:36:44 +00:00
danm%netscape.com
ac4fd77ecc bumping the revision number some more. making last checkin more likely to work. bug 301138.
git-svn-id: svn://10.0.0.236/trunk@5627 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:22:02 +00:00
despotdaemon%netscape.com
e38f77bc0f Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5626 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:19:54 +00:00
terry%netscape.com
fd2945836b Just testing to make sure we haven't busted Bonsai.
git-svn-id: svn://10.0.0.236/trunk@5625 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:18:58 +00:00
despotdaemon%netscape.com
2a9c0f80b3 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5624 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:18:11 +00:00
despotdaemon%netscape.com
406902047f Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5623 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:16:01 +00:00
troy
ef7aa18cc4 Unused
git-svn-id: svn://10.0.0.236/trunk@5622 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:58:44 +00:00
kipp
3af0a3fee5 nuked
git-svn-id: svn://10.0.0.236/trunk@5621 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:55:53 +00:00
despotdaemon%netscape.com
51be4c224e Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5620 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:55:37 +00:00
kipp
aed38e36a1 new
git-svn-id: svn://10.0.0.236/trunk@5619 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:54:51 +00:00
jevering
52fabf17ef Hooked up the related links code to the demo. Getting duplicated now,
hopefully get that fixed soon.


git-svn-id: svn://10.0.0.236/trunk@5616 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:45:16 +00:00
despotdaemon%netscape.com
97066c53f3 Pseudo-automatic update of changes made by saari@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5615 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:44:55 +00:00
jevering
0eabd76492 Related links stuff.. Guha's related links code stolen from 4.5 and
spanked seriously.. then jammed into netlib.  Nice huh?


git-svn-id: svn://10.0.0.236/trunk@5614 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:44:26 +00:00
despotdaemon%netscape.com
51152f3442 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5613 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:42:38 +00:00
despotdaemon%netscape.com
38d381c811 Pseudo-automatic update of changes made by takacs@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5612 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:35:16 +00:00
despotdaemon%netscape.com
94b4e02014 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@5611 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:31:47 +00:00
vidur
8c254f6bc3 Added HTML idl definitions. Changed directory structure in src
git-svn-id: svn://10.0.0.236/trunk@5610 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:30:35 +00:00
vidur
ce2208290b Added HTML idl definitions. Changed directory structure in src
git-svn-id: svn://10.0.0.236/trunk@5608 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:36:53 +00:00
danm
72a189d7d8 plugging leaks. bug 301138 a:don.
git-svn-id: svn://10.0.0.236/trunk@5607 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:26:32 +00:00
kipp
e79ebcce8a Handle unconstrained width during percentage width computations
git-svn-id: svn://10.0.0.236/trunk@5606 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:07:20 +00:00
kipp
ff251ca05b Fixed HR style
git-svn-id: svn://10.0.0.236/trunk@5605 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:07:00 +00:00
kipp
663bd5580e Speed up doc loading by not reflowing after appending leaf elements (temporary hack)
git-svn-id: svn://10.0.0.236/trunk@5604 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:06:53 +00:00
kipp
6e34ee0270 Indent tweak
git-svn-id: svn://10.0.0.236/trunk@5603 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:05:59 +00:00
kipp
a223ac715f Stop storing image attrs directly; changed layout code to not use nsHTMLImage directly
git-svn-id: svn://10.0.0.236/trunk@5602 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:05:49 +00:00
troy
ca3a5dd4c3 Some more changes of nsIPresContext* to nsIPresContext&
git-svn-id: svn://10.0.0.236/trunk@5601 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:05:21 +00:00
kmcclusk
20068e802e Put all EXPORT's on a single line. Didn't work on Linux when they were on separate lines.
git-svn-id: svn://10.0.0.236/trunk@5600 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:04:56 +00:00
kipp
c2ab0d6da9 Make bullets a bit smaller to look better
git-svn-id: svn://10.0.0.236/trunk@5599 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:04:30 +00:00
spider
e1e1054268 Fix for multitude of print statements that SHM is not available when
displaying on Hummingbird PC X Display Server


git-svn-id: svn://10.0.0.236/trunk@5598 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:03:53 +00:00
shaver
469e36a3d2 more jsI?Context stuff, some Scriptable hackery
git-svn-id: svn://10.0.0.236/trunk@5597 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:59:47 +00:00
kostello
cd12d6b39a Fix Unix build bustage
git-svn-id: svn://10.0.0.236/trunk@5596 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:54:29 +00:00
vidur
fa88168f3b Added HTML idl definitions. Changed directory structure in src
git-svn-id: svn://10.0.0.236/trunk@5595 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:54:19 +00:00
kipp
0e0312bc86 Use GetStyleSize to get a better width; store away computed width so that paint code doesn't have to compute it
git-svn-id: svn://10.0.0.236/trunk@5594 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:49:07 +00:00
kipp
6ecb9b1752 Keep unconstrained flowing downward
git-svn-id: svn://10.0.0.236/trunk@5593 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:48:21 +00:00
danm
f644f74ce6 removing Windows-specific obsolete version of Full Circle code. bug 300132 a:don.
git-svn-id: svn://10.0.0.236/trunk@5592 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:39:21 +00:00
ftang
c5fa348c20 Partially fix 5.0 SF1 In bug 122807 and hand it to clu per brade request.
git-svn-id: svn://10.0.0.236/trunk@5591 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:33:40 +00:00
terry%netscape.com
e0b760ddcd Sync up with the way things worked on /m/pub.
git-svn-id: svn://10.0.0.236/trunk@5590 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 14:05:24 +00:00
terry%netscape.com
c482a50b05 Turn on Bonsai notification in new repository.
git-svn-id: svn://10.0.0.236/trunk@5589 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 14:03:09 +00:00
ramiro
080cc049b6 Nasty hack to deal with hpux 10.x ANSI C compiler bug. Do the expression
expansion "by hand".
HPUX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.


git-svn-id: svn://10.0.0.236/trunk@5588 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:34:34 +00:00
ramiro
937dba67cc Replace (un-hardcode) /usr/lib/libm.a with -lm.
HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.
This is a good change for all platforms.  ITs dumb to hardcode the library
like that.  If for some reason a particular paltform requires a hard coded
path to libm, then it should be special cased.


git-svn-id: svn://10.0.0.236/trunk@5587 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:30:51 +00:00
ramiro
6952561c18 Add support for HPUX A.09. Cleanup HPUX B.10 defines. Add hpux support for
NS_USE_GCC.
Comment out an unused variable.
HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.


git-svn-id: svn://10.0.0.236/trunk@5586 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:19:36 +00:00
ramiro
e4ad3c0509 Turn editres off on hpux. Declare missing XmString function on motif 2.x.
HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.


git-svn-id: svn://10.0.0.236/trunk@5585 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:09:51 +00:00
ramiro
c1c1d6f094 Turn EDITRES of on hpux. HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.
git-svn-id: svn://10.0.0.236/trunk@5584 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:04:44 +00:00
troy
ee770f6c01 Added an XXX to remind me to talk with Cujo about how we determine
whether the column widths have changed...


git-svn-id: svn://10.0.0.236/trunk@5581 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:52:32 +00:00
troy
fea23176e8 Turned off some code that was accidently turned on
git-svn-id: svn://10.0.0.236/trunk@5580 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:46:51 +00:00
troy
daf7150ca5 Some improvements to the incremental reflow logic to handle all the
cases handled by resize reflow


git-svn-id: svn://10.0.0.236/trunk@5579 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:45:58 +00:00
danm
9f30d47e7f use ns/fullsoft dll if MOZ_FULLCIRCLE
git-svn-id: svn://10.0.0.236/trunk@5577 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:07:56 +00:00
danm
9855ad6bbb build Full Circle using /ns source, and only ifdef MOZ_FULLCIRCLE. bug 300132 a:don.
git-svn-id: svn://10.0.0.236/trunk@5576 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:05:21 +00:00
pierre
1b081b8d0b 300635 (Missing icons in Aurora control bar). Put back the 3 Aurora icons ('ics8' 16251-3) inadvertently removed during the last MOZ_DARK checkin.
git-svn-id: svn://10.0.0.236/trunk@5573 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 03:31:57 +00:00
troy
eb7fa8a66e Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext


git-svn-id: svn://10.0.0.236/trunk@5569 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 03:23:23 +00:00
racham
ccdfb61a55 Error Checking statements added at various locations
git-svn-id: svn://10.0.0.236/trunk@5568 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 03:12:25 +00:00
mccabe
b00377b8ce Added configuration section for js 1.4, with in/instanceof/exceptions turned
on.  (Default configuration is still 1.3.)


git-svn-id: svn://10.0.0.236/trunk@5567 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 03:00:24 +00:00
troy
81b8ba2d1c Changed GetReflowMetrics() to take a reference to a nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@5566 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:59:06 +00:00
troy
547dc8ae9b Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer


git-svn-id: svn://10.0.0.236/trunk@5565 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:53:09 +00:00
spider
497caf9280 Fix for crash on servers not supporting MIT-SHM
git-svn-id: svn://10.0.0.236/trunk@5564 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:29:10 +00:00
rickg
7bf871658d eliminated warnings from linux build
git-svn-id: svn://10.0.0.236/trunk@5563 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:08:19 +00:00
rickg
8a3ce47586 fixed linux warnings
git-svn-id: svn://10.0.0.236/trunk@5562 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:01:00 +00:00
rickg
3ee5a73f35 fixed linux tinderbox error
git-svn-id: svn://10.0.0.236/trunk@5561 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 01:58:02 +00:00
akkana
2948f23337 Bug 112612: Don't do anything with mail/news-specific preferences unless
MOZ_MAIL_NEWS is defined, so we won't save garbage out. r=brade.


git-svn-id: svn://10.0.0.236/trunk@5560 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 01:52:21 +00:00
spider
4db20609da query the server for the pixmap format rather than trying to guess ourselves
git-svn-id: svn://10.0.0.236/trunk@5559 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 01:29:20 +00:00
spider
d5e479a7da MIT-SHM implementation for offscreen drawables
git-svn-id: svn://10.0.0.236/trunk@5558 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 01:08:35 +00:00
ramiro
0f726a9fe6 Protect debug printf with #ifdef.
git-svn-id: svn://10.0.0.236/trunk@5557 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:56:51 +00:00
kipp
dc79c6750a Treat embed properly as a leaf; fixed typo with object tag
git-svn-id: svn://10.0.0.236/trunk@5556 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:49:26 +00:00
kipp
f809f86477 Made applet's, embed's and object's inlines
git-svn-id: svn://10.0.0.236/trunk@5555 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:48:56 +00:00
kipp
72d875c3de Rebased to use nsObjectContent to share common code
git-svn-id: svn://10.0.0.236/trunk@5554 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:48:39 +00:00
kipp
165aa88ae1 new
git-svn-id: svn://10.0.0.236/trunk@5553 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:48:22 +00:00
kipp
c7a0a24011 Added nsObjectContent
git-svn-id: svn://10.0.0.236/trunk@5552 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:48:15 +00:00
kipp
bb375cde2c More hacks for floating embed's, object's and applet's
git-svn-id: svn://10.0.0.236/trunk@5551 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:47:46 +00:00
kipp
2532972048 Treat embed just like img
git-svn-id: svn://10.0.0.236/trunk@5550 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:47:19 +00:00
briano
0ef6d5c477 Fix for Mozilla bug#117. Thanks to thorsten@wurzelausix.cs.uni-sb.de and wtc@netscape.com for the suggestions.
git-svn-id: svn://10.0.0.236/trunk@5549 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:37:11 +00:00
morse
4b4dfdf1d8 fix bug 161346, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@5548 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:29:04 +00:00
kipp
b3e9e70eb9 Handle null pointers better
git-svn-id: svn://10.0.0.236/trunk@5547 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:23:31 +00:00
kipp
bac02831ad Added applet, object and embed support
git-svn-id: svn://10.0.0.236/trunk@5546 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:23:07 +00:00
kipp
ec1f86413c Added nsObjectFrame
git-svn-id: svn://10.0.0.236/trunk@5545 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:22:56 +00:00
kipp
9f488fc36a new
git-svn-id: svn://10.0.0.236/trunk@5544 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:22:30 +00:00
kipp
3fb1d547c1 Handle applet, object and embed tags
git-svn-id: svn://10.0.0.236/trunk@5543 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:22:15 +00:00
kipp
66f0ceca5c Use NS_NewObjectFrame
git-svn-id: svn://10.0.0.236/trunk@5542 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:21:51 +00:00
kipp
00dccbb4e9 added nsHTMLEmbed
git-svn-id: svn://10.0.0.236/trunk@5541 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:21:43 +00:00
rickg
c02241edaa fixed a tinderbox problem introduced in latest contentsinkstream
git-svn-id: svn://10.0.0.236/trunk@5540 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:21:39 +00:00
briano
f4329226d6 Fix for Mozilla bug#249. Thanks to armen@unx.dec.com for doing the testing for me.
git-svn-id: svn://10.0.0.236/trunk@5539 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:49:35 +00:00
radha
8af45b29f5 Fix for Gromit SF1 in bug # 123826. COde reviewed by Judson Valeski.
Type of change:
--------------
Set the timer to call NET_ProcessNet() after a request for network access
is made. See bug report for more details.


git-svn-id: svn://10.0.0.236/trunk@5538 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:40:16 +00:00
joki
26b73797ac Change these to PR boolean values
git-svn-id: svn://10.0.0.236/trunk@5537 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:34:37 +00:00
kostello
dd53fc97c8 Sync with new DOM interfaces
git-svn-id: svn://10.0.0.236/trunk@5536 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:30:44 +00:00
rickg
bd87244c26 fixed 's' tag which broke with introduction of nsHTMLTags
git-svn-id: svn://10.0.0.236/trunk@5535 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:29:25 +00:00
briano
9377549c32 Fix for mozilla bug#477. Thanks to sjm@nwc.dk for the info.
git-svn-id: svn://10.0.0.236/trunk@5533 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:24:30 +00:00
law
1a1678d85a Fix for bug#197179
git-svn-id: svn://10.0.0.236/trunk@5531 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:11:05 +00:00
vidur
00cf93dbea Added square-bracket indexing for any interface that has an item() method.
git-svn-id: svn://10.0.0.236/trunk@5530 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:07:26 +00:00
chuang
f6f78f53ed Fix300421 Edit Preferences doesn't work, reviewed by putterman
git-svn-id: svn://10.0.0.236/trunk@5528 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:03:07 +00:00
karnaze
c8d410f8d0 made "get" the default for submission when method is omitted
git-svn-id: svn://10.0.0.236/trunk@5526 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:52:07 +00:00
ramiro
d701cb3361 Fix for 124262 5.0 SF1 in bug.
Thanks to for providing the initial fix Juergen Keil <jk@tools.de>.


git-svn-id: svn://10.0.0.236/trunk@5525 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:51:57 +00:00
kostello
4a76768a22 Added XIF Support. XIF is a Netscape internal XML format which is
designed to allow for easy conversion from the NGLayoutContent model
to other formats. It's primary focus is to allow easy conversion to
HTML3.2 and HTML4.0 formats. Other formats may be supported in the future.


git-svn-id: svn://10.0.0.236/trunk@5523 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:37:51 +00:00
spider
d7ff18d3fe Removing incorrectly added Mac specific files from Motif directory
git-svn-id: svn://10.0.0.236/trunk@5522 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:35:56 +00:00
kostello
99d792b211 Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.


git-svn-id: svn://10.0.0.236/trunk@5521 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:34:27 +00:00
despotdaemon%netscape.com
80c2608628 Pseudo-automatic update of changes made by terry.
git-svn-id: svn://10.0.0.236/trunk@5520 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:30:28 +00:00
kostello
2a61f0d9df Helper object that creates a buffer of XIF data
git-svn-id: svn://10.0.0.236/trunk@5519 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:29:21 +00:00
jevering
2719dea262 Turned on location bar in windows.
git-svn-id: svn://10.0.0.236/trunk@5518 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:29:01 +00:00
kostello
ca721596f3 DTD to take XIF input and write to a IHTMLContentSinkStream
git-svn-id: svn://10.0.0.236/trunk@5517 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:26:38 +00:00
toshok
6fbaecdce2 Only call lo_SetLineBreak if we indeed inserted a line break - fixes SF1 P0 bug 300047.
git-svn-id: svn://10.0.0.236/trunk@5516 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:16:21 +00:00
despotdaemon%netscape.com
6896c191b6 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5515 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:53:12 +00:00
danm
011bd0d82f plug small memory leak. bug 300980 a:don.
git-svn-id: svn://10.0.0.236/trunk@5514 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:51:36 +00:00
toshok
858173e862 switch order of if checks. gets rid of a SF1 P0 bug 300045.
git-svn-id: svn://10.0.0.236/trunk@5512 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:39:00 +00:00
despotdaemon%netscape.com
563ed8fb9b Pseudo-automatic update of changes made by ebina@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5511 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:26:32 +00:00
cyeh
2e82e0f7a3 fix for Macintosh raptor build. target name was mispelled, so the build defaulted to the wrong networking target. corrected spelling so that modular netlib is built instead. (not a part of mozilla or gromit builds, reviewed cyeh)
git-svn-id: svn://10.0.0.236/trunk@5510 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:13:23 +00:00
spider
f8b19557c3 Fix for not unloading fonts no longer needed
git-svn-id: svn://10.0.0.236/trunk@5509 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 20:32:33 +00:00
joki
d670f3d6e9 Generated JS from IDL now calls backdoor routine all the time from js getters/setters
git-svn-id: svn://10.0.0.236/trunk@5508 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 20:19:28 +00:00
spider
25ff908892 Export the CNavDTD interface so DTD's residing in remote shared libraries
can use it.


git-svn-id: svn://10.0.0.236/trunk@5506 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 19:24:54 +00:00
rickg
b4dce18854 added a few missing tags
git-svn-id: svn://10.0.0.236/trunk@5505 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 19:18:06 +00:00
rickg
a943a03baf added a few missing tags
git-svn-id: svn://10.0.0.236/trunk@5504 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 19:10:42 +00:00
kipp
085aef855b Add factory methods for applets and objects
git-svn-id: svn://10.0.0.236/trunk@5503 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:54:20 +00:00
kipp
ee1d54a263 new
git-svn-id: svn://10.0.0.236/trunk@5502 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:52:27 +00:00
vidur
1b41003b82 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in.
git-svn-id: svn://10.0.0.236/trunk@5501 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:44:44 +00:00
scullin
9a53260754 Turn on image caching.
git-svn-id: svn://10.0.0.236/trunk@5500 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:43:47 +00:00
kipp
f5f0f625ca Use FirstChild method so that more subclasses can use the method
git-svn-id: svn://10.0.0.236/trunk@5499 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:38:11 +00:00
kipp
c05fb3bd95 Check for silly width/height's and repair them; fixed bug where a silly height was created; removed redundant handle-event code
git-svn-id: svn://10.0.0.236/trunk@5498 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:37:51 +00:00
spider
064ddf3fe8 Add Network support for UI Loading
git-svn-id: svn://10.0.0.236/trunk@5497 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:22:27 +00:00
despotdaemon%netscape.com
80101e87ac Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5496 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:55:03 +00:00
terry%netscape.com
a73edc1475 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5495 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:43:16 +00:00
spider
de2747552e Performance Optimization: Cache the XFontInfo struct so don't need
to call XQueryFont on every GetWidth.


git-svn-id: svn://10.0.0.236/trunk@5494 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:41:06 +00:00
terry%netscape.com
077a01033e Pseudo-automatic update of changes made by despotdaemon@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5493 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:38:45 +00:00
kmcclusk
19b25d95ae Added #ifdef VIEWER_UI to OnStopBinding to prevent crash when running without GUI
git-svn-id: svn://10.0.0.236/trunk@5492 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:37:42 +00:00
scullin
3c4fca0705 Didn't mean to start pulling the XPCOM branch for xpcom or libreg again.
(sigh).


git-svn-id: svn://10.0.0.236/trunk@5491 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:24:26 +00:00
terry%netscape.com
f3edbed615 Pseudo-automatic update of changes made by terry.
git-svn-id: svn://10.0.0.236/trunk@5490 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:19:13 +00:00
terry%netscape.com
f435b2615c Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5489 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:17:52 +00:00
terry%netscape.com
2d34ff75f9 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5488 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:16:25 +00:00
terry%netscape.com
7b02fa1fc5 Pseudo-automatic update of changes made by terry.
git-svn-id: svn://10.0.0.236/trunk@5487 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:12:43 +00:00
terry%netscape.com
283136ab27 Turn on commitcheck.pl
git-svn-id: svn://10.0.0.236/trunk@5486 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 16:52:16 +00:00
terry%netscape.com
fac1ed544a Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5485 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 16:49:58 +00:00
terry%netscape.com
85fb64814f Pseudo-automatic update of changes made by terry.
git-svn-id: svn://10.0.0.236/trunk@5484 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 16:42:51 +00:00
terry%netscape.com
36ec67254e Automatically generated script to implement despot control.
git-svn-id: svn://10.0.0.236/trunk@5483 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 16:27:59 +00:00
troy
5d54fed53c Incremental reflow changes
git-svn-id: svn://10.0.0.236/trunk@5482 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:29:50 +00:00
kipp
5d58dac108 Hack around url parsing bug; urls that start with / are not absolute even if they contain a colon
git-svn-id: svn://10.0.0.236/trunk@5481 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:24:32 +00:00
kipp
b5e35e2bd9 Handle null pointer bugs
git-svn-id: svn://10.0.0.236/trunk@5480 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:22:30 +00:00
kipp
f13e4e5b36 Made tables look more real by eliminating ebina auto margins
git-svn-id: svn://10.0.0.236/trunk@5479 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:22:11 +00:00
kipp
46bda6f8ac Commented out an unused variable
git-svn-id: svn://10.0.0.236/trunk@5478 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:21:50 +00:00
kipp
d9a3931568 Removed MoveTo/SizeTo; added DidReflow and changed it so that on final placement the widget is made visible; during widget creation the widget is created hidden; updated hack font name to match ua.css
git-svn-id: svn://10.0.0.236/trunk@5477 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:21:36 +00:00
kipp
86d409d25c Removed MoveTo/SizeTo and added DidReflow
git-svn-id: svn://10.0.0.236/trunk@5476 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:20:43 +00:00
kipp
b7b5e4a567 Removed WS_VISIBLE from everywhere so that windows when created are hidden until positioned and shown
git-svn-id: svn://10.0.0.236/trunk@5475 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:17:29 +00:00
danm
109f9fbcdf fix %@# goof from the _last_ fix checkin. time to go home.
git-svn-id: svn://10.0.0.236/trunk@5467 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 03:20:52 +00:00
kipp
218d170d43 Stop using GetText for node tag names whenever possible
git-svn-id: svn://10.0.0.236/trunk@5460 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:57:51 +00:00
rickg
8ee1bc17c0 better support for applet/param tags; also converted DIR/MENU to UL
git-svn-id: svn://10.0.0.236/trunk@5459 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:57:25 +00:00
kipp
8287b3a383 Put prlog.h back in again
git-svn-id: svn://10.0.0.236/trunk@5458 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:45:01 +00:00
kin
b2dec3ba0c Fix for 5.0 SF1in bug 299978: html compose fails: can't save file:///Untitled
Ignore autosave code in fe_EditorCleanup() if the context is for a
MWContextMessageComposition.  Reviewed by akkana.


git-svn-id: svn://10.0.0.236/trunk@5456 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:29:37 +00:00
pierre
fbf09cf662 Following my MOZ_DARK checkin 2 weeks ago, changed a "((long (*) (char *, uint32, void *))" to "((int32 (*) (char *, uint32, void *))". Just in case...
git-svn-id: svn://10.0.0.236/trunk@5455 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:17:15 +00:00
scullin
0da10cc6ec Attempt to fix build.
git-svn-id: svn://10.0.0.236/trunk@5454 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:09:34 +00:00
scullin
605bf92aef Fix UNIX link problems.
git-svn-id: svn://10.0.0.236/trunk@5453 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:57:49 +00:00
kipp
08a2fe283f Removed bogus include
git-svn-id: svn://10.0.0.236/trunk@5452 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:57:16 +00:00
kipp
14c8e34ecb Clamp bullet x coordinate to stay in the available area; if we have a bullet then the first 2 frames are considered the first frame
git-svn-id: svn://10.0.0.236/trunk@5451 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:56:49 +00:00
raman
f3152cb469 Added caps to the pull. caps is not part of the build system. caps is checked into both the tip and it is part of the OJI branch. When OJI branch lands on the tip, the build of caps will be enabled. Permission warren/ltabb
git-svn-id: svn://10.0.0.236/trunk@5450 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:56:33 +00:00
kipp
f4279ba768 Added have-bullet flag
git-svn-id: svn://10.0.0.236/trunk@5449 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:55:43 +00:00
kipp
ee32cc07cd Revamp list handling so that the LI frame is placed differently then regular frames by the LI container
git-svn-id: svn://10.0.0.236/trunk@5448 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:55:28 +00:00
kipp
4d29852f8a Removed LI hack
git-svn-id: svn://10.0.0.236/trunk@5447 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:54:21 +00:00
scullin
ccf0a01c00 Fix nglayout UNIX build?
git-svn-id: svn://10.0.0.236/trunk@5446 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:17:00 +00:00
scullin
6e47abf3ed Fix build?
git-svn-id: svn://10.0.0.236/trunk@5445 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:13:49 +00:00
briano
9b218551c3 Fix for bug#356. Cleaned up the logic a bit and got rid of the pointless checks for NSPR20.
git-svn-id: svn://10.0.0.236/trunk@5443 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:57:26 +00:00
pollmann
4f6e01509a Bugfixes 5.0 SF1 in (Bug #300542)
git-svn-id: svn://10.0.0.236/trunk@5442 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:57:14 +00:00
danm
058b2de7f3 fix Win95 bustage introduced last version. Sorry about that.
git-svn-id: svn://10.0.0.236/trunk@5441 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:52:48 +00:00
sar
0ab9bdbda4 adding libmsg and libaddr to MozillaSourceCommon now that they are free. NormandyBeach* will be going away as soon as aclimation is ensured.
git-svn-id: svn://10.0.0.236/trunk@5439 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:50:22 +00:00
scullin
20cdc31eeb Re-enable normal netlib stream handling. Caching and chunking should
work now.


git-svn-id: svn://10.0.0.236/trunk@5438 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:43:13 +00:00
scullin
350aab065b Re-add mkstream to nglayout build, give a default value to memory
cache pref if defaults aren't loaded.
Approved, reviewed by ltabb.


git-svn-id: svn://10.0.0.236/trunk@5437 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:41:21 +00:00
scullin
795f43a5f6 Added NGLAYOUT FO_ type, used only by nglayout. Approved, reviewed by
ltabb.


git-svn-id: svn://10.0.0.236/trunk@5436 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:39:43 +00:00
scullin
94e0117e46 Added pref initialization.
git-svn-id: svn://10.0.0.236/trunk@5435 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:38:08 +00:00
pollmann
0ec35225ab Bugfixes 5.0 SF1 in (Bug #300542)
git-svn-id: svn://10.0.0.236/trunk@5433 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:35:44 +00:00
kin
d15e036243 Fix for SF1in bug 299356: Indentation increases line spacing for same indent
level
Modified CEditBuffer::IndentContainer (case 0) to combine adjacent
blockquote containers.

Reviewed by mjudge.


git-svn-id: svn://10.0.0.236/trunk@5432 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:22:50 +00:00
mjudge
773f9f69fb 117388 110370 are both solved by this change. tadaaa
git-svn-id: svn://10.0.0.236/trunk@5430 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:55:01 +00:00
timm
d4df13696f fix typo
git-svn-id: svn://10.0.0.236/trunk@5429 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:33:21 +00:00
timm
1ea42370c1 changed text
git-svn-id: svn://10.0.0.236/trunk@5428 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:24:47 +00:00
kipp
e87676f371 Fixed UL/OL to be blocks again (whoops)
git-svn-id: svn://10.0.0.236/trunk@5421 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:12:58 +00:00
kipp
3343b49fd2 Fixed bug with dangling empty lines
git-svn-id: svn://10.0.0.236/trunk@5420 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:12:43 +00:00
rickg
7a41228ec0 quick fix to deal with applet tags
git-svn-id: svn://10.0.0.236/trunk@5419 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:56:26 +00:00
rickg
48495d02d4 fixed a few problems with unix build
git-svn-id: svn://10.0.0.236/trunk@5418 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:42:45 +00:00
kipp
9d6bd8a74c work around build bug
git-svn-id: svn://10.0.0.236/trunk@5417 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:37:26 +00:00
kipp
38ae948bcb Fixed tracing macro bug
git-svn-id: svn://10.0.0.236/trunk@5416 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:32:26 +00:00
kipp
cbddf0bf47 Fixed rickg's build bustage
git-svn-id: svn://10.0.0.236/trunk@5415 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:26:18 +00:00
kipp
68b5b8e074 Added code so that TR VALIGN's will dump properly when content is dumped
git-svn-id: svn://10.0.0.236/trunk@5414 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:16:51 +00:00
rickg
434bedca96 added WIP support for reentrancy in the parser
git-svn-id: svn://10.0.0.236/trunk@5413 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:13:09 +00:00
buster
d23536257e turned debug noise off
git-svn-id: svn://10.0.0.236/trunk@5412 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 20:44:07 +00:00
buster
1a959d659a for Nav compatibility, 0-width cells do not have insets
git-svn-id: svn://10.0.0.236/trunk@5411 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 20:41:38 +00:00
kipp
043e7f9a28 Removed extra semicolon
git-svn-id: svn://10.0.0.236/trunk@5410 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:56:19 +00:00
kipp
af77c269f2 Added LoadURL method to observer; cleaned up load progress messages
git-svn-id: svn://10.0.0.236/trunk@5409 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:53:50 +00:00
kipp
fd28796530 Added LoadURL method to observer
git-svn-id: svn://10.0.0.236/trunk@5408 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:53:32 +00:00
kipp
02eae4377e Removed unused variable
git-svn-id: svn://10.0.0.236/trunk@5407 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:53:18 +00:00
kipp
5215d98a83 Added back in the current url to the observer so that it can print it out during load progress
git-svn-id: svn://10.0.0.236/trunk@5406 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:53:03 +00:00
kipp
4e1de881b6 Removed dead code; moved some printf's into nspr logging
git-svn-id: svn://10.0.0.236/trunk@5405 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:52:37 +00:00
kipp
90e2fb29ad Cleaned up style sheet
git-svn-id: svn://10.0.0.236/trunk@5404 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:49:53 +00:00
kipp
c6d347ff1a Implement VerifyReflow
git-svn-id: svn://10.0.0.236/trunk@5403 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:49:42 +00:00
kipp
689bb0f583 Added reflow verification api
git-svn-id: svn://10.0.0.236/trunk@5402 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:49:20 +00:00
kipp
139edf2c4d updated a few comments
git-svn-id: svn://10.0.0.236/trunk@5401 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:49:07 +00:00
buster
b481b4f1eb added Nav4 compatibility code for 0-width cells
git-svn-id: svn://10.0.0.236/trunk@5400 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:22:45 +00:00
buster
e51faf6d00 fixed 2 minor space leaks having to do with temporary structs allocated
to handle colspans


git-svn-id: svn://10.0.0.236/trunk@5398 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 18:11:12 +00:00
ftang
d1f7fd0548 Fix 5.0 SF1 in bug 123225. merged from 4.5 fix.
git-svn-id: svn://10.0.0.236/trunk@5397 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:51:53 +00:00
ftang
a2b983aa2a Fix crashing bug # Approved by jar. This bug currently tag as 4.5 bug but since it is
a crashing bug, jar approve to check it in. We didn't change the bug Target FIX version
to 5.0 SF1 in because Nova also need to track it.


git-svn-id: svn://10.0.0.236/trunk@5396 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:38:30 +00:00
ftang
61bcbc2473 Fix crashing bug #241466 Approved by jar. This bug currently tag as 4.5 bug but since it is
a crashing bug, jar approve to check it in. We didn't change the bug Target FIX version
to 5.0 SF1 in because Nova also need to track it.


git-svn-id: svn://10.0.0.236/trunk@5395 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:37:49 +00:00
kipp
e7a3f07580 Support progressive loading
git-svn-id: svn://10.0.0.236/trunk@5394 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:25:15 +00:00
shaver
afca99d6a9 support int JSVALs in XDRValue (duh)
git-svn-id: svn://10.0.0.236/trunk@5393 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:12:41 +00:00
danm
a677161106 optionally include GlowCode. bug 299200 a:don.
git-svn-id: svn://10.0.0.236/trunk@5392 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 00:22:53 +00:00
shaver
e2c90b8b76 modules subdir doesn't build, but mozilla doesn't seem to need it?
removed from subdirs list to let it build again.
(r=nobody, a=nobody...sorry)


git-svn-id: svn://10.0.0.236/trunk@5377 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 01:15:13 +00:00
kipp
231947e27f Empty the style stack when closing out a td/th
git-svn-id: svn://10.0.0.236/trunk@5376 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 01:12:34 +00:00
kipp
c6eae7d71d Reflow child when max-element-size is requested (this works around a purify detected crash)
git-svn-id: svn://10.0.0.236/trunk@5375 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 00:19:17 +00:00
kipp
88e680a7ba Set max-element-size
git-svn-id: svn://10.0.0.236/trunk@5374 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 00:18:36 +00:00
kipp
121e87e365 Added code to move content in bad spots in tables out
git-svn-id: svn://10.0.0.236/trunk@5373 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 00:18:26 +00:00
kipp
5d59509372 Work around table bugs in a different way
git-svn-id: svn://10.0.0.236/trunk@5372 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 00:17:50 +00:00
ramiro
da9ab54d23 Fix broken '#if defined' and no new line at end of makefile.
git-svn-id: svn://10.0.0.236/trunk@5367 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 12:45:01 +00:00
rpotts
f1c061e017 Fixed up CVS merge problem that was horking reference counts...
git-svn-id: svn://10.0.0.236/trunk@5365 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 08:07:17 +00:00
michaelp
ff99d20bf4 fixed copying of anims10.gif in Makefile.
git-svn-id: svn://10.0.0.236/trunk@5364 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 06:23:49 +00:00
michaelp
408d13cd26 killed much hated borders on views...
git-svn-id: svn://10.0.0.236/trunk@5363 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 06:17:09 +00:00
michaelp
e95e8e4755 added throbber.
git-svn-id: svn://10.0.0.236/trunk@5362 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 05:33:00 +00:00
michaelp
b37f92956d fixed.
git-svn-id: svn://10.0.0.236/trunk@5361 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 05:28:22 +00:00
michaelp
2f8b0194f3 new gifs for throbber animation...
git-svn-id: svn://10.0.0.236/trunk@5360 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 05:24:57 +00:00
troy
fd17693b35 Added back in some changes that got lost in the previous
check-in


git-svn-id: svn://10.0.0.236/trunk@5359 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 04:16:29 +00:00
kipp
40973d714e Improved tracing somewhat; fixed map handling; removed some dead code
git-svn-id: svn://10.0.0.236/trunk@5354 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:51:50 +00:00
kipp
c2c3112e46 Split HandleEvent between the two classes; in theory this is because the RootContentFrame gets the scroll adjusted x,y coordinate and RootFrame doesnt
git-svn-id: svn://10.0.0.236/trunk@5353 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:51:18 +00:00
kipp
a7f407ad3b Disabled some code to make cursors over links work
git-svn-id: svn://10.0.0.236/trunk@5352 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:50:14 +00:00
kipp
1c19e35dbc Adjust coordinates to account for borders; don't consume the event when just mouse overing (only consume it when clicking); this fixes cursors oddly enough
git-svn-id: svn://10.0.0.236/trunk@5351 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:49:56 +00:00
kipp
49715b7ad9 Tweaked
git-svn-id: svn://10.0.0.236/trunk@5350 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:49:17 +00:00
kipp
ee315c54c3 Removed GetCursorAt code
git-svn-id: svn://10.0.0.236/trunk@5348 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:48:33 +00:00
kipp
8ede9c3501 Avoid crashing when we have no content
git-svn-id: svn://10.0.0.236/trunk@5347 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:47:56 +00:00
kipp
a0967f2628 Made GetCursorAt looping generic so that more subclasses could use it
git-svn-id: svn://10.0.0.236/trunk@5346 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:47:37 +00:00
briano
13492a0183 Finally added most of Richard Lloyd's (hpux@csc.liv.ac.uk) changes, in a manner that I think will work for everyone.
git-svn-id: svn://10.0.0.236/trunk@5333 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 01:44:28 +00:00
warren
5764b360ff Added simple LiveConnected plugin test case that used backward adapter.
git-svn-id: svn://10.0.0.236/trunk@5331 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 01:40:24 +00:00
warren
63804b1d7f Fixed up and moved backward adapter from oji dir.
git-svn-id: svn://10.0.0.236/trunk@5330 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 01:39:51 +00:00
warren
318510e6b4 Removed bogus npupp.h -- clean one on mozilla/include
git-svn-id: svn://10.0.0.236/trunk@5328 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 01:23:27 +00:00
buster
27d15214e7 fixed unix build, and one small uninitialized variable problem
git-svn-id: svn://10.0.0.236/trunk@5326 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 00:47:29 +00:00
briano
da33ac3419 Added a few minor requested changes.
git-svn-id: svn://10.0.0.236/trunk@5324 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 00:08:56 +00:00
buster
8baeb40126 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@5323 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 00:08:08 +00:00
buster
7e8cc1207b major hackage to the table data structures. slimmer, simpler, faster
this work exposed a few bugs and slow spots, which have been fixed
for the aol page, I added some additional backwards compatibility code
to proportionately distribute width when a fixed-width cell has colspans


git-svn-id: svn://10.0.0.236/trunk@5322 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 00:00:31 +00:00
rpotts
dc3c10b49e Fixed circular reference problem between the nsScrollingView and its scrollbars...
git-svn-id: svn://10.0.0.236/trunk@5321 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 23:10:26 +00:00
troy
5b2534fcda More code re-shuffling. I need to hurry and check-in before Cujo
whacks the tree


git-svn-id: svn://10.0.0.236/trunk@5320 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 22:56:13 +00:00
pinkerton
944e9273a8 Really fix bug #299909 (appr don, rev rjc).
git-svn-id: svn://10.0.0.236/trunk@5314 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 22:19:56 +00:00
warren
2d45ee2644 Moved lib/plugin to modules/plugin.
git-svn-id: svn://10.0.0.236/trunk@5313 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:45:46 +00:00
kipp
75f8dd277f Fixed max-element-size to account for the border+padding
git-svn-id: svn://10.0.0.236/trunk@5312 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:45:30 +00:00
rpotts
38bff0f0ed Fixed reference counting leak when processing mouse button down events...
git-svn-id: svn://10.0.0.236/trunk@5311 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:44:15 +00:00
kmcclusk
c81bc9c159 Factored CreateWindow code into CreateMainWindow and CreateChildWindow code.
git-svn-id: svn://10.0.0.236/trunk@5310 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:26:46 +00:00
raman
8547f117f6 This is not part of any build system. caps is part of OJI effort. It will be used by JavaScript in future. Approved by warren/jar/jsw.
git-svn-id: svn://10.0.0.236/trunk@5307 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:12:19 +00:00
kipp
0afd53b9cc Generate automatic margin values for most blocks; this emulates ebina margins fairly well
git-svn-id: svn://10.0.0.236/trunk@5306 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:30:23 +00:00
kipp
fe64e82ae0 Removed SetMargins call; the default ctor zeros things out now
git-svn-id: svn://10.0.0.236/trunk@5305 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:28:30 +00:00
kipp
46cfe4e14b Made it more ebina ish
git-svn-id: svn://10.0.0.236/trunk@5304 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:28:04 +00:00
kipp
93e0331886 Pass on DidReflow always so that sub-frames that contain views can get notified and move the views
git-svn-id: svn://10.0.0.236/trunk@5303 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:27:43 +00:00
kipp
c36e74b064 initialize reflow metrics and reflow state to avoid downstream bugs
git-svn-id: svn://10.0.0.236/trunk@5302 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:26:20 +00:00
kipp
7bc7766680 Fixed case of nsString.h include
git-svn-id: svn://10.0.0.236/trunk@5301 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:19:03 +00:00
troy
99f12e096a Deprecated the SetFirstContentOffset/SetLastContentOffset member
functions that take a nsIFrame*


git-svn-id: svn://10.0.0.236/trunk@5297 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 19:04:06 +00:00
jevering
91b4ec0238 Fixing Linux & Irix builds...
git-svn-id: svn://10.0.0.236/trunk@5296 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 18:49:02 +00:00
jevering
0039b478e5 Fix parser build bustage on win32.
git-svn-id: svn://10.0.0.236/trunk@5292 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 18:14:11 +00:00
rods
a232c4f55a Turned off debugging.
git-svn-id: svn://10.0.0.236/trunk@5291 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:29:03 +00:00
rods
bf3d278b06 Added the proper initialization for the DeviceContext and the toolkit
git-svn-id: svn://10.0.0.236/trunk@5289 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:22:58 +00:00
hyatt
c520053213 Fix for 300331. Reviewed by blythe, approved by don.
git-svn-id: svn://10.0.0.236/trunk@5288 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:22:06 +00:00
rods
52818a7c17 Fixed positioning errors.
git-svn-id: svn://10.0.0.236/trunk@5287 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:22:05 +00:00
hyatt
992f858aff Fixes for bugs 299992, 299994, 300042. Reviewed by blythe, approved by don.
git-svn-id: svn://10.0.0.236/trunk@5286 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:10:25 +00:00
dcone
716e464d23 fixed back to async
git-svn-id: svn://10.0.0.236/trunk@5284 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 13:25:36 +00:00
dcone
504a76af04 16 bit speed testing code
git-svn-id: svn://10.0.0.236/trunk@5283 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 12:53:15 +00:00
nisheeth
82329d36b5 Fix the Mac build bustage...
git-svn-id: svn://10.0.0.236/trunk@5282 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 07:05:12 +00:00
rickg
837fc0806e dynamic DTD support
git-svn-id: svn://10.0.0.236/trunk@5278 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 05:35:23 +00:00
troy
45923e2e1b Changed it so we assume that rows are always complete
git-svn-id: svn://10.0.0.236/trunk@5277 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 05:23:05 +00:00
troy
c54f7d9d1c Some incremental improvements
git-svn-id: svn://10.0.0.236/trunk@5276 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 04:00:38 +00:00
raman
6db3ca35c1 This is not part of any build system. caps is part of OJI effort. It will be used by JavaScript in future
git-svn-id: svn://10.0.0.236/trunk@5275 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 03:19:59 +00:00
peterl
f3f3b09d24 tweaking <FONT size=x> handling
git-svn-id: svn://10.0.0.236/trunk@5274 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:45:18 +00:00
cyeh
ed6e9c3fa8 remove xp_sec.c, it's not being used anyway. removing cruft.
git-svn-id: svn://10.0.0.236/trunk@5273 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:23:01 +00:00
cyeh
0224c80093 make changes to remove xp_sec.c and xp_sec.h from macbuild. they aren't used anywhere.
git-svn-id: svn://10.0.0.236/trunk@5272 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:17:54 +00:00
mccabe
407732a410 Added newline in 2nd comment to make the LXR indexer slightly happier.
Thanks to Dawn Endico <dawn@cannibal.mi.org> for LXR hacking.


git-svn-id: svn://10.0.0.236/trunk@5271 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:13:17 +00:00
danm
6a6b1ec5ab glowcode, the right way. bug 299200 a:don
git-svn-id: svn://10.0.0.236/trunk@5270 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:04:46 +00:00
pierre
6352135f15 Added MailNewsPrefPanes.cnst
git-svn-id: svn://10.0.0.236/trunk@5269 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 01:13:52 +00:00
pierre
bc774c261c Removed the MailNews resources: they are stored in MailNewsPrefPanes.cnst.
git-svn-id: svn://10.0.0.236/trunk@5268 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 01:12:58 +00:00
pierre
3a061708cd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@5267 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 01:11:18 +00:00
nisheeth
2b6e32c052 Fix for bug #173417 and bug #186496. Reviewed by toshok.
We redo the way tables get freed.
Earlier when the LO_TABLE element got freed, it would free stuff that hangs
of the subsequent LO_CELL elements.  Now, only table related stuff gets freed
and the LO_CELL peer data structures get freed when the LO_CELL is freed.
Lots of code that was if-defed or commented out since Mariner hit the tip
has been removed to improve code readability.


git-svn-id: svn://10.0.0.236/trunk@5266 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 01:03:46 +00:00
clu
9baa06d225 #300180; reviewed by brade. Added editor.r to the project file.
git-svn-id: svn://10.0.0.236/trunk@5265 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 00:53:56 +00:00
kmcclusk
37a2860a21 Added fields mXstring and mXstringSize
git-svn-id: svn://10.0.0.236/trunk@5264 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 00:49:04 +00:00
kmcclusk
ed7d989a06 Modified GetWidth to give correct values under Linux
git-svn-id: svn://10.0.0.236/trunk@5263 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 00:20:38 +00:00
rjc
e7964eff27 Fix bug # 124117
git-svn-id: svn://10.0.0.236/trunk@5261 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 23:00:29 +00:00
rjc
a944e4ae45 Fix bug # 129629
git-svn-id: svn://10.0.0.236/trunk@5260 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 22:53:25 +00:00
rjc
d1fdea91c6 Fix bug # 299980 (disable FTP output into Aurora, until RDF_BRANCH_060398 lands)
git-svn-id: svn://10.0.0.236/trunk@5259 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 22:48:38 +00:00
rjc
9b1be8298a Fixes for bugs # 299744 and # 299909.
git-svn-id: svn://10.0.0.236/trunk@5258 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 22:43:11 +00:00
jevering
c107cb777f Added Top 100 site viewer.
git-svn-id: svn://10.0.0.236/trunk@5256 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 21:07:58 +00:00
troy
d003171be2 Added some new sizing constraints
git-svn-id: svn://10.0.0.236/trunk@5255 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 20:53:37 +00:00
rods
9b86931409 Changed cast to XID (for IRIX)
git-svn-id: svn://10.0.0.236/trunk@5254 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:51:53 +00:00
timm
4d04825004 added GetFileContents
git-svn-id: svn://10.0.0.236/trunk@5253 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:23:46 +00:00
timm
6aeccc21cf some routines from globals1.js
git-svn-id: svn://10.0.0.236/trunk@5252 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:22:49 +00:00
timm
4109e233c8 added new makefile
git-svn-id: svn://10.0.0.236/trunk@5251 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:22:01 +00:00
timm
d606bc7217 115784 and separated out js
git-svn-id: svn://10.0.0.236/trunk@5250 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:21:12 +00:00
timm
a47765d689 seperate from the html files
git-svn-id: svn://10.0.0.236/trunk@5249 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:19:00 +00:00
rods
3b078d34d2 Add support for initializing the Device Context and Toolkit
git-svn-id: svn://10.0.0.236/trunk@5248 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:10:35 +00:00
rods
c51912ce5d Added methods for initializing the Device Context and the Toolkit
git-svn-id: svn://10.0.0.236/trunk@5247 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:10:04 +00:00
rods
980a891e7c Implemented SetFont and created separate methods for initializing
the DeviceContext and the Toolkit


git-svn-id: svn://10.0.0.236/trunk@5246 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:09:19 +00:00
rods
96429025ab Added error callback
git-svn-id: svn://10.0.0.236/trunk@5245 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:03:30 +00:00
troy
612be3f747 Added a check for multiple frames occupying a trapezoid. This keeps us from
crashing


git-svn-id: svn://10.0.0.236/trunk@5239 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 18:14:19 +00:00
karnaze
12532e9214 borders
git-svn-id: svn://10.0.0.236/trunk@5238 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:47:33 +00:00
cyeh
dca7e82da4 add example tinderbox client scripts
git-svn-id: svn://10.0.0.236/trunk@5237 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:36:13 +00:00
kipp
0e49486b51 Added debug code that syncs up the display when running slow so that incremental loading reflow can be visible
git-svn-id: svn://10.0.0.236/trunk@5236 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:08:40 +00:00
kipp
f3712a5860 tweaked nested lists style; add in bottom margins for most block elements
git-svn-id: svn://10.0.0.236/trunk@5235 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:08:09 +00:00
kipp
ed6bbc7c7f Init passed in margins
git-svn-id: svn://10.0.0.236/trunk@5234 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:07:39 +00:00
kipp
66e26827d4 Implement css collapsing margins
git-svn-id: svn://10.0.0.236/trunk@5233 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:06:35 +00:00
kipp
633b008454 Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else!
git-svn-id: svn://10.0.0.236/trunk@5232 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:06:12 +00:00
kipp
fc4de87351 Added a temporary hack to normalize nested lists
git-svn-id: svn://10.0.0.236/trunk@5231 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:05:36 +00:00
kipp
fb77f4be1c fixed comments
git-svn-id: svn://10.0.0.236/trunk@5230 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:04:45 +00:00
kipp
7d2cd32a5f tweak
git-svn-id: svn://10.0.0.236/trunk@5229 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:04:31 +00:00
slamm
a0b4e23e2e Fix off by one error. Messed up inplace editing.
git-svn-id: svn://10.0.0.236/trunk@5228 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:42:08 +00:00
slamm
9e0f06faeb Fix double click behavior in such a way that inline editing still works. #149082 SF1 in.
git-svn-id: svn://10.0.0.236/trunk@5227 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:42:06 +00:00
danm
99159ddc96 glowcode. bug 299200 a:don.
git-svn-id: svn://10.0.0.236/trunk@5225 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:33:15 +00:00
vidur
e68955f859 Fixed build breakage on Unix
git-svn-id: svn://10.0.0.236/trunk@5224 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:30:26 +00:00
troy
b936040985 Changed it so the inner table is reflowed by using the Reflow()
member function rather than poking the individual pass 1, pass 2, ...
member functions


git-svn-id: svn://10.0.0.236/trunk@5223 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 14:30:34 +00:00
dcone
09291e63da 16 bit blending is now operational
git-svn-id: svn://10.0.0.236/trunk@5222 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 14:08:36 +00:00
warren
fba9d30962 Breaking out oji interfaces into separate headers.
git-svn-id: svn://10.0.0.236/trunk@5218 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 08:57:00 +00:00
warren
82c371bd69 Breaking out new plugin APIs into separate classes. Moving lib/plugin into a module.
git-svn-id: svn://10.0.0.236/trunk@5217 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 08:42:58 +00:00
mcafee
f30cbd2d2c woops, if -> ifdef
git-svn-id: svn://10.0.0.236/trunk@5215 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 06:18:07 +00:00
mcafee
d83114b4df MOZ_FULLCIRCLE was on by default, turning this off. MOZ_FULLCIRCLE=1 turns this on now.
git-svn-id: svn://10.0.0.236/trunk@5214 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 06:17:07 +00:00
mcafee
4e331d5e84 Turning on full circle crash-reporting (5.0). r=donm, a=jar
git-svn-id: svn://10.0.0.236/trunk@5210 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:21:34 +00:00
mcafee
e95f941870 set NO_MOZ_FULLCIRCLE=1 if you need to turn full circle off.
git-svn-id: svn://10.0.0.236/trunk@5209 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:20:53 +00:00
pierre
5d607d63c2 Mac MOZ_DARK: landing resources from Nova. Note: these resources are from May 26 while the Normandy branch was tagged on May 11.
git-svn-id: svn://10.0.0.236/trunk@5208 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:18:18 +00:00
pierre
2587a7a394 Mac MOZ_DARK: updated stream contructor (why didn't that land before?)
git-svn-id: svn://10.0.0.236/trunk@5207 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:14:58 +00:00
pierre
0d3e4adba1 Mac MOZ_DARK: replaced unnecessary references to CTSMEditField with references to LEditField.
git-svn-id: svn://10.0.0.236/trunk@5206 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:13:47 +00:00
mcafee
9599246c21 Turning on Full Circle crash-reporting for glibc2 only. Need to check for other vendors later. r=donm, a=jar
git-svn-id: svn://10.0.0.236/trunk@5205 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:11:39 +00:00
mcafee
93552004a2 Added NETSCAPE_BUILD to include the private tree; added full circle crash reporting compiler flag. r=donm, a=jar
git-svn-id: svn://10.0.0.236/trunk@5204 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:10:20 +00:00
blythe
cdd9cab217 Partial fix for 299200, get glowcode and purify support into the makefiles for stability
git-svn-id: svn://10.0.0.236/trunk@5203 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:03:15 +00:00
mcafee
72ec7ea178 Initial full circle crash-reporting checkin. r=donm
git-svn-id: svn://10.0.0.236/trunk@5202 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:00:33 +00:00
mcafee
3173aa0fa3 Prefs for full circle crash-reporting (5.0). r=donm
git-svn-id: svn://10.0.0.236/trunk@5201 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 04:59:31 +00:00
mcafee
b579a92aed Adding full circle crash-reporting for 5.0
git-svn-id: svn://10.0.0.236/trunk@5200 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 04:58:02 +00:00
dfm
9bc114facb Added single signon code. THIS IS NOT YET PART OF THE BUILD.
Fixing sync problem with PRIVACY_BRANCH. Approved by don.


git-svn-id: svn://10.0.0.236/trunk@5197 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 03:25:30 +00:00
guha
8e98ccf173 Fix for 299931 and an attempt to fix 124173
git-svn-id: svn://10.0.0.236/trunk@5193 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 02:19:37 +00:00
blythe
b4f421a273 Fix bug 290445, FCInitialize happens after prefs initialized to allow turning it off
git-svn-id: svn://10.0.0.236/trunk@5192 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 02:14:11 +00:00
blythe
73f19b2625 Fix Bug 291002, MOZ_LITE now builds with OJI/JAVA turned on
git-svn-id: svn://10.0.0.236/trunk@5191 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 02:11:44 +00:00
law
2d29b15a2c Fixing bug#105062; reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@5188 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 00:41:14 +00:00
morse
d5525d1ff7 fix bug 159169, reviewed by rpotts & valeski
git-svn-id: svn://10.0.0.236/trunk@5187 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 00:37:11 +00:00
vidur
0d5cbcbbdc Timer test
git-svn-id: svn://10.0.0.236/trunk@5186 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:46:56 +00:00
vidur
6a96048a04 Moved ScriptContextOwner-ship from WebWidget to the DocObserver
git-svn-id: svn://10.0.0.236/trunk@5185 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:46:01 +00:00
vidur
fc2a2d0c41 Added back asynchronous image loading
git-svn-id: svn://10.0.0.236/trunk@5184 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:45:10 +00:00
vidur
5879143695 Added setTimeout/setInterval to Window. Added ellipsis special-case to IDL generation code. Slightly better error reporting in generated JavaScript stub classes
git-svn-id: svn://10.0.0.236/trunk@5183 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:44:46 +00:00
kipp
f7850f3d9a Worked around a startup problem that caused body's attributes and style context to be prematurely mapped before the attributes were read in or the ua.css was read in
git-svn-id: svn://10.0.0.236/trunk@5182 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:15:32 +00:00
kmcclusk
c722ac6974 Modified the order of the source shareables so all of the symbols
are in the single destination shareable for Linux.


git-svn-id: svn://10.0.0.236/trunk@5178 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 21:11:09 +00:00
troy
6044ce3680 Changes to the caption handling code
git-svn-id: svn://10.0.0.236/trunk@5176 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 20:21:17 +00:00
ricardob
44d8450357 Fix unix bustage on xxx
git-svn-id: svn://10.0.0.236/trunk@5159 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 19:17:11 +00:00
rods
f3ef30b6b7 Fixed argc problem
git-svn-id: svn://10.0.0.236/trunk@5157 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:40:16 +00:00
leaf
7a18ca09ed Added toplevel directory 'privacy'
git-svn-id: svn://10.0.0.236/trunk@5156 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:35:36 +00:00
kipp
9941cf0373 Fixed unix build
git-svn-id: svn://10.0.0.236/trunk@5155 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:34:26 +00:00
rods
b35633e6db Added Focus processing
git-svn-id: svn://10.0.0.236/trunk@5154 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:01:37 +00:00
rods
0922fee126 Fixed the radio buttons so they work.
git-svn-id: svn://10.0.0.236/trunk@5153 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:00:18 +00:00
rods
9f840f2c48 The necessary fixes to get Scribble working.
git-svn-id: svn://10.0.0.236/trunk@5152 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 16:58:51 +00:00
donm
803595712c still working on the 5.0 build bustage.
git-svn-id: svn://10.0.0.236/trunk@5151 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 16:54:24 +00:00
shaver
878a85e07b start at jsContext and jsRuntime implementations, enough to run trivial script
git-svn-id: svn://10.0.0.236/trunk@5148 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 16:53:49 +00:00
danm
981a316abd form text element widgets now subclassed so they can activate their window in response to a WM_MOUSEACTIVATE message. bug 126974 r:blythe a:don
git-svn-id: svn://10.0.0.236/trunk@5147 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 16:28:16 +00:00
dcone
eb99bfd773 Intermediate 16 bit blending
git-svn-id: svn://10.0.0.236/trunk@5141 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 14:31:31 +00:00
mccabe
1301adda9f Changed the definition of JSDOUBLE_IS_INT(d, i) to delay a (jsint)d
cast until after the double in question has been determined to be
finite, not NaN, etc.  This may make the code a little more XP for
platforms like BSD and Alpha Linux that don't like casting strange
values to int.  Thanks go to Uncle George <gatgul@voicenet.com> and
hankin <hankin@consultco.com> for their porting work.


git-svn-id: svn://10.0.0.236/trunk@5137 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 07:56:43 +00:00
briano
ba7ca55a17 Okay, so I'm an idiot. It helps to put the fix in the right place....
git-svn-id: svn://10.0.0.236/trunk@5136 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 05:05:21 +00:00
troy
e3b310d6e6 Tables not allow only one caption
git-svn-id: svn://10.0.0.236/trunk@5134 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 04:49:01 +00:00
briano
52ba1a8002 Fixed the build error that Tinderbox is catching, but not reporting as a failure.
git-svn-id: svn://10.0.0.236/trunk@5133 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 04:35:55 +00:00
briano
4cc3b63923 Added Mike Shaver's (shaver@netscape.com) changes to allow for better
differentiation between libraries and executables built in the same
directory, and the ability to build only shared libraries if the user
prefers.


git-svn-id: svn://10.0.0.236/trunk@5132 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 03:49:31 +00:00
briano
9ea8549725 Changes to support SINIX-Z (x86-based). This will, unfortunately, cause
the object directory name for mips-based SINIX versions to change, requiring
a complete rebuild.  Sorry, but there was no acceptable alternative....


git-svn-id: svn://10.0.0.236/trunk@5131 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 03:43:53 +00:00
mccabe
c575d8c493 Made the assign hack conditional on JSVERSION_IS_ECMA.
git-svn-id: svn://10.0.0.236/trunk@5117 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 23:59:45 +00:00
donm
a29bf2cae2 messed up libldap line in Makefile, fixed.
git-svn-id: svn://10.0.0.236/trunk@5116 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 23:21:40 +00:00
jevering
eda808f4ca Fixing optimized build.
git-svn-id: svn://10.0.0.236/trunk@5114 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 22:20:00 +00:00
jevering
b937870e02 Fixed optimized build.
git-svn-id: svn://10.0.0.236/trunk@5113 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 22:07:35 +00:00
michaelp
c907c2baed when a view is the root, it's position will now always be 0, 0.
git-svn-id: svn://10.0.0.236/trunk@5112 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 21:51:57 +00:00
thom
dc2387b8a6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@5111 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 21:26:45 +00:00
thom
423669d5b6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@5110 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 21:07:54 +00:00
ricardob
6c25b0b56f fixed call to free bug reported from outside
git-svn-id: svn://10.0.0.236/trunk@5109 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 20:00:18 +00:00
cltbld
0ffbcdf75c fixing linking problem for 5.0 product.
git-svn-id: svn://10.0.0.236/trunk@5108 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 19:35:52 +00:00
ricardob
bb030154e8 free mail unix changes
git-svn-id: svn://10.0.0.236/trunk@5105 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:29:09 +00:00
ricardob
6d4821b427 use libmsg only with security
git-svn-id: svn://10.0.0.236/trunk@5104 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:28:11 +00:00
ricardob
44ae7fbb1c free mail unix fixes
git-svn-id: svn://10.0.0.236/trunk@5103 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:27:05 +00:00
ricardob
1e96e7fae8 Free mail unix fixes
git-svn-id: svn://10.0.0.236/trunk@5102 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:26:15 +00:00
ricardob
2c222c8f6e free mail fixes
git-svn-id: svn://10.0.0.236/trunk@5101 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:23:47 +00:00
rods
4be012a3cb Removed Windows specific code
git-svn-id: svn://10.0.0.236/trunk@5099 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:00:06 +00:00
rods
b95c8c73f0 Removed the RadioGroup and fixed the RadioButtons so they would work
git-svn-id: svn://10.0.0.236/trunk@5098 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 17:56:24 +00:00
mjudge
be75387a7b Fixing Sf1in. no number but definate crash. no initializer for int i=0
git-svn-id: svn://10.0.0.236/trunk@5097 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:49:37 +00:00
timm
d4b0d09e4a new routines for isp phone number
git-svn-id: svn://10.0.0.236/trunk@5096 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:26:19 +00:00
timm
d3f74f0d4c added error checking
git-svn-id: svn://10.0.0.236/trunk@5095 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:25:30 +00:00
timm
8bb3a04137 change for new button size
git-svn-id: svn://10.0.0.236/trunk@5094 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:24:14 +00:00
timm
757d6e0d6e new buttons
git-svn-id: svn://10.0.0.236/trunk@5093 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:23:52 +00:00
timm
f12ea743dd interface changes
git-svn-id: svn://10.0.0.236/trunk@5092 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:22:35 +00:00
kipp
dc7de1f2ae Added a reminder to not mess with the NS_ISUPPORTS IID
git-svn-id: svn://10.0.0.236/trunk@5091 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:08:55 +00:00
kipp
df2369f8bc Allocated IID for nsIFrame
git-svn-id: svn://10.0.0.236/trunk@5090 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:07:35 +00:00
kipp
dbf41fac3d new
git-svn-id: svn://10.0.0.236/trunk@5089 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:04:02 +00:00
nisheeth
dd9ba14445 Fix for bug 123318. Only do the textblock checks in lo_BoundaryJumpingPrev()
and lo_BoundaryJumpingNext() for the editor context.
If you don't do it the editor, backspacing between lines gets hosed.
If you do it for the browser, selection goes into an infinite loop.


git-svn-id: svn://10.0.0.236/trunk@5088 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 06:31:07 +00:00
ramiro
0678c47f1a Documentation fixes. Cleanups for dead/changed file/class names.
No code changes, only comments.  Makes the xfe LXR pages better.
Approved by don.
Thanks do Dawn Endico <dawn@cannibal.mi.org> for providing the patch.


git-svn-id: svn://10.0.0.236/trunk@5087 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 06:15:49 +00:00
nisheeth
0cf2d30e72 Fix for bug 232611 which was a duplicate of bug 120234 which got fixed in 4.06.
Fix was reviewed by rjc and dp when it went into the 4.06 branch.
Fixed the case where an unclosed single quote in a
tag causes the STYLE attribute to not be found. This was causing
an infinite loop where layout would process the style attribute repeatedly.
See bug report for details. Affected code is inside lo_ProcessStyleAttribute().


git-svn-id: svn://10.0.0.236/trunk@5086 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 05:57:50 +00:00
troy
276aea3a61 Cleaned up ShrinkWrapChildren so pass 1 doesn't resize the rows
git-svn-id: svn://10.0.0.236/trunk@5084 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 03:48:21 +00:00
kipp
661a411e3d Implement back/forward/location handling
git-svn-id: svn://10.0.0.236/trunk@5083 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 01:40:05 +00:00
buster
38ee9372e2 fixed 3 dumb bugs I introduced recently.
1. cellmap couldn't properly delete CellData because definition was unavailable
2. optimized table cells made taller wouldn't shrink when they should because we were not
remembering the previous desired height of the cell.
3. rows were placing cells on the left edge, and not adding in the left margin.


git-svn-id: svn://10.0.0.236/trunk@5082 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 01:06:51 +00:00
troy
3b5b47465b More incremental reflow changes
git-svn-id: svn://10.0.0.236/trunk@5081 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 00:49:07 +00:00
kipp
df781def35 Snapshot of history code
git-svn-id: svn://10.0.0.236/trunk@5080 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 00:32:09 +00:00
buster
07691d8960 fix for empty tables. we now support tables that have no content.
git-svn-id: svn://10.0.0.236/trunk@5079 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 00:20:21 +00:00
kipp
3d550e4049 Added some UI to the viewer (currently disabled)
git-svn-id: svn://10.0.0.236/trunk@5078 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 00:17:34 +00:00
buster
4771ca51e3 fixed a few bugs with distributing excess/restricted space inappropriately.
we now pass around info about whether we're an auto width table.


git-svn-id: svn://10.0.0.236/trunk@5074 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:48:19 +00:00
briano
2abab16f50 Added support for NetBSD, and support for Steve Morse's (morse@netscape.com) Cookie Management and Single Sign-on code.
git-svn-id: svn://10.0.0.236/trunk@5073 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:45:22 +00:00
briano
7a9f13ca9e Use a more elegant mechanism to set OS-version-specific -D flags.
git-svn-id: svn://10.0.0.236/trunk@5072 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:37:17 +00:00
warren
0ff15a9587 Added Backward Adapter for new Plugin API (runs 5.0-style plugins in 4.0 browser).
git-svn-id: svn://10.0.0.236/trunk@5071 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:21:12 +00:00
kipp
68e2cde37d Changed AttributeToString to handle empty value types
git-svn-id: svn://10.0.0.236/trunk@5070 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:16:23 +00:00
kipp
c452bc7501 Create head & body object during init phase to avoid having the root content frame code have to renumber it's child frames when the head section shows up)
git-svn-id: svn://10.0.0.236/trunk@5069 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:15:55 +00:00
kipp
a258f5b6dd Removed obsolete tags header file generation rules
git-svn-id: svn://10.0.0.236/trunk@5068 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:15:22 +00:00
kmcclusk
696e9e439f Removed _s files from Linux link
git-svn-id: svn://10.0.0.236/trunk@5066 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:06:05 +00:00
troy
a40632c113 Incremental reflow work-in-progress
git-svn-id: svn://10.0.0.236/trunk@5065 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:39:23 +00:00
rods
d56e753015 fixed a few minor things and removed the GetSelectedItem test for MultiList
git-svn-id: svn://10.0.0.236/trunk@5064 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:38:18 +00:00
kipp
b90bf87135 Implement ContentDeleted
git-svn-id: svn://10.0.0.236/trunk@5063 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:37:33 +00:00
kipp
5645981087 Fixed a few bugs in ContentDeleted reflow; implemented a cheesy version of FrameDeletedReflow
git-svn-id: svn://10.0.0.236/trunk@5062 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:37:08 +00:00
rods
25aa7ef690 activated the build of the widget test and scribble apps
git-svn-id: svn://10.0.0.236/trunk@5061 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:36:55 +00:00
rods
53a1e6716e Removed RadioGroup and fixed the "Create" of the AppShell
git-svn-id: svn://10.0.0.236/trunk@5060 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:36:17 +00:00
kipp
c8141809f6 new
git-svn-id: svn://10.0.0.236/trunk@5059 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:36:00 +00:00
rods
e6aa541d3e Implemented Get/Set Caret and Insert
git-svn-id: svn://10.0.0.236/trunk@5058 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:31:01 +00:00
rods
8741f5374c Changed GetSelectedItem so it throws an exception when it is call by nsListBox
git-svn-id: svn://10.0.0.236/trunk@5057 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:30:08 +00:00
buster
ead43eee9f added support for "effective column widths", the width of a column pretending that spanning cells have no effect.
this gets us some more Nav4 compatibility.
several minor fixes.


git-svn-id: svn://10.0.0.236/trunk@5056 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:00:11 +00:00
rods
17cbd670c0 Fixed cast
git-svn-id: svn://10.0.0.236/trunk@5055 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 20:27:57 +00:00
rods
a8236ce79d Commented out the SetBKColor in the callback
git-svn-id: svn://10.0.0.236/trunk@5053 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:58:36 +00:00
rods
724441e9cf Minor fix to get it compiling on Windows
git-svn-id: svn://10.0.0.236/trunk@5052 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:56:08 +00:00
rods
f90f37fa1e Added more tests
git-svn-id: svn://10.0.0.236/trunk@5051 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:34:50 +00:00
rods
092dfdad74 Changed the array of widget to be of type "Widget" instead of "long"
git-svn-id: svn://10.0.0.236/trunk@5050 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:26:06 +00:00
kmcclusk
ce6ada8e5a Moved *._s files into Linux specific EX_LIBS
git-svn-id: svn://10.0.0.236/trunk@5049 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:21:07 +00:00
rods
a5f947a523 Added SetSelectedIndices method (no implementation)
git-svn-id: svn://10.0.0.236/trunk@5048 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:16:45 +00:00
rods
40a8090171 Filled in more of the methods and added additional tests
git-svn-id: svn://10.0.0.236/trunk@5047 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 18:13:38 +00:00
kmcclusk
af0217dd64 Removed unused define and commented out code.
git-svn-id: svn://10.0.0.236/trunk@5046 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 18:06:30 +00:00
kmcclusk
a9e59b9598 Added missing libraries to get viewer to link under Linux
git-svn-id: svn://10.0.0.236/trunk@5045 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 17:55:38 +00:00
kipp
e47d50b7fd Changed the event loop to install a timer to make sure that the net will always get some cycles
git-svn-id: svn://10.0.0.236/trunk@5044 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 17:41:27 +00:00
terry
ef1e53f505 Patch by Matthew Wilson <msw@gimp.org> -- more layer poisition fixes.
git-svn-id: svn://10.0.0.236/trunk@5041 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 17:09:33 +00:00
terry
e1cd689fd7 Needs to loadConfigData() so that it can get the value of $rcsdiffcommand.
git-svn-id: svn://10.0.0.236/trunk@5040 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 16:50:08 +00:00
nisheeth
5eb51a940a Fix for Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@5038 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-05 01:51:33 +00:00
nisheeth
8620a5332d Approved by Don. Checking in latest Layout Probe API implementation from
the 4.06 branch into the mozilla tip.  This API is not being called from
anywhere and hence cannot affect stability.


git-svn-id: svn://10.0.0.236/trunk@5037 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-04 23:25:24 +00:00
shaver
818813f0fd tentative and likely useless script verifier for XDR (-DJS_XDR_SCRIPT_VERIFIER)
git-svn-id: svn://10.0.0.236/trunk@5036 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-04 19:45:46 +00:00
guha
3ff88d3e72 Fix the major RDF bugs on the tip.
git-svn-id: svn://10.0.0.236/trunk@5035 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-04 19:13:55 +00:00
kipp
e2b3d76321 Don't build shared library
git-svn-id: svn://10.0.0.236/trunk@5032 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:54:25 +00:00
kipp
56f0019027 Removed some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@5031 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:16:43 +00:00
kipp
09ade9fd5b Eliminate some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@5030 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:14:21 +00:00
kipp
137defc4e7 Don't forget to build nsHTMLTags.o
git-svn-id: svn://10.0.0.236/trunk@5029 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:13:37 +00:00
kipp
c5fdde395f Don't build shared libraries
git-svn-id: svn://10.0.0.236/trunk@5028 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:12:11 +00:00
kipp
61de46f180 Updated makefile to be single pass so that clobber, etc. work correctly now
git-svn-id: svn://10.0.0.236/trunk@5027 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:09:42 +00:00
kipp
e222065446 Added rules to export and generate nsHTMLTags.h, nsHTMLTags.cpp
git-svn-id: svn://10.0.0.236/trunk@5023 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 20:33:10 +00:00
kipp
0b41fee071 Removed obsolete files
git-svn-id: svn://10.0.0.236/trunk@5020 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 19:09:41 +00:00
fur
77b26c0ea1 These files were moved to js/ref/liveconnect/macbuild/JavaSession.
git-svn-id: svn://10.0.0.236/trunk@5018 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 19:00:59 +00:00
kipp
5c6ac69ca4 Added some style for html4 tags and some nav tags
git-svn-id: svn://10.0.0.236/trunk@5017 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:41:44 +00:00
kipp
3646c57ad5 Removed some cruft
git-svn-id: svn://10.0.0.236/trunk@5016 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:40:45 +00:00
kipp
f311729b88 updated
git-svn-id: svn://10.0.0.236/trunk@5015 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:40:25 +00:00
kipp
aabbf4cd5c Fixed tag enum table to start at 1
git-svn-id: svn://10.0.0.236/trunk@5014 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:40:12 +00:00
kipp
d11614eec7 Removed a test
git-svn-id: svn://10.0.0.236/trunk@5013 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:51:45 +00:00
kipp
a6c0242128 Build nsHTMLParts too
git-svn-id: svn://10.0.0.236/trunk@5012 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:50:53 +00:00
kipp
25695317b1 Use NS_CreateHTMLElement to implement dom create-element method
git-svn-id: svn://10.0.0.236/trunk@5011 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:50:25 +00:00
kipp
5fe453f4cb new
git-svn-id: svn://10.0.0.236/trunk@5010 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:50:00 +00:00
kipp
040bb08d84 Added NS_CreateHTMLElement
git-svn-id: svn://10.0.0.236/trunk@5009 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:49:49 +00:00
kipp
61f8058f13 Reworked ContentInserted handling
git-svn-id: svn://10.0.0.236/trunk@5008 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:46:44 +00:00
kipp
2dcbeaa53e new
git-svn-id: svn://10.0.0.236/trunk@5007 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:19:58 +00:00
kipp
812efebb8f Use new generated tags table/search routines
git-svn-id: svn://10.0.0.236/trunk@5006 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:19:26 +00:00
fur
90721aa429 + Fixed heap corruption caused by free'ing of an uninitialized pointer.
+ Changed the way JS wrapper functions for Java instance methods are constructed.

  Previously, these were computed the first time that an instance method was
  accessed for a particular JavaObject and cached in the native, private portion
  of that JavaObject.  However, the required call to JS_AddRoot() causes an root
  to appear as a link in a cyclical graph, leading to uncollectible objects, i.e.
  the JavaObject has a root pointer to the function object and the function has
  a parent that points back to the JavaObject.  Now, we compute the functions
  at the time a class is reflected and use JS_CloneFunctionObject() each time
  a JS wrapper function is needed, which is slower, but avoids this GC problem.


git-svn-id: svn://10.0.0.236/trunk@5005 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 15:50:16 +00:00
mcafee
18be643b7c Full Circle assembly files hangs the compiler w/o this flag.
git-svn-id: svn://10.0.0.236/trunk@5004 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 13:15:40 +00:00
rpotts
d81b006e8f Added error checking to the document creation. IF a document cannot be found, the network load will fail and the old document will not be deleted...
git-svn-id: svn://10.0.0.236/trunk@4990 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 06:16:02 +00:00
rpotts
5273f998d4 Cause the netlib load to fail if OnStartBinding(...) returns an error.
git-svn-id: svn://10.0.0.236/trunk@4989 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 06:15:06 +00:00
scullin
00a860dea1 Attempt to fix mac build.
git-svn-id: svn://10.0.0.236/trunk@4988 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 05:09:43 +00:00
fur
5d2426cebb Tweaked comment.
git-svn-id: svn://10.0.0.236/trunk@4985 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 02:43:34 +00:00
fur
c583e2e8f7 Fix Win32 warnings that were introduced as a result of curing Mac warnings.
git-svn-id: svn://10.0.0.236/trunk@4984 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 02:42:16 +00:00
fur
0318d6d143 Got rid of debug printf().
git-svn-id: svn://10.0.0.236/trunk@4983 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 02:41:31 +00:00
fur
cf3292cbf7 Added Compatibility discussion.
Tweaked Mac build instructions.


git-svn-id: svn://10.0.0.236/trunk@4982 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 02:40:48 +00:00
ricardob
d523ee5063 fix winfe mozilla mapi call
git-svn-id: svn://10.0.0.236/trunk@4981 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 01:12:50 +00:00
vidur
c4b7d2a4c9 Moved core DOM interfaces to coreDom directory
git-svn-id: svn://10.0.0.236/trunk@4976 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:50:16 +00:00
vidur
5cd417ba06 Moved core DOM interfaces to coreDom directory
git-svn-id: svn://10.0.0.236/trunk@4975 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:48:44 +00:00
vidur
467a104f6a Added special case for global object. Changed geniid.pl to take multiple directories
git-svn-id: svn://10.0.0.236/trunk@4974 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:48:06 +00:00
ricardob
0e823fac83 Comment out again temp define for Gromit, use addrbook.h instead
git-svn-id: svn://10.0.0.236/trunk@4968 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:35:22 +00:00
ricardob
f000ca1fb8 Use kGromitxxx definition from addrbook.h
git-svn-id: svn://10.0.0.236/trunk@4967 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:34:45 +00:00
fur
e121f64e4f Fixed incorect argument type in jlong_to_jdouble() which was causing Java long values to get mangled.
git-svn-id: svn://10.0.0.236/trunk@4964 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:00:15 +00:00
atotic
9224c5657e Aaah, someone split the MANIFEST file inside config/mac
git-svn-id: svn://10.0.0.236/trunk@4962 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:54:24 +00:00
ricardob
bfe67a1902 fix for free moz in unix
git-svn-id: svn://10.0.0.236/trunk@4961 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:50:34 +00:00
guha
5cdf2a86a6 Back out changes.
git-svn-id: svn://10.0.0.236/trunk@4960 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:48:19 +00:00
kipp
97c6970030 Fixed a typo (blush)
git-svn-id: svn://10.0.0.236/trunk@4959 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:44:46 +00:00
ricardob
4612d1aa32 fix for free moz in unix
git-svn-id: svn://10.0.0.236/trunk@4958 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:42:42 +00:00
rpotts
9f3a0b265a Fixes to make the automated document loader work again...
git-svn-id: svn://10.0.0.236/trunk@4955 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:39:38 +00:00
rpotts
66adbc5795 Added some missing forward declarations...
git-svn-id: svn://10.0.0.236/trunk@4954 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:38:48 +00:00
rpotts
285c8dc2af Fix viewer bug where pages would not load unless the mouse was wiggled...
git-svn-id: svn://10.0.0.236/trunk@4953 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:34:30 +00:00
pierre
4a0ecc19d2 Fixing Mac MOZ_MEDIUM: ifndef'd XP_MAC the "misc temp kludges"
git-svn-id: svn://10.0.0.236/trunk@4952 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:32:15 +00:00
troy
91626f8759 More work-in-progress incremental reflow code
git-svn-id: svn://10.0.0.236/trunk@4951 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:19:31 +00:00
pierre
9e30c0e9d0 Fixing MOZ_MEDIUM: ifdef'd XP_MAC the "#include" added yesterday.
git-svn-id: svn://10.0.0.236/trunk@4950 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:05:50 +00:00
kipp
b530035104 Moved initial reflow processing into InitialReflow method (doh)
git-svn-id: svn://10.0.0.236/trunk@4941 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:55:15 +00:00
kipp
99f5e93df3 Added more asserts to catch bad behavior of parents and children
git-svn-id: svn://10.0.0.236/trunk@4940 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:54:53 +00:00
terry
f7a4cda1e7 Patch by Matthew Wilson <msw@gimp.org> -- removed extraneous apostrophe.
git-svn-id: svn://10.0.0.236/trunk@4938 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:54:16 +00:00
kipp
07047d35f3 new
git-svn-id: svn://10.0.0.236/trunk@4937 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:53:47 +00:00
ricardob
a5c069ecdf put back include string, instead of glyph
git-svn-id: svn://10.0.0.236/trunk@4933 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:47:25 +00:00
guha
ee5c33a9bf Fix the RDF backend P0 bugs
git-svn-id: svn://10.0.0.236/trunk@4932 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:45:01 +00:00
ricardob
c755e95d1f changes for free mozilla and fix builds (also in mknews.c)
git-svn-id: svn://10.0.0.236/trunk@4931 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:43:34 +00:00
rods
91b3925529 fixed build problem
git-svn-id: svn://10.0.0.236/trunk@4930 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:43:08 +00:00
ricardob
b5b69976cd changes for free mozilla
git-svn-id: svn://10.0.0.236/trunk@4929 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:42:36 +00:00
atotic
fefb11aebd Fixed mac build bustage
git-svn-id: svn://10.0.0.236/trunk@4928 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:34:46 +00:00
pierre
f1f75b2298 Fixing MOZ_MEDIUM: fixed 2 paths like in the previous checkin and added Progress.mcp
git-svn-id: svn://10.0.0.236/trunk@4926 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:46:01 +00:00
pierre
dd951f6fe1 Fixing MOZ_MEDIUM.
git-svn-id: svn://10.0.0.236/trunk@4925 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:39:17 +00:00
ricardob
33eea4007c fix build
git-svn-id: svn://10.0.0.236/trunk@4924 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:35:53 +00:00
pierre
205756968b Fixing MOZ_MEDIUM
git-svn-id: svn://10.0.0.236/trunk@4923 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:28:46 +00:00
kipp
9397552bbe updated test
git-svn-id: svn://10.0.0.236/trunk@4922 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:26:54 +00:00
kipp
8c01eeea23 Bug fix for content-appended reflow
git-svn-id: svn://10.0.0.236/trunk@4921 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:26:34 +00:00
kipp
659ef637cf Fixed up logging to use the frame logging
git-svn-id: svn://10.0.0.236/trunk@4920 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:26:00 +00:00
kipp
7cf6711c96 Fixed bug where tables weren't returning a proper set of metrics
git-svn-id: svn://10.0.0.236/trunk@4919 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:24:56 +00:00
atotic
bc993aea8c Added CNavDTD.h
git-svn-id: svn://10.0.0.236/trunk@4918 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:21:53 +00:00
rods
682732e96f Continued to implement the remain methods
git-svn-id: svn://10.0.0.236/trunk@4917 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:18:04 +00:00
troy
89a3525fb4 Moved code that resized the table row cells from the row group frame
to the row frame. It's now handled as part of the DidReflow() post-
processing code


git-svn-id: svn://10.0.0.236/trunk@4916 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 20:35:23 +00:00
donm
631802630d Approved by: Don Melton. Let's fix this bustage!
git-svn-id: svn://10.0.0.236/trunk@4915 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 20:03:09 +00:00
sar
2ec3379c19 adding needed include paths, removing bad export headers
git-svn-id: svn://10.0.0.236/trunk@4914 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 20:03:03 +00:00
rpotts
c0cda15aab Initialized the file extension to content-type mappings to allow netlib to determine the content-type of a file based on its extension...
git-svn-id: svn://10.0.0.236/trunk@4913 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 19:44:56 +00:00
kipp
942da4bbb6 half attempt to build on unix
git-svn-id: svn://10.0.0.236/trunk@4908 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 18:21:12 +00:00
vidur
95e4fbc39d Fixed casting problems on Linux
git-svn-id: svn://10.0.0.236/trunk@4907 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:46:15 +00:00
cyeh
d4c96a9d4a fill out path when building MOZ_MEDIUM target. This looks like an
incorrect copy/paste of code.


git-svn-id: svn://10.0.0.236/trunk@4906 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:41:56 +00:00
buster
192406dc56 added an optimization that skips pass2 cell reflows when the new available width is unchanged
from the prior available width.  Some real-world test cases sped up
1-2 orders of magnitude for resize reflow.  Initial reflow is unchanged because
we still need to get pass1 metrics on all content.
fixed nsCSSBlockFrame.cpp to take margins into account when computing parent's available width
fixed distribution of excess space to table cells when table is bigger than the content it holds.
not quite finished yet, but better.


git-svn-id: svn://10.0.0.236/trunk@4905 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:40:56 +00:00
buster
10397594d9 now takew margins into account when computing parent's available width
git-svn-id: svn://10.0.0.236/trunk@4904 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:40:02 +00:00
cyeh
1c12a499e2 added "Couldn't find project file " error. This happens when a CW project
can't find the file to compile.


git-svn-id: svn://10.0.0.236/trunk@4903 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:26:48 +00:00
donm
fb81f23298 Approved by: Don Melton build bustage fixage.
git-svn-id: svn://10.0.0.236/trunk@4902 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:26:07 +00:00
sar
9af0d1543f add needed headers for mail/news. approved by don.
git-svn-id: svn://10.0.0.236/trunk@4901 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:25:37 +00:00
sar
3c19f144a0 wrapping mkcertld.h in ifdef MOZ_SECURITY to fix some breakage. approved by don. suggested by ricardob. corresponding fix in makefiles will come along soon.
git-svn-id: svn://10.0.0.236/trunk@4900 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:24:35 +00:00
donm
8fef0b686f approved by: Don Melton fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@4899 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:05:05 +00:00
pierre
122ed386c8 For some reason, the file previously checked-in was corrupted.
git-svn-id: svn://10.0.0.236/trunk@4898 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 10:40:54 +00:00
pierre
c4690718a0 Fixing MOZ_MEDIUM: build the right target in network.mcp
git-svn-id: svn://10.0.0.236/trunk@4897 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 10:21:58 +00:00
pierre
e8e75fab9e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4896 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 10:20:18 +00:00
pierre
cf14f98ad6 Fixing MOZ_MEDIUM: created two "mailnews" targets
git-svn-id: svn://10.0.0.236/trunk@4895 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 10:19:25 +00:00
rickg
5ec2e184eb major improvements to parser API's; fixed a few bugs
git-svn-id: svn://10.0.0.236/trunk@4894 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 08:14:22 +00:00
troy
5984f25221 Some work-in-progress for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4892 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 05:39:10 +00:00
fur
b601507a5e Use Types.h instead of more modern MacTypes.h so that we can build with CodeWarrior 2 on the Mac.
git-svn-id: svn://10.0.0.236/trunk@4891 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 04:11:53 +00:00
montulli
20e270f2b3 merge montulli1 branch with tip
git-svn-id: svn://10.0.0.236/trunk@4889 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 02:41:04 +00:00
pierre
b388d6f208 Mac MOZ_DARK
git-svn-id: svn://10.0.0.236/trunk@4888 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 02:38:19 +00:00
pierre
000a0cdc17 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4887 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 02:24:28 +00:00
ricardob
fe2c9afdc2 fixed typo in free mail api
git-svn-id: svn://10.0.0.236/trunk@4886 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 02:01:55 +00:00
ricardob
ea6c1c8097 xfe free world changes
git-svn-id: svn://10.0.0.236/trunk@4884 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:38:15 +00:00
cmanske
da9cc14599 Part of fix for Composer SF1 in bug 148474. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4883 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:32:06 +00:00
akkana
d42d73c42b 226857: Normandy landing didn't include kini's notification center fix.
git-svn-id: svn://10.0.0.236/trunk@4882 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:31:12 +00:00
akkana
abfc075e28 BUG 224560: Stever's netlib checkin didn't fix the cookie persistence bug
on the XFE; he says we need to replace the GH_InitGlobalHistory with one
to NET_FinishInitNetLib.


git-svn-id: svn://10.0.0.236/trunk@4881 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:25:49 +00:00
cmanske
0be124206f Fixed Composer SF1 in bugs 26852, 123355, 148474, 233518. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4879 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:20:39 +00:00
cmanske
d0817b8097 New function declared as part of fix for SF1 in bug 26852. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4878 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:18:54 +00:00
ricardob
ad2308a031 Use MOZ_SECURITY
git-svn-id: svn://10.0.0.236/trunk@4877 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:15:11 +00:00
joki
922f48ccea Remove temporary setFocus() call. Focus shift moved to nsScrollingView
git-svn-id: svn://10.0.0.236/trunk@4876 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:14:28 +00:00
joki
642b35a5e1 Move scrolling event code into new event handler to keep it out of DOM loop
git-svn-id: svn://10.0.0.236/trunk@4875 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:13:09 +00:00
vidur
206737c1d6 Fixed casting problems on Linux
git-svn-id: svn://10.0.0.236/trunk@4874 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:10:21 +00:00
ricardob
8e67359d7b free world changes
git-svn-id: svn://10.0.0.236/trunk@4873 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:09:54 +00:00
jevering
26b3044dfc Use the new allocating ReplaceElementAt so that the context and style
stacks aren't sliding memory buffers all over the place (and over
allocating).


git-svn-id: svn://10.0.0.236/trunk@4859 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:29:59 +00:00
jevering
1aaeb9f146 Modified ReplaceElementAt to grow the array if an index out of the
allocated boundary was requested.


git-svn-id: svn://10.0.0.236/trunk@4858 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:28:56 +00:00
ricardob
e34f8d1521 added SOCKET_ERRNO for mail-news
git-svn-id: svn://10.0.0.236/trunk@4855 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:19:29 +00:00
kipp
7b08ae6046 Fixed some dom methods
git-svn-id: svn://10.0.0.236/trunk@4854 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:04:44 +00:00
kipp
54de62f7b7 Removed unneeded duplicate code
git-svn-id: svn://10.0.0.236/trunk@4853 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:04:26 +00:00
kipp
b3a82d5b57 First pass implementation of content insertion/deletion handling code (untested at this point); also did some misc cleanup
git-svn-id: svn://10.0.0.236/trunk@4852 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:04:12 +00:00
kipp
d341e19414 new
git-svn-id: svn://10.0.0.236/trunk@4851 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:02:42 +00:00
vidur
4b22c2900e Added nsINetContainerApplication interface and a way for netlib to get the user agent, etc. from the containing application
git-svn-id: svn://10.0.0.236/trunk@4850 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:56:46 +00:00
vidur
eedd12e63c Added nsINetContainerApplication interface and a way to get the user agent, etc. from the containing application
git-svn-id: svn://10.0.0.236/trunk@4849 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:56:20 +00:00
vidur
3723c3cdee Added window.navigator and Navigator interface
git-svn-id: svn://10.0.0.236/trunk@4848 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:55:40 +00:00
pinkerton
cb2127bb18 Columns now work again, after Normandy added mLastShowableColumn field. (bug #243547, appr don).
git-svn-id: svn://10.0.0.236/trunk@4847 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:47:06 +00:00
ricardob
a82eabfb8a added missing glyph 02070
git-svn-id: svn://10.0.0.236/trunk@4846 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:46:53 +00:00
ricardob
463038e496 Fixed mozilla call parametrs to compose new msg
git-svn-id: svn://10.0.0.236/trunk@4845 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:35:51 +00:00
thom
4ef089e668 Mac linux fix.
git-svn-id: svn://10.0.0.236/trunk@4844 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:31:42 +00:00
thom
eb30684bba Fixes for mac linux
git-svn-id: svn://10.0.0.236/trunk@4843 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:29:55 +00:00
blythe
2efd71c3c6 aprvd don, transparency fixes, dithering improvements, submitted by martin.nilsson@bigfoot.com
git-svn-id: svn://10.0.0.236/trunk@4842 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:10:18 +00:00
blythe
624c4e6369 aprvd don, fix 95 print scale problem, submitted by ajtal@ezlink.com
git-svn-id: svn://10.0.0.236/trunk@4840 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:50:42 +00:00
atotic
8336cedefe Fixed the for (PRInt32 i=) problem
git-svn-id: svn://10.0.0.236/trunk@4839 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:40:00 +00:00
atotic
6124ae0d42 Added a new export
git-svn-id: svn://10.0.0.236/trunk@4838 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:39:00 +00:00
valeski
c744b665a8 fixed cookies reset by server bug. 241770, approved by don
git-svn-id: svn://10.0.0.236/trunk@4837 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:36:44 +00:00
atotic
d1d35e3d54 Added nsDocLoader to theproject
git-svn-id: svn://10.0.0.236/trunk@4836 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:29:53 +00:00
troy
6b8fcf2004 Eliminated some usage of ChildAt()
git-svn-id: svn://10.0.0.236/trunk@4835 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:22:28 +00:00
kipp
3cc9a6fb23 Fixed up iframe layout (again)
git-svn-id: svn://10.0.0.236/trunk@4834 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:21:13 +00:00
thom
d3fa69c290 (scullin) fix for mac linux?
git-svn-id: svn://10.0.0.236/trunk@4831 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 21:16:14 +00:00
valeski
00950ed234 fixed netlib debug trace messages, approved by don
git-svn-id: svn://10.0.0.236/trunk@4828 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 21:07:28 +00:00
karnaze
53cf2c58ae more nav4 compatibility, radio group bug fixes
git-svn-id: svn://10.0.0.236/trunk@4825 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 20:11:57 +00:00
shaver
c00692bd31 forgot the NPL
git-svn-id: svn://10.0.0.236/trunk@4824 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 19:59:06 +00:00
beard
feeaf633f6 Fixed unintended assignment warning in lookup_member_by_id.
git-svn-id: svn://10.0.0.236/trunk@4823 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:58:29 +00:00
beard
546d7d594b Fixed unintended assignment warning in access_java_array_element.
git-svn-id: svn://10.0.0.236/trunk@4822 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:55:49 +00:00
atotic
f75efd0b13 Trimmed out some dead code
git-svn-id: svn://10.0.0.236/trunk@4821 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:49:35 +00:00
beard
9d8774e021 Added prototype for jsj_ConvertJavaStringToJSString.
git-svn-id: svn://10.0.0.236/trunk@4820 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:48:12 +00:00
beard
87f6d6e462 enter_js now static, since it had no external prototype.
git-svn-id: svn://10.0.0.236/trunk@4819 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:47:26 +00:00
beard
93f8eb2a1a define_JavaPackage now static since it had no external prototype.
git-svn-id: svn://10.0.0.236/trunk@4818 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:46:23 +00:00
beard
2a4bff8f61 JavaObject_getObjectOps now static since it had no external prototype.
git-svn-id: svn://10.0.0.236/trunk@4817 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:45:32 +00:00
beard
65dfe85d74 JavaClass_getObjectOps, jsj_new_JavaClass now static, since they had no external prototypes anyway.
git-svn-id: svn://10.0.0.236/trunk@4816 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:44:50 +00:00
gagan
e601145c2c Fixes the cache bug that was causing PR_ASSERTs to fire. (Fixes animated gifs too). See bug #226203,
#241297 (main) for details.


git-svn-id: svn://10.0.0.236/trunk@4815 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:44:28 +00:00
beard
10021cd9dc Made JavaArray_getObjectOps static to fix no prototype warning.
git-svn-id: svn://10.0.0.236/trunk@4814 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:43:16 +00:00
beard
f56b7bed0f Fixed unintended assignment warnings, made default_map_java_object_to_js_object static to fix no prototype warning.
git-svn-id: svn://10.0.0.236/trunk@4813 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:42:27 +00:00
atotic
61dd96b918 Ooops, forgot to check in full implementation
git-svn-id: svn://10.0.0.236/trunk@4812 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:40:46 +00:00
beard
618e21bd13 Removed some dead code.
git-svn-id: svn://10.0.0.236/trunk@4811 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:37:43 +00:00
vidur
e9cf900c9c Deal with NULL object case for parameters to methods
git-svn-id: svn://10.0.0.236/trunk@4810 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:36:59 +00:00
vidur
2e6a3bf88b Deal with NULL object case before asking if its an object
git-svn-id: svn://10.0.0.236/trunk@4809 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:32:35 +00:00
shaver
d72485a1e5 adding XPCOM interface support (non-functional) -- not part of Gromit
git-svn-id: svn://10.0.0.236/trunk@4808 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:18:00 +00:00
kipp
ec2ff1035a Fixed a js-stub generating problem with null's vs's objects (vidur told me what to type)
git-svn-id: svn://10.0.0.236/trunk@4807 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 17:00:18 +00:00
terry
fca689e773 Patch by Dawn Endico <dawn@cannibal.mi.org> -- add comment at top.
git-svn-id: svn://10.0.0.236/trunk@4806 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 13:53:28 +00:00
rpotts
4a68238526 Changed PR_ASSERT to NS_ASSERTION...
git-svn-id: svn://10.0.0.236/trunk@4805 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 12:25:49 +00:00
rpotts
f81e4d3483 Changed nsIStreamListener to nsIStreamObserver... First pass of changes for the Document Loader...
git-svn-id: svn://10.0.0.236/trunk@4804 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:34:00 +00:00
rpotts
344e29cf59 Changed to use the Document Loader instead of LoadURL(...)
git-svn-id: svn://10.0.0.236/trunk@4803 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:31:24 +00:00
rpotts
0f96131583 Fixed up Post data to avoid leaks...
git-svn-id: svn://10.0.0.236/trunk@4802 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:30:35 +00:00
rpotts
d6ef25d76d Added nsDocLoader.cpp...
git-svn-id: svn://10.0.0.236/trunk@4801 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:29:20 +00:00
rpotts
a93275bb44 Changed some interface methods to use NS_IMETHOD for consistancy...
git-svn-id: svn://10.0.0.236/trunk@4800 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:28:05 +00:00
rpotts
4f2d809c6b Changed nsIStreamListener to nsIStreamOBserver. Added the BindToDocument(...) method which is used by the DocumentLoader.
git-svn-id: svn://10.0.0.236/trunk@4799 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:27:06 +00:00
rpotts
66272b6db3 Added nsIDocumentLoader.h
git-svn-id: svn://10.0.0.236/trunk@4798 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:25:55 +00:00
rpotts
2d2875f4c9 Fixed up IID for nsIStreamListener
git-svn-id: svn://10.0.0.236/trunk@4797 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:24:10 +00:00
rpotts
210c8cb5c5 Split the nsIStreamListner interface into nsIStreamObserver and nsIStreamListener
git-svn-id: svn://10.0.0.236/trunk@4796 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:23:17 +00:00
rpotts
c9139d013b Changed sprintf(...) to PR_snprintf(...)
git-svn-id: svn://10.0.0.236/trunk@4795 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:22:25 +00:00
rpotts
e9b3947be4 Changed LoadURL(...) to StartDocumentLoad(...) TestAttributes.cpp TestInlineFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@4794 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:21:41 +00:00
rpotts
6fefbee45b Reworked Post data to avoid memory leaks...
git-svn-id: svn://10.0.0.236/trunk@4793 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:18:39 +00:00
rpotts
e80a02583e Now uses nsIViewerContainer interface and the Document Loader...
git-svn-id: svn://10.0.0.236/trunk@4792 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:17:41 +00:00
rpotts
765a97fd10 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader...
git-svn-id: svn://10.0.0.236/trunk@4791 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:16:09 +00:00
rpotts
e79df5b7d0 Fix crash by checking whether a link handler was returned bu GetLinkHandler(...)
git-svn-id: svn://10.0.0.236/trunk@4790 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:15:20 +00:00
rpotts
e6b61670d4 Changed nsIStreamListener to nsIStreamObserver...
git-svn-id: svn://10.0.0.236/trunk@4789 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:11:44 +00:00
rpotts
e608595a3f Changed nsIStreamListener to nsIStreamObserver. Added BeginParse(...) method for the DocumentLoader...
git-svn-id: svn://10.0.0.236/trunk@4788 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:11:05 +00:00
rpotts
8d1882ed56 Fixed up IID for nsIStreamListener interface
git-svn-id: svn://10.0.0.236/trunk@4787 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:09:49 +00:00
fur
d4018e3656 If the same JSObject is reflected into Java more than once then we should
return the same Java object, both for efficiency and so that the '=='
operator works as expected in Java when comparing two JSObjects.
However, it is not possible to hold a reference to a Java object without
inhibiting GC of that object, at least not in a way that is portable
to all vendor's JVMs, i.e. a weak reference. So, for now, JSObject identity
is broken.


git-svn-id: svn://10.0.0.236/trunk@4782 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 06:11:39 +00:00
fur
fe603e369e Added equals() method to override java.lang.Object.equals(). This is
necessary because the '==' operator won't work with LC2.


git-svn-id: svn://10.0.0.236/trunk@4781 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 06:00:10 +00:00
wtc
a046f097da In _PR_MD_OPEN_DIR, we append \*.* to the directory name,
but if the directory name ends in a slash or backslash,
we do not append the backslash.
Files changed: ntio.c and w95io.c.


git-svn-id: svn://10.0.0.236/trunk@4780 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 05:13:10 +00:00
troy
a4008f60fb Some work-in-progress for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4779 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 04:55:15 +00:00
troy
e7ec0d1a2b Removed some vertical margin collapsing stuff that wasn't needed
git-svn-id: svn://10.0.0.236/trunk@4777 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 03:03:32 +00:00
brendan
cc6ce74501 - Remove duplicate error fprintf from js.c:Load.
- Revise exception handling runtime info (now called trynotes a la srcnotes)
  for more efficient loop control under JSOP_THROW.  Avoid all uses of catch
  and throw while at it, to make C++ lusers happy.
- Combine JSStackFrame.exception with rval, and rename
  JSStackFrame.exceptPending to be ...throwing.
- Optimize JS_TypeOfValue a bit.
- Name, control flow, whitespace, etc. cleanup.


git-svn-id: svn://10.0.0.236/trunk@4772 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 02:12:45 +00:00
kipp
bc2524278c Keep view around so that it moves properly
git-svn-id: svn://10.0.0.236/trunk@4767 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 00:54:54 +00:00
beard
69e8927cbd Changed jsj_HashJavaObject to conform to JSJHashFunction.
git-svn-id: svn://10.0.0.236/trunk@4766 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 00:21:18 +00:00
kipp
33f162ccc8 Revised logging code to work with nspr properly; updated to support incremental content appended reflow
git-svn-id: svn://10.0.0.236/trunk@4764 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:51:53 +00:00
kipp
a64c2b851a Added state recovery logic for FrameAppendedReflow (though it still reflows too much)
git-svn-id: svn://10.0.0.236/trunk@4763 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:51:26 +00:00
gagan
e2848f697b Fixes the great netlib initialization problem. NET_FinishInitNetLib was
never being called. Moved some stuff from NET_InitNetlib to this function.
See bug #231596 for details. Rev. by stever/valeski.


git-svn-id: svn://10.0.0.236/trunk@4762 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:48:14 +00:00
gagan
ba6e3a1e81 Fixes the great netlib initialization problem. NET_FinishInitNetLib was
never being called. See bug #231596.


git-svn-id: svn://10.0.0.236/trunk@4761 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:42:17 +00:00
kipp
9990bec890 Fixed memory overwrite bug
git-svn-id: svn://10.0.0.236/trunk@4760 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:37:35 +00:00
troy
4b6f9cce8d Changed reflow processing for floaters
git-svn-id: svn://10.0.0.236/trunk@4759 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:19:10 +00:00
beard
5959c9b500 #defined PR_IMPLEMENT for XP_MAC/XP_UNIX cases.
git-svn-id: svn://10.0.0.236/trunk@4744 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:18:23 +00:00
beard
35cfe6062d Fixed JSVAL_TO_JLONG_JVALUE macro for XP_MAC -- can't assign 0 directly to a jlong.
git-svn-id: svn://10.0.0.236/trunk@4743 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:17:19 +00:00
briano
6348093892 Support for SINIX-Z (x86) as well as SINIX-N (mips).
git-svn-id: svn://10.0.0.236/trunk@4742 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:15:47 +00:00
beard
16ea61e480 Added jsj_hash.c, turned on debugging by default.
git-svn-id: svn://10.0.0.236/trunk@4741 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:15:38 +00:00
briano
eac3161141 Support for NetBSD.
git-svn-id: svn://10.0.0.236/trunk@4740 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:14:55 +00:00
briano
38f24f1df5 Welcome to the club, NetBSD.
git-svn-id: svn://10.0.0.236/trunk@4739 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:13:11 +00:00
jevering
5edc77d9f9 Added the nsVoidArray support to the COtherDTD class.
git-svn-id: svn://10.0.0.236/trunk@4738 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:11:24 +00:00
ricardob
a33d1273aa Dont build ns_mime with no sec
git-svn-id: svn://10.0.0.236/trunk@4737 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:06:09 +00:00
troy
5eaf9b56bf Changed a XXX comment that was now out of date
git-svn-id: svn://10.0.0.236/trunk@4736 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 21:37:30 +00:00
jevering
e2038d6968 Changed the context stack and style stacks to be nsVoidArray to avoid
stack overflow.


git-svn-id: svn://10.0.0.236/trunk@4735 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 21:36:10 +00:00
troy
7002f99964 Changed anchor frames to forward content notifications to the real frame
git-svn-id: svn://10.0.0.236/trunk@4734 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 21:35:07 +00:00
kipp
3962528be4 Use new PropagateContentOffsets API
git-svn-id: svn://10.0.0.236/trunk@4733 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:22:44 +00:00
kipp
d6205b6157 Avoid crashing when no link handler is involved
git-svn-id: svn://10.0.0.236/trunk@4732 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:22:27 +00:00
kipp
381be9a9e1 update to new nsIInlineReflow API
git-svn-id: svn://10.0.0.236/trunk@4731 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:22:04 +00:00
kipp
434a14b512 Implement new PropagateContentOffsets to avoid looking at floaters
git-svn-id: svn://10.0.0.236/trunk@4730 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:21:57 +00:00
kipp
8a3fff4ae9 Pretend to map STYLE attributes back to strings to avoid crashing
git-svn-id: svn://10.0.0.236/trunk@4729 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:20:51 +00:00
kipp
ad35cb911a disabled calls to PropagateContentOffsets for now
git-svn-id: svn://10.0.0.236/trunk@4728 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:20:29 +00:00
kipp
c5d042d339 Pass attribute-to-string calls to superclass when it's an unkown attribute/type
git-svn-id: svn://10.0.0.236/trunk@4727 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:15:37 +00:00
kipp
b30632e73a Improved listing output
git-svn-id: svn://10.0.0.236/trunk@4726 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:14:33 +00:00
kipp
8a408fc3a8 Updated APIs
git-svn-id: svn://10.0.0.236/trunk@4725 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:14:16 +00:00
kipp
f824480796 Various pagination related bug fixes; pass in reflow command to FindTextRuns
git-svn-id: svn://10.0.0.236/trunk@4724 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:14:04 +00:00
kipp
20726b50dc Added aReflowCommand argument so that inline frames can properly determine what is triggering the TextRun discovery and properly avoid (or not avoid) creating new frames
git-svn-id: svn://10.0.0.236/trunk@4723 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:13:07 +00:00
buster
28ed0c4991 fixed-width cells no longer improperly impact the available size
of subsequent cells in reflow pass 1

we correctly distribute extra space in a table proportionately.
We try to give the extra space to auto-width columns first,
and if there are none we distribute it to all columns.
The percentage is based on the cell content's desired size.


git-svn-id: svn://10.0.0.236/trunk@4722 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:12:45 +00:00
kipp
8c86ab671a Reworked PropagateContentOffsets so that the update to the offsets is done by the frame itself instead of the child whacking the parent directly; this allows subclasses to override the whackage.
git-svn-id: svn://10.0.0.236/trunk@4721 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:12:23 +00:00
kipp
5f9fb5d239 Documented a bug
git-svn-id: svn://10.0.0.236/trunk@4720 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:11:34 +00:00
troy
f1abc17cde Added ContentDeleted() member function
git-svn-id: svn://10.0.0.236/trunk@4719 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:11:10 +00:00
jevering
bcf0aab923 Temporarily crank up the context stack size.. we are overrunning it.
I will put a growable stack in later.
This could be a security hole.


git-svn-id: svn://10.0.0.236/trunk@4715 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 18:23:21 +00:00
fur
09fea5f8fe = Replicate the JS engine machinery that gives the appearance of converting
all element access expressions to strings, e.g. so that obj["3"] and
  obj[3] refer to the same property for a JavaArray object.

= Return false when using 'delete' operator on JavaArray objects.


git-svn-id: svn://10.0.0.236/trunk@4714 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 18:18:03 +00:00
joki
175b270a7f Allow hex values in numbers
git-svn-id: svn://10.0.0.236/trunk@4712 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 18:12:40 +00:00
fur
88bc9aaf64 Return false when using the 'delete' operator on JavaClass or JavaObject objects.
git-svn-id: svn://10.0.0.236/trunk@4711 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 18:10:14 +00:00
terry
3cae29b636 Oops; left out one sentence.
git-svn-id: svn://10.0.0.236/trunk@4709 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 17:46:26 +00:00
terry
e21d22fea3 Add some explaination of what "the hook" is.
git-svn-id: svn://10.0.0.236/trunk@4708 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 17:39:57 +00:00
terry
7e41c4c394 Patch by Dawn Endico <dawn@cannibal.mi.org> -- cleaned up some
comments, added a README file.


git-svn-id: svn://10.0.0.236/trunk@4707 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 14:06:34 +00:00
fur
5bc94271e8 Eliminated the last uses of the JNIEnv global variable. Unfortunately, this
means that we had to switch from using NSPR hash tables to a private version.
The new jsj_hash.c file is derived from plhash.c, but it provides for an additional
argument to be passed to the hash key comparison function.  This capability
is used to pass in the JNIEnv pointer.

On shutdown, LiveConnect now removes all references to Java objects and classes,
so that the JVM might be able to GC them.


git-svn-id: svn://10.0.0.236/trunk@4706 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 10:04:32 +00:00
atotic
6b66b065a7 Added nsMacFile to the project
git-svn-id: svn://10.0.0.236/trunk@4705 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:04:26 +00:00
atotic
d956c44f83 Moved file implementation stuff into nsMacFile.cp
git-svn-id: svn://10.0.0.236/trunk@4704 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:03:51 +00:00
atotic
b65cd51bc2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4703 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:03:30 +00:00
atotic
86f2b8fdbc Code browser was inactive
git-svn-id: svn://10.0.0.236/trunk@4702 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:03:04 +00:00
atotic
29f3c2b7ec Real timer implementation
git-svn-id: svn://10.0.0.236/trunk@4701 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:01:11 +00:00
vidur
77fe01a990 Deal with hex values in numerical values
git-svn-id: svn://10.0.0.236/trunk@4696 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 02:23:59 +00:00
vidur
45d118ce09 Deal with hex values in numerical values
git-svn-id: svn://10.0.0.236/trunk@4694 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 02:18:05 +00:00
troy
1d0565bf04 Moved shrink wrap code from table frame to table row group frame
git-svn-id: svn://10.0.0.236/trunk@4693 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 02:11:07 +00:00
gagan
b578914a6f Fix for bug #226203. Setup Prefs was not being called.
git-svn-id: svn://10.0.0.236/trunk@4688 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 01:11:22 +00:00
atotic
2b3b67505c Upped the app memory partition to 5 megs
git-svn-id: svn://10.0.0.236/trunk@4685 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 00:52:43 +00:00
atotic
0360fc5b81 Added making of aliases to .SYM files in the viewer_debug directory.
git-svn-id: svn://10.0.0.236/trunk@4684 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 00:52:06 +00:00
buster
192935238f columns that are fixed-width due to an attribute on the corresponding cell in the first row
now work correctly.
extra space is now properly apportioned in the "table fits" case when the table contains auto-width cells.


git-svn-id: svn://10.0.0.236/trunk@4683 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 00:37:03 +00:00
ricardob
81dd8a938c updated rules
git-svn-id: svn://10.0.0.236/trunk@4682 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 00:04:44 +00:00
cmanske
a7a6b3c351 New artwork checkin for Composer toolbar and other images. Requested by brade
git-svn-id: svn://10.0.0.236/trunk@4681 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 23:53:40 +00:00
valeski
cf71d459fc 152993 approved by don, rev'd by Lou. fixes (debug builds only) a random crasher when posting data.
git-svn-id: svn://10.0.0.236/trunk@4677 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 22:29:52 +00:00
norris
8c66cb57c2 (Not part of Communicator build.)
fur's fix for repeating properties in enumeration bug.


git-svn-id: svn://10.0.0.236/trunk@4675 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 22:01:22 +00:00
norris
efab4ced7d (Not part of Communicator build.)
Handle NaNs better for non-PC platforms as well.


git-svn-id: svn://10.0.0.236/trunk@4674 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 22:00:11 +00:00
joki
b68afd8642 Small change to editor keyCode translation
git-svn-id: svn://10.0.0.236/trunk@4673 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 21:35:27 +00:00
joki
4f5389f76c Validity check for focus event during nsWindow destruction
git-svn-id: svn://10.0.0.236/trunk@4671 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 21:18:19 +00:00
buster
4028747412 cells no longer monkey with their available width based on attribute constraints.
The row does this work now. This makes table layout more properly top-down.


git-svn-id: svn://10.0.0.236/trunk@4670 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 20:38:22 +00:00
atotic
c5296c8b14 Forgot to check out libpwcac
git-svn-id: svn://10.0.0.236/trunk@4669 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 18:38:11 +00:00
terry
1b8454b4ec Oops; backed out last change. (I need to learn how to use CVS. :-)
git-svn-id: svn://10.0.0.236/trunk@4667 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 17:37:06 +00:00
terry
ac1101d225 Patches by Matthew Wilson <msw@gimp.org> -- added much of the missing configuration ability.
git-svn-id: svn://10.0.0.236/trunk@4666 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:21:41 +00:00
terry
e263a5365f Updated to reflect new config stuff introduced by Matthew Wilson <msw@gimp.org>
git-svn-id: svn://10.0.0.236/trunk@4665 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:20:46 +00:00
kipp
aafff5aeab Made sub/sup look more like navigator
git-svn-id: svn://10.0.0.236/trunk@4664 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:10:41 +00:00
kipp
f11c9d4401 Fixed bug where percentage width in an unconstrained situation was yielding a bad size
git-svn-id: svn://10.0.0.236/trunk@4663 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:09:44 +00:00
kipp
15cf5294da Condensed switch statement, treat sub/sup like other span tags
git-svn-id: svn://10.0.0.236/trunk@4662 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:08:57 +00:00
terry
097a96580e Patch by Artem Belevich <abelevic@ctron.com> -- don't choke so easily when parsing modules files.
git-svn-id: svn://10.0.0.236/trunk@4661 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 15:40:24 +00:00
buster
545749c070 minor tweaks for table layout
git-svn-id: svn://10.0.0.236/trunk@4660 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 03:09:14 +00:00
ramiro
ef1650b53f Generate and build the get_info programs only once to speed things up.
git-svn-id: svn://10.0.0.236/trunk@4657 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 10:56:03 +00:00
fur
eab84ce532 Aggressively track and release JNI local references to constructed
Java objects, because otherwise at least one JVM is reticent about
GC'ing them.


git-svn-id: svn://10.0.0.236/trunk@4656 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:53:04 +00:00
fur
4afcf18993 = Force result to zero when converting JS NaN to Java integral types.
= Aggressively track and release JNI local references to constructed
  Java objects, because otherwise at least one JVM is reticent about
  GC'ing them.


git-svn-id: svn://10.0.0.236/trunk@4655 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:52:23 +00:00
fur
60abeb293c Added toString() method for JavaPackage objects.
git-svn-id: svn://10.0.0.236/trunk@4654 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:51:27 +00:00
fur
64ba961948 Property deletion should be silent for ECMA-conformant versions of JS.
git-svn-id: svn://10.0.0.236/trunk@4653 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:50:47 +00:00
fur
94fedc809c Property deletion should be silent for ECMA-conformant versions of JS.
git-svn-id: svn://10.0.0.236/trunk@4652 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:39:58 +00:00
kipp
72b609913c Take text content and join it together so reduce the size of the content model
git-svn-id: svn://10.0.0.236/trunk@4651 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:57:52 +00:00
kipp
493f039a09 Use revised inline reflow status; fixed bug in pre-return status to indicate when continuations are needed after line breaks
git-svn-id: svn://10.0.0.236/trunk@4650 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:57:26 +00:00
kipp
d8cbf8103f Use revised inline reflow status
git-svn-id: svn://10.0.0.236/trunk@4649 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:56:59 +00:00
kipp
ace86ab545 Revised nsInlineReflowStatus to (a) use nsReflowStatus directly and to (b) seperate out completion and break status as orthogonal status
git-svn-id: svn://10.0.0.236/trunk@4648 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:56:09 +00:00
kipp
562f6ee466 Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's
git-svn-id: svn://10.0.0.236/trunk@4647 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:54:58 +00:00
beard
bfa75471f4 Added code that guarantees MRJ will be shutdown when the program exits.
git-svn-id: svn://10.0.0.236/trunk@4646 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 18:24:26 +00:00
atotic
9e5ef1500e OK, one more project typo
git-svn-id: svn://10.0.0.236/trunk@4644 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 03:24:33 +00:00
atotic
989d1592ba Ooooh, more directories are needed by checkout script
git-svn-id: svn://10.0.0.236/trunk@4642 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 03:07:26 +00:00
atotic
c9ca5d305a Bug fix for picking what you want to do
git-svn-id: svn://10.0.0.236/trunk@4641 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:50:12 +00:00
atotic
fb06985c98 That for (int i)... problem fix
git-svn-id: svn://10.0.0.236/trunk@4640 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:49:36 +00:00
atotic
10a86048e8 It builds and links
git-svn-id: svn://10.0.0.236/trunk@4639 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:49:08 +00:00
atotic
de08420b29 Another class reference inside class declaration problem
class A {
  void A:method
};
is bad


git-svn-id: svn://10.0.0.236/trunk@4638 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:48:39 +00:00
atotic
ddf76d4a60 Fixed mac warnings
git-svn-id: svn://10.0.0.236/trunk@4637 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:47:44 +00:00
atotic
de5bb38c01 Added/removed some files
git-svn-id: svn://10.0.0.236/trunk@4636 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:47:08 +00:00
atotic
332d1b7cbe Fixed the exports
git-svn-id: svn://10.0.0.236/trunk@4635 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:46:16 +00:00
atotic
bab4147ba1 More build fixes
git-svn-id: svn://10.0.0.236/trunk@4634 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:45:22 +00:00
atotic
5fef11e3ce First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4631 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 01:28:36 +00:00
atotic
7c54f578d3 More build fixes
git-svn-id: svn://10.0.0.236/trunk@4630 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 01:26:41 +00:00
atotic
a2c3b797ef NetworkModular changes
git-svn-id: svn://10.0.0.236/trunk@4629 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 01:18:08 +00:00
atotic
5ca7fcdc5c MODULAR_NETLIB fixes for netlib
git-svn-id: svn://10.0.0.236/trunk@4628 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 00:16:36 +00:00
atotic
169f395747 MODULAR_NETLIB fixes for theMac
git-svn-id: svn://10.0.0.236/trunk@4627 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 00:14:34 +00:00
terry
fdd3fee1f5 Artem Belevich <abelevic@ctron.com> has provided absolutely wonderful
installation instructions.


git-svn-id: svn://10.0.0.236/trunk@4626 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 00:03:19 +00:00
atotic
3f1c3913f1 Making it compile on the Mac
git-svn-id: svn://10.0.0.236/trunk@4618 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:55:37 +00:00
atotic
cb8305eb86 Fixed the Mac build
git-svn-id: svn://10.0.0.236/trunk@4617 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:55:11 +00:00
atotic
0e21a5e5ab Moved MacBinSupport to network project, fixed more imglib stuff
git-svn-id: svn://10.0.0.236/trunk@4616 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:54:31 +00:00
atotic
d574fb0cb4 Fixing up the imglib project
git-svn-id: svn://10.0.0.236/trunk@4615 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:53:58 +00:00
sman
c9c79c527a Whether or not we compile CALENDAR, we still want to image VCARDs.
Had to move a define 2 lines down to make this happen.


git-svn-id: svn://10.0.0.236/trunk@4614 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:43:04 +00:00
atotic
8b55892494 Removed MacBinSupport from the list of exportable headers
git-svn-id: svn://10.0.0.236/trunk@4613 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:42:00 +00:00
atotic
2f3828e7a8 Remove NavigatorStubs dependency
Added new targets (JavaScriptNoJSJ$D) to build JavaScript without JSJ dependency.


git-svn-id: svn://10.0.0.236/trunk@4611 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:37:04 +00:00
atotic
8b49e55a21 Implemented MyReadLocation inline to remove the NavigatorStubs dependency
git-svn-id: svn://10.0.0.236/trunk@4610 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:35:01 +00:00
buster
3b31c107da support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide
git-svn-id: svn://10.0.0.236/trunk@4609 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:31:33 +00:00
atotic
ad145690b3 Moved to mozilla/network/main
git-svn-id: svn://10.0.0.236/trunk@4608 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:31:02 +00:00
atotic
e7755f506e Moved MacBinSupport to network project
git-svn-id: svn://10.0.0.236/trunk@4606 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:21:36 +00:00
atotic
27d6dc3afe Moved MacBinSupport to network from the main client project
git-svn-id: svn://10.0.0.236/trunk@4605 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:20:56 +00:00
scullin
cf28176dc2 Added missing library for Linux.
git-svn-id: svn://10.0.0.236/trunk@4604 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:16:18 +00:00
atotic
645c73eb32 Moved MacBinary support where it is used (netlib) from the old
location mozilla/cmd/macfe/utility/


git-svn-id: svn://10.0.0.236/trunk@4603 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:15:40 +00:00
atotic
49743eaff7 More exports are needed for Raptor
git-svn-id: svn://10.0.0.236/trunk@4602 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:02:03 +00:00
atotic
b2747fec01 Moved libimg out of a main project into a static library
git-svn-id: svn://10.0.0.236/trunk@4601 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:55:18 +00:00
atotic
671152c9ac Made libimg and png part of the build.
git-svn-id: svn://10.0.0.236/trunk@4600 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:49:58 +00:00
atotic
689e0d3897 Fixing up the imglib project
git-svn-id: svn://10.0.0.236/trunk@4599 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:49:26 +00:00
atotic
7c0c96c740 Alias optimization in MakeAlias: if correct alias already exists, do not create a new one.
git-svn-id: svn://10.0.0.236/trunk@4597 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:28:20 +00:00
vidur
e9b72399a1 Added code to relative->absolute URL conversion path to deal with .. and . in the path
git-svn-id: svn://10.0.0.236/trunk@4596 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:09:18 +00:00
vidur
7f1d93488b Fail if the FirstWrite for the image returns an error
git-svn-id: svn://10.0.0.236/trunk@4595 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:08:03 +00:00
wtc
481c4718e5 Bug #180965: Mac gets PR_IO_PENDING_ERROR. In
SendReceiveStream and SendReceiveDgram, make
sure that we set the io_pending flag of the current
thread to PR_FALSE before we return.
In gethostbyname(), just store the OS error code in
me->md.osErrCode.  Do not call macsock_map_error()
to map to NSPR error code.


git-svn-id: svn://10.0.0.236/trunk@4588 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 20:24:25 +00:00
terry
a5ff6897c0 More patches from Matthew Wilson <msw@gimp.org> -- keep popup layer location; quote some URLs better.
git-svn-id: svn://10.0.0.236/trunk@4587 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 19:00:22 +00:00
troy
85ae51a4b3 Changed absolutely positioned elements to have the body as their
geometric parent


git-svn-id: svn://10.0.0.236/trunk@4586 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 18:49:30 +00:00
terry
6e9e47a27c Use time2str instead of ctime; ctime seems to return different things on different systems.
git-svn-id: svn://10.0.0.236/trunk@4585 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 18:37:51 +00:00
terry
64dbc6721a Patch from Matthew Wilson <msw@gimp.org> -- keep the popup layer in a reasonable place on the screen.
git-svn-id: svn://10.0.0.236/trunk@4584 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 18:12:08 +00:00
kipp
abfe3d303b Removed PutCachedData(etc) API from nsIPresShell
git-svn-id: svn://10.0.0.236/trunk@4582 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:26:24 +00:00
kipp
49464f4fc7 Removed spurious includes of nsIPresShell
git-svn-id: svn://10.0.0.236/trunk@4581 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:23:48 +00:00
kipp
866b1583c9 Make a title object that's a child of the head when we get a title
git-svn-id: svn://10.0.0.236/trunk@4580 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:12:51 +00:00
kipp
8a60c93be8 Added NS_NewHTMLComment and NS_NewHTMLTitle
git-svn-id: svn://10.0.0.236/trunk@4579 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:12:22 +00:00
kipp
0b12f1c173 new
git-svn-id: svn://10.0.0.236/trunk@4578 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:11:41 +00:00
kipp
9da360fb43 new files
git-svn-id: svn://10.0.0.236/trunk@4577 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:11:26 +00:00
terry
f43e17d413 Patch from Matthew Wilson <msw@gimp.org> -- was not parsing dates correctly.
git-svn-id: svn://10.0.0.236/trunk@4576 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:02:03 +00:00
terry
6629a8d833 Patch from Artem Belevich <ABelevic@ctron.com> -- greatly increase speed when rebuilding database by caching everything. Probably makes the runtime huge, but who cares?
git-svn-id: svn://10.0.0.236/trunk@4574 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:42:01 +00:00
kipp
6d26e61d89 Updated for irix
git-svn-id: svn://10.0.0.236/trunk@4573 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:31:45 +00:00
kipp
4593b1d8dd Removed stale reference to nsHTMLMeta
git-svn-id: svn://10.0.0.236/trunk@4572 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:15:58 +00:00
kipp
f6b5d7af28 Link new content library in
git-svn-id: svn://10.0.0.236/trunk@4571 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:12:06 +00:00
kipp
c70ccbc299 Removed obsolete justify-reflow method
git-svn-id: svn://10.0.0.236/trunk@4570 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:11:53 +00:00
kipp
465ae2a4de Added content directory and moved some code
git-svn-id: svn://10.0.0.236/trunk@4569 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:08:55 +00:00
kipp
410a0c4bb2 Eliminated IRIX compiler warnings (and a bug)
git-svn-id: svn://10.0.0.236/trunk@4568 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:07:09 +00:00
dcone
dbc3bfcab0 Blending now uses the Upper left to place the source image
git-svn-id: svn://10.0.0.236/trunk@4566 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 14:06:34 +00:00
ramiro
bc225f01f6 Fix the linux motif/glibc config problems once and for all. Build a small
test program to find out if we are using gnu libc2.  Build a small test
program to determine the version of motif/lesstif being used.  Use the
output of these to set flags used in the xfe.  See config/Makefile for
comments.


git-svn-id: svn://10.0.0.236/trunk@4563 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 12:20:30 +00:00
fur
38185cca7b Tweaked error messages and comments.
git-svn-id: svn://10.0.0.236/trunk@4562 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 06:46:15 +00:00
fur
c74bb371ca Store overloaded methods in the same order as they arrive from the JVM, so
that overloaded method resolution works the same as before, although probably
only with the Sun JVM, because this order isn't specified anywhere.


git-svn-id: svn://10.0.0.236/trunk@4561 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 06:45:04 +00:00
peterl
8d43a01b94 fixed dumping style contexts
git-svn-id: svn://10.0.0.236/trunk@4560 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:52:40 +00:00
peterl
9571138f52 added ! important support
git-svn-id: svn://10.0.0.236/trunk@4559 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:51:55 +00:00
peterl
dcad152f0b fixed equal weight rule ordering
git-svn-id: svn://10.0.0.236/trunk@4558 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:50:10 +00:00
peterl
75f693e437 fixed context dumping
git-svn-id: svn://10.0.0.236/trunk@4557 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:49:01 +00:00
fur
b2ea090c2b When running in ECMA-compatibility mode, silently ignore attempts to delete
properties of JavaArray objects.


git-svn-id: svn://10.0.0.236/trunk@4556 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:44:02 +00:00
pierre
f78a2c806d getting prepared for MOZ_DARK
git-svn-id: svn://10.0.0.236/trunk@4555 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 04:20:29 +00:00
pierre
a4ea2629bd added comments from other '.pl' files
git-svn-id: svn://10.0.0.236/trunk@4554 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 04:19:47 +00:00
pierre
0f66720816 For some reason, this file was not landed yesterday. Fixing that...
git-svn-id: svn://10.0.0.236/trunk@4553 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 03:28:26 +00:00
pierre
05614074d3 Fix bad landing of binary files
git-svn-id: svn://10.0.0.236/trunk@4552 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 03:08:50 +00:00
kipp
7f636c5180 Made blink act more like bold
git-svn-id: svn://10.0.0.236/trunk@4551 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 01:12:32 +00:00
buster
9c71826ed6 fixed some nested table bugs and made some minor adjustments to Kipp's new line layout code.
git-svn-id: svn://10.0.0.236/trunk@4550 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 00:48:44 +00:00
sar
b23516e974 per spider, approved by montulli
include config.mak to make sure that MOZ_MAIL_NEWS definition makes sense.
This is to fix MOZ_DARK link error.


git-svn-id: svn://10.0.0.236/trunk@4549 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 00:43:24 +00:00
kipp
8b57280e24 Removed gratuitous if's
git-svn-id: svn://10.0.0.236/trunk@4548 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 00:31:44 +00:00
spider
d2ee8b1e43 Bitmap on trunk never made it in Normandy merge... MOZ_DARK only
git-svn-id: svn://10.0.0.236/trunk@4547 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 00:22:20 +00:00
timm
9ca001f79e fix trace to be var args
git-svn-id: svn://10.0.0.236/trunk@4545 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:46:39 +00:00
pierre
cff1eb4400 #176047. Reverted bad code introduced in Nova -> Normandy -> Gromit generating frequent crashes.
git-svn-id: svn://10.0.0.236/trunk@4544 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:40:06 +00:00
kipp
e1321a1af8 Bug fix for loading www.espn.com; the reflow-command wasn't getting passed down appropriately when the image size update occured.
git-svn-id: svn://10.0.0.236/trunk@4543 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:35:53 +00:00
spider
4a14093166 MOZ_DARK build fix
git-svn-id: svn://10.0.0.236/trunk@4542 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:18:11 +00:00
kipp
2b85e97019 Added code to giving floating children a width to reflow into when they don't specify one themselves
git-svn-id: svn://10.0.0.236/trunk@4540 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:09:04 +00:00
vidur
dc5b85be54 Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface.
git-svn-id: svn://10.0.0.236/trunk@4539 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:26:52 +00:00
kipp
da3ed94619 Fixed images/form-elements in tables being incorrectly positioned by preventing nested body's from pre-maturely DidReflowing their children
git-svn-id: svn://10.0.0.236/trunk@4538 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:26:35 +00:00
vidur
cf184906ab Hooked up SCRIPT tag evaluation.
git-svn-id: svn://10.0.0.236/trunk@4537 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:26:20 +00:00
vidur
e3e4d2ffbb Added the nsIScriptContextOwner.h to aid in SCRIPT tag evaluation
git-svn-id: svn://10.0.0.236/trunk@4536 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:25:39 +00:00
michaelp
a6474a3611 removed flushgc in setfont.
git-svn-id: svn://10.0.0.236/trunk@4535 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:20:30 +00:00
kmcclusk
2cf6f5a9c9 Added libnglcsslay_s library to link against
git-svn-id: svn://10.0.0.236/trunk@4534 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:11:05 +00:00
timm
518061b72e change 'debug' to a static
git-svn-id: svn://10.0.0.236/trunk@4533 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:05:51 +00:00
spider
451d946237 Perf improvement...
git-svn-id: svn://10.0.0.236/trunk@4532 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:42:39 +00:00
timm
97cd879894 added trace facility
git-svn-id: svn://10.0.0.236/trunk@4531 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:39:35 +00:00
kipp
1eab3719eb Change ParseColor to be more compatible with navigator
git-svn-id: svn://10.0.0.236/trunk@4530 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:37:07 +00:00
kipp
5f67ed05d3 Support text attribute in body tags
git-svn-id: svn://10.0.0.236/trunk@4529 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:36:51 +00:00
kipp
f7cd4556fb Use different (implicit copy) constructor to get proper reason passed through for better handling of incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4528 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:11:12 +00:00
montulli
bad847c57a fix purify warning
git-svn-id: svn://10.0.0.236/trunk@4527 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 20:58:07 +00:00
kipp
a5e669bb29 Better handling of incremental reflow commands that pass through the block/inlines; it also makes sure that the incremental reflow happens only once, even if the frame is reflowed more than once.
git-svn-id: svn://10.0.0.236/trunk@4526 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 20:51:04 +00:00
ricardob
e30366bfb1 change to compliment 22087
git-svn-id: svn://10.0.0.236/trunk@4523 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 20:09:03 +00:00
ricardob
f88736bac8 trying to fix compile error for HG22087 with rosetta.h
git-svn-id: svn://10.0.0.236/trunk@4522 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 20:03:52 +00:00
kipp
a65d313301 Rework the way that bullets are detected; this fixes up the http://client/nova page
git-svn-id: svn://10.0.0.236/trunk@4521 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 19:02:15 +00:00
spider
36ab8f1482 fixed.
git-svn-id: svn://10.0.0.236/trunk@4520 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:43:50 +00:00
kipp
d768b1fc02 Link html .so properly
git-svn-id: svn://10.0.0.236/trunk@4517 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:38:59 +00:00
kipp
733cd2f24b Fixed library name
git-svn-id: svn://10.0.0.236/trunk@4516 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:38:40 +00:00
mccabe
4722c241c8 (Not part of the client build.)
Parenthesized assignment-in-conditional to quiet gcc compiler warning.


git-svn-id: svn://10.0.0.236/trunk@4513 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:36:53 +00:00
mccabe
3a9f94eeae Extend #ifdef SHELL_HACK from recent fix to 187538 (mistakenly 187537)
to avoid compiler warning on defined-but-unused 'Exec'.


git-svn-id: svn://10.0.0.236/trunk@4512 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:34:13 +00:00
michaelp
38592a6b8d killed commented hackyfontname junk. removed malloc()/free(), etc. from unichar
text measurement.


git-svn-id: svn://10.0.0.236/trunk@4511 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:27:26 +00:00
atotic
2f3716ca23 Making it compile on the Mac
git-svn-id: svn://10.0.0.236/trunk@4510 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:25:36 +00:00
atotic
1799bff666 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4509 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:24:18 +00:00
atotic
ddb5399fbe First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4508 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:17:36 +00:00
atotic
5fc112b33b Keeping projects up to date
git-svn-id: svn://10.0.0.236/trunk@4507 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:01:28 +00:00
atotic
3028d48c7d More mac build work
git-svn-id: svn://10.0.0.236/trunk@4506 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:01:11 +00:00
atotic
d823427289 Making it compile & run....
git-svn-id: svn://10.0.0.236/trunk@4505 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:00:52 +00:00
atotic
e5e63e85fe More defines for Raptor
git-svn-id: svn://10.0.0.236/trunk@4504 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:59:42 +00:00
atotic
dc337feee7 New DOM manifests
git-svn-id: svn://10.0.0.236/trunk@4503 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:59:26 +00:00
gordon
5033963d20 Bug #188317, approved by Don Melton. Removing the setting of the CLASSPATH environment variable from the 'Envi' 128 resource so we use the default classpath provided by lj_GrovelForClasses() instead.
git-svn-id: svn://10.0.0.236/trunk@4502 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:29:27 +00:00
kipp
aaf9103f63 Work around infinite-width bug by not passing down an infinite width to a block child of a block
git-svn-id: svn://10.0.0.236/trunk@4500 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:26:40 +00:00
kipp
8589831de4 Fixed irix build bustage
git-svn-id: svn://10.0.0.236/trunk@4499 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:23:32 +00:00
kipp
b640ec4e66 Fixed unix makefile
git-svn-id: svn://10.0.0.236/trunk@4497 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 16:58:59 +00:00
kipp
462705c804 Support menu on print-preview window
git-svn-id: svn://10.0.0.236/trunk@4496 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 16:33:11 +00:00
kipp
55b2683b92 New and improved (?) line layout
git-svn-id: svn://10.0.0.236/trunk@4495 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 16:33:10 +00:00
spider
c76e6db235 Attempt to fix Solaris bustage
git-svn-id: svn://10.0.0.236/trunk@4494 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 16:25:15 +00:00
norris
d1f93f089d (Not part of Communicator build.)
Fix GC bug involving load().


git-svn-id: svn://10.0.0.236/trunk@4493 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:56:19 +00:00
dcone
739975230a added the offset for blending, and a routine to save off bits
git-svn-id: svn://10.0.0.236/trunk@4492 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:07:31 +00:00
kipp
a434431b96 Revised page size computation
git-svn-id: svn://10.0.0.236/trunk@4491 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:05:35 +00:00
kipp
fb607410da Removed include of stdio.h
git-svn-id: svn://10.0.0.236/trunk@4490 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:03:49 +00:00
kipp
55e3a7b15c Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum
git-svn-id: svn://10.0.0.236/trunk@4489 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:03:37 +00:00
kipp
5d74b31feb Added missing include line; minor tidy up as well
git-svn-id: svn://10.0.0.236/trunk@4488 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:01:13 +00:00
kipp
b99656a4f5 Init mSink
git-svn-id: svn://10.0.0.236/trunk@4487 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:58:46 +00:00
kipp
9cd3ec0d05 Made unknown image size be 1,1 twips instead of 0,0 so that other code doesn't eliminate images; added left and right margins around floating images ala ebina
git-svn-id: svn://10.0.0.236/trunk@4486 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:56:46 +00:00
kipp
d2b8ec4315 Added CreateFrame method
git-svn-id: svn://10.0.0.236/trunk@4485 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:55:15 +00:00
kipp
4760c13c27 Added the same skip-over-non-body-content code that's in the root content frame code
git-svn-id: svn://10.0.0.236/trunk@4484 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:53:45 +00:00
kipp
5d9ce13196 Init refcnt so that it behaves properly
git-svn-id: svn://10.0.0.236/trunk@4483 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:51:48 +00:00
spider
aa9d1e5eb1 Fix build bustage for routine not available in modular world
git-svn-id: svn://10.0.0.236/trunk@4481 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 08:52:31 +00:00
spider
5717a9f052 mkabook needed for Mail/News only
git-svn-id: svn://10.0.0.236/trunk@4480 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 08:47:25 +00:00
spider
085a502492 a little cleanup for unix.
git-svn-id: svn://10.0.0.236/trunk@4479 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:54:12 +00:00
spider
d56dcfe52f NORMANDY_DDAY merge...
git-svn-id: svn://10.0.0.236/trunk@4478 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:50:45 +00:00
gagan
9039d5a21d Not is the build yet.
git-svn-id: svn://10.0.0.236/trunk@4477 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:44:21 +00:00
spider
a92180be2c once again runs under unix.
git-svn-id: svn://10.0.0.236/trunk@4476 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:39:02 +00:00
spider
b602c75268 once again runs under linux.
git-svn-id: svn://10.0.0.236/trunk@4475 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:37:54 +00:00
spider
1d875e2e40 fixed build errors.
git-svn-id: svn://10.0.0.236/trunk@4474 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 04:59:17 +00:00
michaelp
c0d17b54f9 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.


git-svn-id: svn://10.0.0.236/trunk@4472 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 04:24:45 +00:00
michaelp
d68195318d fixed build.
git-svn-id: svn://10.0.0.236/trunk@4469 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 03:25:22 +00:00
timm
5daf4bc516 change to use images instead of text
git-svn-id: svn://10.0.0.236/trunk@4466 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 03:16:42 +00:00
timm
1cdf28e6e1 new images
git-svn-id: svn://10.0.0.236/trunk@4464 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 03:16:03 +00:00
friedman%netscape.com
448f35b3b4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@4462 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 02:20:13 +00:00
mccabe
d40b3992ac Fix to 187537. The 'assign' hack was interacting with the 'shell
command' hack - the resolver defined by js.c would get called to look
up 'assign' - and on Irix systems, it would find the 'assign' command
in the current path, and decide to define a function called 'assign'
in the global object that would run the assign command.  Then when an
attempt was made to assign a property to the global object, the assign
command would get run, and unexpected behavior followed.


git-svn-id: svn://10.0.0.236/trunk@4461 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 02:07:13 +00:00
root
ba61bdc750 initial checkin
git-svn-id: svn://10.0.0.236/trunk@4460 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 02:05:56 +00:00
root
68a9bd6bba initial checkin
git-svn-id: svn://10.0.0.236/trunk@4459 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 02:05:55 +00:00
jevering
210ccda853 Added the new debug file.
git-svn-id: svn://10.0.0.236/trunk@4458 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 01:58:55 +00:00
jevering
df9a6e8401 Removed parser's knowledge of the Parser Debugger.
The Parser debugger has been moved out and renamed to DTDDebugger since this actually what it is doing.
I cant totally remove the DTDDebugger parameter passed to the parser under the DTD creation is somehow moved from the parser.


git-svn-id: svn://10.0.0.236/trunk@4456 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 01:42:50 +00:00
timm
68e604e881 fix busted javascript
git-svn-id: svn://10.0.0.236/trunk@4449 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 00:05:44 +00:00
kmcclusk
5e26d51304 Changed the name of the WEB_WIDGET DLL to match unix name
git-svn-id: svn://10.0.0.236/trunk@4448 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 00:03:56 +00:00
kmcclusk
eb75a2c002 Fixed PRInt16 cast
git-svn-id: svn://10.0.0.236/trunk@4446 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 23:58:59 +00:00
kmcclusk
a82aee8e6e fix 16bit visuals
git-svn-id: svn://10.0.0.236/trunk@4442 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 22:51:16 +00:00
blythe
c2f2f0c743 aprvd don, bitmap changes from martin.nilsson@bigfoot.com - no more political arguments over bitmaps
git-svn-id: svn://10.0.0.236/trunk@4441 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 22:37:46 +00:00
troy
c792cab9c2 Added some asserts to the incremental reflow code
git-svn-id: svn://10.0.0.236/trunk@4440 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 22:05:59 +00:00
timm
ef8075f2b3 123505 remove case dependency
git-svn-id: svn://10.0.0.236/trunk@4438 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 21:51:04 +00:00
kmcclusk
4ef63b0456 Added code to allow more than one top-level window.
git-svn-id: svn://10.0.0.236/trunk@4435 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 21:12:39 +00:00
buster
49fc78ed8a fixed some bugs related to rowspans. This gets us closer on pages like Mozilla.org that were getting wild table heights.
git-svn-id: svn://10.0.0.236/trunk@4429 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 19:13:19 +00:00
troy
baaf01afc1 Changed to make sure we set the (x,y) for the frame before we reflow it
git-svn-id: svn://10.0.0.236/trunk@4424 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 18:09:47 +00:00
kipp
76c90bc42c snapshot
git-svn-id: svn://10.0.0.236/trunk@4423 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 17:52:42 +00:00
scullin
fb1436ff0e Memory fixes from my branch.
git-svn-id: svn://10.0.0.236/trunk@4422 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 17:38:21 +00:00
atotic
25d01cc00e Fixed the exports
git-svn-id: svn://10.0.0.236/trunk@4421 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 17:37:49 +00:00
troy
344f630d8d Changed to make sure we link the child frame into the list of frames before
we reflow it


git-svn-id: svn://10.0.0.236/trunk@4420 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 16:35:21 +00:00
clu
6a86699f96 #145304 and #145305; reviewed by saari; approved by scc.
added two fields in CEDTableContain to prefill rows and cols.


git-svn-id: svn://10.0.0.236/trunk@4419 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 15:46:15 +00:00
clu
77a64a0436 #145304 and #145305; reviewed by sarri; approved by scc.
fixed table format dialog so that it pre-fills rows and cols.  Also fixed the crashing bug caused by hitting enter, return, or escape.


git-svn-id: svn://10.0.0.236/trunk@4418 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 15:42:47 +00:00
fur
d322c107cd Conversion to a primitive now results in a string value, even with a
hint of JSTYPE_NUMBER.  This is a case that nobody cares about, but it's
used in a LiveConnect test case.

Added more registered Java packages for reduced server-roundtrips.  Also,
loosened restrictions on accessing unregistered packages under "java" and
some of the other packages, in case Sun or somebody adds a "java.fooBar"
package.


git-svn-id: svn://10.0.0.236/trunk@4398 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 05:47:46 +00:00
fur
a572d8d419 Allow closures when the JS version is JSVERSION_DEFAULT.
git-svn-id: svn://10.0.0.236/trunk@4395 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 05:37:44 +00:00
fur
a36a121a82 Fix bug in which leaving the JS version as JSVERSION_DEFAULT would return
all enumerated property names as strings, as was the case in JS1.1, instead
of the modern (>=JS1.2) behavior of allowing either string or integer property
names.


git-svn-id: svn://10.0.0.236/trunk@4394 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 05:36:46 +00:00
troy
45ccdb4fb7 Some incremental reflow changes
git-svn-id: svn://10.0.0.236/trunk@4391 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 04:38:52 +00:00
troy
9451bc42a8 Work around for the case where a content change notification has
no corresponding frame in the frame hierarchy


git-svn-id: svn://10.0.0.236/trunk@4390 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 04:37:11 +00:00
fur
7f94e92383 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@4388 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 03:18:48 +00:00
fur
f42952dbf1 Files moved to liveconnect/macbuild subdir
git-svn-id: svn://10.0.0.236/trunk@4386 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 03:09:57 +00:00
beard
894dc59a2f Updated Mac build instructions.
git-svn-id: svn://10.0.0.236/trunk@4384 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:44:30 +00:00
beard
83d8209393 Turned off LIVECONNECT for default case.
git-svn-id: svn://10.0.0.236/trunk@4382 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:25:36 +00:00
beard
ab046e8823 Made JavaSession stuff conditional on LIVECONNECT.
git-svn-id: svn://10.0.0.236/trunk@4381 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:24:58 +00:00
beard
7a57954a31 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4380 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:20:45 +00:00
beard
2866a9403e builds standalone JS shell, without LiveConnect.
git-svn-id: svn://10.0.0.236/trunk@4379 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:15:02 +00:00
atotic
99d58d1f50 More compile fixes
git-svn-id: svn://10.0.0.236/trunk@4378 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:45:16 +00:00
atotic
ebb4953de4 More defines for Raptor
git-svn-id: svn://10.0.0.236/trunk@4377 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:45:00 +00:00
atotic
230cdbbd39 More project fixes
git-svn-id: svn://10.0.0.236/trunk@4376 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:44:20 +00:00
atotic
731abceda1 Making it compile on the Mac
git-svn-id: svn://10.0.0.236/trunk@4374 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:43:10 +00:00
atotic
16e158b38e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4372 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:41:16 +00:00
atotic
16d5dda6f2 Making it compile & run....
git-svn-id: svn://10.0.0.236/trunk@4371 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:37:58 +00:00
atotic
0cdb0a8059 Fixed the following Mac compile error:
Error   : inconsistent linkage: 'extern' object redeclared as 'static'
nsNetService.cpp line 292   {



git-svn-id: svn://10.0.0.236/trunk@4369 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:17:51 +00:00
buster
33a90e073e now tables with precent width nested within tables with auto width work
git-svn-id: svn://10.0.0.236/trunk@4366 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:40:33 +00:00
brade
f4f56933fc first pass at #122807
git-svn-id: svn://10.0.0.236/trunk@4364 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:34:50 +00:00
joki
842aa4055d Focus method modification for editor.
git-svn-id: svn://10.0.0.236/trunk@4363 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:30:41 +00:00
joki
0d600c0e19 Adding editor mode to the viewer
git-svn-id: svn://10.0.0.236/trunk@4362 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:29:00 +00:00
brade
33fd8d0516 [clu] #72864; reviewed brade; approved don.
changed the icon resource number in Selection Contains Link dialog.


git-svn-id: svn://10.0.0.236/trunk@4359 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:06:36 +00:00
jgellman
b4e140c36a added empty file on tip before adding to branch
git-svn-id: svn://10.0.0.236/trunk@4353 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 23:41:03 +00:00
norris
ded6dd1b99 (Not part of Communicator build)
Fix warning for unspecified prototype.


git-svn-id: svn://10.0.0.236/trunk@4350 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 23:28:36 +00:00
buster
fe4ba8793e lots of nested tables look much better
misc. nav4 compatibility enhancements
added the ability to QueryInterface for some specific table frame types


git-svn-id: svn://10.0.0.236/trunk@4348 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 23:23:21 +00:00
vidur
2b9c958220 Removed old files nsIScriptObject.h nsIDOMIterators.h and nsDOM.h
git-svn-id: svn://10.0.0.236/trunk@4345 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:51:07 +00:00
troy
55cdbb41d8 Initialized mColLayoutData to nsnull
git-svn-id: svn://10.0.0.236/trunk@4343 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:45:26 +00:00
fur
fbfc042f83 Allow NULL name argument for JS_NewFunction()
git-svn-id: svn://10.0.0.236/trunk@4341 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:40:24 +00:00
karnaze
175a8e2054 named <iframe>s, scrolling attribute, more complete test9.html
git-svn-id: svn://10.0.0.236/trunk@4335 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:25:28 +00:00
jgellman
0f5ff984bd adding empty files on the tip before adding them on the branch
git-svn-id: svn://10.0.0.236/trunk@4330 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:03:06 +00:00
jgellman
b15f666fdc adding empty files on the tip before adding real ones on the branch
git-svn-id: svn://10.0.0.236/trunk@4329 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:57:32 +00:00
joki
b48db24dcc Slight change to nsGUIEvent struct internals
git-svn-id: svn://10.0.0.236/trunk@4328 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:54:43 +00:00
jgellman
a764a89d8b adding empty files on tip before adding the real ones on the branch
git-svn-id: svn://10.0.0.236/trunk@4327 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:54:06 +00:00
joki
4520e7ae2d Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent
git-svn-id: svn://10.0.0.236/trunk@4326 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:53:02 +00:00
joki
9d7f91a94a Modifications to event listener interfaces.
git-svn-id: svn://10.0.0.236/trunk@4325 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:51:30 +00:00
joki
eedd7b9238 Change order of event handling to go children then view, not view then children.
git-svn-id: svn://10.0.0.236/trunk@4324 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:50:30 +00:00
kmcclusk
cd04468943 Added code to fix reference counting and destroy widgets when their refcount goes to 0
git-svn-id: svn://10.0.0.236/trunk@4323 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:48:41 +00:00
rods
3bd48e46f6 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@4322 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:19:12 +00:00
rods
908b020900 Last few changes to make everything work.
git-svn-id: svn://10.0.0.236/trunk@4321 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:18:43 +00:00
fur
709cef3527 Print java error messages even when netscape.javascript classes
are not accessible.


git-svn-id: svn://10.0.0.236/trunk@4320 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:11:37 +00:00
norris
c56b8776fa (Not part of Communicator build)
Fix 111202 ECMA: division and modulo operator special cases (/ %)
Another instance of the MSVC NaN == 0 bug.


git-svn-id: svn://10.0.0.236/trunk@4319 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 20:53:12 +00:00
vidur
b48ae874e5 Added js dependency
git-svn-id: svn://10.0.0.236/trunk@4317 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 19:11:22 +00:00
vidur
c3ec7cb982 Changed over to asynchronous image loading
git-svn-id: svn://10.0.0.236/trunk@4316 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:49:06 +00:00
rpotts
656e8a8c9c Made the destructors on some XPCOM objects virtual (and protected) to make sure everything gets cleaned up...
git-svn-id: svn://10.0.0.236/trunk@4315 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:44:06 +00:00
vidur
002ed7ef49 Separated scripting global object responsibilities from the WebWidget. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface.
git-svn-id: svn://10.0.0.236/trunk@4314 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:43:49 +00:00
vidur
140a853e4f Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface.
git-svn-id: svn://10.0.0.236/trunk@4313 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:43:06 +00:00
rpotts
333af92193 Some reference counting to make things go away...
git-svn-id: svn://10.0.0.236/trunk@4312 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:40:18 +00:00
rpotts
037d815078 Keep a global reference to the Image Manager to prevent it from being deleted.
git-svn-id: svn://10.0.0.236/trunk@4311 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:38:33 +00:00
rpotts
c65579b402 Do not crash if the Font cache has not been initialized yet...
git-svn-id: svn://10.0.0.236/trunk@4310 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:37:49 +00:00
norris
adc6800400 (Not part of Communicator build.)
Fix array length updating for negative indices.


git-svn-id: svn://10.0.0.236/trunk@4309 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:20:59 +00:00
norris
0af9ed1cc1 (Not part of Communicator build)
Fix 105721 ECMA: assigning String.prototype.indexOf to the global object


git-svn-id: svn://10.0.0.236/trunk@4308 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:16:02 +00:00
michaelp
3dc293a3fe killed debug code.
git-svn-id: svn://10.0.0.236/trunk@4303 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 17:50:19 +00:00
michaelp
c72c6f20c7 made led prettier.
git-svn-id: svn://10.0.0.236/trunk@4302 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 17:47:06 +00:00
brade
6363cfd142 Back out part of Normandy merge that shouldn't have been checked in.
git-svn-id: svn://10.0.0.236/trunk@4300 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 17:34:02 +00:00
cyeh
d2b684e8cf add back $DEBUG flag accidentily deleted in previous rev
git-svn-id: svn://10.0.0.236/trunk@4294 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 14:45:56 +00:00
fur
1c23e4b83c Prevent crash when accessing numeric properties of a JavaPackage
object.  (Such properties should never exist, but we shouldn't crash.)


git-svn-id: svn://10.0.0.236/trunk@4292 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 08:15:40 +00:00
sdagley
868cbdc597 Fix merge error that caused first character of URL typed into Location field to be lost (pierre/sdagley)
git-svn-id: svn://10.0.0.236/trunk@4286 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 06:41:18 +00:00
fur
b1bd546218 Simplifications and aesthetic tweaks to changes required to build on the Mac.
Also, eliminated uses of tab characters.


git-svn-id: svn://10.0.0.236/trunk@4285 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 06:28:14 +00:00
fur
76dd7ed969 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@4284 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 06:09:44 +00:00
cyeh
dd2f836cb0 removing yet more conflicts as a result of the normandy merge. ARGH.
git-svn-id: svn://10.0.0.236/trunk@4283 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:56:23 +00:00
troy
a1d33a1377 Some work-in-progress for table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4282 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:43:27 +00:00
michaelp
4f01298ca8 fixed build.
git-svn-id: svn://10.0.0.236/trunk@4281 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:26:58 +00:00
cyeh
ac5c46ab5e remove conflict caused by NORAMNDY_BEACH merge.
git-svn-id: svn://10.0.0.236/trunk@4280 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:19:54 +00:00
troy
ef681df8af pubbed
git-svn-id: svn://10.0.0.236/trunk@4279 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:13:58 +00:00
troy
528197bb09 Initial check-in
git-svn-id: svn://10.0.0.236/trunk@4278 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:13:22 +00:00
cyeh
4037846d63 make it match BuildMozillaDebug.pl. normandy landing missed this file, that's why the continous builds were failing, but manual builds were succeeding without an error.
git-svn-id: svn://10.0.0.236/trunk@4277 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 04:21:35 +00:00
pierre
3b4f6b4413 Normandy landing: added CBrowserApplicationsMediator.cp and UDeferredTask.cp
git-svn-id: svn://10.0.0.236/trunk@4276 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:58:53 +00:00
mlm
cbb79e399a - Merge with 4.06 sources: Add another byte to source numbering so that
scripts that start on lines >32K still work.
- Fix is from fur


git-svn-id: svn://10.0.0.236/trunk@4275 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:32:45 +00:00
beard
3a654f69c4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4274 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:05:14 +00:00
beard
3b7b6e6234 Added prototype for strdup.
git-svn-id: svn://10.0.0.236/trunk@4273 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:04:48 +00:00
beard
6a65dfcde7 #define LIVECONNECT 1
git-svn-id: svn://10.0.0.236/trunk@4272 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:04:22 +00:00
beard
235352e5a0 Added prosdep.h to get strdup prototype.
git-svn-id: svn://10.0.0.236/trunk@4271 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:03:59 +00:00
beard
a0981c3b35 Added XP_MAC changes to export the JSObject native methods.
git-svn-id: svn://10.0.0.236/trunk@4270 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:03:10 +00:00
beard
2f60f039b8 Added XP_MAC changes for struct-based jlongs.
git-svn-id: svn://10.0.0.236/trunk@4269 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:01:53 +00:00
beard
8613a2c1bf Added prosdep.h to get strdup prototype. Corrected JSJ_InitJSContext to match its prototype.
git-svn-id: svn://10.0.0.236/trunk@4268 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:59:26 +00:00
beard
20827ef061 MacOS/MSL malloc also needs non-zero size.
git-svn-id: svn://10.0.0.236/trunk@4267 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:57:05 +00:00
beard
0e0889da3d Added XP_MAC initialization function.
git-svn-id: svn://10.0.0.236/trunk@4266 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:55:31 +00:00
beard
070e336e44 Added Mac build instructions.
git-svn-id: svn://10.0.0.236/trunk@4265 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:54:20 +00:00
timm
f89fd96ee4 123973 go to a different error page for 1st and 2nd dial errors
git-svn-id: svn://10.0.0.236/trunk@4264 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:51:11 +00:00
beard
2e9f413f82 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4263 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:48:49 +00:00
spider
e3fbeeb7de Normandy checkin for MacFE ... woohoo!
git-svn-id: svn://10.0.0.236/trunk@4261 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:36:59 +00:00
rickg
96fcb89fb0 fixed API mismatch
git-svn-id: svn://10.0.0.236/trunk@4260 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:35:25 +00:00
rickg
63134a16f2 added support for doc quality
git-svn-id: svn://10.0.0.236/trunk@4259 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:34:25 +00:00
beard
e288d22f49 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4258 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:31:44 +00:00
jwz
2d3b8bb1f0 dawn@cannibal.mi.org:
htmlify descriptions in directory listings

   remove some more style file stuff


git-svn-id: svn://10.0.0.236/trunk@4255 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:01:39 +00:00
jwz
9c9afb7761 dawn@cannibal.mi.org:
</TD> was getting gobbled up


git-svn-id: svn://10.0.0.236/trunk@4254 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:01:26 +00:00
jwz
283951a1c5 dawn@cannibal.mi.org:
yet another attempt at adding descriptions to directory listings.
This time use the following search criterion for rcs variables
which hopefully won't confuse cvs.  /Id: $filename/

mozilla/README directory was confusing lxr. Added a check
that README is a regular file before its displayed in the directory
listing.


git-svn-id: svn://10.0.0.236/trunk@4253 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:01:11 +00:00
michaelp
5e2a441d76 added ability to set behavior of scrollbars in scrollable views.
git-svn-id: svn://10.0.0.236/trunk@4252 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 00:53:56 +00:00
rickg
f755281cca more API cleanup; home.netscape.com working again
git-svn-id: svn://10.0.0.236/trunk@4251 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 00:53:50 +00:00
rickg
40ee4ec401 added a new secret argument to Parse()
git-svn-id: svn://10.0.0.236/trunk@4250 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 00:52:21 +00:00
spider
31269e1554 More libmsg Normandy stuff
git-svn-id: svn://10.0.0.236/trunk@4243 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 22:54:34 +00:00
spider
72ff943e29 Adding libmsg in Normandy merge
git-svn-id: svn://10.0.0.236/trunk@4242 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 22:39:40 +00:00
spider
309f310c15 Normandy Merge
git-svn-id: svn://10.0.0.236/trunk@4241 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 22:02:09 +00:00
troy
2b41d4547a Eliminated mFirstPassValid and changed code to key off the reflow
reason


git-svn-id: svn://10.0.0.236/trunk@4240 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:59:43 +00:00
spider
38483fbd67 Adding libaddr as part of Normandy merge
git-svn-id: svn://10.0.0.236/trunk@4239 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:46:46 +00:00
spider
074ad167d8 Fix nasty crash dereferncing mContext
git-svn-id: svn://10.0.0.236/trunk@4237 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:33:12 +00:00
ltabb
b0475728c8 added the ability to disable builds instead of removing them from the page
git-svn-id: svn://10.0.0.236/trunk@4236 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:28:47 +00:00
spider
f7bedbedd5 Normandy Merge ....
git-svn-id: svn://10.0.0.236/trunk@4232 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:21:28 +00:00
spider
957093e8c5 Normandy Merge ....
git-svn-id: svn://10.0.0.236/trunk@4231 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:19:46 +00:00
norris
a43d7627c5 (Not part of Communicator build.)
Fix crash occurring on most tests, nits from brendan code review.


git-svn-id: svn://10.0.0.236/trunk@4228 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:53:05 +00:00
fur
ff5959553f Minor updates to build instructions and file descriptions
git-svn-id: svn://10.0.0.236/trunk@4226 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:41:18 +00:00
fur
f45d82f8e7 [Not used for Mozilla builds]
These project files were just checked in temporarily and are replaced by the
LiveConnectShell project files located in the js/ref/liveconnect subdirectory.


git-svn-id: svn://10.0.0.236/trunk@4225 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:28:12 +00:00
fur
f11cb1211a [Doesn't build with mozilla]
Java files associated with new LiveConnect.


git-svn-id: svn://10.0.0.236/trunk@4224 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:23:57 +00:00
dcone
d75bcda183 took out printf's and cleaned up code
git-svn-id: svn://10.0.0.236/trunk@4223 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:06:13 +00:00
terry
11d4cd401a Last change also included a patch from Matthew Wilson <msw@gimp.org> to make things correctly deal with RCS files that somehow get an extra CR at the end. Thanks Matthew!
git-svn-id: svn://10.0.0.236/trunk@4222 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 16:36:43 +00:00
rods
a09331a942 Added basic support for nsTextAreaWidget
git-svn-id: svn://10.0.0.236/trunk@4221 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 16:27:57 +00:00
terry
7260888d18 Don't hardcode the bonsai directory name.
git-svn-id: svn://10.0.0.236/trunk@4220 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 15:43:47 +00:00
dcone
216c671d5e fixed some bugs, intermediate checkin
git-svn-id: svn://10.0.0.236/trunk@4219 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 14:41:23 +00:00
troy
38dc935943 Started hooking up incremental reflow. So far we only handle changed
captions


git-svn-id: svn://10.0.0.236/trunk@4218 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 05:34:17 +00:00
kmcclusk
1dc5a40b18 Fix for GIF animation color table bug. Don't create a new color table when converting to a new image format
git-svn-id: svn://10.0.0.236/trunk@4217 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 01:57:13 +00:00
kmcclusk
03ea1800a9 Changes to nsImageUnix.cpp to support GIF animation. Works but color table is still wrong.
git-svn-id: svn://10.0.0.236/trunk@4216 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 01:37:17 +00:00
kmcclusk
4cea57c1b1 Fixed places which were deleting the mImageBits which was causing viewer to crash. Also fixes some of the GIF animation problems.
git-svn-id: svn://10.0.0.236/trunk@4215 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 23:55:08 +00:00
cmanske
bcad3efc4e UI changes needed as part of SF1 bug 122061, adding support for multiple META tags with same NAME. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4214 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 19:04:54 +00:00
cmanske
bd3fe3289f Fixed SF1 Composer bugs 117881, 122061, 147518, 148003. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4213 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 19:03:10 +00:00
cmanske
7ca7bcba8c Added field to support multiple META tags with same NAME, SF1 bug 122061. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4212 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 19:00:42 +00:00
spider
81d3b16346 Support for Optimized GC and Regions in Rendering
git-svn-id: svn://10.0.0.236/trunk@4211 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 07:02:44 +00:00
fur
084c69d9c7 Added the getClass() method for backward-compatibility with old LiveConnect.
git-svn-id: svn://10.0.0.236/trunk@4210 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 06:51:27 +00:00
fur
cf01601caa Removed all ifdef NO_JSOBJECTOPS code. This was older code that used the
"classic" JSAPI, rather than the new, faster JSObjectOps API.


git-svn-id: svn://10.0.0.236/trunk@4206 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 05:17:15 +00:00
michaelp
0c5cf13fbb added content quality indicator.
git-svn-id: svn://10.0.0.236/trunk@4203 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 01:23:44 +00:00
fur
28549242ec [Not in the mozilla build]
This new vendor-neutral version of LiveConnect is designed to replace the older
one in the js/jsj directory, which only works with the Netscape JVM.  It is part
of the OJI initiative.


git-svn-id: svn://10.0.0.236/trunk@4202 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 17:46:42 +00:00
jwz
2059495936 oh, fuck me
git-svn-id: svn://10.0.0.236/trunk@4198 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:31:01 +00:00
jwz
f0cfa012a8 backed out the last few changes; it's all messed up and I don't feel like messing with it right now.
git-svn-id: svn://10.0.0.236/trunk@4197 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:29:23 +00:00
mccabe
98d71cb6fb ECMA (sort of) fix to 156615, platform-dependent troubles on Solaris.
There was a check in our mini-nspr against asking the OS time services
what the DST offset was for time 0... but the check didn't do what the
comment said it did.  So we got the wrong DST offset for... (drum roll
please) the two seconds on either side of the eve of 1970 GMT.

I have a similar fix ready for prmjtime.c, but I'll wait until the
stability freeze settles down.


git-svn-id: svn://10.0.0.236/trunk@4196 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:21:01 +00:00
jwz
6f0c951205 fixed cvs botch
git-svn-id: svn://10.0.0.236/trunk@4195 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:09:35 +00:00
troy
4b7e8b60ba Changed AddObserver() to check if the observer is already in the list.
This worksaround a problem with the pres shell being added twice


git-svn-id: svn://10.0.0.236/trunk@4189 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:45:05 +00:00
slamm
ca2d3a6f5c Make a warning debug-only. #123912 (SF1 in).
git-svn-id: svn://10.0.0.236/trunk@4188 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:42:41 +00:00
slamm
8f9c129f18 Pull extra warning message. #123912 (SF1 in).
git-svn-id: svn://10.0.0.236/trunk@4186 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:41:43 +00:00
rickg
1a752708f9 added support for empty (XML) tags
git-svn-id: svn://10.0.0.236/trunk@4178 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:12:10 +00:00
troy
592bc7771f Changed TextFrame to implement ContentChanged() notification and generate
a reflow command


git-svn-id: svn://10.0.0.236/trunk@4177 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:04:22 +00:00
norris
d3cb14f1ce (Not part of Communicator build.)
Add implementation version API call.


git-svn-id: svn://10.0.0.236/trunk@4175 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:47:07 +00:00
slamm
dc535aadd0 Fix monochrome icons. Fixes #148544 (SF1 in). Thanks to Juergen Keil <jk@tools.de> for the fix.
git-svn-id: svn://10.0.0.236/trunk@4173 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:24:48 +00:00
akkana
930884cf0b 94115: don't show unnecessary horizontal scrollbars on resize.
git-svn-id: svn://10.0.0.236/trunk@4172 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:18:59 +00:00
akkana
35c979295d 94115: don't show unnecessary horizontal scrollbars on resize.
Reviewed by cmanske.


git-svn-id: svn://10.0.0.236/trunk@4171 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:18:04 +00:00
spider
250660d652 Fix dcone bustage
git-svn-id: svn://10.0.0.236/trunk@4170 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:16:07 +00:00
jwz
6d400b0656 from dawn: cleverly generate stuff for the "Description" column in LXR directory listings.
git-svn-id: svn://10.0.0.236/trunk@4169 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:06:50 +00:00
cyeh
82cf712377 added some more documentation
git-svn-id: svn://10.0.0.236/trunk@4168 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:05:51 +00:00
norris
d4519bab58 (Not part of Communicator build.)
Fix 153640 monkey crash calling Math as function or constructor
Just added a null pointer check


git-svn-id: svn://10.0.0.236/trunk@4166 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 22:21:36 +00:00
dcone
4830bb0faa fixed some image problems, put 16 bit support in
git-svn-id: svn://10.0.0.236/trunk@4165 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 22:02:12 +00:00
norris
35c260396c (Not part of Communicator build.)
Fix 123724 hippo: problems declaring var in an eval statement
This ended up being more complex than I initially thought it would be.
See comments in jsparse.c.


git-svn-id: svn://10.0.0.236/trunk@4164 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 21:52:14 +00:00
rods
7cb149b36e Added ListBox and fixed RadioButton to be managed
git-svn-id: svn://10.0.0.236/trunk@4161 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 21:38:32 +00:00
kmcclusk
4a723c28ff Removed the explict setting of the width and height of the main window. This lets the frame window stay the fixed width and height causing the main window to grow. This fixes a bug in the Linux viewer where scrollbars are the wronng size.
git-svn-id: svn://10.0.0.236/trunk@4156 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 21:20:08 +00:00
mlm
7755b587a3 Merge Win16 "fixes" from Dogbert4xDevelopment_BRANCH
- Reorder identical code
 - Move scope of local variable
 - ifdef out stderr


git-svn-id: svn://10.0.0.236/trunk@4155 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 20:13:15 +00:00
rods
91c8cf72a8 fixed the factory to check the internal mClassID instead of the incoming interface id
git-svn-id: svn://10.0.0.236/trunk@4154 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 20:09:18 +00:00
rods
3a5db91e92 removed the initial 'button' string from create
git-svn-id: svn://10.0.0.236/trunk@4153 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 20:08:40 +00:00
rods
a1097b9c70 add XP_UNIX size temporary fixes
git-svn-id: svn://10.0.0.236/trunk@4152 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 20:07:35 +00:00
kipp
239e473481 Fixed pullup logic for ReflowLine to not de-reference deleted nextLine's
git-svn-id: svn://10.0.0.236/trunk@4151 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 19:57:59 +00:00
kipp
0c2560432d Added more assertions; commented the cases where continuations are created and not created; fixed up kidContentIndex in all cases; fixed return result error in the pullup code
git-svn-id: svn://10.0.0.236/trunk@4150 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 19:57:14 +00:00
rods
6ba2af7cb6 Optimize fixes
git-svn-id: svn://10.0.0.236/trunk@4149 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 19:45:47 +00:00
kipp
c49fafa043 snapshot
git-svn-id: svn://10.0.0.236/trunk@4147 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 18:23:28 +00:00
michaelp
65cd847520 fixed for real. yikes.
git-svn-id: svn://10.0.0.236/trunk@4146 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 17:44:03 +00:00
terry
a0dc174c92 Don't be chatty.
git-svn-id: svn://10.0.0.236/trunk@4144 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 15:36:21 +00:00
terry
afea16062a cd to the real tinderbox dir.
git-svn-id: svn://10.0.0.236/trunk@4143 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 15:32:07 +00:00
terry
6fc7fab2b0 Don't show diffs for files that we're 'hiding'.
git-svn-id: svn://10.0.0.236/trunk@4142 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 15:13:40 +00:00
terry
b311d3be21 Use POST for multidiff, since the URL otherwise can get too big.
git-svn-id: svn://10.0.0.236/trunk@4141 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 14:58:19 +00:00
rods
e1d2005761 Fixed up images even more, added calls to get the appropriate bits_per_pixel
git-svn-id: svn://10.0.0.236/trunk@4140 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 14:47:36 +00:00
troy
57e7d240bb Work in progress for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4135 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 05:21:45 +00:00
spider
5eb2bf4c3b Fix previous runtime bustage by placing XP_UNIX ifdef correctly
git-svn-id: svn://10.0.0.236/trunk@4134 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 05:03:26 +00:00
spider
66cd6e3dd5 Unix fix as per mmp
git-svn-id: svn://10.0.0.236/trunk@4133 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 04:11:01 +00:00
mjudge
671fe78e81 Bugs numbers 78936,78922,78925,78926,78934,78939,105689,139286,139301,139359
git-svn-id: svn://10.0.0.236/trunk@4132 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 04:00:49 +00:00
michaelp
103248f21c painting fixes...
git-svn-id: svn://10.0.0.236/trunk@4129 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 02:46:25 +00:00
rickg
12eeecf8db fixed another containment bug; DTD's are very cool
git-svn-id: svn://10.0.0.236/trunk@4118 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 01:15:19 +00:00
rickg
3564703faa more bug fixes; changed nsHTMLParser to nsParser.
git-svn-id: svn://10.0.0.236/trunk@4110 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 01:00:27 +00:00
troy
6ab2c7e66c Eliminated nsTableCaptionFrame and now we just use a nsBodyFrame instead
git-svn-id: svn://10.0.0.236/trunk@4107 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 00:34:12 +00:00
atotic
49772e50d5 Removed prstrm includes
git-svn-id: svn://10.0.0.236/trunk@4105 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 00:15:19 +00:00
pnunn
08af2b82f9 SF1in #142422.
git-svn-id: svn://10.0.0.236/trunk@4104 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 00:05:19 +00:00
cyeh
edb1f32e81 these were moved to mozilla/README
git-svn-id: svn://10.0.0.236/trunk@4103 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 00:05:05 +00:00
kipp
07058f3c89 snapshot
git-svn-id: svn://10.0.0.236/trunk@4102 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:44:30 +00:00
norris
347031bfd2 (Not part of Communicator build.)
Change C++ keyword "catch" (and Java keyword "finally" for good measure)
to other identifiers to help out embedders calling JS from C++.


git-svn-id: svn://10.0.0.236/trunk@4101 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:43:51 +00:00
cyeh
f0600ac0c9 moved README dir to reside under mozilla/
git-svn-id: svn://10.0.0.236/trunk@4100 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:42:13 +00:00
cyeh
30ccf955e6 updating and moving README's to the toplevel of the mozilla hierarchy. this
is to conform to the new tree layout standards.


git-svn-id: svn://10.0.0.236/trunk@4099 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:41:22 +00:00
spider
84c96864fd Remove NOISY_FONTS ifdef so not printing so much
git-svn-id: svn://10.0.0.236/trunk@4098 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:32:58 +00:00
jevering
4678cb1baa Forgot to check in the robot changes for new object.
git-svn-id: svn://10.0.0.236/trunk@4097 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:26:55 +00:00
kipp
ebb9839152 new
git-svn-id: svn://10.0.0.236/trunk@4095 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:16:18 +00:00
kipp
62199e67d7 snapshot
git-svn-id: svn://10.0.0.236/trunk@4094 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:16:00 +00:00
spider
67b33b7986 Cache visual and depth information in drawing surface since it is not available
when the surface is an offscreen PixMap


git-svn-id: svn://10.0.0.236/trunk@4093 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:00:05 +00:00
jevering
ccd797086b Major whacking of the debug robot code.
The Debug robot has now been moved into it's own class (xp_com object)
and is fairly well separated from the rest of the parser.
An argument to pass the ParserDebug object into the parsing process
has been added to the Parse member.  This should clean up Unix a bit
as well as provide the ability to multiple simultaneous robots.
This also cleaned up the global variable hackage.


git-svn-id: svn://10.0.0.236/trunk@4092 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:57:25 +00:00
dcone
b2fb00f735 fixing up images
git-svn-id: svn://10.0.0.236/trunk@4089 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:19:08 +00:00
spider
b6d52d26ea Fix bustage. Change tabbing to be compatible with mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@4087 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:15:31 +00:00
dcone
fb9a20b637 fixed a cast to PRInt8
git-svn-id: svn://10.0.0.236/trunk@4085 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:05:26 +00:00
dcone
6d09a53058 made some changes
git-svn-id: svn://10.0.0.236/trunk@4084 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:04:23 +00:00
racham
50c0b09a76 BUG 123498 : Connect to ISP icon back in place
git-svn-id: svn://10.0.0.236/trunk@4083 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 21:54:54 +00:00
racham
0300b5237a BUG 118078:minor text changes
git-svn-id: svn://10.0.0.236/trunk@4082 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 21:53:30 +00:00
kmcclusk
add7919a1e Initialize mDelay in constructor + Set delay in Init(aDelay)
git-svn-id: svn://10.0.0.236/trunk@4079 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 20:40:30 +00:00
karnaze
ae1802e8be fixed divide by zero, test9 has sub sub doc.
git-svn-id: svn://10.0.0.236/trunk@4073 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 18:33:34 +00:00
kmcclusk
2cda5cddc8 Commented out code to auto-repeat on timers.
git-svn-id: svn://10.0.0.236/trunk@4072 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 18:18:43 +00:00
kmcclusk
c0473eefb7 Made Motif/timer implementation always repeat
git-svn-id: svn://10.0.0.236/trunk@4070 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 18:12:02 +00:00
kmcclusk
834b97c84c Added a real timer implementation for Motif
git-svn-id: svn://10.0.0.236/trunk@4069 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 18:06:56 +00:00
terry
507ecde94d Implement CheckHidden(), so that we can have some semblance of security.
git-svn-id: svn://10.0.0.236/trunk@4068 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 16:47:00 +00:00
terry
00bbd8e8dd Document some config files.
git-svn-id: svn://10.0.0.236/trunk@4067 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 16:45:03 +00:00
kipp
680ab812cb new
git-svn-id: svn://10.0.0.236/trunk@4066 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 16:25:41 +00:00
ftang
de0cc7d081 fix 147582 5.0SF1 IN
git-svn-id: svn://10.0.0.236/trunk@4064 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 16:21:24 +00:00
rods
9c1c280aeb Fixed up scrolling a little
git-svn-id: svn://10.0.0.236/trunk@4063 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 15:59:51 +00:00
terry
215cb74e52 Removed mention of "crontab".
git-svn-id: svn://10.0.0.236/trunk@4062 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 15:10:34 +00:00
dcone
5f03c74dcc Added the computmetrics call, fixed some small bugs
git-svn-id: svn://10.0.0.236/trunk@4061 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 14:17:17 +00:00
rods
61ceac5110 changed AToms to Atoms in include
git-svn-id: svn://10.0.0.236/trunk@4060 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 13:58:19 +00:00
gagan
b9d6ee983f NOT in BUILD! Progress on new cache architecture-
Flat file design, Background Thread, C stubs, Flat file test, etc.


git-svn-id: svn://10.0.0.236/trunk@4059 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 07:52:34 +00:00
troy
e4e28bc903 Fixed a problem with thick left border edges being the wrong thickness
git-svn-id: svn://10.0.0.236/trunk@4057 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 05:43:32 +00:00
blythe
4e53dbf190 Fix bug 148458, crash on multiple startups
git-svn-id: svn://10.0.0.236/trunk@4051 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 01:47:30 +00:00
kmcclusk
1b02a519c8 Optimized compression of resize events
git-svn-id: svn://10.0.0.236/trunk@4050 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 01:45:44 +00:00
spider
25831f6082 Really fix Unix builds - should be a pointer
git-svn-id: svn://10.0.0.236/trunk@4049 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 01:30:06 +00:00
scullin
7cb1ce6e45 Fix rickg's linux build bustage.
git-svn-id: svn://10.0.0.236/trunk@4047 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 01:04:46 +00:00
kmcclusk
8e76676ca2 Added generation of NS_PAINT event after a NS_SIZE event.
git-svn-id: svn://10.0.0.236/trunk@4046 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:58:10 +00:00
kmcclusk
d3d61c4c2a Changed new of mImageBits to PRUint8 instead of unsinged char. doesn't like this under IRIX.
git-svn-id: svn://10.0.0.236/trunk@4044 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:54:07 +00:00
montulli
acfa75410a merge tip with montulli branch and create montulli1
git-svn-id: svn://10.0.0.236/trunk@4042 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:54:05 +00:00
karnaze
4f49b39027 added tst9, improvements to <iframe>
git-svn-id: svn://10.0.0.236/trunk@4041 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:47:18 +00:00
kmcclusk
9aca26fbdf Changes to support the compression of resize events on multiple windows
git-svn-id: svn://10.0.0.236/trunk@4036 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:28:06 +00:00
spider
628ea38d70 Implement GetRenderingContext
git-svn-id: svn://10.0.0.236/trunk@4033 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:16:52 +00:00
norris
4ccbcd8856 (Not part of Communicator build.)
More functionality for debug print functions.


git-svn-id: svn://10.0.0.236/trunk@4032 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:13:08 +00:00
norris
6c4178b690 (Not part of Communicator build.)
This comment is for checkin of version 1.8: mistakenly gave wrong comment
for that version.
Fix 123724 hippo: problems declaring var in an eval statement
The problem was that Variable() in jsparse.c used the scope from calling
js_FindVariableScope to determine whether or not to convert the operator
to GETVAR, but LookupArgOrVar did not. This caused a mismatched set and
get in the code generated from the eval script due to the presence of the
var in the function frame.


git-svn-id: svn://10.0.0.236/trunk@4031 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:11:51 +00:00
norris
ccc7a613b2 (Not part of Communicator build.)
More functionality for debug print functions.


git-svn-id: svn://10.0.0.236/trunk@4030 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:04:38 +00:00
kipp
86b808a102 Disabled saving the source file cuz it crashes on windows
git-svn-id: svn://10.0.0.236/trunk@4029 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:02:36 +00:00
kmcclusk
9c6911dc42 More changes for resize under Linux
git-svn-id: svn://10.0.0.236/trunk@4028 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:56:23 +00:00
kmcclusk
19fbe7d367 Added some code to try fixing resizing problems in Linux viewer.
git-svn-id: svn://10.0.0.236/trunk@4026 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:43:45 +00:00
rickg
c430c0421c huge refactoring effort; transient style support; tables fixes, and more
git-svn-id: svn://10.0.0.236/trunk@4025 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:13:28 +00:00
dcone
8094f759f8 Commented out ComputeMetrics
git-svn-id: svn://10.0.0.236/trunk@4024 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:01:28 +00:00
dcone
177e5f790f added code for image, fixed a bug
git-svn-id: svn://10.0.0.236/trunk@4023 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 22:55:42 +00:00
spider
73cc3b7998 fontmetrics now work. fixed random crap in rendering context.
git-svn-id: svn://10.0.0.236/trunk@4020 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 22:23:36 +00:00
troy
9a5c27ee64 Reduced the number of polygon calls
git-svn-id: svn://10.0.0.236/trunk@4019 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 22:14:20 +00:00
slamm
b6bdddd24a Fix for crash after opening/closing NavCenter. Thanks to Juergen Keil <jk@tools.de> for the fix. Fixes bugs #148369(P0 & SF1 in) & mozilla #423.
git-svn-id: svn://10.0.0.236/trunk@4016 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:35:22 +00:00
montulli
3e379c3d21 merge branch to tip. This file is not yet in the build
git-svn-id: svn://10.0.0.236/trunk@4014 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:29:32 +00:00
montulli
428510e815 merge branch to tip. This directory is not in the build yet
git-svn-id: svn://10.0.0.236/trunk@4013 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:27:01 +00:00
waterson
e050825d32 Bug 127280. Approved by don. Make sure reference count is properly initialized in NP_LoadPluginByType().
git-svn-id: svn://10.0.0.236/trunk@4010 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:15:23 +00:00
waterson
6e6aecec3d Bug 127182. Approved by don. Added libprgrss.a to libs linked with OJI.
git-svn-id: svn://10.0.0.236/trunk@4008 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:12:27 +00:00
dcone
574096a239 rename commit
git-svn-id: svn://10.0.0.236/trunk@4006 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:43:32 +00:00
dcone
7533b10fa9 add compute metrics
git-svn-id: svn://10.0.0.236/trunk@4005 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:37:58 +00:00
dcone
55afdc7f17 Take out mMask
git-svn-id: svn://10.0.0.236/trunk@4003 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:36:24 +00:00
dcone
80719f623d Add some member variables
git-svn-id: svn://10.0.0.236/trunk@4002 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:35:21 +00:00
dcone
c565924ef7 alpha fix
git-svn-id: svn://10.0.0.236/trunk@4001 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:31:21 +00:00
terry
be6d491414 Whoops; the version of dolog.pl we had was ancient and wrong.
git-svn-id: svn://10.0.0.236/trunk@3997 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:09:55 +00:00
dcone
99525b6a9d First nsimage work
git-svn-id: svn://10.0.0.236/trunk@3996 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:03:40 +00:00
troy
1f2fd602e4 Changed to remember the text color rather than set/restore it each time we
render text


git-svn-id: svn://10.0.0.236/trunk@3994 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 19:53:57 +00:00
buster
937b504950 minor updates and fixes
git-svn-id: svn://10.0.0.236/trunk@3993 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 19:51:51 +00:00
brendan
6a22adee5c - Fix function in with statement to form a closure with the right scope chain
on activation (120172, mlm).
- Use #ifdef CHECK_RETURN_EXPR to hide CheckFinalReturn as well as its calls.
- 80th column tyranny, typedef symmetry, other cosmetics.


git-svn-id: svn://10.0.0.236/trunk@3992 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 19:37:53 +00:00
mccabe
021b3ef3b3 (Not part of the mozilla build)
Added a guard against casting infinity->int, towards porting to alpha linux.


git-svn-id: svn://10.0.0.236/trunk@3991 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 19:36:29 +00:00
rods
3677bf1dca removed debug printf
git-svn-id: svn://10.0.0.236/trunk@3984 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 17:20:08 +00:00
rods
4bfa23089b Fixed keysym problem for mneumonics
git-svn-id: svn://10.0.0.236/trunk@3983 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 17:12:25 +00:00
buster
dc23f3a90e Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.


git-svn-id: svn://10.0.0.236/trunk@3982 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:38:24 +00:00
law
25cc2cea0b Fixed bug #129272. Reviewed by hyatt. Re-architected docking/undocking process
git-svn-id: svn://10.0.0.236/trunk@3980 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:32:34 +00:00
rods
39e2eec3b1 Fixed build problem, removed scrollbar errors
git-svn-id: svn://10.0.0.236/trunk@3979 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:27:05 +00:00
norris
cab40bd8c8 (Not part of Communicator build.)
Fix warning messages for lack of function prototype.


git-svn-id: svn://10.0.0.236/trunk@3978 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:23:29 +00:00
rods
f625f48977 Fixed the page up page down for the thumb on the scrollbar
git-svn-id: svn://10.0.0.236/trunk@3977 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:07:28 +00:00
rods
01e0113a3e Fixed up scrolling a bit by discarding multiple expose events
git-svn-id: svn://10.0.0.236/trunk@3976 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 15:52:55 +00:00
troy
89e4c2e7c3 Addded some helper functions to determine whether a content object is
a table cell


git-svn-id: svn://10.0.0.236/trunk@3975 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 15:21:02 +00:00
rods
3785352769 rename AGGRRGATE to AGGREGATE
made all the aggregate inner classes friend of the enclosing class


git-svn-id: svn://10.0.0.236/trunk@3973 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 14:54:52 +00:00
troy
ccb6081f95 Changed cast of content objects to nsTableContent* to query interface
of nsITableContent


git-svn-id: svn://10.0.0.236/trunk@3966 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 05:28:36 +00:00
cmanske
fa6a96a166 Fixed SF1 bug 123401. Crash hiding composition toolbar. Fix supplied and reviewed by hyatt
git-svn-id: svn://10.0.0.236/trunk@3961 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 02:10:02 +00:00
rods
c67336287e trying to fix scrollbar and exposure
git-svn-id: svn://10.0.0.236/trunk@3957 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:51:44 +00:00
jwz
7a0229065d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3955 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:41:58 +00:00
jwz
477cbc8ed4 expanded disclaimer
git-svn-id: svn://10.0.0.236/trunk@3953 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:32:48 +00:00
jwz
e8ec7ccbff added disclaimer
git-svn-id: svn://10.0.0.236/trunk@3952 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:32:15 +00:00
norris
1ad43c2b65 (Not part of Communicator build)
Add ability for scripts to access their arguments.


git-svn-id: svn://10.0.0.236/trunk@3950 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:10:57 +00:00
hyatt
b3d49f6d20 Fixes for bug #122733 and #123245. Both reviewed by blythe.
git-svn-id: svn://10.0.0.236/trunk@3949 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:10:17 +00:00
karnaze
e882b3963e fixed makefile to recognize html/document/public
git-svn-id: svn://10.0.0.236/trunk@3948 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:57:51 +00:00
atotic
028bc701d1 More build fixes
git-svn-id: svn://10.0.0.236/trunk@3947 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:56:31 +00:00
atotic
7b738b9c62 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3946 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:55:47 +00:00
atotic
7d7895397a Wrong name, should be libimg.mcp
git-svn-id: svn://10.0.0.236/trunk@3945 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:41:03 +00:00
atotic
d576e4b4e1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3942 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:36:24 +00:00
vidur
fecd170def Changed name to wstring
git-svn-id: svn://10.0.0.236/trunk@3939 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:00:47 +00:00
troy
3be45036db Changed DrawString() to use ExtTextOut(), and moved SetBkMode() call to
SetupDC()


git-svn-id: svn://10.0.0.236/trunk@3937 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:57:46 +00:00
karnaze
7804754bc8 added
git-svn-id: svn://10.0.0.236/trunk@3936 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:55:52 +00:00
atotic
01bdb8898c Last enum should not be followed by a ','. This generates warnings on the Mac
git-svn-id: svn://10.0.0.236/trunk@3935 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:45:48 +00:00
atotic
db3b194f04 static void nsHTMLTagContent::ParseValueOrPercentOrProportional(const nsString& aString,
is not legal C++ inside a class declaration.


git-svn-id: svn://10.0.0.236/trunk@3934 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:45:10 +00:00
atotic
e4627435f4 Mac needed a definition of PR_GetEnv
git-svn-id: svn://10.0.0.236/trunk@3933 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:44:38 +00:00
atotic
170ae1638a Made all required Raptor libraries that I know about build. Next step, first raptor project
git-svn-id: svn://10.0.0.236/trunk@3932 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:44:03 +00:00
terry
0d01ac7bc3 Bonsai and Tinderbox have been freed.
git-svn-id: svn://10.0.0.236/trunk@3931 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:43:24 +00:00
atotic
295576c927 More exports are needed
git-svn-id: svn://10.0.0.236/trunk@3929 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:42:32 +00:00
atotic
70db1ebf42 Made it compile in the dist world
git-svn-id: svn://10.0.0.236/trunk@3928 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:41:59 +00:00
atotic
cce0b7b03b Made the projects compile in the dist world
git-svn-id: svn://10.0.0.236/trunk@3927 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:41:31 +00:00
atotic
076c95f122 More changes, have many pull and build options now
git-svn-id: svn://10.0.0.236/trunk@3926 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:40:51 +00:00
atotic
af6ec95cfa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3925 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:39:13 +00:00
karnaze
f37ddeefc2 more <iframe> support
git-svn-id: svn://10.0.0.236/trunk@3923 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:32:54 +00:00
jwz
40dcf39805 emit a mostly-correct Last-Modified header on the generated pages.
git-svn-id: svn://10.0.0.236/trunk@3913 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 20:23:42 +00:00
jwz
77ec0869a9 Recognise .jpeg, .pjpg, and .pjpeg as JPEG extensions.
Put a label next to embedded images.

When the extension of a file is unrecognised, look at the first
line of the file to guess whether it is text or binary; if it
looks binary, emit a link, instead of dumping out the whole file.


git-svn-id: svn://10.0.0.236/trunk@3911 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 19:53:43 +00:00
ftang
d45e047883 Fix bug 123533
git-svn-id: svn://10.0.0.236/trunk@3909 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 19:44:06 +00:00
jwz
b4e5f72dc3 use "checkout -P" to prune empty unused directories
(like cmd/xfe/icons/anim-sgi/)


git-svn-id: svn://10.0.0.236/trunk@3905 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 19:10:03 +00:00
scullin
8922832581 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@3904 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:51:22 +00:00
norris
596a0147f0 (Not part of Communicator build.)
Fix 129824 monkey: evaling a function with many arguments fails


git-svn-id: svn://10.0.0.236/trunk@3903 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:36:57 +00:00
rods
0566816b88 initial
git-svn-id: svn://10.0.0.236/trunk@3902 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:25:35 +00:00
rods
64cc86a661 added nsListBox
git-svn-id: svn://10.0.0.236/trunk@3901 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:23:51 +00:00
rods
94ffc48fa5 fixed some resizing problems
git-svn-id: svn://10.0.0.236/trunk@3900 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:23:25 +00:00
valeski
f22cec83ae 123702 - we weren't handling http 100 "continue" status codes properly. rev'd by gagan, approved by don
git-svn-id: svn://10.0.0.236/trunk@3898 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:52:42 +00:00
michaelp
578d20afe5 fixed client versus non-client get bounds problems.
git-svn-id: svn://10.0.0.236/trunk@3895 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:16:59 +00:00
michaelp
3e60e0bb89 added method to nsIView to get offset from nearest window.
added method to nsIView to get nearest scroll offset.
killed AdjustChildWidgets in nsIView.
lots of painting fixes.
added support for scrolling subviews.
added beginning of back-to-front compositing pass.
views, views with widgets and views with specific clips will now have their
outlines rendered in different colors. to turn this off see the top of nsView.cpp.


git-svn-id: svn://10.0.0.236/trunk@3893 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:05:42 +00:00
racham
6881937057 BUG114867 : Modified text associated with layers
git-svn-id: svn://10.0.0.236/trunk@3892 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:03:16 +00:00
michaelp
84b3c23319 the view manager is now used when manipulating views.
git-svn-id: svn://10.0.0.236/trunk@3891 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 16:51:01 +00:00
michaelp
90a0523f94 PopState() now returns PR_TRUE if there is an empty clip region after the pop.
git-svn-id: svn://10.0.0.236/trunk@3890 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 16:49:29 +00:00
cyeh
6937a54504 removing duplicate entry for nsprpub
git-svn-id: svn://10.0.0.236/trunk@3885 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 14:18:08 +00:00
dcone
dea1b480e6 intermeditate updates to blend and test program. It now works in 24 bit
git-svn-id: svn://10.0.0.236/trunk@3884 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 13:09:46 +00:00
jwz
380d355469 lose the useless search boxes; they're clutter.
git-svn-id: svn://10.0.0.236/trunk@3883 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:13:15 +00:00
jwz
0a7ce4cd79 use the $baseurl symbolic name instead of /webtools/lxr/
git-svn-id: svn://10.0.0.236/trunk@3882 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:12:47 +00:00
jwz
b91205199d maintain the illusion of directoryhood; refer to "source/" not "source".
git-svn-id: svn://10.0.0.236/trunk@3881 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:12:13 +00:00
jwz
dc20ae98f4 Well basically, I hate those layers popups that-aren't-quite-menus.
They've got to go.  The information that was on them is only one
click away anyhow.


git-svn-id: svn://10.0.0.236/trunk@3880 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:03:40 +00:00
jwz
96528ae3cd allow the $banner file names to wrap, by emitting a space after each slash.
git-svn-id: svn://10.0.0.236/trunk@3879 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 08:42:22 +00:00
jwz
d7afec3b45 dawn says she didn't write the intro blurb that I assumed she had.
took out the attribution.


git-svn-id: svn://10.0.0.236/trunk@3864 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 04:19:05 +00:00
jwz
950468895a go hog-wild: let's check out the whole "mozilla" directory, instead of just
what's in the "MozillaSource" module.


git-svn-id: svn://10.0.0.236/trunk@3861 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 03:17:27 +00:00
nisheeth
6ce86321db Fix for bug#124552. No code review needed coz fix is smaller than 5 lines.
Now text layout looks at both the state structure and the current text block
for propagating anchor information when a new text layout element is created.


git-svn-id: svn://10.0.0.236/trunk@3860 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 03:05:10 +00:00
spider
7ccbf52e90 Fix some Unichar HTML Rendering
git-svn-id: svn://10.0.0.236/trunk@3858 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:21:46 +00:00
jwz
78d33cb85f template-source-tail was identical to template-tail; nuked it.
git-svn-id: svn://10.0.0.236/trunk@3857 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:15:51 +00:00
jwz
a7b53c51c0 made the "changes" links show only the HEAD revisions.
added a "full change log" link.


git-svn-id: svn://10.0.0.236/trunk@3856 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:15:26 +00:00
jwz
aa1782248f made the "changes" links show only the HEAD revisions.
git-svn-id: svn://10.0.0.236/trunk@3855 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:15:13 +00:00
cmanske
8c585749a9 Fixed Composer SF1 bugs 92797 and 138116. Reviewed by mjudge.
git-svn-id: svn://10.0.0.236/trunk@3853 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 01:34:48 +00:00
jwz
709de5de5d yuck. you can't use ".." in otherwise-fully-qualified URLs, so I had
to add another template variable, $dotdoturl, that is just like $baseurl
but points to one directory higher.  Sucks!


git-svn-id: svn://10.0.0.236/trunk@3852 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 01:18:34 +00:00
jevering
dacd85f8fd Hooked up the <BLINK> tag in the parser.
git-svn-id: svn://10.0.0.236/trunk@3851 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 01:15:56 +00:00
jwz
1e81e5631f patches from dawn to sync with latest official lxr
git-svn-id: svn://10.0.0.236/trunk@3849 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:48 +00:00
jevering
dd51e4bead Fixed many a parser memory leaks.
Attribute tokens where being leaked.  Fixed by making CToken destructor virtual.
The DTDs were not being properly deleted.  Added a member to nsITokenizerDelegate to Destroy()
Fixed a few spots here and there where tokens were getting allocated, but not deleted when a
kError is passed back invalid.


git-svn-id: svn://10.0.0.236/trunk@3848 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:45 +00:00
spider
b6b71a9c97 Fixes to get viewer to render on Unix
git-svn-id: svn://10.0.0.236/trunk@3847 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:33 +00:00
jwz
796d715059 added a number of new template files:
instead of just "htmlhead" and "htmltail" there are now:

    "sourcehead" and "sourcetail"
    "sourcedirhead" and "sourcedirtail"
    "findhead" and "findtail"
    "identhead" and "identtail"
    "searchhead" and "searchtail"

so that each CGI can have its own custom headers and footers.
If (for example) identhead isn't configured in lxr.conf, then
htmlhead will be used instead.

"sourcedir*" is used in preference to "source*" when the output
of the "source" script is a CGI.  If sourcedir* aren't configured,
then it falls back to "source*" (and from there to "html*")


git-svn-id: svn://10.0.0.236/trunk@3846 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:51:27 +00:00
atotic
0ce193c365 Removed class ifstream declaration.
git-svn-id: svn://10.0.0.236/trunk@3845 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:49:39 +00:00
rods
0d12280f37 removed some debug statement
git-svn-id: svn://10.0.0.236/trunk@3844 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:28:34 +00:00
rods
1c130a4750 remove GetBasURL call
git-svn-id: svn://10.0.0.236/trunk@3843 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:26:50 +00:00
rods
ffeb36dd70 change callback for open in menu
git-svn-id: svn://10.0.0.236/trunk@3842 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:26:09 +00:00
kmcclusk
83aa1c5e5e Added Motif viewer to the build
git-svn-id: svn://10.0.0.236/trunk@3841 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:23:35 +00:00
rods
79f0a2edf4 fixed UNIX resource protocol
git-svn-id: svn://10.0.0.236/trunk@3840 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:04:43 +00:00
jevering
f2d9d749bb Added prstrm.cpp to cpp file list.
git-svn-id: svn://10.0.0.236/trunk@3839 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:02:03 +00:00
kmcclusk
622362fb0b Added resource protocol support under unix.
git-svn-id: svn://10.0.0.236/trunk@3838 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 23:42:16 +00:00
kmcclusk
16f5cb18a1 Added makefile directive to copy ua.css to $(DIST)/bin/res
git-svn-id: svn://10.0.0.236/trunk@3837 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 23:07:41 +00:00
kmcclusk
f03579ec58 Removed reference to method no longer in the class
git-svn-id: svn://10.0.0.236/trunk@3834 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:42:25 +00:00
rods
7f48e999ac removed NoNotify
git-svn-id: svn://10.0.0.236/trunk@3833 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:35:31 +00:00
jwz
cb985ad9da If a file is less than 1k, print its size in bytes.
git-svn-id: svn://10.0.0.236/trunk@3829 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:18:06 +00:00
atotic
1501fd1cc3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3828 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:13:46 +00:00
rods
a37fb0b9e5 removed radiogroup functionality
git-svn-id: svn://10.0.0.236/trunk@3826 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:05:24 +00:00
rods
d49a0191ac removed RadioGroup methods
git-svn-id: svn://10.0.0.236/trunk@3825 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:02:13 +00:00
atotic
a6cf1d8e3c Make it build in the brave new world
git-svn-id: svn://10.0.0.236/trunk@3824 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:54:52 +00:00
jwz
2117acdd16 Print the date flush-right; leave about one space between columns.
git-svn-id: svn://10.0.0.236/trunk@3823 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:52:14 +00:00
jwz
964207a394 Print the date like ls does: "Mmm dd hh:mm" if it is newer than six months,
else "Mmm dd yyyy" if it is older.

Use the internal-gopher-* images instead of the GIFs in /icons/.

Print a "-" for the size of directories.


git-svn-id: svn://10.0.0.236/trunk@3822 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:51:41 +00:00
cmanske
041e9f52ee Finished fix for SF1 bug 123355 - force JavaScript on for Composer Plugins. Reviewed by mjudge.
git-svn-id: svn://10.0.0.236/trunk@3820 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:44:23 +00:00
atotic
978ccf5e5e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3814 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:07:17 +00:00
vidur
f2f38f2d03 First pass at makefile for generation of xpcom headers and JavaScript stub classes
git-svn-id: svn://10.0.0.236/trunk@3812 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:57:23 +00:00
kipp
e0a754f66e Revised keyword tables
git-svn-id: svn://10.0.0.236/trunk@3811 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:40:27 +00:00
kipp
1983702a10 Added in steve's new keywords
git-svn-id: svn://10.0.0.236/trunk@3810 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:40:07 +00:00
vidur
a79a8d680c Added error handling to InitClass
git-svn-id: svn://10.0.0.236/trunk@3809 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:35:45 +00:00
atotic
70ae505b5f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3808 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:27:14 +00:00
kipp
6d71a51561 Added opacity
git-svn-id: svn://10.0.0.236/trunk@3807 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:25:28 +00:00
rods
d491c2be81 set internal full path/file correctly, and uses it's own event loop with a kludge from nsAppShell
git-svn-id: svn://10.0.0.236/trunk@3806 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:25:24 +00:00
rods
f608aae41e no longer derived nsWindow, it is truely a delegated helper
git-svn-id: svn://10.0.0.236/trunk@3805 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:24:17 +00:00
rods
b8801d1043 changed QueryInterface to QueryObject, it now derived from nsWindow and hasa nsTextHelper
git-svn-id: svn://10.0.0.236/trunk@3804 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:23:40 +00:00
rods
431ca46b09 added kludge for nsFileWidget
git-svn-id: svn://10.0.0.236/trunk@3803 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:22:43 +00:00
kipp
de128ce874 Makefile tweaked to not build nsHTMLTags.cpp
git-svn-id: svn://10.0.0.236/trunk@3802 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:21:08 +00:00
atotic
a4f652e939 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3800 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:15:59 +00:00
troy
1f60015e7e Changed to set the polygon fill mode in CommonInit() instead of when drawing
polygons


git-svn-id: svn://10.0.0.236/trunk@3793 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 18:50:08 +00:00
jwz
9e854f3e3f I'm a chimp; I didn't test the last change, and left out the blank line after
the headers.


git-svn-id: svn://10.0.0.236/trunk@3792 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 17:15:35 +00:00
rods
03bc217f2a more fixes for irix
git-svn-id: svn://10.0.0.236/trunk@3791 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 17:08:33 +00:00
kmcclusk
a23a3d4402 Added support for XPCOM Aggregation in the Motif Widget library
git-svn-id: svn://10.0.0.236/trunk@3789 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 16:50:53 +00:00
rods
b45f98980c fixing irix build
git-svn-id: svn://10.0.0.236/trunk@3788 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 16:34:18 +00:00
rods
16afc2f022 added additional FileWidget support
git-svn-id: svn://10.0.0.236/trunk@3787 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 16:29:00 +00:00
rods
4f6c3c4a5e added sow/hise and resize
git-svn-id: svn://10.0.0.236/trunk@3786 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 16:28:42 +00:00
rods
e302fbc7ae fixed up resize events
git-svn-id: svn://10.0.0.236/trunk@3785 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 15:36:28 +00:00
rods
6fedb69d2e added File Widget
git-svn-id: svn://10.0.0.236/trunk@3784 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 15:36:09 +00:00
rods
53be4673a6 added nsFIleWidget.cpp
git-svn-id: svn://10.0.0.236/trunk@3783 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 15:35:56 +00:00
rods
8fe0b0d706 initial working version
git-svn-id: svn://10.0.0.236/trunk@3782 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 15:35:35 +00:00
jwz
c63806cecc don't send last-modified headers with a static date...
git-svn-id: svn://10.0.0.236/trunk@3781 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 05:08:14 +00:00
troy
0b65f7fd78 Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
instead. This saves the AddRef/Release overhead


git-svn-id: svn://10.0.0.236/trunk@3780 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 05:23:59 +00:00
troy
445135f411 Changed some GetStyleContext/GetStyleData pairs to use nsIFrame::GetStyleData
instead


git-svn-id: svn://10.0.0.236/trunk@3779 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 05:14:17 +00:00
troy
045ec7477e Changed some pairs of GetStyleContext/GetStyleData calls to a single call
to nsIFrame::GetStyleData


git-svn-id: svn://10.0.0.236/trunk@3778 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 05:00:38 +00:00
troy
02ba158334 Changed a GetStyleContext/GetStyleData pair to use the nsIFrame::GetStyleData
member function instead. This saves a pair of AddRef/Release calls


git-svn-id: svn://10.0.0.236/trunk@3777 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 04:40:52 +00:00
troy
aef1ccc739 Changed PaintChildren() to only paint those children that intersect
the dirty rect


git-svn-id: svn://10.0.0.236/trunk@3776 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 00:45:21 +00:00
mcafee
4deae010b7 Get SparcLinux to link properly. This doesn't affect any other builds.
git-svn-id: svn://10.0.0.236/trunk@3775 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 22:40:18 +00:00
jwz
82650fafb0 Wow, how lame. The only way I could get the table columns to line up was
to increase the field size from 6 to 8!  That's robust...  It seems that
</FORM> inserts a paragraph break even when it comes just before </TD>,
so the "use this field" text must be inside the </FORM> in order to be
snugly against the text field.  But, if "Text Search" isn't in the same
<TR> as the text field, they won't line up properly vertically.  So
I can't figure out how to combine all of the <FORM>s into one table to
make the columns all line up without introducing lots of vertical space.


git-svn-id: svn://10.0.0.236/trunk@3774 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 18:47:35 +00:00
jwz
8618f75641 I hadn't realized that "ident" did case-sensitive exact matches instead of
regexp searches.  Updated the instructions to reflect this.


git-svn-id: svn://10.0.0.236/trunk@3773 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 18:26:54 +00:00
jevering
c5c8aef9b7 Fixed a few memory leaks.
git-svn-id: svn://10.0.0.236/trunk@3752 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 02:20:04 +00:00
jwz
9133959599 "text" is more meaningful than "glimpse"
git-svn-id: svn://10.0.0.236/trunk@3751 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:38:31 +00:00
jwz
1733061310 thank the authors, too
git-svn-id: svn://10.0.0.236/trunk@3750 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:25:58 +00:00
jwz
670f3b0caf apparently glimpseindex wants to run "whereis", so I added /usr/ucb to $PATH
git-svn-id: svn://10.0.0.236/trunk@3749 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:15:11 +00:00
jwz
114ebcdc2d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3748 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:12:23 +00:00
jwz
ca06e848ee reformatted
git-svn-id: svn://10.0.0.236/trunk@3747 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:11:09 +00:00
mccabe
75a2fd1cff Undid the ECMA fix that disallowed '08' and '09' numeric literals. According to the ECMA lexical grammar, these literals should be scanned as two consecutive NUMBER tokens ('0' and '9') - which is always a syntax error under the grammar. Unfortunately, the javascript engine has supported these literals (with mathematical values 8 and 9) in the past, and they're likely to crop up in date code... so we probably need to remove this fix. This leaves us a superset of ECMA - by accepting these literals, we accept scripts that are not valid ECMA scripts.
git-svn-id: svn://10.0.0.236/trunk@3746 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:10:30 +00:00
jwz
3e5690ef7b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3745 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 00:45:02 +00:00
jwz
07a11059eb print date to log; know where cvs is
git-svn-id: svn://10.0.0.236/trunk@3744 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 00:43:15 +00:00
beard
b913753a69 Revised target names to be more consistent with new build system (.o no .shlb for static libraries).
git-svn-id: svn://10.0.0.236/trunk@3742 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 23:13:40 +00:00
sar
1fe1409d5d adding NormandyBeachMac module
git-svn-id: svn://10.0.0.236/trunk@3741 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:41:30 +00:00
nisheeth
3ec85aec75 Fix for bug#112027. Reviewed by Dan. The crash was occuring for the case
when the MULTICOL tag had no content.  Fixed lo_rl_FitMultiColumn()
to handle that case.


git-svn-id: svn://10.0.0.236/trunk@3740 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:35:50 +00:00
vidur
0dae2f4900 Added iid generation, dealing with the void keyword and fixed bugs in generation code
git-svn-id: svn://10.0.0.236/trunk@3739 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:34:39 +00:00
jwz
4c27757921 lose cvs1.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@3738 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:27:22 +00:00
atotic
7d18a34d8f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3735 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:24:09 +00:00
norris
65e0df27c8 (Not part of Communicator build.)
Tweak last fix not to depend on size of char.


git-svn-id: svn://10.0.0.236/trunk@3734 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:20:06 +00:00
norris
f11fae67c4 (Not part of Communicator build.)
Fix bug 123802 hippo / js1.2 some regular expression tests fail


git-svn-id: svn://10.0.0.236/trunk@3733 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:17:13 +00:00
vidur
9b293711e9 Asynchronous loading of images
git-svn-id: svn://10.0.0.236/trunk@3732 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:08:39 +00:00
jwz
433811f789 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3731 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:06:58 +00:00
jwz
275969156d update the lxr sources too; and log.
git-svn-id: svn://10.0.0.236/trunk@3730 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:03:28 +00:00
jwz
2b27db57e8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3729 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 21:58:38 +00:00
jwz
44adb1e8c7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3728 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 21:48:51 +00:00
jwz
c268281089 linked in dawn's search help doc
git-svn-id: svn://10.0.0.236/trunk@3727 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 21:42:37 +00:00
jwz
d7e8cd1022 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3725 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:52:28 +00:00
jwz
472b9deca8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3724 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:25:05 +00:00
jwz
c9519735f0 we don't need this
git-svn-id: svn://10.0.0.236/trunk@3723 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:24:06 +00:00
jwz
020ba78100 tweaked tables
git-svn-id: svn://10.0.0.236/trunk@3722 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:20:24 +00:00
jwz
a293b251d9 tweaked tables
git-svn-id: svn://10.0.0.236/trunk@3721 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:08:12 +00:00
jwz
2ee58fc80f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3720 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 19:41:29 +00:00
jwz
6f66daeeb2 fixed #!
git-svn-id: svn://10.0.0.236/trunk@3717 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 18:55:52 +00:00
spider
8ea5562eda Documentation cleanup
git-svn-id: svn://10.0.0.236/trunk@3716 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 18:30:53 +00:00
norris
bf64e5a774 (Not part of Communicator build.)
Fix 111199 ECMA: don't enumerate parseInt.length


git-svn-id: svn://10.0.0.236/trunk@3714 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 17:22:04 +00:00
mjudge
056b81d373 bug 113680 fix for horizontal rule strangeness after tables. when reflowing tables, do not reflow beyond the last cell
git-svn-id: svn://10.0.0.236/trunk@3713 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 16:05:46 +00:00
nisheeth
c13dcad447 Fix for bug 123984. Approved by don. LO_SelectAll was crashing in
lo_FindDocumentEdge() because state->end_last_line was not being set
properly during layout of the document.  Fixed.


git-svn-id: svn://10.0.0.236/trunk@3712 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 06:09:51 +00:00
troy
e3a40ebb34 Changed ResizeReflowPass1() to default to the reflow reason that was
passed in and not resize


git-svn-id: svn://10.0.0.236/trunk@3711 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 04:28:07 +00:00
troy
e30c089c3e Fixed some places where the reflow reason wasn't getting correctly set for
the initial reflow


git-svn-id: svn://10.0.0.236/trunk@3710 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 04:11:41 +00:00
troy
92687a73dd Changed RootContentFrame to correctly set the reflow reason for the
initial reflow


git-svn-id: svn://10.0.0.236/trunk@3709 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 03:02:15 +00:00
jevering
2687956d1e Fixing my Unix bustage. use PR_MkDir instead of mkdir
git-svn-id: svn://10.0.0.236/trunk@3707 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 02:27:25 +00:00
jevering
529ef6d19a Removed _MAX_PATH to fix builds on Irix and Linux.
git-svn-id: svn://10.0.0.236/trunk@3706 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 02:14:18 +00:00
jevering
f33388d50f Fixed double ended queue to accept a callback in the constructor
to a function which frees the inserted objects.


git-svn-id: svn://10.0.0.236/trunk@3703 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:36:24 +00:00
jevering
5dacfac8a0 Fixed up the base dubugrobot function.. mostly cleaning up.
Properly setting the verification directory.


git-svn-id: svn://10.0.0.236/trunk@3702 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:35:36 +00:00
jevering
b44966774c More debug robot work. I added some statistic gathering information
as well as hooking up the context vector validation stuff.  The
debug robot now makes two files in the root verification directory
for mapping context vector to debug source dumps as well as occurance
tracking of good and bad context vectors.


git-svn-id: svn://10.0.0.236/trunk@3701 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:34:49 +00:00
spider
ce8a77d383 Fix for rendering problem where everything goes black AFTER the first paint on non-8 bit displays
git-svn-id: svn://10.0.0.236/trunk@3700 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:30:52 +00:00
cmanske
32186c46a1 Fixed SF1 bug 65190, reviewed by mjudge. Removed duplicate define accidentally introduced by branch merge in edprops.h. Approved by brade, don
git-svn-id: svn://10.0.0.236/trunk@3699 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:22:45 +00:00
cmanske
342d8e16e5 Fixed SF1 bugs 65190, 105787, 123355. Reviewed by mjudge, approved by brade, don
git-svn-id: svn://10.0.0.236/trunk@3698 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:22:22 +00:00
cmanske
8c6890eb9b Part of fix for SF1 bug 123355, reviewed by fur. Approved by brade, don
git-svn-id: svn://10.0.0.236/trunk@3697 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:22:14 +00:00
nisheeth
eee6bb3c86 Fix for bug #108358. No code review coz its a one liner. Fixes the infinite
loop by letting us break out on a condition that wasn't being checked
earlier in lo_LayoutTextBlock() in laytext.c.  Thanks a lot to Jeff
Caldwell (look@shell.lazerlink.net) for the patch.


git-svn-id: svn://10.0.0.236/trunk@3696 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:16:59 +00:00
spider
8149b432e3 Change viewer's HandleEvent to HandleEventApp since on Unix it conflicts
with HandleEvent defined in nsView.cpp


git-svn-id: svn://10.0.0.236/trunk@3695 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:55:24 +00:00
mccabe
0cb471d35b (Not part of the gromit/mozilla build.)
Added NPL notice.


git-svn-id: svn://10.0.0.236/trunk@3694 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:54:15 +00:00
beard
0ca64acf15 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3693 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:13:32 +00:00
norris
6622fa3251 (Not part of Communicator build.)
Fix 123552 Array length updating is incorrect


git-svn-id: svn://10.0.0.236/trunk@3692 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:10:52 +00:00
norris
61a2bf2e56 (Not build as part of Communicator)
Fix 123788 test crashes spidermonkey: simple null pointer check


git-svn-id: svn://10.0.0.236/trunk@3691 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:09:08 +00:00
jwz
5a974a2708 initial revision of lxr (note that this code is under the GPL.)
git-svn-id: svn://10.0.0.236/trunk@3689 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:56:23 +00:00
spider
53a8ad98c1 Defining dbopen on Unix too. Reviewed by rpotts.
git-svn-id: svn://10.0.0.236/trunk@3687 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:46:52 +00:00
nisheeth
f59e1428bf Fix for bug 124273. Reviewed by toshok. Commented out call to
LO_PopStyleSheetTagByIndex() in lo_RelayoutCell() in laytable.c.
This should fix lots of crashes on rendering pages with stylesheets.


git-svn-id: svn://10.0.0.236/trunk@3686 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:39:15 +00:00
valeski
8a4901c308 122606: ftp password request text change. approved by don
git-svn-id: svn://10.0.0.236/trunk@3685 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:36:55 +00:00
karnaze
4c6419d544 initial loading of <iframe> documents
git-svn-id: svn://10.0.0.236/trunk@3684 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:29:15 +00:00
blythe
5d1bd9c14c approved don/lloyd, new mozilla artwork, including the contest winning animation, submitted by martin.nilsson@bigfoot.com
git-svn-id: svn://10.0.0.236/trunk@3683 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:25:23 +00:00
blythe
da9ea6ff61 approved don/lloyd, support multiple periods in save file names, fix by brian@inforum.net
git-svn-id: svn://10.0.0.236/trunk@3682 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:23:38 +00:00
rods
12743b4872 kludge for now
git-svn-id: svn://10.0.0.236/trunk@3681 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:10:41 +00:00
kmcclusk
1dfa345cb5 Wasn't copying bg.jpg to the install directory.
git-svn-id: svn://10.0.0.236/trunk@3680 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 22:59:09 +00:00
pinkerton
c43991fa0a Fix for bug #126717 (crash dropping at end of personal toolbar). Rev sdagley, appr don.
git-svn-id: svn://10.0.0.236/trunk@3679 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 22:52:56 +00:00
troy
c99c4732b8 Changed how cell layout data is accessed
git-svn-id: svn://10.0.0.236/trunk@3678 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 22:51:54 +00:00
troy
c5d8a9d8f3 Added an additional constructor
git-svn-id: svn://10.0.0.236/trunk@3677 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 22:48:25 +00:00
rods
4cfb89e845 removed nsFileWidget
git-svn-id: svn://10.0.0.236/trunk@3673 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:59:45 +00:00
rods
f643695511 fixed build problem
git-svn-id: svn://10.0.0.236/trunk@3672 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:56:42 +00:00
rods
887310f664 added nsFileWidget
git-svn-id: svn://10.0.0.236/trunk@3671 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:35:26 +00:00
spider
c47938cca0 Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available.
git-svn-id: svn://10.0.0.236/trunk@3670 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:26:21 +00:00
kmcclusk
3b6a1d81ef Removed commented out defines
git-svn-id: svn://10.0.0.236/trunk@3669 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:04:14 +00:00
kmcclusk
eed046b3da Added code to support getting the URL's for samples using the current working
directory under unix.


git-svn-id: svn://10.0.0.236/trunk@3668 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 20:57:27 +00:00
waldemar
7d191cd32e Fixed compiler warning
git-svn-id: svn://10.0.0.236/trunk@3665 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 20:27:22 +00:00
rods
1396986c19 added GetBitInfo to fix the build
git-svn-id: svn://10.0.0.236/trunk@3664 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 19:43:26 +00:00
kmcclusk
aa61feb82f Added support for nsDispatchListener's under Motif.
git-svn-id: svn://10.0.0.236/trunk@3663 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 19:29:57 +00:00
troy
c1f731addb Eliminated FindCellLayoutData() and changed code to use GetCellLayoutData()
instead


git-svn-id: svn://10.0.0.236/trunk@3662 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 18:50:17 +00:00
buster
40b11809ed more separation between table content and frames
git-svn-id: svn://10.0.0.236/trunk@3660 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 17:50:51 +00:00
dcone
cbba62dbf3 updated blending code, and tests
git-svn-id: svn://10.0.0.236/trunk@3659 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 17:33:26 +00:00
kmcclusk
c317f26d66 Added back MotifMenu's
git-svn-id: svn://10.0.0.236/trunk@3658 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 16:50:37 +00:00
karnaze
da12569a7e initial support for <iframe>
git-svn-id: svn://10.0.0.236/trunk@3657 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 16:46:33 +00:00
buster
3609fb407a continuing work to separate content from frames
git-svn-id: svn://10.0.0.236/trunk@3656 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 15:46:37 +00:00
troy
49eac66b52 Added some XXX performance reminders
git-svn-id: svn://10.0.0.236/trunk@3652 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 04:57:56 +00:00
atotic
1ae22c0e72 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3651 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 03:58:24 +00:00
raman
25a223aba2 Fix for 123352. 5.0SF1-In P0 bug. Approved by Don. Reviewed by waterson. Default simulate_signature_on_system_classes to true until we get signed system classes working.
git-svn-id: svn://10.0.0.236/trunk@3648 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 02:25:51 +00:00
spider
c304ed40d7 Draw text from upper left rather than baseline
git-svn-id: svn://10.0.0.236/trunk@3647 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 02:15:12 +00:00
spider
6dfde18d7b Force the Drawing Area to have zero border width:
git-svn-id: svn://10.0.0.236/trunk@3645 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 01:54:07 +00:00
spider
ab50f26b6a Remove duplicate drawingsurface. fix memory leak
git-svn-id: svn://10.0.0.236/trunk@3644 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 01:22:26 +00:00
kmcclusk
2e3862383e Removed nsMotifMenus until menu's .h file is checked in. . Added code to stop crash in xpcompat.c
git-svn-id: svn://10.0.0.236/trunk@3643 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 00:54:25 +00:00
buster
d62220ccdf more cleanup and frame/content separation
git-svn-id: svn://10.0.0.236/trunk@3642 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 00:41:09 +00:00
spider
698e0cb1a0 Compute TWIPS during Init() of DeviceContext rather than waiting
until the RenderingContext is created.


git-svn-id: svn://10.0.0.236/trunk@3639 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 00:32:29 +00:00
buster
0d87d412e5 some tentative steps towards content/frame separation in tables
git-svn-id: svn://10.0.0.236/trunk@3637 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 00:13:18 +00:00
rods
92da2f6bf8 add stdlib.h to pick exit() on irix
git-svn-id: svn://10.0.0.236/trunk@3635 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 23:33:15 +00:00
gordon
ea82f7554a Fixing Mac bustage by adding typecast. Approved by sar.
git-svn-id: svn://10.0.0.236/trunk@3634 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 23:04:18 +00:00
law
774adf441e Fixed Bug #124155; minor change to enable telnet: URLs on some Win systems
git-svn-id: svn://10.0.0.236/trunk@3633 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 22:42:51 +00:00
rods
83ed7683b6 changed signature of OnResize
git-svn-id: svn://10.0.0.236/trunk@3632 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 22:42:34 +00:00
rods
6943b0f95b added motif menus to the viewer
git-svn-id: svn://10.0.0.236/trunk@3631 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 22:41:43 +00:00
waldemar
af8de6ee7b Fixed bugs 123565, 123874, 122877, 122882, 123560, and 77391, all having to do with various errors in reading integers and floating-point numbers and interpreting whitespace around them. Whitespace was being treated inconsistently in parseInt, parseFloat, and ToNumber; made all of these accept any Unicode whitespace in anticipation of the future ECMA v2.
git-svn-id: svn://10.0.0.236/trunk@3625 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 21:18:05 +00:00
waldemar
753acc4b7c Changed js_strtod and js_strtointeger APIs to fix bugs 123565, 123874, 122877, 122882, 123560, and 77391. Added comments.
git-svn-id: svn://10.0.0.236/trunk@3624 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 21:14:41 +00:00
waldemar
69a73252a5 Updated for changed js_strtod and js_strtointeger APIs needed to fix bugs 123565, 123874, 122877, 122882, 123560, and 77391.
git-svn-id: svn://10.0.0.236/trunk@3623 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 21:13:52 +00:00
waldemar
ff457f223c Added js_SkipWhiteSpace.
git-svn-id: svn://10.0.0.236/trunk@3622 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 21:11:00 +00:00
rods
15ebeaee23 initial
git-svn-id: svn://10.0.0.236/trunk@3618 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 20:42:04 +00:00
rods
312ff5aa54 added PRUint32 cast to unbreak the build
git-svn-id: svn://10.0.0.236/trunk@3614 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 20:34:38 +00:00
scullin
9d18a95bec Fix mac build.
git-svn-id: svn://10.0.0.236/trunk@3612 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 20:28:49 +00:00
toshok
c4be407277 fix relayout of preformatted text (and hopefully help out in the
relayout of normal text as well.)  Make sure we start at the element
immediately following the LO_TextBlock (if possible, otherwise start
at the startTextElement.)  Also, loop up to and including the
endElement.  Lastly, insert new soft line breaks after recycling the
old ones.


git-svn-id: svn://10.0.0.236/trunk@3610 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 19:12:01 +00:00
toshok
ca99e17719 Make line breaks at the start and end of a PRE section hard, so they persist across resizes (part of the fix for 123300.
git-svn-id: svn://10.0.0.236/trunk@3609 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 18:58:14 +00:00
scullin
8f043ecc46 Fix serious date parsing bug. Approved ltabb.
git-svn-id: svn://10.0.0.236/trunk@3608 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 18:57:41 +00:00
rods
631240da82 24 bit color fix
git-svn-id: svn://10.0.0.236/trunk@3604 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 18:18:35 +00:00
spider
6cb3b0c91d Attempt to do the right thing on 24 bit displays ... good luck
git-svn-id: svn://10.0.0.236/trunk@3603 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 17:29:11 +00:00
toshok
9e5f59d520 Add one liners about the PRE_*, QUOTE_* and SUBDOC_* #defines.
git-svn-id: svn://10.0.0.236/trunk@3602 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 16:54:35 +00:00
pinkerton
76a8fb7fce Fix bug #12413 in single signon (appr don, rev morse).
git-svn-id: svn://10.0.0.236/trunk@3601 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 15:20:06 +00:00
warren
ae16350c75 Added softupdt dependency for OJI
git-svn-id: svn://10.0.0.236/trunk@3595 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 07:06:09 +00:00
nisheeth
8f4e34f57b Fix for bug 123208. Fixes the problem of nested tables with 100% height
getting heights of 10000 pixels.  Thanks to Tim Rowley (tor@cs.brown.edu)
for providing a patch that was very close to the real fix.  You saved me
a lot of work!


git-svn-id: svn://10.0.0.236/trunk@3594 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 06:56:10 +00:00
troy
9e702bf0fa Changed block to do the initial reflow of a floater. Also fixed a problem
with floated tables crashing


git-svn-id: svn://10.0.0.236/trunk@3591 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 05:33:38 +00:00
raman
b1a0365b9b Fixed to make OJI to build with MOZ_SECURITY. Reviewed by warren. Approved by don. Bug# 124222. This change is under MOZ_OJI and it doesn't affect the regular builds. Deleted call to VR_initialize a non exiting function
git-svn-id: svn://10.0.0.236/trunk@3590 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 04:18:00 +00:00
raman
f9e56baefe Fixed to make OJI to build with MOZ_SECURITY. Reviewed by warren. Approved by don. Bug# 124222. This change is under MOZ_OJI and it doesn't affect the regular builds
git-svn-id: svn://10.0.0.236/trunk@3589 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 04:16:45 +00:00
danm
361c946ddd allow early password dialog access to the mouse. probably bug 93715, certainly bug 110098. a:don
git-svn-id: svn://10.0.0.236/trunk@3588 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 03:00:05 +00:00
spider
ef0e3280ef Removing no longer needed test files
git-svn-id: svn://10.0.0.236/trunk@3585 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 02:15:15 +00:00
spider
b82f4532a4 WIP: XLib Image stuff
git-svn-id: svn://10.0.0.236/trunk@3583 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 01:59:11 +00:00
spider
75c09cf88b More Region fixes
git-svn-id: svn://10.0.0.236/trunk@3579 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 00:44:43 +00:00
donm
7afd539d0f libprgrss needs to come after libsoftupdate for commercial build.
git-svn-id: svn://10.0.0.236/trunk@3578 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 00:34:04 +00:00
spider
fcb998a8dc Region fixes - need to create region before they can be used
git-svn-id: svn://10.0.0.236/trunk@3577 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 00:06:38 +00:00
spider
3d2ea48913 Update Unix Shell Factory
git-svn-id: svn://10.0.0.236/trunk@3576 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 23:51:23 +00:00
akkana
d6de5c66c7 124129: Editor prefs should be under EDITOR, not MOZ_MAIL_NEWS
git-svn-id: svn://10.0.0.236/trunk@3575 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 23:36:50 +00:00
fur
aea62596b0 Propagation of numerous bug fixes from 4.06 (which have been reviewed
and tested in that release):

#114564: Fix JS_Enumerate to return an empty id array instead of null
#115395: Fix JS garbage collection
#115200: Security dialog no longer blows assertion
#123211: Make sure output of sort array function is -1, 0, or 1.
#116195: Fix ImportProperty(), cope with an existing local variable
         of the same name as the imported property
         Unbusticate JS_invoke() so that closures work again
#115384,#115395: Handle bugs in toSource that strike when
         getProperty is non-idempotent.  Fix crash during JavaScript
         garbage collection after enumerating object properties.

#??????: mjudge - Win16 files to make ptrdiff_t be 32 bits on Win16


git-svn-id: svn://10.0.0.236/trunk@3573 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 23:04:48 +00:00
blythe
e12b980037 Printing page with a missing image icon no longer crashes
git-svn-id: svn://10.0.0.236/trunk@3571 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 22:43:09 +00:00
hardts
1c07ad6ec2 accidentally undeleted during the layout integration branch landing
git-svn-id: svn://10.0.0.236/trunk@3570 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 22:41:49 +00:00
akkana
e74a7de962 Make auto-save pref work: needed for testing 122182
git-svn-id: svn://10.0.0.236/trunk@3569 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 22:38:28 +00:00
akkana
4fb992785d 122182: fix periodic crashes from no-longer extant editor frames
git-svn-id: svn://10.0.0.236/trunk@3568 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 22:23:24 +00:00
hyatt
3effe29202 Fix for status bar not appearing in a navigator window when
Aurora is initially collapsed.  (An SF1 In bug.)


git-svn-id: svn://10.0.0.236/trunk@3566 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:46:19 +00:00
shaver
d0ef1a83a8 added JS_YieldRequest to API (me), and removed assertion in InitClass (mlm)
git-svn-id: svn://10.0.0.236/trunk@3565 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:39:58 +00:00
shaver
a4c7b3bca0 added JS_YieldRequest to API
git-svn-id: svn://10.0.0.236/trunk@3564 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:24:14 +00:00
rods
b9a0147cfc added text support
git-svn-id: svn://10.0.0.236/trunk@3562 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:12:35 +00:00
shaver
2bbfb94096 first arg to Script.prototype.exec is scopeobj, not second-with-ignored-first
git-svn-id: svn://10.0.0.236/trunk@3561 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:10:45 +00:00
spider
af7f55c68f Bad load fix
git-svn-id: svn://10.0.0.236/trunk@3560 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:07:43 +00:00
fur
c4f601320e Replacement for stddef.h in the JS interpreter which defines ptrdiff_t to be 32 bits rather than 16 bits on Win16 only
git-svn-id: svn://10.0.0.236/trunk@3559 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:05:54 +00:00
kmcclusk
c2b5ee5c2b Added mBounds field
git-svn-id: svn://10.0.0.236/trunk@3558 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:02:19 +00:00
kmcclusk
62a927fcf6 GetBounds now returns the rect given in the Create if the Widget has not
been realized yet.


git-svn-id: svn://10.0.0.236/trunk@3555 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 20:20:14 +00:00
kmcclusk
26c45c0fdf Copy samples to the correct location
git-svn-id: svn://10.0.0.236/trunk@3553 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 18:01:15 +00:00
kipp
c06c37bb90 Set maxwordwith whenever we are not wrapping
git-svn-id: svn://10.0.0.236/trunk@3552 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:48:54 +00:00
kipp
61fdecc0ce Set width properly when not wrapping
git-svn-id: svn://10.0.0.236/trunk@3551 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:48:02 +00:00
kipp
4c6c58495b Fixed a pending-break clear bug; use new ReflowInlineChild API
git-svn-id: svn://10.0.0.236/trunk@3550 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:47:49 +00:00
kipp
f8ecd0e7d8 Added nsIInlineFrame interface
git-svn-id: svn://10.0.0.236/trunk@3549 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:47:20 +00:00
kipp
bb06d20da4 Implement ReflowChild directly so that it uses nsIInlineFrame is available
git-svn-id: svn://10.0.0.236/trunk@3548 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:40:21 +00:00
kipp
6bd968fb36 new iids
git-svn-id: svn://10.0.0.236/trunk@3547 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:39:42 +00:00
kmcclusk
e63985490c Added a two more shareables to link against + added clobber and install directives
git-svn-id: svn://10.0.0.236/trunk@3546 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:38:47 +00:00
kipp
f44c451b15 Implement ReflowInlineChild to check for nsIInlineFrame and use it when available
git-svn-id: svn://10.0.0.236/trunk@3545 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:32:52 +00:00
kipp
c14564612f Updated reflow-inline-child to handle the new nsIInlineFrame api
git-svn-id: svn://10.0.0.236/trunk@3544 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:32:27 +00:00
kipp
153a8c0c0d Made BRFrame implement nsIInlineFrame
git-svn-id: svn://10.0.0.236/trunk@3543 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:31:59 +00:00
kipp
ddcb788e1c Added rules to make TD's, TH's behave more like navigator
git-svn-id: svn://10.0.0.236/trunk@3542 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:31:34 +00:00
shaver
ea99a264a9 first arg to Script.prototype.exec is scopeobj, not second-with-ignored-first
git-svn-id: svn://10.0.0.236/trunk@3541 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:28:41 +00:00
spider
0aab677def Add Exposure mask code back into event handlers, modify Makefile so
source actually builds (it wasn't on IRIX since the first .cpp had a'#'
sign in it commenting out the rest), and add a char * passwd so nsXtEventHandler
will compile.


git-svn-id: svn://10.0.0.236/trunk@3540 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 16:58:59 +00:00
norris
b7d3aba53f Fix 123552 Array length updating is incorrect
js> a = new Array()

js> a["3.00"] = "three"
three
js> a.length
4

Since "3.00" is not an array index as defined by ECMA, a.length should be 0.


git-svn-id: svn://10.0.0.236/trunk@3539 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 16:47:00 +00:00
troy
90ad65a58a Added nsIReflowCommand interface
git-svn-id: svn://10.0.0.236/trunk@3538 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 04:51:44 +00:00
buster
1f5bdbcecd backed out an inline for UNIX build
git-svn-id: svn://10.0.0.236/trunk@3536 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 03:53:35 +00:00
wtc
c46f521185 Bugzilla bug #351: Removed two extra '>' characters.
Thanks to Romain Vignes <rvignes@cal.fr> for the problem report and fix.


git-svn-id: svn://10.0.0.236/trunk@3530 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 01:14:56 +00:00
wtc
d6cf513c1d Port to Sparc Linux. Files changed: _linux.cfg, _linux.h.
git-svn-id: svn://10.0.0.236/trunk@3527 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:51:10 +00:00
kipp
04b0acd125 Added another tracing log message
git-svn-id: svn://10.0.0.236/trunk@3526 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:49:12 +00:00
kipp
d5a5ed5a43 Updated tracing messages; fixed bugs where things that shouldn't be pulled up were (blocks, BR's)
git-svn-id: svn://10.0.0.236/trunk@3525 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:48:56 +00:00
hardts
775a1569ce fixed ifdef error from landing layout integration branch
git-svn-id: svn://10.0.0.236/trunk@3523 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:28:57 +00:00
wtc
d002883d9c On HP-UX, we should just include <model.h> and use its definition
of the types int8, int16, and int32.  This way people can include
nspr header and model.h in any order and won't get "type defined
twice" errors.


git-svn-id: svn://10.0.0.236/trunk@3522 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:45:45 +00:00
wtc
dff8f5b6cf Change to improve GC benchmarks, from Raman Tenneti <raman@netscape.com>
of the Java group.


git-svn-id: svn://10.0.0.236/trunk@3521 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:44:47 +00:00
wtc
cea54447b7 Use -32 flag for compiler and linker explicitly on IRIX 6.x. This is
necessary on IRIX 6.4 where -n32 is the default.  Thanks to Tomi (a
CS student in Finland whose last name I forget) for the patch.


git-svn-id: svn://10.0.0.236/trunk@3520 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:43:33 +00:00
norris
b44d1646cf Fix bug 104191 "ECMA: multiple params w/ same name":
Decompiling "function f(a,b,a) { ... }" would only print two parameters.


git-svn-id: svn://10.0.0.236/trunk@3519 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:41:54 +00:00
brade
e5a5cb6bf0 ensure that a title tag is always written before publish; table dialog fixes
git-svn-id: svn://10.0.0.236/trunk@3518 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:27:01 +00:00
brade
f5d6dad7f8 #ifdef DEBUG around DebugStr; always set something for title string
git-svn-id: svn://10.0.0.236/trunk@3517 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:19:48 +00:00
brade
d0cdc076f0 bug #122011; random crashing bug in Macintosh Composer when user has edited page via browser; zero URLStruct's savedData as done for macfe printing and winfe Composer
git-svn-id: svn://10.0.0.236/trunk@3516 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:11:09 +00:00
rods
1e059435ae moved inlined SetCellAt to body
git-svn-id: svn://10.0.0.236/trunk@3515 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 22:07:15 +00:00
rods
58ac8519cc disabled nsTextHelper.cpp build
git-svn-id: svn://10.0.0.236/trunk@3514 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:46:55 +00:00
waterson
b421b3d0af Added plugin to list of directories so the nsIPlug.h gets exported. Needed for OJI to build.
git-svn-id: svn://10.0.0.236/trunk@3513 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:38:35 +00:00
waterson
aa1da2ec82 Added code to export nsIPlug.h to the public plugins directory. Needed for OJI to build.
git-svn-id: svn://10.0.0.236/trunk@3512 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:38:10 +00:00
rods
1bafcce9e2 added more functionality
git-svn-id: svn://10.0.0.236/trunk@3511 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:31:33 +00:00
blythe
6294ee0e8b partial fix for crash on printing, assertion on quit
git-svn-id: svn://10.0.0.236/trunk@3510 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:28:02 +00:00
pnunn
4368a03480 fix for #122211. reviewed by toshok. ok'd by don.
git-svn-id: svn://10.0.0.236/trunk@3509 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:14:42 +00:00
buster
d49c07ece7 less inlining, for UNIX and Linux builds
git-svn-id: svn://10.0.0.236/trunk@3508 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 20:53:43 +00:00
hardts
9d569118c1 stubs and other glue needed for the layout integration build
git-svn-id: svn://10.0.0.236/trunk@3505 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 20:23:48 +00:00
mcafee
713e30651e telnet ports should be an unsigned int, port 32786 was showing up as -1. a,r=ramiro
git-svn-id: svn://10.0.0.236/trunk@3504 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 20:07:51 +00:00
buster
c1f648a966 most HTML 4 attributes supported (though some are still ignored)
lots of methods made inline


git-svn-id: svn://10.0.0.236/trunk@3503 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 19:57:04 +00:00
spider
0980df24e4 Clean up Factory Creation
git-svn-id: svn://10.0.0.236/trunk@3502 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 19:44:54 +00:00
mccabe
afa5375ed6 ECMA fix to bug (93557). When excecuting the Function constructor,
treat all the 'arguments arguments' as if they were concatenated
together as a comma-separated list, and treat the list as if it were
the arguments list in a normal function declaration.  That is, allow
comments, arbitrary whitespace, etc.

Fixed by introducing a TokenStream instance in the Function contructor
code.


git-svn-id: svn://10.0.0.236/trunk@3500 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 19:04:17 +00:00
buster
cb72a8e498 complete HTML 3.2 attribute support
git-svn-id: svn://10.0.0.236/trunk@3491 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 17:19:26 +00:00
gordon
863a3366d3 Renamed debug target output file to match target name: LibMochaDebug.o.
git-svn-id: svn://10.0.0.236/trunk@3490 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 17:19:18 +00:00
shaver
cc464c7409 added XDR-based compile-and-run examples
git-svn-id: svn://10.0.0.236/trunk@3489 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 16:16:10 +00:00
buster
d19132565a more attributes: cell nowrap, caption align, some misc HTML 4 attributes too
git-svn-id: svn://10.0.0.236/trunk@3488 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 15:47:03 +00:00
gordon
44d2c79d3a Spelling counts. Changed name of CustomStaticLib.o target.
git-svn-id: svn://10.0.0.236/trunk@3486 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 15:18:56 +00:00
gordon
93f4577661 Moveed build of Custom Static Libraries later to resolve timing issue.
git-svn-id: svn://10.0.0.236/trunk@3485 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 14:35:30 +00:00
gordon
59fc4365de Changed the names of the static libraries to match what Client.mcp is looking for.
git-svn-id: svn://10.0.0.236/trunk@3484 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 13:03:26 +00:00
gordon
66a06d0d63 Added stub function for SSL_DataPending() so we can export it for other libraries.
git-svn-id: svn://10.0.0.236/trunk@3483 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 13:02:49 +00:00
gordon
89f0be6365 Changes for value-added builds.
git-svn-id: svn://10.0.0.236/trunk@3482 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:19:51 +00:00
gordon
147e430796 #ifndef XP_MAC'd out the inclusion of java_lang_Integer.c and code that used it. It seems kind of goofy including a C file that's already in the JavaRuntime project. The recent change also caused JRI headers and stubs to get generated for java_lang_Integer, and elsewhere we are using the JDK headers and stubs. Well sort this out this week.
git-svn-id: svn://10.0.0.236/trunk@3481 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:14:04 +00:00
gordon
2055df88c1 #ifndef XP_MAC'd out a call to FE_DiskSpaceAvailable() which doesn't exist on the Mac yet. Left an assert(false), to force us to fix it.
git-svn-id: svn://10.0.0.236/trunk@3480 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:08:30 +00:00
gordon
1562727036 Added these exports:
SSL_DataPending
 SHA1_Update
 SHA1_Begin
 SHA1_NewContext
 SHA1_DestroyContext
 SHA1_End
 SECNAV_signedAppletPrivileges
 NET_SetNewContext
 ET_StartSoftUpdate
 FE_GetNetHelpDir
...and regenerated the file using the AnnotateExports tool.


git-svn-id: svn://10.0.0.236/trunk@3479 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:06:33 +00:00
gordon
0270ff8171 Add typecast in principalsCanAccessTarget(), necessary to satisfy the Mac's more stringent compilers. The parameter should be double checked by someone who's had more sleep.
git-svn-id: svn://10.0.0.236/trunk@3478 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:05:01 +00:00
gordon
10ba94b06d Remove unnecessary include for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@3477 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:02:20 +00:00
gordon
f2dd9325ac Include needed header for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@3475 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:01:39 +00:00
morse
dfaee48e18 cookie management changes
git-svn-id: svn://10.0.0.236/trunk@3474 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 04:14:31 +00:00
joki
8edbb0a851 Removing no longer used file from Makefiles
git-svn-id: svn://10.0.0.236/trunk@3472 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 02:03:31 +00:00
joki
9e1e7ac7da Makefile fixes
git-svn-id: svn://10.0.0.236/trunk@3471 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 01:56:31 +00:00
joki
fd1a60be5a Fixing uuid and whitespace
git-svn-id: svn://10.0.0.236/trunk@3470 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 01:33:06 +00:00
joki
f33f428c69 Adding makefile changes to make raptor build new dom event dirs
git-svn-id: svn://10.0.0.236/trunk@3469 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 00:57:44 +00:00
joki
d6a1da45ce Adding new event handling mechanism into raptor.
git-svn-id: svn://10.0.0.236/trunk@3468 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 00:57:15 +00:00
kmcclusk
d2a0886326 Added NS_NATIVE_WIDGET support. Returns the HWND same as NS_NATIVE_WINDOW. This change
is required to support the cross-platform viewer


git-svn-id: svn://10.0.0.236/trunk@3466 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 22:30:46 +00:00
kmcclusk
12b914949d Changed to use NS_NATIVE_WIDGET instead of NS_NATIVE_WINDOW
git-svn-id: svn://10.0.0.236/trunk@3465 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 22:29:35 +00:00
morse
6dcb8ed201 Single Signon
git-svn-id: svn://10.0.0.236/trunk@3464 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 21:30:15 +00:00
morse
824dfaa4c7 fix tree bustage on mac
git-svn-id: svn://10.0.0.236/trunk@3463 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 17:24:46 +00:00
morse
9783d4159d change for cookie management
git-svn-id: svn://10.0.0.236/trunk@3462 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 16:07:47 +00:00
morse
88a024f80f change for single signon
git-svn-id: svn://10.0.0.236/trunk@3461 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 16:06:49 +00:00
morse
695f8f46a9 cookie management changes
git-svn-id: svn://10.0.0.236/trunk@3460 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 16:01:49 +00:00
morse
2a4fe52ab9 single signon changes
git-svn-id: svn://10.0.0.236/trunk@3459 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 15:56:07 +00:00
dveditz
3c5ebf82b0 merge cleanup
git-svn-id: svn://10.0.0.236/trunk@3458 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 12:11:28 +00:00
joki
8ab8f76b76 Comment change
git-svn-id: svn://10.0.0.236/trunk@3457 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 11:28:08 +00:00
dveditz
2a3a296216 shorten long line to avoid compiler limit
git-svn-id: svn://10.0.0.236/trunk@3456 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 11:19:42 +00:00
dveditz
31e9bc0f4b wrapping long lines
git-svn-id: svn://10.0.0.236/trunk@3455 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 11:07:34 +00:00
dveditz
63b64203d0 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3454 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 10:55:40 +00:00
dveditz
2d70ca8248 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3453 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 10:38:53 +00:00
dveditz
d0cee3ba7d merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3452 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 10:30:56 +00:00
dveditz
f731488658 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3450 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 10:20:08 +00:00
dveditz
6af537410c merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3449 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:57:07 +00:00
dveditz
009f73e442 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3448 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:47:23 +00:00
dveditz
03ee705d70 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3447 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:23:42 +00:00
dveditz
e975445d91 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3446 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:10:29 +00:00
dveditz
b8698a5c3c merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3445 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:02:21 +00:00
dveditz
3ee83ac54b merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3444 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 08:55:22 +00:00
joki
69bfcc4be4 Adding parts of dom event flow to layout.
git-svn-id: svn://10.0.0.236/trunk@3443 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:55:55 +00:00
joki
1e97d505b1 Adding parts of dom event flow into layout.
git-svn-id: svn://10.0.0.236/trunk@3442 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:54:32 +00:00
joki
9727916f62 Adding non-core event interfaces to repository
git-svn-id: svn://10.0.0.236/trunk@3441 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:42:19 +00:00
joki
503be487bf Adding core DOM event interfaces to repository
git-svn-id: svn://10.0.0.236/trunk@3440 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:41:39 +00:00
joki
8a9b2a54f8 Adding new test for editor mode
git-svn-id: svn://10.0.0.236/trunk@3439 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:39:03 +00:00
joki
c2005f486b Adding api to get DOM document interface through web widget.
git-svn-id: svn://10.0.0.236/trunk@3438 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:32:17 +00:00
kipp
85bcfaecd7 Made option code more robust
git-svn-id: svn://10.0.0.236/trunk@3433 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 20:25:11 +00:00
waterson
54bd6545a2 Moved -DAWT_XXX to JAVA_DEFINES, where it shouldve been in the first place.
git-svn-id: svn://10.0.0.236/trunk@3429 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 16:50:16 +00:00
waterson
332231576e Added code to simulate CODEBASE attribute on the APPLET tag for OJI.
git-svn-id: svn://10.0.0.236/trunk@3428 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 16:31:20 +00:00
waterson
7fe0d11eb4 Added C defines for AWT_11/AWT_102.
git-svn-id: svn://10.0.0.236/trunk@3427 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 16:29:58 +00:00
gordon
150acab213 Remove SoftUpdate from mozilla/dist population because it isn't built for mozilla and has a conflict with the Nav-Java stubs directory.
git-svn-id: svn://10.0.0.236/trunk@3426 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 11:22:30 +00:00
gordon
6ae6e8212a Export nsHashTable methods.
git-svn-id: svn://10.0.0.236/trunk@3425 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 11:19:14 +00:00
gordon
2d8a5b4b42 Fixing build breakage by adding mozilla/network/util/mkreg.c to the network.mcp project so NET_RegExpMatch and NET_RegExpValid can be found by the main project.
git-svn-id: svn://10.0.0.236/trunk@3424 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 09:21:59 +00:00
spider
663a45e9c8 Fix for not using TREX_WIDGET branch anymore
git-svn-id: svn://10.0.0.236/trunk@3421 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 05:53:23 +00:00
scullin
f092d3c340 Fake out mac build.
git-svn-id: svn://10.0.0.236/trunk@3420 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 03:30:11 +00:00
kipp
a7566784d7 Don't strip trailing whitespace otherwise underlines render wrong; set max element width properly when not wrapping
git-svn-id: svn://10.0.0.236/trunk@3418 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:54:20 +00:00
kipp
56377ec47d Fixed table cell's so that translate valign back to a string properly
git-svn-id: svn://10.0.0.236/trunk@3417 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:48:10 +00:00
spider
0e33530dd1 Implement SetClipRect
git-svn-id: svn://10.0.0.236/trunk@3416 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:41:42 +00:00
kmcclusk
936c8fc7eb Cast nsNativeWindow to Widget to fix IRIX build. NS_NATIVE_WINDOW returns the XtWindow like it used to.
git-svn-id: svn://10.0.0.236/trunk@3415 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:37:59 +00:00
scullin
77dd3699cf Shouldn't have landed.
git-svn-id: svn://10.0.0.236/trunk@3414 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:24:18 +00:00
kipp
08c372edfa Fixed options to have their text stripped of junk and whitespace compressed before creating the widget
git-svn-id: svn://10.0.0.236/trunk@3412 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:08:43 +00:00
kipp
27884478a3 Fixed GetContent/SetContent to be virtual making Option tags provide the proper text content for display
git-svn-id: svn://10.0.0.236/trunk@3411 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:06:52 +00:00
scullin
976cec59a1 Removed xp_reg.c
git-svn-id: svn://10.0.0.236/trunk@3410 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:59:13 +00:00
scullin
7b1cbccaf1 Move to network/util/mkreg.c
git-svn-id: svn://10.0.0.236/trunk@3409 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:58:32 +00:00
scullin
b8041e32e0 Ok, remove the deleted files from the makefile.
git-svn-id: svn://10.0.0.236/trunk@3408 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:57:59 +00:00
scullin
242058260c Put lib in correct spot. (I hope)
git-svn-id: svn://10.0.0.236/trunk@3407 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:54:45 +00:00
kmcclusk
966aabcbb6 Made window support child windows under Linux:lesstif
git-svn-id: svn://10.0.0.236/trunk@3406 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:53:24 +00:00
scullin
2d47f8c016 Attempt to fix mac build.
git-svn-id: svn://10.0.0.236/trunk@3405 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:42:33 +00:00
morse
795f917346 cookie management changes
git-svn-id: svn://10.0.0.236/trunk@3403 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:22:03 +00:00
morse
98f5241915 single signon changes
git-svn-id: svn://10.0.0.236/trunk@3402 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:21:25 +00:00
mervin
f8a9b9e48e Added NormandyBeachUnix and NormandyBeachWin to allow tinderbox to pull
libmsg and libaddr.


git-svn-id: svn://10.0.0.236/trunk@3401 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:19:46 +00:00
scullin
74828c6842 Added libnetutil.a
git-svn-id: svn://10.0.0.236/trunk@3400 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:15:15 +00:00
scullin
98971da88b Added netutil.lib
git-svn-id: svn://10.0.0.236/trunk@3399 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:13:10 +00:00
scullin
2389863783 Added network:util to manifest list
git-svn-id: svn://10.0.0.236/trunk@3397 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:49:03 +00:00
scullin
8a716c097e Moved xp_reg to network/utils/mkreg. It was only used in netlib, anyway.
git-svn-id: svn://10.0.0.236/trunk@3396 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:45:30 +00:00
scullin
cea2139f3d Removed xp_reg.h
git-svn-id: svn://10.0.0.236/trunk@3395 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:43:37 +00:00
scullin
105a87aebc Moved to network/utils/mkreg.h
git-svn-id: svn://10.0.0.236/trunk@3394 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:43:09 +00:00
scullin
6be1b59ced Use real implementation of xp_hash for now.
git-svn-id: svn://10.0.0.236/trunk@3392 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:23:24 +00:00
scullin
26dbcbf55a Add xp_hash to the modular netlib files.
git-svn-id: svn://10.0.0.236/trunk@3391 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:23:05 +00:00
kipp
030a9a7fd5 Fixed bug where &'s followed by whitespace were losing the whitespace
git-svn-id: svn://10.0.0.236/trunk@3390 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:20:21 +00:00
danm
70e884be71 added smart browsing prefs a:don
git-svn-id: svn://10.0.0.236/trunk@3387 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:01:21 +00:00
buster
c544e9ad78 clean up, and still better cell width attribute layout
git-svn-id: svn://10.0.0.236/trunk@3386 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 22:50:03 +00:00
spider
2f331893bb Fix nested comments in nsTextHelper.cpp. Also check for null widget
when querying Window Bounds


git-svn-id: svn://10.0.0.236/trunk@3383 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 22:08:07 +00:00
kipp
1bda2cfaf6 Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly
git-svn-id: svn://10.0.0.236/trunk@3382 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:50:57 +00:00
scullin
421b6407cf Fix typo.
git-svn-id: svn://10.0.0.236/trunk@3381 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:47:00 +00:00
kipp
bc4023da9b Added SizeOf method
git-svn-id: svn://10.0.0.236/trunk@3380 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:38:36 +00:00
rods
2fa39f82f5 added nsTextHelper
git-svn-id: svn://10.0.0.236/trunk@3379 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:37:19 +00:00
spider
cf813e066f Fix Unix build bustage: Case sensitivity on new file added
git-svn-id: svn://10.0.0.236/trunk@3378 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:34:42 +00:00
spider
7415205d76 Link with Math library since .so needs it
git-svn-id: svn://10.0.0.236/trunk@3377 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:28:50 +00:00
rods
09438744fa added CheckButton support
git-svn-id: svn://10.0.0.236/trunk@3376 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:27:08 +00:00
rods
7d0c7b12e5 added CheckButton to factory
git-svn-id: svn://10.0.0.236/trunk@3375 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:26:44 +00:00
rods
5012049ec8 implements full Event support
git-svn-id: svn://10.0.0.236/trunk@3374 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:26:16 +00:00
rods
444b2db14b implemented Move
git-svn-id: svn://10.0.0.236/trunk@3373 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:25:46 +00:00
kipp
7f598f1ac3 Added SizeOf printout support
git-svn-id: svn://10.0.0.236/trunk@3372 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:07:20 +00:00
kipp
5d5168f17a Sprinkled SizeOf methods around
git-svn-id: svn://10.0.0.236/trunk@3371 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:06:24 +00:00
spider
230e5ca174 Buf fix: Remove extra colormap install. Also remove clip flags from
rendering context


git-svn-id: svn://10.0.0.236/trunk@3370 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:04:18 +00:00
spider
70c26b56ab Get viewer compiling on IRIX
git-svn-id: svn://10.0.0.236/trunk@3369 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 20:51:11 +00:00
kipp
e4f32b3895 Added nsSizeOfHandler.cpp to build
git-svn-id: svn://10.0.0.236/trunk@3368 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 20:46:48 +00:00
kipp
ae29e7fcd5 Added public to build dirs
git-svn-id: svn://10.0.0.236/trunk@3367 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 20:46:34 +00:00
kipp
eef3662dde new
git-svn-id: svn://10.0.0.236/trunk@3366 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 20:46:23 +00:00
raman
1b3aba72b3 Fix to make OJI to build.
git-svn-id: svn://10.0.0.236/trunk@3363 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 19:34:36 +00:00
raman
e9827af888 Moved strings from nsUserDialogHelper into this file. Cleanup for OJI. Oked by reliott.
git-svn-id: svn://10.0.0.236/trunk@3362 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 19:34:27 +00:00
raman
b2e264c1b7 include libcaps library for OJI also. Fix to make OJI to build.
git-svn-id: svn://10.0.0.236/trunk@3361 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 19:34:23 +00:00
scullin
9ad7e28ab6 Added network:mimetype to export list
git-svn-id: svn://10.0.0.236/trunk@3360 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:59:54 +00:00
spider
f2ed68df6b Complete double buffering implementation. Be sure to reset the offscreen
device upon destruction of the drawing surface


git-svn-id: svn://10.0.0.236/trunk@3359 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:56:42 +00:00
scullin
fd661b7ff0 Try that again.
git-svn-id: svn://10.0.0.236/trunk@3358 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:48:20 +00:00
scullin
c80aeae43d Moved mkformat.h
git-svn-id: svn://10.0.0.236/trunk@3357 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:47:30 +00:00
spider
1f02a0925c Add in double buffering support
git-svn-id: svn://10.0.0.236/trunk@3356 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:46:51 +00:00
kmcclusk
fc97b06293 Now passes native app shell data to the top-level window create.
git-svn-id: svn://10.0.0.236/trunk@3355 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:38:46 +00:00
scullin
af3f2216c4 Moved mkformat.h to network/mimetype
git-svn-id: svn://10.0.0.236/trunk@3354 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:36:14 +00:00
kmcclusk
e7d6541b54 Added a couple of shareable's to link against
git-svn-id: svn://10.0.0.236/trunk@3352 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:26:48 +00:00
scullin
eac569ca9b Moved to network/mimetype. Aleks claims this should just work on
the Mac. We'll see.


git-svn-id: svn://10.0.0.236/trunk@3351 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:22:28 +00:00
buster
4955cecaaa column widths with cells that span columns now work in most cases, for pixels and percents
not yet implemented for the "constrained" case


git-svn-id: svn://10.0.0.236/trunk@3349 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:11:20 +00:00
kipp
1451adbd34 Added spacer tag to the list of things that are containable
git-svn-id: svn://10.0.0.236/trunk@3348 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:56:31 +00:00
kipp
c91ba70277 Use serif instead of times roman directly
git-svn-id: svn://10.0.0.236/trunk@3347 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:53:46 +00:00
kipp
a8a4ae0952 Added no-wrap support
git-svn-id: svn://10.0.0.236/trunk@3346 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:53:28 +00:00
kipp
54516b02fe Added a reminder
git-svn-id: svn://10.0.0.236/trunk@3345 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:53:11 +00:00
kipp
bde16ad5ad Set family when PRE VARIABLE is used
git-svn-id: svn://10.0.0.236/trunk@3344 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:53:02 +00:00
fur
14c7110ef5 Added jsstddef.h
git-svn-id: svn://10.0.0.236/trunk@3343 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:52:18 +00:00
scullin
8befd533f6 Getting ready for mac.
git-svn-id: svn://10.0.0.236/trunk@3342 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:48:24 +00:00
kmcclusk
d429cfbdf4 Now links sharable's correctly for Linux
git-svn-id: svn://10.0.0.236/trunk@3341 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:14:01 +00:00
cmanske
c442051de0 Fixed SF1 list HTML bugs for Composer. Reviewed by mjudge.
git-svn-id: svn://10.0.0.236/trunk@3340 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 15:00:23 +00:00
cmanske
6ffc4dbb88 Fixed SF1 list HTML bugs for Composer. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@3339 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 14:58:55 +00:00
pierre
db1cb1b70b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3323 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:14:09 +00:00
peterl
bc184de5ad sync up to new style data apis
git-svn-id: svn://10.0.0.236/trunk@3322 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:09:09 +00:00
peterl
472d214d92 added accessor to rules for save code
git-svn-id: svn://10.0.0.236/trunk@3321 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:07:08 +00:00
peterl
69d1612017 now track rules by insertion order as well as weighted order
added accessor to rules for save code


git-svn-id: svn://10.0.0.236/trunk@3320 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:06:50 +00:00
peterl
82a3e00141 changed GetData to GetStyleData and made its return const
added GetMutableStyleData and support for unique contexts


git-svn-id: svn://10.0.0.236/trunk@3319 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:01:55 +00:00
peterl
c65120081c added flag to get unique style context during resolve
git-svn-id: svn://10.0.0.236/trunk@3318 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:00:55 +00:00
peterl
ddb2f11c7f changed GetStyleData to return const pointers to style structs
new method GetMutableStyleData to get non-const pointer


git-svn-id: svn://10.0.0.236/trunk@3317 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 05:59:34 +00:00
peterl
7238f94887 added flag to force return of unique style context
git-svn-id: svn://10.0.0.236/trunk@3316 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 05:58:20 +00:00
buster
1187bf4578 cells with colspans and width attributes now work correctly
git-svn-id: svn://10.0.0.236/trunk@3303 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:50:46 +00:00
sar
0b0ae70fc9 nglglue.cpp should only be in MOZ_NGLAYOUT build
git-svn-id: svn://10.0.0.236/trunk@3302 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:36:40 +00:00
buster
a8657b2060 cell width calculations are working (not for colspan cells yet)
some bug fixes and optimizations
some of the more elaborate test cases are closer to Nav4-compatible


git-svn-id: svn://10.0.0.236/trunk@3301 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:36:25 +00:00
scullin
915ced6172 Back out dbm use on windows because of lame build order dependency.
git-svn-id: svn://10.0.0.236/trunk@3300 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:23:15 +00:00
spider
7dfcbbde39 Remove first Dispatch of Paint message. There should (I believe) be
only 1 paint message dispatched and the first one did not even have
a rendering context associated with it which would cause any app trying
to paint to crash.


git-svn-id: svn://10.0.0.236/trunk@3299 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:04:16 +00:00
scullin
6941a0c728 Removed libpwcac stubs.
git-svn-id: svn://10.0.0.236/trunk@3298 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:42:15 +00:00
spider
e01f3d38ca WIP ... GraphicsState maintenance
git-svn-id: svn://10.0.0.236/trunk@3297 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:39:53 +00:00
scullin
ef4ca0042d Used libdbm and libpwcac instead of stubs.
git-svn-id: svn://10.0.0.236/trunk@3296 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:39:31 +00:00
scullin
269c61ddcd Pull and build libdbm and libpwcac
git-svn-id: svn://10.0.0.236/trunk@3295 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:38:52 +00:00
scullin
47391107e3 Start using real dbm and pwcac libraries.
git-svn-id: svn://10.0.0.236/trunk@3293 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:24:59 +00:00
scullin
057cc9b4e8 Pull and build dbm and libpwcac
git-svn-id: svn://10.0.0.236/trunk@3292 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:23:05 +00:00
scullin
76bf7a6f10 Clean up for use in modular netlib, create library on windows.
git-svn-id: svn://10.0.0.236/trunk@3291 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:08:32 +00:00
hardts
591887a3b5 touching down layout integration branch
git-svn-id: svn://10.0.0.236/trunk@3290 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:03:18 +00:00
kipp
ebe32bd77d WIP checkin
git-svn-id: svn://10.0.0.236/trunk@3289 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:02:30 +00:00
kipp
7d546d7479 Fixed to return proper reflow status
git-svn-id: svn://10.0.0.236/trunk@3288 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:54:03 +00:00
spider
dedd1a5b72 Implement Matrix Transformation
git-svn-id: svn://10.0.0.236/trunk@3287 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:52:54 +00:00
scc
ae0343a5c3 Merge PrepareDist into DistMozilla; switch DistMozilla over to MANIFEST files (away from export.mac files); use mkpath directly.
git-svn-id: svn://10.0.0.236/trunk@3286 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:32:15 +00:00
donm
525d99b7af added Normandy Landing area.
git-svn-id: svn://10.0.0.236/trunk@3285 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:15:38 +00:00
kipp
f21bd6d2a5 Use PL_strcasecmp so that netlib can link again when it's modular
git-svn-id: svn://10.0.0.236/trunk@3284 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:08:17 +00:00
kmcclusk
3ec0dec124 Added WIDGET_DLL, GDF_DLL, and VIEWER_DLL defines for unix
git-svn-id: svn://10.0.0.236/trunk@3283 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:04:51 +00:00
kmcclusk
5d55e0cad9 Removed duplicate references to .so's
git-svn-id: svn://10.0.0.236/trunk@3282 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:03:51 +00:00
pinkerton
af542f456a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3281 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:45:13 +00:00
pinkerton
0e30b271ad FE code for internet keyword tooltip moved over from 4.06 (appr don).
git-svn-id: svn://10.0.0.236/trunk@3280 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:44:59 +00:00
pinkerton
f745465766 Added InternetKeywordTooltipPane.cp for internet keywords (appr don).
git-svn-id: svn://10.0.0.236/trunk@3279 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:44:26 +00:00
danm
1508d6fd5c internet keyword tooltip a:don
git-svn-id: svn://10.0.0.236/trunk@3278 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:38:53 +00:00
danm
e15f1040dc added internet keyword tooltip extraction a:don
git-svn-id: svn://10.0.0.236/trunk@3277 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:25:53 +00:00
spider
52109e0c47 Finish Implementation of the DeviceContext on Xlib .. twips units, gamma tables, etc..
git-svn-id: svn://10.0.0.236/trunk@3276 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:12:07 +00:00
kipp
b93f43db48 Fixed spacer to work again
git-svn-id: svn://10.0.0.236/trunk@3275 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:10:26 +00:00
kipp
06c374c6f3 Verify that mIsBlock is correct
git-svn-id: svn://10.0.0.236/trunk@3274 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:10:15 +00:00
kipp
e8ee07264a Pass through x,y events to an imagemap that is a map but doesn't use a named map
git-svn-id: svn://10.0.0.236/trunk@3273 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:09:52 +00:00
kipp
d4e22b1e8e Removed dead code
git-svn-id: svn://10.0.0.236/trunk@3272 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:08:59 +00:00
kipp
7c11316fb4 IMplement ReflowBlockChild
git-svn-id: svn://10.0.0.236/trunk@3271 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:08:49 +00:00
kipp
37de578581 Removed ReflowChild that handles space manager (troy can stop nagging me now :-)
git-svn-id: svn://10.0.0.236/trunk@3270 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:08:24 +00:00
scc
611382fedf First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3268 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 22:51:07 +00:00
kmcclusk
f6f9a3e3cd Added argc and argv to nsViewer:SetupViewer to pass to nsAppShell
git-svn-id: svn://10.0.0.236/trunk@3266 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:49:37 +00:00
rods
4c0f3f49d0 add GetNativeData pure
git-svn-id: svn://10.0.0.236/trunk@3265 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:37:14 +00:00
karnaze
0d4b1a5121 radio, checkbox padding done through MapAttributesInto
git-svn-id: svn://10.0.0.236/trunk@3264 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:34:41 +00:00
kipp
5669e4858d Create head part and insert it into the model
git-svn-id: svn://10.0.0.236/trunk@3263 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:33:44 +00:00
kipp
5beabd3a5c Only layout the body child in the root part
git-svn-id: svn://10.0.0.236/trunk@3262 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:33:23 +00:00
rods
e9f9266430 added nsnull to the end of all the XtVaSet methods
git-svn-id: svn://10.0.0.236/trunk@3261 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:33:08 +00:00
kipp
b155494bd2 Added a head part
git-svn-id: svn://10.0.0.236/trunk@3260 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:33:07 +00:00
kipp
2d5d55029d new
git-svn-id: svn://10.0.0.236/trunk@3259 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:32:50 +00:00
sfraser
405b5f37db Remove an include that was breaking windows and UNIX builds.
git-svn-id: svn://10.0.0.236/trunk@3258 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:32:45 +00:00
kipp
5ddead2b78 Work around body bug with placeholder code to avoid dup free's of placeholder's child frame
git-svn-id: svn://10.0.0.236/trunk@3257 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:04:50 +00:00
kipp
2658cd8f61 Pass through style rules
git-svn-id: svn://10.0.0.236/trunk@3256 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:04:22 +00:00
kipp
f2f2d99718 Made absolute frame a container too to work around the pseudo-frame problem
git-svn-id: svn://10.0.0.236/trunk@3255 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:04:07 +00:00
rods
200c7c0786 added GetNativeData method
git-svn-id: svn://10.0.0.236/trunk@3254 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:00:40 +00:00
rods
781e978bcf fixed param problem
git-svn-id: svn://10.0.0.236/trunk@3253 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 20:59:14 +00:00
pinkerton
0430752b98 Adding prefs pane from 4.x land for smart browsing (appr don).
git-svn-id: svn://10.0.0.236/trunk@3250 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 20:42:53 +00:00
kipp
5dcf2afa80 removed blather code
git-svn-id: svn://10.0.0.236/trunk@3249 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 20:41:14 +00:00
kipp
5803f64ce5 Made View list a little more helpful about widget size and location
git-svn-id: svn://10.0.0.236/trunk@3248 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 20:02:30 +00:00
kmcclusk
7b001eebd2 Build .o files in the correct place.
git-svn-id: svn://10.0.0.236/trunk@3247 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:57:38 +00:00
rods
ccde07aebc fixed Create method
git-svn-id: svn://10.0.0.236/trunk@3246 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:56:12 +00:00
rods
b7334ef74f add retucn for OnScroll
git-svn-id: svn://10.0.0.236/trunk@3245 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:55:42 +00:00
scullin
43fce049c1 Stub out NET_NewStream.
git-svn-id: svn://10.0.0.236/trunk@3244 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:54:11 +00:00
kmcclusk
53c473ebec Removed nsStubs.cpp - no longer needed.
git-svn-id: svn://10.0.0.236/trunk@3243 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:51:56 +00:00
kmcclusk
c786ddbad8 Added nsAbsoluteFrame to the make for Linux
git-svn-id: svn://10.0.0.236/trunk@3242 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:49:19 +00:00
rods
67d4406aa9 added params to create of AppShell
git-svn-id: svn://10.0.0.236/trunk@3241 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:45:22 +00:00
rods
5f90b47d32 added GetNative method
git-svn-id: svn://10.0.0.236/trunk@3239 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:59:53 +00:00
rods
616ee37f0d fixed event dispatcher
git-svn-id: svn://10.0.0.236/trunk@3237 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:53:22 +00:00
rods
c8cb8adbfc fixed event dispatcher code
git-svn-id: svn://10.0.0.236/trunk@3236 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:53:00 +00:00
spider
49cdcfdd1b Fix for converting from NS to X RGB Components
git-svn-id: svn://10.0.0.236/trunk@3235 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:41:47 +00:00
rods
85f0a988be turned on motif builds
git-svn-id: svn://10.0.0.236/trunk@3232 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:20:40 +00:00
rods
ffa4888e9a first working version window, button scrollbar
git-svn-id: svn://10.0.0.236/trunk@3231 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:19:50 +00:00
rods
d9a26a778c changed the Create method
git-svn-id: svn://10.0.0.236/trunk@3230 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:12:10 +00:00
kipp
ecc388064f Updated tracing; if the body has no children then collapse to nothingness
git-svn-id: svn://10.0.0.236/trunk@3229 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:03:14 +00:00
hardts
d0089912d1 removed -A so can be used more easily by client.mak to pull nglayout source
git-svn-id: svn://10.0.0.236/trunk@3228 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:00:36 +00:00
kipp
d8e8d2503d Eliminate css margins around block elements (so that ebina margins are used instead)
git-svn-id: svn://10.0.0.236/trunk@3227 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:52:22 +00:00
kipp
e836ab5f4c Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames
git-svn-id: svn://10.0.0.236/trunk@3226 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:52:02 +00:00
kipp
04e1032b03 Added code to do ebina style margins; perform horizontal alignment and relative positioning for blocks
git-svn-id: svn://10.0.0.236/trunk@3225 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:51:27 +00:00
kipp
95f8a82db4 Log view creation when it's done; create view when child and parent opacities differ
git-svn-id: svn://10.0.0.236/trunk@3224 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:50:53 +00:00
kipp
e265ed4281 Draw a different colored border when showing visual frame boundaries if the frame has a view; only draw if rectangle has area; create scroll frame when requested stylistically
git-svn-id: svn://10.0.0.236/trunk@3223 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:50:19 +00:00
kipp
0697c02104 Added mPrevMarginSynthetic flag
git-svn-id: svn://10.0.0.236/trunk@3222 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:49:29 +00:00
kipp
8da209ec0a Added a hack to only do incremental painting for the block whish is reflowing the html BODY; improved trace msgs; added code to collapse into nothingness empty blocks
git-svn-id: svn://10.0.0.236/trunk@3221 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:49:15 +00:00
kipp
2b8579f527 Add scroll frame to build
git-svn-id: svn://10.0.0.236/trunk@3220 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:48:08 +00:00
kipp
5276c045f8 new
git-svn-id: svn://10.0.0.236/trunk@3219 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:47:49 +00:00
pinkerton
b19294133c Fix some mac problems in single signon and cookie management. Also fix problems when no security is available (ie, free source).
git-svn-id: svn://10.0.0.236/trunk@3218 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:47:31 +00:00
kipp
601ec1d78c Draw a different colored border when showing visual frame boundaries if the frame has a view
git-svn-id: svn://10.0.0.236/trunk@3217 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:47:30 +00:00
kipp
c487af9554 Made usage of crt debug conditional on using the debug RTL
git-svn-id: svn://10.0.0.236/trunk@3216 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:46:41 +00:00
pinkerton
276ebcf945 Support for single sigon and cookie management features.
git-svn-id: svn://10.0.0.236/trunk@3215 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:46:27 +00:00
kmcclusk
215de8d5eb Added gmbaseunix.so to list of libraries to link against to resolve NS_NEW_Timer
git-svn-id: svn://10.0.0.236/trunk@3214 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:45:22 +00:00
kmcclusk
d331df24e8 Added unix directory to build nsTimer.cpp
git-svn-id: svn://10.0.0.236/trunk@3213 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:31:35 +00:00
karnaze
9f44e1e4a3 added modes for backward compatibility
git-svn-id: svn://10.0.0.236/trunk@3211 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:23:48 +00:00
scullin
8c158ec767 Add libmimetype.so
git-svn-id: svn://10.0.0.236/trunk@3210 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 15:23:32 +00:00
scullin
ac93017214 Remove cvview.c from the MODULAR_NETLIB build.
git-svn-id: svn://10.0.0.236/trunk@3209 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 14:51:26 +00:00
scullin
446d0a2707 Re-added LO_getNextTabableElement for UNIX.
git-svn-id: svn://10.0.0.236/trunk@3208 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 14:35:09 +00:00
pierre
d6eaf43870 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3205 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 10:03:05 +00:00
ramiro
0d359e06c5 Make the Navigation center mroe useable. Allow the user to resize it.
git-svn-id: svn://10.0.0.236/trunk@3198 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 09:04:36 +00:00
ramiro
7296cd99a5 Comment out a printf.
git-svn-id: svn://10.0.0.236/trunk@3197 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:51:10 +00:00
ramiro
de0194ed03 Allow XmNpaneChildType to be changed. So that panes can swap children
on the fly.


git-svn-id: svn://10.0.0.236/trunk@3196 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:50:26 +00:00
ramiro
6765d1100a Dont redefine _XfeSwap().
git-svn-id: svn://10.0.0.236/trunk@3195 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:49:52 +00:00
ramiro
ab892e76b8 Use _XfeGetValuesCastAndAssign().
git-svn-id: svn://10.0.0.236/trunk@3194 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:49:17 +00:00
ramiro
6bdd93c2fe Fix problems (like core dumps) with static strings. Use malloc instead.
git-svn-id: svn://10.0.0.236/trunk@3193 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:48:30 +00:00
ramiro
ed737ceac6 Add _XfeGetValuesCastAndAssign() and _XfeSwap().
git-svn-id: svn://10.0.0.236/trunk@3192 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:47:34 +00:00
sfraser
3629a74f65 Forgot to build the new custom static libs target.
git-svn-id: svn://10.0.0.236/trunk@3191 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:43:47 +00:00
spider
9589ad09d6 Implemented nsRegionUnix
git-svn-id: svn://10.0.0.236/trunk@3190 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:40:58 +00:00
spider
009a095c51 support for pull and build in one macro.
Use widget branch


git-svn-id: svn://10.0.0.236/trunk@3189 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:03:31 +00:00
spider
416a970b2a Linux fix
git-svn-id: svn://10.0.0.236/trunk@3188 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:54:50 +00:00
spider
c7429130db Misc Linux fixes
git-svn-id: svn://10.0.0.236/trunk@3187 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:54:39 +00:00
sfraser
2af886c859 Switch over to using Perl's manifest instead of MakeDist, and mess with the relative paths. Also write out progress messages.
git-svn-id: svn://10.0.0.236/trunk@3186 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:35:50 +00:00
sfraser
f5b33596a5 Added a needed prototype for the Mac build
git-svn-id: svn://10.0.0.236/trunk@3185 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:34:52 +00:00
sfraser
de9ad20b56 Add targets for custom static libraries
git-svn-id: svn://10.0.0.236/trunk@3184 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:31:45 +00:00
sfraser
10c9cf8571 Fixes to allow us to compile Progress with this obsolete class for now.
git-svn-id: svn://10.0.0.236/trunk@3183 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:31:29 +00:00
sfraser
516b71fe64 Added needed include if JAVA is on
git-svn-id: svn://10.0.0.236/trunk@3182 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:30:56 +00:00
sfraser
730de7924f Changed profile.h/cp to userprofile.h/cp, moved libmocha files into a separate static library, added custom shared and static libs for easy addition of internal Netscape code.
git-svn-id: svn://10.0.0.236/trunk@3181 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:30:35 +00:00
spider
2dd6efcdc4 Support for Archive Libs on Linux and shared data in executable
git-svn-id: svn://10.0.0.236/trunk@3180 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:20:48 +00:00
sfraser
1b6c939920 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3179 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:08:46 +00:00
sfraser
959418a240 Changed so that the output library is called Security.o (for compat with commercial build).
git-svn-id: svn://10.0.0.236/trunk@3176 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:58:58 +00:00
sfraser
9f8a0a1466 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3175 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:57:39 +00:00
sfraser
6885c0ed04 Give the NavigatorDebugExtras stub lib the correct fragment name
git-svn-id: svn://10.0.0.236/trunk@3174 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:51:46 +00:00
sfraser
a229fda7eb include xp_error
git-svn-id: svn://10.0.0.236/trunk@3173 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:51:17 +00:00
sfraser
f0ca7e10dc Add a new header to export
git-svn-id: svn://10.0.0.236/trunk@3172 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:50:25 +00:00
sfraser
d8b5714a7f Fix projects and prefix files for new build system
git-svn-id: svn://10.0.0.236/trunk@3171 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:49:45 +00:00
sfraser
632fc197e5 #if JAVA to #ifdef JAVA
git-svn-id: svn://10.0.0.236/trunk@3170 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:48:49 +00:00
sfraser
d00662f8ea Do #define FOO 1 not #define FOO
git-svn-id: svn://10.0.0.236/trunk@3169 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:48:24 +00:00
spider
ee5893e1f7 Linux fix
git-svn-id: svn://10.0.0.236/trunk@3168 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:45:05 +00:00
spider
7aa0c2f2da Fix for building on Linux
git-svn-id: svn://10.0.0.236/trunk@3167 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:31:05 +00:00
kipp
30b50d2d6f Fixed another GetDesiredSize case that troy missed
git-svn-id: svn://10.0.0.236/trunk@3165 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:49:45 +00:00
spider
caa377c8b5 Add unix to build process by default now
git-svn-id: svn://10.0.0.236/trunk@3164 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:16:18 +00:00
spider
8e8a4e5f07 Remove all references to Xt and use only Xlib.
On Linux, add Library Path to Xlib in Makefile


git-svn-id: svn://10.0.0.236/trunk@3163 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:15:35 +00:00
spider
77b6dca274 Add NS_NATIVE_DISPLAY support
git-svn-id: svn://10.0.0.236/trunk@3162 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:14:25 +00:00
spider
ce5d822171 Add NS_NATIVE_DISPLAY so gfx on UNIX can retrieve a Display
pointer from the Widget


git-svn-id: svn://10.0.0.236/trunk@3161 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:13:36 +00:00
rpotts
f9515f9806 Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n)
git-svn-id: svn://10.0.0.236/trunk@3160 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:09:32 +00:00
kipp
7cd20442b9 Allow build to not use debug msvcrt
git-svn-id: svn://10.0.0.236/trunk@3159 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:03:50 +00:00
wtc
ced5bd5eca In debug build, define MOZ_NO_DEBUG_RTL to use the nondebug version
of the Microsoft VC run-time library.


git-svn-id: svn://10.0.0.236/trunk@3158 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 04:55:37 +00:00
michaelp
225ca0d6a6 made scrolling views more self sufficient.
git-svn-id: svn://10.0.0.236/trunk@3156 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 02:02:08 +00:00
pnunn
2d3b97de62 backing out changes for #1222111 and #112970.
These fixes caused bug#123040. Will reopen the above bugs.


git-svn-id: svn://10.0.0.236/trunk@3155 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 01:46:32 +00:00
hyatt
adbf640de7 Bug fixes to animated gifs in the tree view and in the dropdown menus.
git-svn-id: svn://10.0.0.236/trunk@3154 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 01:45:42 +00:00
jevering
3f6ceaf928 Dont process anything but html files from within the debug robot.
ProcessLink() ignores anything else using a gawd-awful nasty hack.


git-svn-id: svn://10.0.0.236/trunk@3153 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 01:19:25 +00:00
kmcclusk
4e917e24ee Added Stub file for missing externs when building the viewer
git-svn-id: svn://10.0.0.236/trunk@3151 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 00:50:34 +00:00
mccabe
84e1fd30b8 Added a few (JSOp) casts to appease Macintosh compiler workings.
Enums are types!


git-svn-id: svn://10.0.0.236/trunk@3150 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 00:22:55 +00:00
kmcclusk
01af3747ff Added nsFrameImageLoader to the unix make
git-svn-id: svn://10.0.0.236/trunk@3149 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:44:08 +00:00
vidur
e231c04da5 Auto-generation of JavaScript stubs
git-svn-id: svn://10.0.0.236/trunk@3148 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:39:45 +00:00
kmcclusk
4266592600 Added nsLinkHandler.cpp back into the build
git-svn-id: svn://10.0.0.236/trunk@3147 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:38:21 +00:00
vidur
75137db85b idl test file
git-svn-id: svn://10.0.0.236/trunk@3146 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:36:47 +00:00
vidur
4f73ab90e5 JavaScript global object interface
git-svn-id: svn://10.0.0.236/trunk@3144 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:33:05 +00:00
vidur
f52a9131c7 Auto-generation of JavaScript stubs
git-svn-id: svn://10.0.0.236/trunk@3143 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:32:26 +00:00
kmcclusk
97df3e7c17 Added unix nsTimer. Note nsTimer's methods need to be implemented.
git-svn-id: svn://10.0.0.236/trunk@3142 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:25:12 +00:00
kmcclusk
0b162eeaa4 Removed nsLinkHandler from the unix Makefile to fix IRIX build
git-svn-id: svn://10.0.0.236/trunk@3140 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:17:22 +00:00
hyatt
b7d899c986 Custom icons got broken when merging from the RDF_BRANCH to the tip. Fixing this and
a problem with animated Gifs in Aurora.


git-svn-id: svn://10.0.0.236/trunk@3139 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:12:49 +00:00
spider
9fef03acb6 Missed last nsIRegion checkin ... add substract back in...
git-svn-id: svn://10.0.0.236/trunk@3138 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:12:02 +00:00
spider
5e22a31518 Fix IRIX build bustage
git-svn-id: svn://10.0.0.236/trunk@3137 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:09:29 +00:00
sfraser
c523da7016 Changes to project and prefix files for Mac commercial build
git-svn-id: svn://10.0.0.236/trunk@3136 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:01:03 +00:00
sfraser
a8f32baee9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3135 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:00:41 +00:00
sfraser
9112321535 Need to export CPluginView.ObeyCommand for AWT
git-svn-id: svn://10.0.0.236/trunk@3133 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:59:52 +00:00
sfraser
c7a0b7ebcf Add target for debug extra stubs
git-svn-id: svn://10.0.0.236/trunk@3132 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:59:02 +00:00
sfraser
2b620625ad Need to #include <Folders.h> on the mac build
git-svn-id: svn://10.0.0.236/trunk@3130 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:57:51 +00:00
kmcclusk
aeba943fa5 Fix for IRIX build
git-svn-id: svn://10.0.0.236/trunk@3129 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:56:29 +00:00
sfraser
ae0ac2c1a3 Remove the ldap2rdf.c file so that this puppy builds with MOZ_LDAP on
git-svn-id: svn://10.0.0.236/trunk@3127 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:50:06 +00:00
michaelp
ee11b8ede1 added support for handling transparent views to viewmanager. added
transparency query to nsIFrame.


git-svn-id: svn://10.0.0.236/trunk@3126 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:49:45 +00:00
sfraser
40d7a64adc Fix to work with the commercial build.
git-svn-id: svn://10.0.0.236/trunk@3125 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:46:47 +00:00
sfraser
e67c33c66f Fix the typedef enum
git-svn-id: svn://10.0.0.236/trunk@3124 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:45:30 +00:00
sfraser
9ccbad287c Changes to project and prefix files for Mac commercial build
git-svn-id: svn://10.0.0.236/trunk@3122 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:38:12 +00:00
sfraser
cbeee24ad2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3121 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:38:01 +00:00
beard
64b4f9d327 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3120 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:32:10 +00:00
jgellman
310237fad9 don't forget the build rule
git-svn-id: svn://10.0.0.236/trunk@3119 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:31:39 +00:00
jgellman
2aed34e750 put jrt3240.dll in the right directory when OJI is not defined
git-svn-id: svn://10.0.0.236/trunk@3117 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:11:42 +00:00
kmcclusk
43eee44f50 Added nsraptorwebwidget.so as a library to link against
git-svn-id: svn://10.0.0.236/trunk@3116 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:04:07 +00:00
kmcclusk
48bf4919e1 Added nsLineLayout.cpp to linux makefile
git-svn-id: svn://10.0.0.236/trunk@3115 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:59:53 +00:00
slamm
0ffb44a1d0 Tie selections to the rdf backend and hookup the context menu
git-svn-id: svn://10.0.0.236/trunk@3114 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:50:55 +00:00
slamm
8bb3b005f2 Split the XFE_PopupMenu class into two classes. This way we can derive XFE_SimplePopupMenu that does not depend on the XFE command system.
git-svn-id: svn://10.0.0.236/trunk@3113 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:50:52 +00:00
slamm
48168be769 Add support for popup menus.
git-svn-id: svn://10.0.0.236/trunk@3112 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:50:48 +00:00
wtc
f7f84ca625 Backed out revision 3.7. First, XP_PC not only means Win NT and Win 95,
but also WIN16 and OS2.  I don't think WIN16 and OS2 have GetLastError().
Second, we always call DllErrorInternal() with the argument
_MD_ERRNO(), and _MD_ERRNO() is defined as GetLastError() on NT and
Win95.


git-svn-id: svn://10.0.0.236/trunk@3111 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:46:18 +00:00
slamm
9627f50c53 Fix visual problem on solaris. Thanks to Juergen Keil <jk@tools.de> for the patch.
git-svn-id: svn://10.0.0.236/trunk@3110 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:42:48 +00:00
hyatt
613f622674 Plugging a memory leak in FlushIconInfo.
git-svn-id: svn://10.0.0.236/trunk@3109 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:38:06 +00:00
michaelp
5365a33b57 added optimization so that as we render top->bottom, if the clip region ever
becomes empty, we stop rendering.


git-svn-id: svn://10.0.0.236/trunk@3108 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:30:51 +00:00
wtc
380fa328db Backed out revision 3.2. In C and C++, a pointer to any datatype
can be implicitly cast to void *.  So the explicit (void *) cast
in the argument for PR_Free() should not be necessary.


git-svn-id: svn://10.0.0.236/trunk@3105 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:23:24 +00:00
rods
e10588ace6 removed nsdefs.h include
git-svn-id: svn://10.0.0.236/trunk@3104 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:17:44 +00:00
rods
eae5124c31 removed nsObject from it
git-svn-id: svn://10.0.0.236/trunk@3103 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:16:10 +00:00
rods
3b6d52a3d8 uses sharded instead of static libs
git-svn-id: svn://10.0.0.236/trunk@3102 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:15:13 +00:00
kmcclusk
a82d7eadbf Now the Linux Makefile actually compiles nsWebWidget and nsLinkHandler. Before it did nothing.
git-svn-id: svn://10.0.0.236/trunk@3101 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:09:08 +00:00
kmcclusk
8f66119835 Moved XP_PC around nsLinkHandler constructor PL_initEvent and PL_PostEvent
git-svn-id: svn://10.0.0.236/trunk@3100 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 20:59:32 +00:00
kipp
f66e84a6e1 Fixed install bug on unix
git-svn-id: svn://10.0.0.236/trunk@3099 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 20:50:02 +00:00
rods
490f2c0dbc initial check in
git-svn-id: svn://10.0.0.236/trunk@3098 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 20:07:49 +00:00
rjc
8d2f4aa454 Add export for XP_ParseTimeString (from RDF_BRANCH)
git-svn-id: svn://10.0.0.236/trunk@3097 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 19:13:10 +00:00
spider
78612ca265 Change some colors and link with gfxunix
git-svn-id: svn://10.0.0.236/trunk@3095 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 19:02:29 +00:00
spider
05f37f4879 Remove old Subtrct method from nsRegion due to interface changes
Add support for 8 bit color on ro and rw devices
Add ConvertPixel() routine to convert from gfx to X


git-svn-id: svn://10.0.0.236/trunk@3094 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 19:01:41 +00:00
rjc
7497d654a5 Landing RDF_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@3093 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:57:19 +00:00
kipp
08994aa817 Install broke-image.gif
git-svn-id: svn://10.0.0.236/trunk@3091 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:56:45 +00:00
kipp
957f7882a1 Avoid scaling image when rendering the broken-image image
git-svn-id: svn://10.0.0.236/trunk@3089 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:56:11 +00:00
kipp
10477b257e Added logging events
git-svn-id: svn://10.0.0.236/trunk@3088 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:55:23 +00:00
rjc
ab4f8a26bb Fix warnings on Mac (from RDF_BRANCH)
git-svn-id: svn://10.0.0.236/trunk@3086 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:50:29 +00:00
law
32c00e262e Fix for defect #122687: Bypass VC++ v5 optimizer bug
git-svn-id: svn://10.0.0.236/trunk@3085 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:33:25 +00:00
kipp
1b464bb3a3 new
git-svn-id: svn://10.0.0.236/trunk@3084 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:31:14 +00:00
kipp
1e008b80d6 Fixed so that document still gets set even when notify is false
git-svn-id: svn://10.0.0.236/trunk@3083 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:31:07 +00:00
kipp
161881f7ea Adjust count of data to append by offset when offset is non-zero
git-svn-id: svn://10.0.0.236/trunk@3082 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:29:43 +00:00
rjc
da0ffa18ca Fix warnings.
git-svn-id: svn://10.0.0.236/trunk@3081 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:29:23 +00:00
rjc
a92c502365 Fix crash bug regarding buffer size. (Reported by Juergen Keil - jk@tools.de)
git-svn-id: svn://10.0.0.236/trunk@3080 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:29:00 +00:00
rjc
28b1c7fbea More RDF_BRANCH fun.
git-svn-id: svn://10.0.0.236/trunk@3079 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:17:09 +00:00
michaelp
3118124379 fixed bug bug in new region code where region was not Init()ed.
git-svn-id: svn://10.0.0.236/trunk@3078 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:13:12 +00:00
kipp
eb13fa059a Fixed up usage of insert/append/remove/replace api return values in dom methods
git-svn-id: svn://10.0.0.236/trunk@3077 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:09:17 +00:00
rjc
42ec16d39b Add new file (find2rdf.c) into Mac project from RDF_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@3076 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:03:44 +00:00
kipp
c57b1143c9 When root content frame doesn't have any children make sure the aDesiredSize out parameter is properly setup
git-svn-id: svn://10.0.0.236/trunk@3075 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:44:23 +00:00
kmcclusk
f66782a740 Linux:Makefile for viewer - Added more sharable libs for the LINUX build
git-svn-id: svn://10.0.0.236/trunk@3074 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:43:03 +00:00
rjc
101c731c0d Landing the RDF_Branch for the WinFE (Dave Hyatt really landing this).
git-svn-id: svn://10.0.0.236/trunk@3073 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:38:33 +00:00
rjc
7877916b0f Landing RDF_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@3072 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:35:31 +00:00
rjc
babb77abcf Merging RDF_BRANCH onto tip.
git-svn-id: svn://10.0.0.236/trunk@3071 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:32:56 +00:00
cyeh
ea6c9261ad update change log for preparation of new tarball code drop
git-svn-id: svn://10.0.0.236/trunk@3070 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:22:20 +00:00
waterson
d33d1e2854 Added compiler defines for AWT_11 to keep AWT 1.0.2 building when
MOZ_JAVA is set in commercial build.


git-svn-id: svn://10.0.0.236/trunk@3069 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:08:27 +00:00
kipp
deaf80d08d Updated to COMized doc observer API
git-svn-id: svn://10.0.0.236/trunk@3067 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:01:51 +00:00
kipp
ef269b8949 Updated to new api
git-svn-id: svn://10.0.0.236/trunk@3066 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:01:25 +00:00
kipp
0d2a492c8f Whacked to implement revised COMized insert/delete/remove/append child methods from nsIContent
git-svn-id: svn://10.0.0.236/trunk@3065 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:01:02 +00:00
kipp
facc2bd67b Use revised GetDocument API from content
git-svn-id: svn://10.0.0.236/trunk@3064 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:00:40 +00:00
kipp
d2b66aa21a Print out percentage values properly
git-svn-id: svn://10.0.0.236/trunk@3063 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:00:15 +00:00
kipp
9b8851361f Disable notifications during construction of select container
git-svn-id: svn://10.0.0.236/trunk@3062 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:59:56 +00:00
kipp
5abd6d1e3b Disable notifications during construction of file container
git-svn-id: svn://10.0.0.236/trunk@3061 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:59:44 +00:00
kipp
e6ac50ef0f Use new GetDocument API
git-svn-id: svn://10.0.0.236/trunk@3060 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:59:24 +00:00
kipp
2a34a0afa1 Fixed IID reference and added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@3059 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:59:09 +00:00
kipp
1ae8f2fbce Use revised Presentation shell API; control notifications directly; propogate end of document load to document so that observers can be notified
git-svn-id: svn://10.0.0.236/trunk@3058 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:58:52 +00:00
kipp
5ce48810fe Fixed logging messages to say Reflow not ResizeReflow
git-svn-id: svn://10.0.0.236/trunk@3057 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:57:39 +00:00
kipp
97e9354074 Print out view during listings
git-svn-id: svn://10.0.0.236/trunk@3056 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:57:24 +00:00
kipp
0c523b77e3 Wrap created frames in a view if necessary
git-svn-id: svn://10.0.0.236/trunk@3055 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:57:08 +00:00
kipp
3ead278eb6 Added GetLoadImageFailed method
git-svn-id: svn://10.0.0.236/trunk@3054 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:56:50 +00:00
kipp
3f96e00b1a Create view for the image always; update to use new API's; use nsHTMLFrame to create view
git-svn-id: svn://10.0.0.236/trunk@3053 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:56:40 +00:00
kipp
0dc9302aa8 Implement stubs for revised insert/delete/remove/append api's
git-svn-id: svn://10.0.0.236/trunk@3052 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:56:15 +00:00
kipp
b270330541 disable notifies during synthetic content insertion
git-svn-id: svn://10.0.0.236/trunk@3051 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:55:49 +00:00
kipp
17741db54e Implement revised COMized API
git-svn-id: svn://10.0.0.236/trunk@3050 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:54:57 +00:00
kipp
b63b1179d0 Print out view during listings; try to support broken image handling better
git-svn-id: svn://10.0.0.236/trunk@3049 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:52:01 +00:00
kipp
7935c3c6e9 Print out views during listings
git-svn-id: svn://10.0.0.236/trunk@3048 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:51:17 +00:00
kipp
fd73209bce Implement ListTag; print out view during listings
git-svn-id: svn://10.0.0.236/trunk@3047 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:50:58 +00:00
kipp
a5d21d7287 Added nsHTMLFrame to build
git-svn-id: svn://10.0.0.236/trunk@3046 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:49:09 +00:00
kipp
52710ca83c new
git-svn-id: svn://10.0.0.236/trunk@3045 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:49:00 +00:00
kipp
76d0d1ca7a declare and implement revised content api
git-svn-id: svn://10.0.0.236/trunk@3044 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:48:14 +00:00
kipp
7292ea6df8 Init fEntireContent
git-svn-id: svn://10.0.0.236/trunk@3043 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:47:48 +00:00
kipp
4db8f5a2b0 Declare factory here for now
git-svn-id: svn://10.0.0.236/trunk@3042 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:47:34 +00:00
kipp
284512c2d1 IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor
git-svn-id: svn://10.0.0.236/trunk@3041 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:47:22 +00:00
kipp
6d4fd8c715 Implement COMized document observer API; added logging of doc observer methods
git-svn-id: svn://10.0.0.236/trunk@3040 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:46:54 +00:00
kipp
13f033e4fe Tell document that content changed not shell's
git-svn-id: svn://10.0.0.236/trunk@3039 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:46:04 +00:00
kipp
5d9fa5cc8c Display view during listings
git-svn-id: svn://10.0.0.236/trunk@3038 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:45:48 +00:00
kipp
14bf58f141 Decleare BeginLoad/EndLoad
git-svn-id: svn://10.0.0.236/trunk@3037 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:45:36 +00:00
kipp
7fe1da5fe0 Pass on Begin/End Load to observers; removed selection factory method
git-svn-id: svn://10.0.0.236/trunk@3036 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:45:25 +00:00
kipp
42cf02aaad Print out view during listings
git-svn-id: svn://10.0.0.236/trunk@3035 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:41:53 +00:00
kipp
720a2a0f67 Presentation shell is no longer a subclass of nsIDocumentObserver (the implementation still is however, it's just not publicized)
git-svn-id: svn://10.0.0.236/trunk@3034 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:41:39 +00:00
kipp
693b5fa149 COMized API; added Begin/End reflow and Begin/End Load methods
git-svn-id: svn://10.0.0.236/trunk@3033 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:40:56 +00:00
kipp
9751be15df Added begin/end load methods
git-svn-id: svn://10.0.0.236/trunk@3032 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:39:45 +00:00
kipp
6401e9ace6 COMized some of the API; added a notify flag to the child insert/replace/append/remove methods
git-svn-id: svn://10.0.0.236/trunk@3031 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:39:32 +00:00
kipp
7c943247ed Poke stream listener after finishing the parse
git-svn-id: svn://10.0.0.236/trunk@3030 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:38:57 +00:00
warren
4688e91a24 Fix for mozilla build w/o MOZ_JAVA
git-svn-id: svn://10.0.0.236/trunk@3026 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 07:45:44 +00:00
mcafee
ccdba975a1 SunOS 4.1.4 doesn't have Xfuncproto.h
git-svn-id: svn://10.0.0.236/trunk@3023 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 07:18:49 +00:00
warren
decc407471 Merged changes from OJI_19980528_TEMP_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3022 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 06:55:24 +00:00
jgellman
011b0cb5c2 Merges from OJI_19980528_TEMP_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3021 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 06:19:45 +00:00
mccabe
b0eb2c7a3d Reinstated backed-out changes.
git-svn-id: svn://10.0.0.236/trunk@3020 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 06:08:21 +00:00
warren
9702009d99 Didn't get mergedcp foo.h nsscd.h!
git-svn-id: svn://10.0.0.236/trunk@3012 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 05:27:15 +00:00
warren
82a703ac90 Merge didn't get checked in for oji changes? - fixing
git-svn-id: svn://10.0.0.236/trunk@3011 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 05:12:24 +00:00
jgellman
62698e3e5f back out change. inadvertently checked in self-modifying build code
git-svn-id: svn://10.0.0.236/trunk@3010 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 04:43:17 +00:00
mccabe
7880652747 Hopefully removed the offending jsstddef.h for good.
git-svn-id: svn://10.0.0.236/trunk@3006 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 03:55:10 +00:00
michaelp
6dabba1783 added support of irregular damage regions to viewmanager.
git-svn-id: svn://10.0.0.236/trunk@2999 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 03:12:52 +00:00
sar
964270c59d backing out mccabes checkin
git-svn-id: svn://10.0.0.236/trunk@2997 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 02:30:46 +00:00
troy
5eeca9f78f Initialized nsBlockReflowState::mStyleSizeFlags to 0
git-svn-id: svn://10.0.0.236/trunk@2996 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 02:27:39 +00:00
jgellman
5e3f2a67cf fix for MSCV 4.21 compiler -- explicit cast
git-svn-id: svn://10.0.0.236/trunk@2994 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 02:19:42 +00:00
jgellman
11e2c71ddd added modules/oji MozillaSourceCommon
git-svn-id: svn://10.0.0.236/trunk@2992 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 01:22:16 +00:00
warren
0df611e3d9 Added modules/oji
git-svn-id: svn://10.0.0.236/trunk@2990 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:59:04 +00:00
jgellman
fc5e2900ca add export.mac file for header files
git-svn-id: svn://10.0.0.236/trunk@2989 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:58:33 +00:00
timm
efd8b6210d added oneStepMode flag
git-svn-id: svn://10.0.0.236/trunk@2988 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:51:34 +00:00
timm
fb0ac74596 117395 cannot find phone book entry
git-svn-id: svn://10.0.0.236/trunk@2987 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:50:58 +00:00
kmcclusk
3f2357b685 Modified Linux:viewer makefile - Added a few more libraries to link against
git-svn-id: svn://10.0.0.236/trunk@2985 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:47:22 +00:00
tague
9066c7420c fix header error
git-svn-id: svn://10.0.0.236/trunk@2983 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:44:52 +00:00
buster
c660db67ef a variety of fixes and optimizations
together with a fix troy just checked in, this makes a lot of real-world tables look a whole lot better


git-svn-id: svn://10.0.0.236/trunk@2982 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:43:53 +00:00
jgellman
cb4014892b merge from OJI branch
git-svn-id: svn://10.0.0.236/trunk@2980 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:37:20 +00:00
mccabe
1ccdb802f9 Removed reference to jsstddef.h - which got propagated over from
recent changes to js/ref.  We need to fix prconv.sed or check in
src/jsstddef.h!


git-svn-id: svn://10.0.0.236/trunk@2975 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:23:57 +00:00
blythe
ad8817f5b7 Fix a bug where we would attempt to execute c:\autoexec.bat, which is a bad thing
git-svn-id: svn://10.0.0.236/trunk@2974 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:23:00 +00:00
scc
8d6d952a29 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2973 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:12:50 +00:00
troy
7bf65a52da Changed Paint() to use GetCoordValue() instead of GetIntValue()
git-svn-id: svn://10.0.0.236/trunk@2972 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:11:15 +00:00
troy
28e235cd46 Changed GetReflowMetrics() to initial maxElementSize to (0,0)
git-svn-id: svn://10.0.0.236/trunk@2968 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 23:57:03 +00:00
scc
d1e463682a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2965 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 23:54:58 +00:00
mccabe
d032f71431 Cleanup of parseInt checkin, including comment changes. The code is
now a little more explit about when it expects js strings to be
null-terminated.


git-svn-id: svn://10.0.0.236/trunk@2964 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 23:21:08 +00:00
blythe
20deb9ce7a When using a blank page as the homepage, sometimes the wait cursor hangs around. This fixes that.
git-svn-id: svn://10.0.0.236/trunk@2963 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:42:43 +00:00
cyeh
3755bc56e1 remove duplicate entries
git-svn-id: svn://10.0.0.236/trunk@2962 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:18:37 +00:00
cyeh
879cf382f1 add the entire libfont directory to MozillaSourceMacOnly
git-svn-id: svn://10.0.0.236/trunk@2961 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:16:37 +00:00
michaelp
8415266052 added additional protection against NULL parent views.
git-svn-id: svn://10.0.0.236/trunk@2960 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:06:29 +00:00
michaelp
495b7681f4 prevented infinite paint/damage loop.
git-svn-id: svn://10.0.0.236/trunk@2959 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:05:45 +00:00
michaelp
06c9f10a6f now calls viewmanager to effect view changes.
git-svn-id: svn://10.0.0.236/trunk@2958 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:04:54 +00:00
waldemar
c309352e95 Fixed bug 122884
git-svn-id: svn://10.0.0.236/trunk@2957 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:04:31 +00:00
michaelp
bf64f5f09c added ability to select regions into rendering context.
git-svn-id: svn://10.0.0.236/trunk@2956 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:04:09 +00:00
waldemar
c72135749d Updated comment after new-expression bug fix
git-svn-id: svn://10.0.0.236/trunk@2955 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:03:04 +00:00
pinkerton
4d8c3a4949 Backing out appearance manager changes because Apple won't be able to deliver an SDK that fits our needs and works with pre 8.5 systems. Code is still in the tree if it ever wants to be pulled out again later (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2954 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:39:14 +00:00
blythe
d7608e4b39 Remove behavior of loading first item in previous window history, in order to correct a bug and allow better end user customization
git-svn-id: svn://10.0.0.236/trunk@2953 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:25:08 +00:00
blythe
5f74af3312 Due to recent changes to the splash screen, I now desire to see it on startup
git-svn-id: svn://10.0.0.236/trunk@2952 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:24:20 +00:00
kmcclusk
c4164898a7 In nsViewer::processArguments declared int i, outside of the block.
Placed XP_PC around PL_initialize and PL_event calls in nsViewer.cpp
In nsDocLoader::CancelAll Moved int i declaration out of the loop


git-svn-id: svn://10.0.0.236/trunk@2951 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:17:15 +00:00
pinkerton
72df74e2cc Backing out appearance manager changes and removal of CPPb's since they're out of date anyway.
git-svn-id: svn://10.0.0.236/trunk@2950 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:15:02 +00:00
troy
b706f86e4e Added null pointer check for mRootView in Composite()
git-svn-id: svn://10.0.0.236/trunk@2949 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:05:00 +00:00
kmcclusk
4cb77517c8 Added clobber and install directives to viewer Makefile
git-svn-id: svn://10.0.0.236/trunk@2948 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:02:22 +00:00
pinkerton
30ab6c79df Backing out appearance manager changes because Apple won't be able to deliver an SDK that fits our needs and works with pre 8.5 systems. Code is still in the tree if it ever wants to be pulled out again later (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2947 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:00:07 +00:00
pinkerton
92710b3f3a Prepare for column saving in HT (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2946 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 20:56:28 +00:00
pinkerton
4f1311a489 Make columns work correctly in nav center (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2945 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 20:56:06 +00:00
kmcclusk
849b47cbfb Modified viewer Makefile to compile all viewer source files.
git-svn-id: svn://10.0.0.236/trunk@2943 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 20:34:52 +00:00
rpotts
f8991743c8 Turned off the load_background flag when loading URLs... This allows netlib to produce more status information which gets pushed out of nsIStreamListener::OnProgress(...)
git-svn-id: svn://10.0.0.236/trunk@2941 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 20:17:17 +00:00
spider
59e4679ec9 Implement Native Text Width routines for char and unicode
git-svn-id: svn://10.0.0.236/trunk@2940 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:57:35 +00:00
scullin
def158f53b Added NSPR logging. Set NSPR_LOG_MODULES=NSRepository:4 to get
bunches o' logging.


git-svn-id: svn://10.0.0.236/trunk@2938 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:54:52 +00:00
rods
2433841941 uses sharded instead of static libs
git-svn-id: svn://10.0.0.236/trunk@2937 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:45:39 +00:00
rods
cbd487ede0 disabled the build of the test app
git-svn-id: svn://10.0.0.236/trunk@2936 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:44:16 +00:00
spider
c3b729e06d Minor Rendering fixes. FontMetric hardcoded to get by. Implemented
FillPolygon/DrawPolygon.


git-svn-id: svn://10.0.0.236/trunk@2935 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:35:41 +00:00
anthonyd
b58cb6e4d6 added euro character to known entities array - awd
git-svn-id: svn://10.0.0.236/trunk@2933 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 18:53:18 +00:00
scullin
849e7a56a6 Added tests sub-directory.
git-svn-id: svn://10.0.0.236/trunk@2932 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 18:39:17 +00:00
scullin
c2a8909ca2 Moved nettest into network/module/tests
git-svn-id: svn://10.0.0.236/trunk@2931 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 18:38:20 +00:00
blythe
c447239b67 martin.nilsson@bigfoot.com updated the images slightly
git-svn-id: svn://10.0.0.236/trunk@2928 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 17:53:52 +00:00
valeski
8bad9285c7 fixing shorted mem allocation call.
git-svn-id: svn://10.0.0.236/trunk@2927 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 17:24:15 +00:00
kmcclusk
3dd92e3efc Removed nsDocLoader.cpp dependency on <windows.h>
Changed MAXPATHLEN to a constant 1024 for viewer
Moved XP_PC to include both event in OnLinkClickEvent::OnLinkClickEvent


git-svn-id: svn://10.0.0.236/trunk@2924 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 16:44:17 +00:00
kipp
ff2bdc8dd4 removed
git-svn-id: svn://10.0.0.236/trunk@2923 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 16:33:52 +00:00
troy
ae8b22d156 Turned on incremental painting
git-svn-id: svn://10.0.0.236/trunk@2919 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:29:44 +00:00
troy
1674499c38 Added member function Invalidate()
git-svn-id: svn://10.0.0.236/trunk@2918 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:28:11 +00:00
troy
1d7d0dce90 Turned off CS_HREDRAW and CS_VREDRAW
git-svn-id: svn://10.0.0.236/trunk@2917 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:27:08 +00:00
troy
0c4dc6781c Made damage rect passed to UpdateView() be a const
git-svn-id: svn://10.0.0.236/trunk@2916 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:26:42 +00:00
wtc
eaab02615c Moved the definition of _AIX_AtomicSet() to the outside of the
#ifndef AIX4_1 block.  Thanks to C. Fung <carsonf@torolab.ibm.com>
for reporting this problem.


git-svn-id: svn://10.0.0.236/trunk@2910 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 03:25:22 +00:00
scullin
ad7350902b Fix nglayout build.
git-svn-id: svn://10.0.0.236/trunk@2909 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:54:02 +00:00
briano
43c446b4fa Support for SINIX-Z and QNX.
git-svn-id: svn://10.0.0.236/trunk@2908 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:50:14 +00:00
troy
1d99d8539e Changed SetBounds() to not request a repaint when resizing the window
git-svn-id: svn://10.0.0.236/trunk@2907 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:46:31 +00:00
briano
7e9c5668a6 Added a test for snprintf().
git-svn-id: svn://10.0.0.236/trunk@2906 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:44:34 +00:00
troy
d81dd07553 Changed WM_WINDOWPOSCHANGED handling to ignore z-order (and activation)
changes


git-svn-id: svn://10.0.0.236/trunk@2905 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:33:29 +00:00
spider
84e03c0f3a IRIX fixes
git-svn-id: svn://10.0.0.236/trunk@2904 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:30:39 +00:00
troy
07b5d7d386 Fixed a problem that was causing a crash
git-svn-id: svn://10.0.0.236/trunk@2903 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:11:26 +00:00
waldemar
24465967b0 Fixed bugs 76103 and 122787: parsing of new-expressions
git-svn-id: svn://10.0.0.236/trunk@2902 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:54:31 +00:00
spider
b7b9eb3a5f Add support for LD_LIBS for shared objects
git-svn-id: svn://10.0.0.236/trunk@2901 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:48:14 +00:00
scullin
a7238af662 Add libmimetype.a
git-svn-id: svn://10.0.0.236/trunk@2900 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:44:27 +00:00
kipp
83a80513ca Make bullets transparent to whitespace compression
git-svn-id: svn://10.0.0.236/trunk@2899 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:43:02 +00:00
scullin
36e92aab3d Fix netlib pull
git-svn-id: svn://10.0.0.236/trunk@2898 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:40:17 +00:00
scullin
0cee2799b7 Landing modular netlib on UNIX.
git-svn-id: svn://10.0.0.236/trunk@2897 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:34:57 +00:00
scullin
a124c2757e Moved from /webshell/tests
git-svn-id: svn://10.0.0.236/trunk@2894 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:27:17 +00:00
spider
8d3748a920 Unix support
git-svn-id: svn://10.0.0.236/trunk@2892 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:22:56 +00:00
spider
bfd7d03e24 Use DSO instead of archive libs. Using archives will cause problems
since XPCOM was not intended to be used that way.


git-svn-id: svn://10.0.0.236/trunk@2890 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:21:29 +00:00
spider
24f5983667 Change to using .so's in Makefile. Temporarily hardcode some
TextMetrics stuff


git-svn-id: svn://10.0.0.236/trunk@2889 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:16:48 +00:00
spider
2db297135e Change link of shared libs to take OS_LIBS after application libs.
Also, change default loader on IRIX from ld to CC, since DSO's with
C++ code need to use the C++ loader.  Using ld causes memory
trashing.


git-svn-id: svn://10.0.0.236/trunk@2888 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:15:45 +00:00
scullin
d34a12faf5 Landing modular netlib
git-svn-id: svn://10.0.0.236/trunk@2884 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:08:47 +00:00
warren
fb3891dfc9 Factored nsplugin.h into nsIPlug.h and nsILCPlg.h. nsplugin.h will get obsoleted.
git-svn-id: svn://10.0.0.236/trunk@2880 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:32:49 +00:00
scullin
0c084c2df2 Landing modular netlib on UNIX
git-svn-id: svn://10.0.0.236/trunk@2879 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:23:17 +00:00
toshok
e9b46ed3c1 Fix build on FreeBSD. don't hardcode '.so', some platforms don't use it.
git-svn-id: svn://10.0.0.236/trunk@2878 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:18:45 +00:00
sfraser
7568367029 Remove obsoleted files
git-svn-id: svn://10.0.0.236/trunk@2877 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:17:23 +00:00
mcafee
ffc68e0235 XP_FindNameContextInList() can return null if looking for a target of type _new, adding a check for this case (122092) r=toshok, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@2876 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:16:29 +00:00
rpotts
1de9286637 fixed typo in progress notification...
git-svn-id: svn://10.0.0.236/trunk@2875 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:03:49 +00:00
ramiro
1bde9e9008 Add resources for toolbar toggle behavior.
git-svn-id: svn://10.0.0.236/trunk@2874 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:44:42 +00:00
kipp
bc9886e177 Set first child during reflow unmapped; leave white space compression flag alone for zero sized frames
git-svn-id: svn://10.0.0.236/trunk@2873 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:39:40 +00:00
kipp
60001a81c2 Map DIR attribute into style
git-svn-id: svn://10.0.0.236/trunk@2872 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:38:55 +00:00
kipp
226afcde60 Fixed block frame Clear method to work properly
git-svn-id: svn://10.0.0.236/trunk@2871 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:38:40 +00:00
kipp
8551f6afad Added SetFirstChild; made line layout a friend of block frame
git-svn-id: svn://10.0.0.236/trunk@2870 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:37:55 +00:00
pinkerton
776ef73489 remove cvactive.h to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@2866 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:33:36 +00:00
troy
c43afb8da0 Changed nsLeafFrane's GetdesiredSize() to not pass in the max size
since it's now part of nsReflowState


git-svn-id: svn://10.0.0.236/trunk@2865 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:31:30 +00:00
scullin
f2738cccfa Long live NSPR.
git-svn-id: svn://10.0.0.236/trunk@2864 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:18:57 +00:00
spider
23935446f9 The beginnings of some font stuff
git-svn-id: svn://10.0.0.236/trunk@2862 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:41:01 +00:00
gagan
435a1bad4e Added check to increase the number of cache elements only if its a new entry. Thanks
TenThumbs <tenthumbs@cybernex.net>


git-svn-id: svn://10.0.0.236/trunk@2861 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:35:23 +00:00
pinkerton
32ef3fc858 Added SetMaxValue() method.
git-svn-id: svn://10.0.0.236/trunk@2860 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:29:57 +00:00
kmcclusk
e0a786cd7b Added Makefile for LINUX viewer build
git-svn-id: svn://10.0.0.236/trunk@2859 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:28:38 +00:00
raman
36e3ae7e52 Added the clone method. Approved by warren
git-svn-id: svn://10.0.0.236/trunk@2858 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:11:06 +00:00
raman
1bb74be857 Stub functions for Signed JS and Applets end user UI
git-svn-id: svn://10.0.0.236/trunk@2857 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:11:01 +00:00
raman
461bff960f Code to display the Signed JS and Applets UI on Mozilla thread by posting an event. Coded by morse. Approved by norris.
git-svn-id: svn://10.0.0.236/trunk@2856 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:10:54 +00:00
raman
78b2dece6d Added handling of buttons for Signed JS and Applets UI. Coded by morse. Approved by nisheeth
git-svn-id: svn://10.0.0.236/trunk@2855 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:10:21 +00:00
raman
8b089c3edf Updated the Signed JS and Applets UI strings. Coded by morse. Reviewed by raman.
git-svn-id: svn://10.0.0.236/trunk@2854 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:10:17 +00:00
raman
3051da8664 Added linking of libcaps library as part of MOZ_JAVA build.
git-svn-id: svn://10.0.0.236/trunk@2853 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:10:13 +00:00
michaelp
a0d49e1458 webwidget now specifies a framerate of 25 fps rather than relying on a good
default value in the viewmanager. added synchronous updates if we timeout
before timer fires.


git-svn-id: svn://10.0.0.236/trunk@2852 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:02:02 +00:00
donm
b60fce5759 removing reference to FE_Trace not used anymore.
git-svn-id: svn://10.0.0.236/trunk@2851 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 21:40:42 +00:00
rods
9cfbcebe9a oops backed out changes from Linux
git-svn-id: svn://10.0.0.236/trunk@2850 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 21:29:23 +00:00
buster
7dd2b9314d made tables quiet again
git-svn-id: svn://10.0.0.236/trunk@2849 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 21:07:56 +00:00
rods
f37f445be2 initial
git-svn-id: svn://10.0.0.236/trunk@2848 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:56:12 +00:00
kipp
4e9e60ae79 null terminate empty auto string properly
git-svn-id: svn://10.0.0.236/trunk@2847 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:55:46 +00:00
kipp
b26e400397 Removed some debug printfs
git-svn-id: svn://10.0.0.236/trunk@2846 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:55:28 +00:00
kipp
5ff66ccb56 Support nsILinkHandler::OnOverLink
git-svn-id: svn://10.0.0.236/trunk@2845 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:55:10 +00:00
kipp
ee728a1bbd Made the DocObsever a link handler
git-svn-id: svn://10.0.0.236/trunk@2844 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:54:07 +00:00
kipp
8454ef1a05 Removed post data from OnOverLink method
git-svn-id: svn://10.0.0.236/trunk@2843 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:53:34 +00:00
kipp
369a35ae14 Quiet please
git-svn-id: svn://10.0.0.236/trunk@2842 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:53:01 +00:00
troy
1a852af754 Added additional parameter to nsIWidget Resize() member functions
git-svn-id: svn://10.0.0.236/trunk@2841 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:26:50 +00:00
buster
e2175a52f2 much better fixed and percentage width layout
git-svn-id: svn://10.0.0.236/trunk@2839 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:21:05 +00:00
spider
fc776998fb Change order of libs for link
git-svn-id: svn://10.0.0.236/trunk@2838 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:20:23 +00:00
kipp
ecf1901eb3 Added OnOverLink hook for tracking mouse-over's over links
git-svn-id: svn://10.0.0.236/trunk@2836 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:59:13 +00:00
kipp
db59603e61 Revised LoadURL to take an nsIStreamListener
git-svn-id: svn://10.0.0.236/trunk@2835 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:58:55 +00:00
kipp
0f722d9990 Stub out OnOverLink method
git-svn-id: svn://10.0.0.236/trunk@2834 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:57:10 +00:00
troy
3613e8b151 Work in progress for floaters to handle percentage based
width/height


git-svn-id: svn://10.0.0.236/trunk@2833 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:56:58 +00:00
kipp
433400adb1 Revised LoadURL API to take an nsIStreamListener and pass it to the document while loading
git-svn-id: svn://10.0.0.236/trunk@2832 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:56:53 +00:00
kipp
90f696b51b Revised DocLoader to be an nsIStreamListener and then use it to LoadURL's so that it obsevers the nsIStreamListener notifications
git-svn-id: svn://10.0.0.236/trunk@2831 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:55:55 +00:00
kipp
86bcb9fa92 Pass in null for stream listener to LoadURL
git-svn-id: svn://10.0.0.236/trunk@2830 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:55:19 +00:00
kipp
4e88c06a1e updated
git-svn-id: svn://10.0.0.236/trunk@2829 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:53:38 +00:00
kipp
78b05a04e5 Updated LoadURL API to take an nsIStreamListener
git-svn-id: svn://10.0.0.236/trunk@2828 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:53:27 +00:00
kipp
962f3e4dfd Updated LoadURL API to take an nsIStreamListener; pass on listener to parser
git-svn-id: svn://10.0.0.236/trunk@2827 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:53:19 +00:00
troy
441d523dd3 Added some support for percentage based width/height. Currently only works
for the initial reflow


git-svn-id: svn://10.0.0.236/trunk@2826 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:52:53 +00:00
kipp
4c50963f60 Revised LoadURL to take an nsIStreamListener; removed old document load hooks
git-svn-id: svn://10.0.0.236/trunk@2825 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:52:39 +00:00
kipp
61a25c7c1d Changed Parse to take an nsIStreamListener to pass notifications too; changed parser to pass them on
git-svn-id: svn://10.0.0.236/trunk@2823 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:51:52 +00:00
kipp
c11f861455 Use new loadurl api
git-svn-id: svn://10.0.0.236/trunk@2822 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:51:19 +00:00
scullin
b541a1647b Moved to network/cnvts
git-svn-id: svn://10.0.0.236/trunk@2821 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:43:07 +00:00
kipp
6b3bf9b342 Fixed interface decl to be consistent with everything else
git-svn-id: svn://10.0.0.236/trunk@2820 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:37:21 +00:00
scullin
948a664e1c Added mimetype library, removed old netlib code.
git-svn-id: svn://10.0.0.236/trunk@2819 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:33:51 +00:00
scullin
3d2f4b9b3a Start building mime type routines as separate library.
git-svn-id: svn://10.0.0.236/trunk@2818 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:29:28 +00:00
scullin
1d45e2f5c4 Moved from main
git-svn-id: svn://10.0.0.236/trunk@2817 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:19:25 +00:00
spider
50845aa3d3 Linux build fix
git-svn-id: svn://10.0.0.236/trunk@2816 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:55:47 +00:00
spider
49496c13e1 IRIX build fix
git-svn-id: svn://10.0.0.236/trunk@2815 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:51:50 +00:00
cmanske
b456437586 Removed hard-coded strings for image conversion
git-svn-id: svn://10.0.0.236/trunk@2814 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:34:24 +00:00
kmcclusk
f0ed4e7b76 Reorganized the viewer app to separate the platform specific code from the
cross-platform code. Converted as much of the WIN32 specific code to cross-platform
code as possible.


git-svn-id: svn://10.0.0.236/trunk@2813 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:14:40 +00:00
kmcclusk
76c18f5955 GetBounds returns the client area not the window area
Resize new returns the client area not the window area
Removed the commented out RelayEvent method in nsWindow.cpp
Add a nsDispatchListener for nsIAppShell.


git-svn-id: svn://10.0.0.236/trunk@2812 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:04:16 +00:00
karnaze
480e732ab3 simplified test8tab.html
git-svn-id: svn://10.0.0.236/trunk@2811 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:52:56 +00:00
fur
3f80334382 JavaScript project file for MSVC5
git-svn-id: svn://10.0.0.236/trunk@2810 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:39:11 +00:00
blythe
1d528ed486 New splash screens. Conversion by martin.nilsson@bigfoot.com
git-svn-id: svn://10.0.0.236/trunk@2809 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:35:52 +00:00
fur
73bfeaea67 Temporary check-in of project files to build LiveConnect-enabled shell
git-svn-id: svn://10.0.0.236/trunk@2808 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:26:13 +00:00
cmanske
7dc862fe1b Added outdent list level when Enter key is pressed and current item is empty
git-svn-id: svn://10.0.0.236/trunk@2807 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:21:19 +00:00
ramiro
d1a6dc43c4 Cleanup menu pane creation code. Use ONE function instead of cut-and-pasting
the code all over.


git-svn-id: svn://10.0.0.236/trunk@2806 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 11:43:43 +00:00
ramiro
21035923e3 Add XfeMenuCreatePulldownPane() and XfeMenuCreateCascadeItem().
git-svn-id: svn://10.0.0.236/trunk@2805 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 11:42:30 +00:00
ramiro
005eb7c7eb Fix for major xfe horkage caused by last checkin. Change the 'TRUE' to
'true'.  The unix prefs probably munged the 'TRUE' to something funny in
code, which later caused all sorts of unpredictable errors in xp_file and
reading preferences in general.  Lots of fun.


git-svn-id: svn://10.0.0.236/trunk@2804 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 09:04:58 +00:00
ramiro
a55e4d428a Cleanup the XfeBm library. Remove circular dependancy on XfeBm from
XfeWidgets.


git-svn-id: svn://10.0.0.236/trunk@2803 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 07:49:21 +00:00
spence
b6cf7f3640 fixed some shack layout problems
git-svn-id: svn://10.0.0.236/trunk@2802 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 07:28:55 +00:00
spider
6fa5ada475 Add Flags to support exported symbols in ELF binaries. Also add Xp and Xext link
git-svn-id: svn://10.0.0.236/trunk@2799 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 04:05:49 +00:00
spider
2e5098d961 Change LD_OPTS to dupport DSO on Linux
git-svn-id: svn://10.0.0.236/trunk@2798 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 04:04:53 +00:00
spider
df8c8ad5da Add raptorgfx to link list
git-svn-id: svn://10.0.0.236/trunk@2797 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 03:41:42 +00:00
spider
39d2734866 Update for new interfaces (stubs)
git-svn-id: svn://10.0.0.236/trunk@2794 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 03:23:40 +00:00
spider
a354fad2b4 Add nsRegionUnix.cpp to .so. dlopen() on Linux 2.0 would fail since it can't
resolve this class.


git-svn-id: svn://10.0.0.236/trunk@2793 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 03:19:41 +00:00
fur
76813139a0 Merge several bug fixes from client 4.1 branch
git-svn-id: svn://10.0.0.236/trunk@2791 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 00:31:59 +00:00
cboatwri
879f687471 added build instructions to module
git-svn-id: svn://10.0.0.236/trunk@2787 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 00:20:45 +00:00
jgellman
808d3dea0e one blank line
git-svn-id: svn://10.0.0.236/trunk@2782 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 19:50:00 +00:00
jgellman
3ebd27d487 adding placeholder files for file's that'll be added on the branch before moving them to the tip
git-svn-id: svn://10.0.0.236/trunk@2781 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 19:32:40 +00:00
jgellman
c7de739535 merge from OJI_19980430_BRANCH
git-svn-id: svn://10.0.0.236/trunk@2780 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 19:21:42 +00:00
cboatwri
8266ee5c60 Removed trailing space from line 314
git-svn-id: svn://10.0.0.236/trunk@2774 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 07:35:57 +00:00
troy
9725cced48 Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly


git-svn-id: svn://10.0.0.236/trunk@2773 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 04:45:21 +00:00
troy
a53a8a9faf Fixed an assert
git-svn-id: svn://10.0.0.236/trunk@2772 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 23:56:28 +00:00
cmanske
36db5c6c2b Composer bug fixes and features (table editing, font size, color picker, etc)
git-svn-id: svn://10.0.0.236/trunk@2770 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 23:05:39 +00:00
cmanske
04be3a6cb5 Composer bug fixes and continued table and color picker features
git-svn-id: svn://10.0.0.236/trunk@2766 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 23:04:10 +00:00
cmanske
d2329bf15c Composer bug fixes and continued table and color picker features
git-svn-id: svn://10.0.0.236/trunk@2765 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 23:04:03 +00:00
cmanske
750c9123aa Composer bug fixes and more feature work
git-svn-id: svn://10.0.0.236/trunk@2764 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 22:51:37 +00:00
morse
3bf3240a70 lock the signon list when it is in use
git-svn-id: svn://10.0.0.236/trunk@2763 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 22:37:35 +00:00
cmanske
8979acbd8f New Composer preferences added for background color and fill new cell with space mode
git-svn-id: svn://10.0.0.236/trunk@2762 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 22:26:41 +00:00
morse
6171514e62 bug 122126
git-svn-id: svn://10.0.0.236/trunk@2761 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 22:16:41 +00:00
kipp
359bf0f99c Revised API so that correct percentage width/height could be computed
git-svn-id: svn://10.0.0.236/trunk@2760 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:22:17 +00:00
kipp
69de10fd12 Updated a few table API's so that percentage width could be properly computed
git-svn-id: svn://10.0.0.236/trunk@2759 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:21:51 +00:00
kipp
630af1711c Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated)
git-svn-id: svn://10.0.0.236/trunk@2758 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:21:11 +00:00
kipp
0b5419d5e6 fixed value to string for percentages to include the '%'
git-svn-id: svn://10.0.0.236/trunk@2757 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:20:07 +00:00
kipp
a6d9e41ff0 Removed dead code
git-svn-id: svn://10.0.0.236/trunk@2756 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:19:36 +00:00
kipp
e158e3f059 Updated to new GetDesiredSize API; reworkd width handling
git-svn-id: svn://10.0.0.236/trunk@2755 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:19:11 +00:00
kipp
be4ed98aae Use new cssLayout api
git-svn-id: svn://10.0.0.236/trunk@2753 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:18:32 +00:00
kipp
6afff43de1 Use new mPendingBreak state
git-svn-id: svn://10.0.0.236/trunk@2748 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:46:11 +00:00
kipp
5f78a9d123 Support BR tags in inline frames
git-svn-id: svn://10.0.0.236/trunk@2747 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:45:46 +00:00
kipp
312f0bab39 Partial support for BR clear behavior
git-svn-id: svn://10.0.0.236/trunk@2746 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:45:15 +00:00
kipp
5e7dbfe635 Cleaned up; use new slot in nsLineLayout state to support clear semantics
git-svn-id: svn://10.0.0.236/trunk@2745 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:44:50 +00:00
cyeh
1180d9e2ba added mozilla/cmd/winfe/mkfiles32 to DirectorySDKSourceBuild.
git-svn-id: svn://10.0.0.236/trunk@2744 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:02:43 +00:00
ftang
31e69b66ea add new font info
git-svn-id: svn://10.0.0.236/trunk@2743 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 08:37:40 +00:00
ftang
81ab34143d add HTML 4.0 entity
git-svn-id: svn://10.0.0.236/trunk@2742 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 08:15:07 +00:00
ftang
82eb72f5fa add new name and alias
git-svn-id: svn://10.0.0.236/trunk@2741 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 08:02:50 +00:00
ftang
5a65252863 add several csid as the base for future open source implementation
git-svn-id: svn://10.0.0.236/trunk@2740 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 08:01:55 +00:00
briano
eebcbe882b Added the first of S.J. Moller's (sjm@nwc.dk) proposed changes for Solaris 2.6.
git-svn-id: svn://10.0.0.236/trunk@2734 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 04:28:03 +00:00
scc
b988eb163e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2730 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:18:48 +00:00
rickg
f7bb7a3928 added support for NOBR and fixed MAP and AREA behavior
git-svn-id: svn://10.0.0.236/trunk@2729 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:14:55 +00:00
scc
4b835c8f8b BuildMozilla() no longer changes to the correct directory, so I have to.
git-svn-id: svn://10.0.0.236/trunk@2727 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:13:20 +00:00
scc
9c41007355 Added InstallFromManifest(), the critical routine to doing the dist file copying.
git-svn-id: svn://10.0.0.236/trunk@2726 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:13:10 +00:00
scc
a36e933292 Added DistMozilla() function. Now build the MakeDist project condisitonall based on $main::use_DistMozilla. No longer chdir to the right place. You have to do it yourself before calling BuildMozilla() or DistMozilla().
git-svn-id: svn://10.0.0.236/trunk@2725 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:12:25 +00:00
spider
c64aa4a750 Remove lib prefix on windows
git-svn-id: svn://10.0.0.236/trunk@2711 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 02:12:28 +00:00
kipp
47927e90c0 NS_IMETHOD'd some of the API's
git-svn-id: svn://10.0.0.236/trunk@2710 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:36:47 +00:00
kipp
08bde0f034 NS_IMETHOD'd some of the API's; rewrote insert/delete/append/replace dom methods so they actually work
git-svn-id: svn://10.0.0.236/trunk@2709 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:36:00 +00:00
kipp
ddc066eda5 Add attributes to result in ToHTML
git-svn-id: svn://10.0.0.236/trunk@2708 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:34:56 +00:00
kipp
56f4b2db53 Added QuoteForHTML method
git-svn-id: svn://10.0.0.236/trunk@2707 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:34:03 +00:00
kipp
bb23579666 process DIR attribute and lang attribute
git-svn-id: svn://10.0.0.236/trunk@2706 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:32:50 +00:00
kipp
590c1b085b updated
git-svn-id: svn://10.0.0.236/trunk@2705 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:32:10 +00:00
kipp
fb55a13041 enter/exit reflow lock automatically in content changed (temporary maybe)
git-svn-id: svn://10.0.0.236/trunk@2704 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:31:04 +00:00
kipp
1dbd4255ee new
git-svn-id: svn://10.0.0.236/trunk@2692 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 00:44:38 +00:00
pinkerton
09ceda3afd Added support for chrome close callback.
git-svn-id: svn://10.0.0.236/trunk@2681 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 00:23:43 +00:00
pinkerton
49abc8c7f2 make chromeless dialog use new progress bar.
git-svn-id: svn://10.0.0.236/trunk@2680 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 00:23:27 +00:00
morse
a388b7cff4 Removing a string at Rick Elliott's request
git-svn-id: svn://10.0.0.236/trunk@2670 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:36:10 +00:00
morse
7f65c296b6 fix buid bustage
git-svn-id: svn://10.0.0.236/trunk@2669 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:32:51 +00:00
scullin
6999d6872a Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@2668 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:28:49 +00:00
rpotts
6322e54de4 Moved defines for cookie management from WIN32 into config.mak along with all of the other defines...
git-svn-id: svn://10.0.0.236/trunk@2667 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:26:58 +00:00
troy
a17b565c12 Placeholder now wraps container content in a body pseudo frame
git-svn-id: svn://10.0.0.236/trunk@2666 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:12:26 +00:00
cboatwri
7de1b959cd Added additional tcp-ip stuff for mac project
git-svn-id: svn://10.0.0.236/trunk@2662 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:08:33 +00:00
troy
17e3730981 Changed ReflowChild() to handle the 'OccupiedMultiple' case
git-svn-id: svn://10.0.0.236/trunk@2660 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:06:08 +00:00
troy
7f2889ff7b Changed ComputeAvailSpaceRect() to handle the 'OccupiedMultiple' case
git-svn-id: svn://10.0.0.236/trunk@2659 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:05:12 +00:00
scullin
ec7be8a3b3 Change XP_IS_ macros to NET_IS_ macros.
git-svn-id: svn://10.0.0.236/trunk@2658 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:04:49 +00:00
scullin
090874feb6 Work on landing UNIX modular netlib
git-svn-id: svn://10.0.0.236/trunk@2657 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:54:31 +00:00
scc
d8d8f14abf Greatly expanded documentation. Second argument of MakeAlias isn't optional. CloseErrorLog() now does the right thing if we were still stopping for errors.
git-svn-id: svn://10.0.0.236/trunk@2656 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:53:12 +00:00
rpotts
c782f2cd0c Fix to get raptor building again... These changes should/will be moved to config.mak
git-svn-id: svn://10.0.0.236/trunk@2655 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:45:52 +00:00
karnaze
b7849c378e event improvements
git-svn-id: svn://10.0.0.236/trunk@2654 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:44:13 +00:00
cboatwri
a309bce80e Added build instructions
git-svn-id: svn://10.0.0.236/trunk@2653 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:40:40 +00:00
scullin
ff8dc5a86f Added environment variable warnings.
git-svn-id: svn://10.0.0.236/trunk@2652 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:37:52 +00:00
michaelp
5967a4b32f fixed over-releasing of views in DeleteFrame().
git-svn-id: svn://10.0.0.236/trunk@2651 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:36:21 +00:00
cboatwri
8c6a4d8d0f Added makefile for unix
git-svn-id: svn://10.0.0.236/trunk@2650 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:33:50 +00:00
cyeh
ff0b698015 adding LDAP SDK to modules file
git-svn-id: svn://10.0.0.236/trunk@2649 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:30:22 +00:00
buster
a4a065bae0 some proportional column balancing now works
the <TABLE> COLS attribute is supported via proportional column balancing.


git-svn-id: svn://10.0.0.236/trunk@2648 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:08:19 +00:00
scullin
0b1ff18c35 Changed XP_TO_ macros to NET_TO_ macros. Lame, but it doesn't
really warrent a grander solution.


git-svn-id: svn://10.0.0.236/trunk@2647 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:06:10 +00:00
pnunn
519a06e169 fix for #112970. timer problem with animated gif with frame larger than header screen size.
This fix should allow a graceful handling of error. pnunn


git-svn-id: svn://10.0.0.236/trunk@2646 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 21:44:08 +00:00
ramiro
da7952d3f3 ToolTip abstraction step one: Move XmLGrid hacks to the XmL library.
git-svn-id: svn://10.0.0.236/trunk@2645 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 21:03:26 +00:00
troy
003a885b86 Changed nsReflowState structs to be linked together
git-svn-id: svn://10.0.0.236/trunk@2643 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 20:36:05 +00:00
pinkerton
9ab9f40a6c Back/forward button popups actually do the right thing now.
git-svn-id: svn://10.0.0.236/trunk@2642 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 20:23:14 +00:00
pnunn
f787b8da08 fix for bug#122211. Corrupted animated gif caused crash.
git-svn-id: svn://10.0.0.236/trunk@2640 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 19:29:36 +00:00
morse
5a4fd3404f turn single signon and cookie management back on
git-svn-id: svn://10.0.0.236/trunk@2638 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 19:18:01 +00:00
morse
dd2d9fd68e add htmldlgs.h to list of include files
git-svn-id: svn://10.0.0.236/trunk@2637 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 19:15:45 +00:00
morse
b4b33b01a3 remove absolute path on include file
git-svn-id: svn://10.0.0.236/trunk@2635 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 19:15:05 +00:00
mcafee
c976b5efb8 Fix nested /* warning on Solaris.
git-svn-id: svn://10.0.0.236/trunk@2631 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 18:45:31 +00:00
slamm
830719efa4 Hook up cell editing.
git-svn-id: svn://10.0.0.236/trunk@2630 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 18:27:21 +00:00
slamm
ebefb3e328 Make editing work with cell of type XmICON_CELL and Tree cells. Make edit start when user clicks twice on a cell. Rename a few functions.
git-svn-id: svn://10.0.0.236/trunk@2629 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 18:26:49 +00:00
kipp
7d5d32c9d9 Consolidated list handling state variables
git-svn-id: svn://10.0.0.236/trunk@2628 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 18:25:14 +00:00
morse
453d1560ac temporarily fix tree bustage by turning off cookie management and single signon
git-svn-id: svn://10.0.0.236/trunk@2627 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 17:01:31 +00:00
pinkerton
95835afeef Gets rid of assert because status bar is now in line with browser. Removed extra border chrome around html area.
git-svn-id: svn://10.0.0.236/trunk@2626 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 16:42:20 +00:00
pinkerton
dd4a9ae4dc More appearance changes so that it draws correctly in other themes.
git-svn-id: svn://10.0.0.236/trunk@2625 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 16:41:16 +00:00
morse
815738ea01 bug 122126, reviewed by blythe
git-svn-id: svn://10.0.0.236/trunk@2622 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 15:01:48 +00:00
morse
438b0cd964 bug 122126, reviewed by briano
git-svn-id: svn://10.0.0.236/trunk@2621 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 15:00:25 +00:00
morse
e5e56d4665 bug 122126
git-svn-id: svn://10.0.0.236/trunk@2620 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 14:55:28 +00:00
morse
495a8d9833 bug 122126, reviewed by relliott
git-svn-id: svn://10.0.0.236/trunk@2619 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 14:52:57 +00:00
mcafee
95fdec563b DisplayBuiltin() and FreeBuiltinElement() undefined for Solaris, adding stubs.
git-svn-id: svn://10.0.0.236/trunk@2615 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 05:20:06 +00:00
kipp
0299dcf2cc Disabled assertions for now (sigh); removed DoResizeReflow and collapsed it into Reflow
git-svn-id: svn://10.0.0.236/trunk@2613 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:34:19 +00:00
kipp
7645d0b01d Disabled assertions for now (sigh)
git-svn-id: svn://10.0.0.236/trunk@2612 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:34:02 +00:00
kipp
b61c3eed08 Removed some unused list layout cruft
git-svn-id: svn://10.0.0.236/trunk@2611 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:33:50 +00:00
kipp
2107e79f42 nuked
git-svn-id: svn://10.0.0.236/trunk@2610 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:18:17 +00:00
kipp
7751154a8b pass url into image loader
git-svn-id: svn://10.0.0.236/trunk@2609 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:16:46 +00:00
kipp
51e7d9f5fe Use outside bullets again
git-svn-id: svn://10.0.0.236/trunk@2608 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:16:29 +00:00
kipp
256fceb2eb Get initial reflow state set right during child reflow; support list bullets directly
git-svn-id: svn://10.0.0.236/trunk@2607 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:15:46 +00:00
kipp
b9e5bd7ba9 Pass on initial reflow to ProcessInitialReflow
git-svn-id: svn://10.0.0.236/trunk@2606 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:15:00 +00:00
kipp
ab9930aa04 Added bullet creator
git-svn-id: svn://10.0.0.236/trunk@2605 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:14:41 +00:00
kipp
047d393c62 Revised image loader API slightly
git-svn-id: svn://10.0.0.236/trunk@2604 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:14:30 +00:00
kipp
c414a816ef Revised image loader API slightly and used it to setup url spec via src attr
git-svn-id: svn://10.0.0.236/trunk@2603 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:14:17 +00:00
kipp
c590ea97c8 stub out IsSynthetic API
git-svn-id: svn://10.0.0.236/trunk@2602 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:13:50 +00:00
kipp
63e30f0836 Added initial reflow hook; setup list bullets using it
git-svn-id: svn://10.0.0.236/trunk@2601 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:13:25 +00:00
kipp
5c844c6ff3 Added initial reflow hook
git-svn-id: svn://10.0.0.236/trunk@2600 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:13:13 +00:00
kipp
4161660a5b Treat list-item like block when creating frames
git-svn-id: svn://10.0.0.236/trunk@2599 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:12:59 +00:00
kipp
e7abe8a2fb Assert that reflow reason is correct
git-svn-id: svn://10.0.0.236/trunk@2598 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:11:50 +00:00
kipp
559a3545f9 Added list state for line layout
git-svn-id: svn://10.0.0.236/trunk@2597 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:11:38 +00:00
kipp
8b462655bd Set list state in block reflow state for line layout; assert that reflow reason is correct; pass initial reflow into ProcessInitialReflow hook
git-svn-id: svn://10.0.0.236/trunk@2596 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:11:27 +00:00
kipp
d091d8c074 Removed nsListItemFrame and added nsHTMLBullet
git-svn-id: svn://10.0.0.236/trunk@2595 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:10:51 +00:00
kipp
06ff982939 IMplement new content method
git-svn-id: svn://10.0.0.236/trunk@2594 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:10:27 +00:00
kipp
b8275ba4ad Clear both frame-in-reflow and frame-first-reflow bits on finished didreflow
git-svn-id: svn://10.0.0.236/trunk@2593 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:10:12 +00:00
kipp
fa1ff937d8 Added a new content method to see if a piece of content is synthetic or not
git-svn-id: svn://10.0.0.236/trunk@2592 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:09:38 +00:00
kipp
8d6ad2250a Added another state bit
git-svn-id: svn://10.0.0.236/trunk@2591 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:09:18 +00:00
kipp
0badd6029b new
git-svn-id: svn://10.0.0.236/trunk@2590 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:01:43 +00:00
toshok
decebf4ea9 Use LO_GetDocumentMargins, not fe_GetMargin, since the latter always returns 8/8 instead of what the document specifies. For example, resizing www.mozilla.org puts an 8x8 margin on the document, when the HTML specifies 0x0
git-svn-id: svn://10.0.0.236/trunk@2588 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 23:49:37 +00:00
akkana
03e38ae032 Fix XtWarnings at startup
git-svn-id: svn://10.0.0.236/trunk@2586 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 23:09:27 +00:00
timm
e01ba4e043 tweak for preselected radio button fix
git-svn-id: svn://10.0.0.236/trunk@2585 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 23:06:14 +00:00
timm
d3593083fb remove 2stpwrap.htm
git-svn-id: svn://10.0.0.236/trunk@2583 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:38:53 +00:00
timm
66236a4c4d tweak progress bar
git-svn-id: svn://10.0.0.236/trunk@2582 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:38:00 +00:00
sfraser
e2ed047744 Added vr_stubs.c (which contains an implementation of strdup which overrides our strdup in NSStdLib, which is dangerous).
git-svn-id: svn://10.0.0.236/trunk@2579 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:24:38 +00:00
sfraser
5d8522be4e Changed to use .exp file for exports, so that stuff gets exported.
git-svn-id: svn://10.0.0.236/trunk@2576 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:23:41 +00:00
sfraser
b69b700d4a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2575 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:23:16 +00:00
troy
a09b0a2a9a Changed it so we don't position or size the view while in the middle
of reflowing. Now that's done in DidReflow()


git-svn-id: svn://10.0.0.236/trunk@2574 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:55:13 +00:00
buster
fb47d7c6ec added an optional # to viewer.exe command line switch -p. If a number is provided, it is used as the last sample to load when running in purify. This is useful for running just a the first sample
in purify, or a small number of samples, for example.


git-svn-id: svn://10.0.0.236/trunk@2571 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:39:40 +00:00
buster
d3a587c5ca set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
set the groundwork for handling percentage-width tables.  Troy is adding a hook for me to get the correct width info from the parent.  WIP.


git-svn-id: svn://10.0.0.236/trunk@2570 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:39:22 +00:00
sfraser
5fde1a3b17 Fix the include files so that Types.r is found
git-svn-id: svn://10.0.0.236/trunk@2569 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:29:32 +00:00
rickg
a53de4875b fixed 2 bugs that prevented home.netscape.com from loading. WIP.
git-svn-id: svn://10.0.0.236/trunk@2565 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:14:27 +00:00
sfraser
a01dc1681b Fix {IncludeFiles}
git-svn-id: svn://10.0.0.236/trunk@2564 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:04:01 +00:00
sfraser
022c2e2b9b Export nsError.h
git-svn-id: svn://10.0.0.236/trunk@2562 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:50:24 +00:00
sfraser
3f35772326 Really fix the library name this time.
git-svn-id: svn://10.0.0.236/trunk@2561 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:49:02 +00:00
sfraser
43af9ee582 Fix the output directory, and the lib name for the debug shlb target
git-svn-id: svn://10.0.0.236/trunk@2559 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:29:47 +00:00
troy
54994fbcc6 Added some more WillReflow() calls
git-svn-id: svn://10.0.0.236/trunk@2558 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:12:02 +00:00
sfraser
43eda5dfda Don't define MOZILLA_CLIENT again (on the Mac), fer cryin' out loud
git-svn-id: svn://10.0.0.236/trunk@2557 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:10:18 +00:00
sfraser
fde346e8cc Fix a problem with the debug library name.
git-svn-id: svn://10.0.0.236/trunk@2556 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:03:23 +00:00
cyeh
72afdaae50 * remove all those annoying ^M's in the file.
* changed documentation to reflect new build system.
  NewAlias MPW tool now required.
  MacPerl application now required.
  StreamEdit MPW tool now required.
  Headers are exported to new dist area.
  Perl is now the scripting engine.


git-svn-id: svn://10.0.0.236/trunk@2555 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:01:37 +00:00
kipp
3f52aba142 Use mOpacity as a float in the nsStyleColor struct
git-svn-id: svn://10.0.0.236/trunk@2554 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:55:42 +00:00
kipp
afcc812131 Set value to 1.0F as a float
git-svn-id: svn://10.0.0.236/trunk@2553 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:55:15 +00:00
kipp
760038f9f4 Simplified mOpacity to a float
git-svn-id: svn://10.0.0.236/trunk@2552 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:54:50 +00:00
kipp
b6437fc343 Added STYLE= support (partially)
git-svn-id: svn://10.0.0.236/trunk@2551 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:44:36 +00:00
sfraser
bd05843056 Correct comment
git-svn-id: svn://10.0.0.236/trunk@2550 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:40:34 +00:00
sfraser
63e6adbdb0 Fix a warning about an uninitialized variable
git-svn-id: svn://10.0.0.236/trunk@2549 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:39:58 +00:00
sfraser
905fc56f75 Fix #error pragmas
git-svn-id: svn://10.0.0.236/trunk@2548 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:39:28 +00:00
sfraser
df88812a48 Fix a warning about an uninitialized variable when JAVA is not defined.
git-svn-id: svn://10.0.0.236/trunk@2547 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:39:05 +00:00
sfraser
5f093de03e Switch tinderbox to the new list of projects
git-svn-id: svn://10.0.0.236/trunk@2545 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:37:21 +00:00
sfraser
b41cc2365d Activate export.mac in mozilla:config:mac which should now be in the module
git-svn-id: svn://10.0.0.236/trunk@2544 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:37:02 +00:00
sfraser
ae22f11289 Turn on more compiler warnings
git-svn-id: svn://10.0.0.236/trunk@2542 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:36:37 +00:00
sfraser
3f19ee2dc6 Changes for the new build system, and unify prefix files.
git-svn-id: svn://10.0.0.236/trunk@2541 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:36:09 +00:00
cyeh
da75a2635e remove duplicate entry of mozilla/modules/schdulr in MozillaSourceCommon
git-svn-id: svn://10.0.0.236/trunk@2540 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:33:55 +00:00
pnunn
31ed1f7d62 fix #84300. print images to printer rez not screen rez.
git-svn-id: svn://10.0.0.236/trunk@2539 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:32:00 +00:00
sfraser
4b3df200c6 Changes for the new build system, and unify prefix files.
git-svn-id: svn://10.0.0.236/trunk@2538 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:27:24 +00:00
sfraser
9045ffc345 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2537 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:24:32 +00:00
sfraser
e51185d273 Changes for new build system, and unified prefix files.
git-svn-id: svn://10.0.0.236/trunk@2536 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:22:54 +00:00
sfraser
b4abce86b4 Changes for new build system and unified prefix files.
git-svn-id: svn://10.0.0.236/trunk@2535 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:19:09 +00:00
sfraser
644516c52a Updating for new build system and prefix files.
git-svn-id: svn://10.0.0.236/trunk@2534 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:16:03 +00:00
pnunn
156cabb819 fix for #84300. print images at printer rez not screen rez
git-svn-id: svn://10.0.0.236/trunk@2533 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:07:40 +00:00
sfraser
710a5ed2a5 Changes for the new build system; unify prefix files.
git-svn-id: svn://10.0.0.236/trunk@2532 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:04:58 +00:00
troy
363a605781 Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set
git-svn-id: svn://10.0.0.236/trunk@2531 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:00:31 +00:00
sfraser
0f5ae2a51d Changed for new build system
git-svn-id: svn://10.0.0.236/trunk@2530 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:58:33 +00:00
pnunn
fc6eb86d7c fix #84300. print images at printer rez not screen rez.
git-svn-id: svn://10.0.0.236/trunk@2529 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:58:11 +00:00
sfraser
d4a52ff18f Changed for new build system, and comments on how this thing works.
git-svn-id: svn://10.0.0.236/trunk@2528 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:58:09 +00:00
sfraser
6f382af498 Changed for new build system, and to inlcude long comment about how this whole thing works.
git-svn-id: svn://10.0.0.236/trunk@2527 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:57:55 +00:00
sfraser
a1f9da0d57 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2526 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:57:26 +00:00
pnunn
c9e85bd720 fix #84300. print image at printer rez not screen rez.
git-svn-id: svn://10.0.0.236/trunk@2525 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:57:05 +00:00
sfraser
6e50378dd1 Changed for new build system, and to put output of stubs project in dist:client_stubs
git-svn-id: svn://10.0.0.236/trunk@2524 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:53:57 +00:00
pnunn
0dddecb63a fix for #84300. print images at printer resolution not screen resolution.
git-svn-id: svn://10.0.0.236/trunk@2523 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:53:31 +00:00
sfraser
0fc30e6b1c Changed prefix file for new build system
git-svn-id: svn://10.0.0.236/trunk@2522 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:53:07 +00:00
sfraser
6c5edb8104 Replace a MIN with a locally defined Min()
git-svn-id: svn://10.0.0.236/trunk@2521 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:48:57 +00:00
kipp
482d1c4451 Port to new parser API
git-svn-id: svn://10.0.0.236/trunk@2520 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:40:23 +00:00
kipp
ea98683ca1 Revised argument handling and added code to test the ParseDeclarations css parser capability
git-svn-id: svn://10.0.0.236/trunk@2519 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:40:07 +00:00
kipp
1bf0cfd0b6 Revised API to be com-ish and added ParseDeclarations; implement ParseDeclartions using basic declaration handling routines
git-svn-id: svn://10.0.0.236/trunk@2518 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:39:42 +00:00
kipp
15197431ac Revised API to be com-ish and added ParseDeclarations
git-svn-id: svn://10.0.0.236/trunk@2517 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:39:08 +00:00
kipp
e5a638c35c Init refcnt properly
git-svn-id: svn://10.0.0.236/trunk@2516 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:38:32 +00:00
cyeh
845c6e85ce add mozilla/config/mac to MozillaSourceMacOnly as part of new build system.
git-svn-id: svn://10.0.0.236/trunk@2515 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:38:02 +00:00
troy
ea3a30a606 Added WillReflow() calls around reflowing of child frame
git-svn-id: svn://10.0.0.236/trunk@2514 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:37:56 +00:00
kostello
066a9ee625 Fix crasher loading mozilla.org page
git-svn-id: svn://10.0.0.236/trunk@2513 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:31:44 +00:00
selmer
0d0c63b1f0 Back out the IP stuff again
git-svn-id: svn://10.0.0.236/trunk@2512 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:20:00 +00:00
slamm
81cfe6418a change getURL() to take one less argument.
git-svn-id: svn://10.0.0.236/trunk@2511 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:14:00 +00:00
slamm
28ed9d31bd Make a distinction between stand-alone and embedded views. Stand-alone views show all the columns. Views embedded in the browser only show one column.
git-svn-id: svn://10.0.0.236/trunk@2510 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:47 +00:00
slamm
f49100e498 Change the nav center context from MWContextHistory to MWContextPane.
git-svn-id: svn://10.0.0.236/trunk@2509 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:44 +00:00
slamm
26d1e2f7fe Change getURL() to take only the urlStruct and not skip_get_url. It wasn't being used and it was confusing.src/BrowserDrop.cpp
git-svn-id: svn://10.0.0.236/trunk@2508 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:40 +00:00
slamm
4523b7631a Add a test case for the show/hide column behavior.
git-svn-id: svn://10.0.0.236/trunk@2507 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:34 +00:00
slamm
f1f6f0e1ab Add show/hide column buttons. Overload XmNvisibleColumns to set the actual number of visible columns when XmRESIZE_IF_POSIBLE is set. Previously, XmNvisibleColumns was used to request a width equal to an average column width times the number given. That behavior is still available when the horizontal size policy is XmCONSTANT.
git-svn-id: svn://10.0.0.236/trunk@2506 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:31 +00:00
morse
e29e2bc604 bug 122126, reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@2504 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:09 +00:00
morse
c55ad343d6 bug 122126, reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@2503 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:13:10 +00:00
kipp
1143ad5087 Default alignment of HR's is center
git-svn-id: svn://10.0.0.236/trunk@2501 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:10:17 +00:00
morse
774dc66bfd bug 122126, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@2500 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:07:23 +00:00
kipp
3bcb8b4996 Fixed infinite loop in GetStyleSize code
git-svn-id: svn://10.0.0.236/trunk@2499 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:06:43 +00:00
kipp
03f29947f5 Eliminated bogus style from HR rule
git-svn-id: svn://10.0.0.236/trunk@2498 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:06:15 +00:00
kipp
a822df4a63 Support sizing properly; support width/height css (and attribute) style; elminate manual attribute storage
git-svn-id: svn://10.0.0.236/trunk@2497 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:05:39 +00:00
karnaze
36d98ad2fb fix bug in get submission
git-svn-id: svn://10.0.0.236/trunk@2495 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 16:00:15 +00:00
morse
d5565089fc bug 122126, reviewed by blythe
git-svn-id: svn://10.0.0.236/trunk@2494 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 15:35:21 +00:00
nisheeth
8baba2f927 Fix for bug 113155. We were losing the form_data->value of hidden text fields when executing "history.go(0)". Now we keep the value around between session history traversals. Thanks to ludovic for the fix.
----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@2492 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 14:24:16 +00:00
rickg
4d75e96e6d fixed class name crasher
git-svn-id: svn://10.0.0.236/trunk@2491 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 07:38:28 +00:00
ramiro
db5ab6bd3d Add macros to build unused widgets.
git-svn-id: svn://10.0.0.236/trunk@2490 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 07:26:08 +00:00
rickg
d26713dc46 modest improvements to push, and various bug fixes
git-svn-id: svn://10.0.0.236/trunk@2489 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 07:12:08 +00:00
sfraser
2d3e959eb3 Fix some project and lib names
git-svn-id: svn://10.0.0.236/trunk@2488 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 06:18:36 +00:00
sfraser
4027034ebc Fix the variable substitution, again
git-svn-id: svn://10.0.0.236/trunk@2486 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:52:42 +00:00
troy
c582c6488b Make sure we set the (x,y) before reflowing the frame
git-svn-id: svn://10.0.0.236/trunk@2485 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:41:59 +00:00
sfraser
397aea4430 Fix the variable substitution
git-svn-id: svn://10.0.0.236/trunk@2484 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:32:47 +00:00
sfraser
15edde0fe9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@2483 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:16:58 +00:00
sfraser
0891fd8e06 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2482 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:16:43 +00:00
sfraser
3894b2d566 Temporarily commenting out export.mac file in mozilla:config:mac, since this directory needs to be added to the MozillaSourceMac module.
git-svn-id: svn://10.0.0.236/trunk@2481 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:03:46 +00:00
rpotts
b5c0efe548 removed the B1M define... Use MODULAR_NETLIB instead...
git-svn-id: svn://10.0.0.236/trunk@2480 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:56:44 +00:00
rpotts
05a096f37c Removed B1M define and used MODULAR_NETLIB instead...
git-svn-id: svn://10.0.0.236/trunk@2479 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:55:51 +00:00
troy
27d5b5bdbe Changed Paint() to not check if the frame is a pseudo frame
git-svn-id: svn://10.0.0.236/trunk@2478 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:38:28 +00:00
cboatwri
5d7f7dc59d Added Directory (ldap) SDK source files for public release
git-svn-id: svn://10.0.0.236/trunk@2477 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:29:26 +00:00
cboatwri
bcc6f383bb Added Directory (ldap) SDK source files for public release
git-svn-id: svn://10.0.0.236/trunk@2476 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:23:42 +00:00
sfraser
bbe33e24af Fix a bug in the quoting of file names which caused problems with files with a hyphen in the name.
git-svn-id: svn://10.0.0.236/trunk@2475 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:07:53 +00:00
sfraser
07d9f8cb3d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2472 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 03:19:00 +00:00
scullin
f3a658f096 Checked in from the wrong $@%$#%$ tree.
git-svn-id: svn://10.0.0.236/trunk@2471 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 03:15:39 +00:00
mcafee
99dc022e95 Initial fullcircle module checkin
git-svn-id: svn://10.0.0.236/trunk@2470 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 03:00:49 +00:00
troy
4423b06d16 Added 'ns' prefix to class name
git-svn-id: svn://10.0.0.236/trunk@2468 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:37:37 +00:00
kipp
243bbe4f16 Added style support for the new css opacity property
git-svn-id: svn://10.0.0.236/trunk@2467 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:02:43 +00:00
kipp
0af82d79bd Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction
git-svn-id: svn://10.0.0.236/trunk@2466 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:02:22 +00:00
kipp
0f84787aa8 Use revised HorziontallyPlaceChildren api
git-svn-id: svn://10.0.0.236/trunk@2465 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:01:50 +00:00
kipp
a1e84139ce Use default text alignment; setup opacity properly
git-svn-id: svn://10.0.0.236/trunk@2464 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:01:19 +00:00
kipp
855722caee Added text_align_default for better direction handling
git-svn-id: svn://10.0.0.236/trunk@2463 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:00:59 +00:00
kipp
1842fc5cd8 Added mOpacity to nsStyleColor
git-svn-id: svn://10.0.0.236/trunk@2462 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:59:38 +00:00
kipp
f0567815a9 new
git-svn-id: svn://10.0.0.236/trunk@2461 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:58:58 +00:00
morse
3a25f69d6e check-in for garrett
git-svn-id: svn://10.0.0.236/trunk@2460 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:49:21 +00:00
scullin
3097cad210 Fix mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@2459 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:31:47 +00:00
sfraser
28d26264cc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2457 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:24:19 +00:00
scullin
e7cc5af4d2 Fix Mac build.
git-svn-id: svn://10.0.0.236/trunk@2454 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:18:42 +00:00
kipp
834cd63031 Added a new property
git-svn-id: svn://10.0.0.236/trunk@2453 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:11:30 +00:00
cyeh
28a5660932 sigh. one more time. add mozilla/modules/libnls as part of the mail/news
integration effort.


git-svn-id: svn://10.0.0.236/trunk@2452 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:08:55 +00:00
cyeh
abb3b256a3 added mozilla/modules/calendar to MozillaCommon as part of the mail/news
integration effort


git-svn-id: svn://10.0.0.236/trunk@2451 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:00:19 +00:00
jevering
354c2123f5 Unwhack Rick's change.
git-svn-id: svn://10.0.0.236/trunk@2450 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:57:25 +00:00
scullin
a03e49ff46 Fully land MODULAR_NETLIB branch on windows.
git-svn-id: svn://10.0.0.236/trunk@2449 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:52:44 +00:00
ftang
3c7d0866f3 add euro sign. approved by dp
git-svn-id: svn://10.0.0.236/trunk@2448 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:49:35 +00:00
karnaze
c71fc09344 fixed memory leak from prev checkin
git-svn-id: svn://10.0.0.236/trunk@2447 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:42:26 +00:00
spider
ea64ef1e2e Fixes to support latest GFX changes
git-svn-id: svn://10.0.0.236/trunk@2443 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:23:10 +00:00
spider
5937630273 Fix NSPR circly dependency thing
git-svn-id: svn://10.0.0.236/trunk@2442 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:22:34 +00:00
jevering
672bf8b1cb Added parser message dispatch loop for debug robot to pump netlib
and complete individual parsing.


git-svn-id: svn://10.0.0.236/trunk@2441 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:22:11 +00:00
spider
7faae8033a Get TREX running on UNIX again
git-svn-id: svn://10.0.0.236/trunk@2440 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:21:57 +00:00
jevering
21f4b2f1e9 Changing the debug robot to be able to cope with the parser push model.
Updated the robot sink apis.
Fixed the global url holder in the destructor of the parser.
Changed the robot observer to set a flag when completed parsing of a
url so that it doesn't create lottsa little parsers.


git-svn-id: svn://10.0.0.236/trunk@2439 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:21:34 +00:00
scullin
4157160681 Remove SOCKET_ERRNO and xp_sock.h from network
git-svn-id: svn://10.0.0.236/trunk@2438 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:19:49 +00:00
scc
a5eee274d7 Exploit new routine BuildProjectClean($;$). Fixed $dist_dir use to be consistent with standard use of variables for directories (i.e., include the trailing colon). Unified some small $DEBUG logic.
git-svn-id: svn://10.0.0.236/trunk@2437 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:19:43 +00:00
scullin
b713c5c1a8 Remove SOCKET_ERRNO from mozilla/network.
git-svn-id: svn://10.0.0.236/trunk@2436 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:18:29 +00:00
scullin
bbfde797e0 Eliminate SOCKET_ERRNO and xp_sock.h
git-svn-id: svn://10.0.0.236/trunk@2435 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:17:37 +00:00
scc
8b1d7177ce Added additional parameter to BuildProject: a boolean which, when true, forces a full build via `remove object code'
git-svn-id: svn://10.0.0.236/trunk@2434 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:16:44 +00:00
scc
4e38154099 Added BuildProjectClean($;$), like BuildProject, but forces a `remove object code'. Factored the two routines into a private build_project($$$)
git-svn-id: svn://10.0.0.236/trunk@2433 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:15:54 +00:00
karnaze
4fda063ac0 gui events store nsISupports; improved forms event handling
git-svn-id: svn://10.0.0.236/trunk@2432 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:58:07 +00:00
sfraser
0d27b0a629 Changed exports
git-svn-id: svn://10.0.0.236/trunk@2430 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:57:48 +00:00
sfraser
de6e715c62 Changed the target name to "Stubs" so that remove binaries happens each time, to guarentee that dist happens.
git-svn-id: svn://10.0.0.236/trunk@2429 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:54:02 +00:00
sfraser
9234dfdcee Changed the target name of the MakeDist project to "Stubs" so that binaries are removed on every build.
git-svn-id: svn://10.0.0.236/trunk@2428 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:53:31 +00:00
eyork
e3c9d24c1c Adding files for calendar mime handler. This is not yet hooked into mozilla.
git-svn-id: svn://10.0.0.236/trunk@2427 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:44:03 +00:00
kipp
9c836bc876 Parse (and ignore) important declarations
git-svn-id: svn://10.0.0.236/trunk@2426 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:38:16 +00:00
kipp
39db2c7f41 new
git-svn-id: svn://10.0.0.236/trunk@2425 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:37:21 +00:00
pinkerton
5fead38dcc obsolete just a few more LGA* files.
git-svn-id: svn://10.0.0.236/trunk@2423 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:23:23 +00:00
wtc
e1c7878a44 Removed unused variables. Thanks to Wei Tsang Ooi
<weitsang@cs.cornell.edu> for the patch.


git-svn-id: svn://10.0.0.236/trunk@2422 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:21:10 +00:00
wtc
4d04c2a5ce Use the stabs debug format on Solaris x86, because the default dwarf
format does not work.  This patch is provided by Soren Juul Moller
<sjm@nwc.dk>.


git-svn-id: svn://10.0.0.236/trunk@2420 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:15:32 +00:00
wtc
491e021a91 Merged gcc support from the HP-UX Mozilla Patching Kit version 3.00
(http://hpux.csc.liv.ac.uk/hppd/mozilla/), maintained by
Richard K Lloyd <hpux@csc.liv.ac.uk>.


git-svn-id: svn://10.0.0.236/trunk@2419 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:13:47 +00:00
rpotts
c1108773df Changed NET_WritePostData(...) to only send a CRLF between headers and data if both are present... On in the modular netlib, headers can be placed in the URL_s->post_data... This cahnge is ifdef B1M
git-svn-id: svn://10.0.0.236/trunk@2418 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:07:13 +00:00
rpotts
16efd4b73b Added B1M define if the MODULAR_NETLIB environment variable is defined...
git-svn-id: svn://10.0.0.236/trunk@2417 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:05:18 +00:00
rpotts
7fe06ecb1d Added support for XP_FindCOntextOfType(....) This is needed to turn off the poll_netlib_all_the_time flag after a POST has occurred
git-svn-id: svn://10.0.0.236/trunk@2416 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:04:11 +00:00
rpotts
75cb8edc90 Null terminate the post databuffer...
git-svn-id: svn://10.0.0.236/trunk@2415 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:03:05 +00:00
cyeh
40ed381c57 turn on moz_medium (turn off moz_lite)
git-svn-id: svn://10.0.0.236/trunk@2414 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:57:32 +00:00
sfraser
89cd69560c Fix warnings
git-svn-id: svn://10.0.0.236/trunk@2413 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:55:38 +00:00
sfraser
9649279ca2 Remove an obsolete prefix file
git-svn-id: svn://10.0.0.236/trunk@2412 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:53:47 +00:00
sfraser
c30964cead Changed to use NewAlias instead of dupicate for making headers in dist
git-svn-id: svn://10.0.0.236/trunk@2411 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:53:17 +00:00
sfraser
4849021fab Fix warnings
git-svn-id: svn://10.0.0.236/trunk@2410 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:47:28 +00:00
sfraser
c10c97cb1b Added a need comma, and added lines to build Client resource targets. Also changed name of final project from Navigator to Client.
git-svn-id: svn://10.0.0.236/trunk@2409 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:47:14 +00:00
scc
ed6abb94e6 missing project files now counts as an error w.r.t. StopForErrors(). Cleaned up MakeAlias a little.
git-svn-id: svn://10.0.0.236/trunk@2408 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:40:36 +00:00
kipp
6aeed36e66 Set x,y coordinate of frame before reflowing it
git-svn-id: svn://10.0.0.236/trunk@2407 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:24:57 +00:00
scullin
0375c753f7 Landing MODULAR_NETLIB_BRANCH on windows.
git-svn-id: svn://10.0.0.236/trunk@2406 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:13:00 +00:00
scullin
6a0c8ea696 Fix bool type mismatch.
git-svn-id: svn://10.0.0.236/trunk@2403 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:18:25 +00:00
cyeh
b4cb3f29b7 updated LEGAL file to reflect non-infringement of WANG patent, and option
to appeal.


git-svn-id: svn://10.0.0.236/trunk@2402 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:17:37 +00:00
sfraser
35dee2f6a2 Fixed MakeAlias to give better errors, and to work.
git-svn-id: svn://10.0.0.236/trunk@2401 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:14:11 +00:00
sfraser
3627d9d93f Added code to remove binaries from stubs targets before building them.
git-svn-id: svn://10.0.0.236/trunk@2400 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:13:29 +00:00
sfraser
56f8574831 Added copyright, put in MOZ_LITE definition.
git-svn-id: svn://10.0.0.236/trunk@2399 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:12:59 +00:00
sfraser
2554c38ada Updated to point to the new projects, and use the MakeAlias routine.
git-svn-id: svn://10.0.0.236/trunk@2398 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:10:54 +00:00
kipp
90a0e806d2 Use new line layout struct; pass in word break info to line layout
git-svn-id: svn://10.0.0.236/trunk@2397 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:07:30 +00:00
kipp
c7f7ce710d Moved certain line layout state into a state struct that can be saved/restored for word breaking
git-svn-id: svn://10.0.0.236/trunk@2396 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:07:10 +00:00
kipp
61dcf31ce0 Moved certain line layout state into a state struct that can be saved/restored for word breaking; updated code to use it; fixed up split line logic to use state to compute push count; added in word breaking logic; eliminated old word break code
git-svn-id: svn://10.0.0.236/trunk@2395 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:06:55 +00:00
kipp
f10d10eb50 Added DidFit/CanFit predicates; removed cruft
git-svn-id: svn://10.0.0.236/trunk@2394 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:06:03 +00:00
kipp
ba58cf168c Removed cruft; fixed to use canfit/didfit predicates that check on word-breaking state; fixed long standing bug with last-content-complete in pullup code
git-svn-id: svn://10.0.0.236/trunk@2393 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:05:47 +00:00
kipp
73e6662d13 Updated to use lineLayout struct changes
git-svn-id: svn://10.0.0.236/trunk@2392 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:05:13 +00:00
kipp
ac90a0457e nop
git-svn-id: svn://10.0.0.236/trunk@2391 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:04:53 +00:00
kipp
fef14caafd Only perform horizontal alignment when there is room to do it
git-svn-id: svn://10.0.0.236/trunk@2390 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:04:33 +00:00
karnaze
7e760f96e7 removed printf
git-svn-id: svn://10.0.0.236/trunk@2389 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:04:23 +00:00
cyeh
09e6e142e3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2386 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:38:39 +00:00
sfraser
08b5bba656 Updated comment
git-svn-id: svn://10.0.0.236/trunk@2385 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:35:52 +00:00
akkana
6ea3a86934 Re-enable -composer and -edit flags (they were disabled under MOZ_MAIL_NEWS).
Also clean up a couple of warnings.


git-svn-id: svn://10.0.0.236/trunk@2384 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:26:01 +00:00
scc
925bc36315 removed erroneous commas from export lists
git-svn-id: svn://10.0.0.236/trunk@2383 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:19:31 +00:00
waldemar
3f6f86757c Fixed bug 114508: delete can now delete fields of objects put into scope by with statements
git-svn-id: svn://10.0.0.236/trunk@2381 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:10:13 +00:00
morse
599a68f6e5 removed ifdefs, mac busted fixed
git-svn-id: svn://10.0.0.236/trunk@2379 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:06:00 +00:00
hardts
d224ba7688 change raptor to nglayout
git-svn-id: svn://10.0.0.236/trunk@2378 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:00:40 +00:00
karnaze
b2212278c9 fix irix build
git-svn-id: svn://10.0.0.236/trunk@2377 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:57:03 +00:00
pinkerton
55e683689b Port to new AM classes of security button.
git-svn-id: svn://10.0.0.236/trunk@2376 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:55:09 +00:00
pinkerton
0795bce6bf add NET_DeleteCookie for RDF.
git-svn-id: svn://10.0.0.236/trunk@2375 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:54:01 +00:00
scc
cc9c1e39ae Added MakeAlias, an error checking synonym for symlink. Moved some routines to @EXPORT from @EXPORT_OK, to make for more concise clients.
git-svn-id: svn://10.0.0.236/trunk@2374 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:52:28 +00:00
morse
daacb3e5e2 bug 122126, reviewd by valeski
git-svn-id: svn://10.0.0.236/trunk@2373 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:46:30 +00:00
morse
e033f40035 bug 122126, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@2369 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:34:31 +00:00
morse
3ac0fa7e60 bug 122126, approved by valeski
git-svn-id: svn://10.0.0.236/trunk@2367 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:32:19 +00:00
scullin
f63d10a871 Strip out XP functions from last bug fix.
git-svn-id: svn://10.0.0.236/trunk@2364 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 18:50:54 +00:00
karnaze
ca8a2b30ce post submission, file content submission
git-svn-id: svn://10.0.0.236/trunk@2355 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 17:51:41 +00:00
pinkerton
ac438678e6 Removal of LGA* stuff in prefs.
git-svn-id: svn://10.0.0.236/trunk@2354 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 17:29:01 +00:00
pinkerton
2e899db9e9 removal of LGA* stuff
git-svn-id: svn://10.0.0.236/trunk@2353 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 17:27:50 +00:00
michaelp
9c7b6d8d1b added region to factory.
git-svn-id: svn://10.0.0.236/trunk@2352 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 17:11:37 +00:00
morse
4de633d5a8 attempt to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@2350 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 15:08:35 +00:00
shaver
aca06adb66 tracking ref fixes: XDR and jsnum
git-svn-id: svn://10.0.0.236/trunk@2349 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 14:24:39 +00:00
shaver
69c0f00221 allow NULL Scripts for JS_NewScriptObject
git-svn-id: svn://10.0.0.236/trunk@2348 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 14:18:51 +00:00
morse
1c50215a24 bug 122126, reviewed by guha
git-svn-id: svn://10.0.0.236/trunk@2347 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 08:15:49 +00:00
morse
3cbd932a72 bug 122126, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@2345 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 08:06:33 +00:00
hshaw
82e7979a06 Fix for Rhapsody build, thanks toshok@netscape.com, also remove some improper wording
git-svn-id: svn://10.0.0.236/trunk@2342 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 07:33:12 +00:00
morse
6dd0737902 bug 122126, reviewed by atotic
git-svn-id: svn://10.0.0.236/trunk@2340 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 07:31:15 +00:00
morse
48c842a852 bug 122126, reviewed by aoki
git-svn-id: svn://10.0.0.236/trunk@2339 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 07:24:36 +00:00
scc
8215a118ba added symlink lines, most still need to be completed with final product names; dist directory probably needs to be set correctly
git-svn-id: svn://10.0.0.236/trunk@2338 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 05:46:21 +00:00
mccabe
1403ada266 Conditionalized a (jsint) cast to ask JSDOUBLE_IS_NaN first -
hopefully avoiding a SIGPFE on Alpha Linux.  (And others?)


git-svn-id: svn://10.0.0.236/trunk@2335 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 04:53:37 +00:00
timm
9144c3b087 fix threading problem with thermo bar
git-svn-id: svn://10.0.0.236/trunk@2334 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:36:23 +00:00
timm
f70fcc46ce Sols changes
git-svn-id: svn://10.0.0.236/trunk@2333 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:35:09 +00:00
timm
4d6fd3d15c remove debugging stubs
git-svn-id: svn://10.0.0.236/trunk@2332 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:34:57 +00:00
timm
2328897d3e add getSelectedISPName
git-svn-id: svn://10.0.0.236/trunk@2331 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:34:14 +00:00
timm
c2b35bd975 remove debugging stub
git-svn-id: svn://10.0.0.236/trunk@2330 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:33:37 +00:00
timm
fea8bc8078 117255 fix for null exception
git-svn-id: svn://10.0.0.236/trunk@2329 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:32:53 +00:00
timm
bea1cec239 Sols changes, fix for 97647
git-svn-id: svn://10.0.0.236/trunk@2328 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:31:09 +00:00
spider
582fd7877f Allow mkdepend to be built on windoze
git-svn-id: svn://10.0.0.236/trunk@2327 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 02:27:09 +00:00
spider
2afd1eef7d windows dep. stuff
git-svn-id: svn://10.0.0.236/trunk@2326 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 02:14:26 +00:00
michaelp
d4e2a5a20c added support for front-to-back view rendering.
git-svn-id: svn://10.0.0.236/trunk@2325 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 02:13:28 +00:00
tague
55e417dfe9 added libnls headers to public build
git-svn-id: svn://10.0.0.236/trunk@2324 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 02:02:27 +00:00
scullin
35ec9fcc3e Enable html coloring stream converter in modular netlib.
git-svn-id: svn://10.0.0.236/trunk@2322 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:28:29 +00:00
scullin
5fdece0330 Change magic emacs line to reflect correct tab size.
git-svn-id: svn://10.0.0.236/trunk@2321 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:27:50 +00:00
scullin
0dbf249dce Don't build mkstream.c with modular netlib
git-svn-id: svn://10.0.0.236/trunk@2320 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:26:05 +00:00
scullin
d960e37ced Enable more protocols
git-svn-id: svn://10.0.0.236/trunk@2319 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:24:22 +00:00
scullin
31fb3c746d Rebuild when sub-libraries change.
git-svn-id: svn://10.0.0.236/trunk@2318 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:24:05 +00:00
spider
06abfe228b Adding makedep to gconfig
git-svn-id: svn://10.0.0.236/trunk@2316 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:59:31 +00:00
sfraser
7f9b0a7fe2 Added some more headers to export
git-svn-id: svn://10.0.0.236/trunk@2315 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:53:55 +00:00
sfraser
4d0cc4402f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2314 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:53:25 +00:00
sfraser
8703114e8b Addd some more export files
git-svn-id: svn://10.0.0.236/trunk@2313 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:53:11 +00:00
sfraser
5f209ad760 Updated the list of export.mac files
git-svn-id: svn://10.0.0.236/trunk@2311 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:50:22 +00:00
sfraser
df4052e541 Fixing bugs in the scripts that copy headers into dist. Now allow trailing #comments, and handle whitespace after file names.
git-svn-id: svn://10.0.0.236/trunk@2310 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:50:08 +00:00
buster
db2f93e156 fixed case-sensitive include
git-svn-id: svn://10.0.0.236/trunk@2307 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:28:48 +00:00
peterl
e232225565 added visibility style attribute
git-svn-id: svn://10.0.0.236/trunk@2306 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:17:29 +00:00
peterl
86b7ae08b5 moved attributes around
git-svn-id: svn://10.0.0.236/trunk@2305 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:16:55 +00:00
peterl
779a602187 added visibility style attribute
moved attributes from position to display struct


git-svn-id: svn://10.0.0.236/trunk@2304 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:15:47 +00:00
peterl
ef76e4aa4a use context graph for finding contexts
git-svn-id: svn://10.0.0.236/trunk@2303 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:14:56 +00:00
peterl
9050d134bb cleaned up visibility
git-svn-id: svn://10.0.0.236/trunk@2302 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:14:29 +00:00
peterl
f264deae62 reworked up reset code
added child list


git-svn-id: svn://10.0.0.236/trunk@2301 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:14:09 +00:00
peterl
2a8bcff4d7 cleanup
git-svn-id: svn://10.0.0.236/trunk@2300 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:13:26 +00:00
peterl
16a18a6b6d moved overflow from position to display struct
git-svn-id: svn://10.0.0.236/trunk@2299 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:13:15 +00:00
peterl
e280fe1c34 documented reset vs inherited attributes
shuffled some attributes around


git-svn-id: svn://10.0.0.236/trunk@2298 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:12:14 +00:00
waldemar
6f622be91c Fixed bug 117404: typeof should return "function" on scripts and regular expressions.
git-svn-id: svn://10.0.0.236/trunk@2295 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 22:11:00 +00:00
buster
314c1c9eb4 table width computation using style system (more than it used to, at least)
git-svn-id: svn://10.0.0.236/trunk@2294 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 22:03:16 +00:00
waldemar
66bf5ae377 Fixed syntax errors
git-svn-id: svn://10.0.0.236/trunk@2291 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 21:25:41 +00:00
kostello
b9b928f869 Updated Table Border code to render HTML3.2 compatible borders (no longer using the cool,
CSS borders).
Fixed Table but submitted by Isaac David Guedalia <daniel_sh@gezernet.co.il>.


git-svn-id: svn://10.0.0.236/trunk@2288 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 20:57:24 +00:00
kostello
557fb3323f Moved Get3DColors from HRPart to CSSRendering.
Modified Border Drawing Code to use Get3DColors for backwards compatibility purposes.


git-svn-id: svn://10.0.0.236/trunk@2287 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 20:52:59 +00:00
kostello
3b45b56e92 Moved Get3DColors from HRPart to CSSRendering.
git-svn-id: svn://10.0.0.236/trunk@2286 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 20:52:12 +00:00
scc
17b0861b94 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2283 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:48:03 +00:00
scc
0b0f644879 Added code to handle the `stop for errors, but not logging' case; moved copyright to (newly added) POD section
git-svn-id: svn://10.0.0.236/trunk@2282 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:46:36 +00:00
scc
9bc43c2d77 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@2281 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:36:10 +00:00
scc
ceebd16267 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2280 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:34:23 +00:00
ftang
bdcc75c122 fix the x-x-big5(and also gb2312, ksc5601) problem MS FrontPage introduced
for UNIX and Mac. The Window fixed eariler.


git-svn-id: svn://10.0.0.236/trunk@2278 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:18:47 +00:00
radha
002970c8f4 Re-fix for earlier fix for bug # 104761. Re-fix provided by timm. See bug report
for further details.


git-svn-id: svn://10.0.0.236/trunk@2277 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:05:32 +00:00
ftang
6e7465ed87 Fix NO-ending-SI problem for EUC-KR to ISO-2022-KR conversion
Thanks Jungshik Shin <jshin@pantheon.yale.edu> from the net and Erik van der Poel


git-svn-id: svn://10.0.0.236/trunk@2276 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:52:50 +00:00
radha
0bf82aa7dc New resources for the "Show/Hide Navigation Center" menu option
git-svn-id: svn://10.0.0.236/trunk@2275 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:52:01 +00:00
radha
33443f536a Add new command xfeToggleNavCenter to show/hide Aurora pane
git-svn-id: svn://10.0.0.236/trunk@2274 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:51:12 +00:00
radha
493b237768 Add BrowserView to the source files list.
git-svn-id: svn://10.0.0.236/trunk@2273 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:50:25 +00:00
radha
fabf4d340b Use BrowserView instead of HTML View. BrowserView holds a HTML view and a
NavCenter. Create a new menu option "Show/Hide NavCenter".


git-svn-id: svn://10.0.0.236/trunk@2272 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:49:53 +00:00
radha
5cf9772f51 Initial Checkin. This is the new view for all browser frames. It holds a HTML
View and a Nav Center View. Navcenter is currently turned off by default. It
can be  turned on with the "Show Navigation Center"  menu option.


git-svn-id: svn://10.0.0.236/trunk@2271 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:48:14 +00:00
pinkerton
3f7244a881 Status bar now uses appearance to draw progress bar separate from status text. Related Netscape classes that do the same thing obsoleted.
git-svn-id: svn://10.0.0.236/trunk@2267 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 16:32:05 +00:00
pinkerton
e5d0c4da33 default button again works in profile picker dialog.
git-svn-id: svn://10.0.0.236/trunk@2266 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 16:30:42 +00:00
ltabb
bbbb26567e this is a test for judd, no code effect
git-svn-id: svn://10.0.0.236/trunk@2265 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 14:51:51 +00:00
shaver
ca7d9cbe28 actually define the function properties of a script when decoding
git-svn-id: svn://10.0.0.236/trunk@2262 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 13:25:26 +00:00
shaver
6b2c0b6ca0 preserve sprop->id across XDR
git-svn-id: svn://10.0.0.236/trunk@2261 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 12:18:18 +00:00
ramiro
a67670f676 Change the logic of the || operators. This fixes a problem where the
bookmark window was asserting for no reason.
Thanks to Andrew Veliath <andrewtv@usa.net>


git-svn-id: svn://10.0.0.236/trunk@2260 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 12:15:44 +00:00
ramiro
fc422af5d8 In mozilla.c it says that XFE_InitDNS_Early is called before NSPR, etc.; but
the LOG macro calls PR_smprintf which fires up NSPR.    Use fprintf instead
of LOG() for this case.
Thanks to tenthumbs@cybernex.net.


git-svn-id: svn://10.0.0.236/trunk@2259 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 11:08:10 +00:00
ramiro
110ffa00cd Mozilla crashed after visiting a page with plugin. This is caused
by an access to a NULL pointer (plugin->handle).
Thanks to weitsang@yahoo.com
Fixes bugzilla #409.


git-svn-id: svn://10.0.0.236/trunk@2258 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 10:58:59 +00:00
troy
d2d4e15ea4 Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function
git-svn-id: svn://10.0.0.236/trunk@2253 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-25 17:31:49 +00:00
guha
75cecf8781 Mac ifdef bustage fixage
git-svn-id: svn://10.0.0.236/trunk@2249 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-24 01:13:55 +00:00
guha
36a7576bb9 Add test.c : This file is not in the client build but is meant as
a sample file for those who want to use the XML module in standalone
mode.

Added a bunch of ifdefs for getting the standalone mode.


git-svn-id: svn://10.0.0.236/trunk@2248 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-24 00:27:54 +00:00
spider
a329725d0b Support for resource files on win32 - other platforms currently
ignore the RESFILE and RCFILE variables


git-svn-id: svn://10.0.0.236/trunk@2246 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 18:34:48 +00:00
spider
7fcbc136f4 Support for Julian and nls prior to FreeSource move to /m/pub
git-svn-id: svn://10.0.0.236/trunk@2245 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 18:34:15 +00:00
scullin
19b636f12a Only build module with nglayout.
git-svn-id: svn://10.0.0.236/trunk@2241 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 03:54:56 +00:00
briano
924dbfe9d2 Fixing the SCO OpenServer builds. Need to define _SVID3 in this special case so including statvfs.h will give us what we need. Anyone want to volunteer a more elegant solution? Approved by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@2240 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 03:46:19 +00:00
scullin
22acc06189 Landing modular netlib on Window.
git-svn-id: svn://10.0.0.236/trunk@2236 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:38:10 +00:00
scullin
14adc6359a Added modular netlib to nglayout/Raptor
git-svn-id: svn://10.0.0.236/trunk@2235 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:36:28 +00:00
scullin
6e902be1c6 Updated for modular netlib
git-svn-id: svn://10.0.0.236/trunk@2234 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:35:51 +00:00
scullin
9916a96f39 Fix nglayout build.
git-svn-id: svn://10.0.0.236/trunk@2232 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:28:11 +00:00
sfraser
4d3a73a6a0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2231 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:14:17 +00:00
scullin
97ebcd1ae6 Fix printing of nsString.
git-svn-id: svn://10.0.0.236/trunk@2228 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 00:28:02 +00:00
rjc
596d7a6b33 Fix FTP on Mac. (Approval by module owner: gagan)
git-svn-id: svn://10.0.0.236/trunk@2227 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 00:09:18 +00:00
scullin
10222065f1 Landed raptor modular netlib stuff
git-svn-id: svn://10.0.0.236/trunk@2225 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 23:38:40 +00:00
hardts
cfef75c533 XPCOM has now landed on the tip
git-svn-id: svn://10.0.0.236/trunk@2224 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 22:41:37 +00:00
hardts
053114cc3c was 0 length file after landing branch, copy in the branch version
git-svn-id: svn://10.0.0.236/trunk@2223 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 22:34:32 +00:00
hardts
35e38c9902 TestID.cpp didn't get branch changes for some reason, adding them now.
git-svn-id: svn://10.0.0.236/trunk@2221 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 22:30:53 +00:00
cyeh
cd4e15a1f7 add file vr_stubs.c to libreg as part of the XPCOM_BRANCH landing
git-svn-id: svn://10.0.0.236/trunk@2219 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 22:01:45 +00:00
hardts
217d4a9900 landing XPCOM_BRANCH
git-svn-id: svn://10.0.0.236/trunk@2218 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 21:56:30 +00:00
hardts
d583c3a3b9 land XPCOM_BRANCH
git-svn-id: svn://10.0.0.236/trunk@2217 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 21:55:49 +00:00
cyeh
4222ef6c58 assist with XPCOM_BRANCH landing. add files nsDebug.cpp and nsSupportsArray.cpp to projects
git-svn-id: svn://10.0.0.236/trunk@2215 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 21:52:45 +00:00
pinkerton
6fc714fb0e More appearance manager changes. Support for toolbar buttons being AM savvy. (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2213 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 20:25:42 +00:00
pinkerton
29536f7fbb First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2212 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 20:23:25 +00:00
kipp
2f9b3b6470 Including missing nsCoord
git-svn-id: svn://10.0.0.236/trunk@2211 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 20:11:42 +00:00
kipp
3ff4de3bf3 Added -md argument handling
git-svn-id: svn://10.0.0.236/trunk@2210 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 20:11:14 +00:00
rickg
8da56df062 fixed bug in form -- form flag was never being set to true
git-svn-id: svn://10.0.0.236/trunk@2204 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 19:31:38 +00:00
cyeh
b41a29c6af A utility batch file for setting all the necessary environment variables
that needed to build Mozilla for Win32.  Contributed by Lucas Gonze
(lucas@gonze.com) and Rick Ekle (rekle@iconect.net).  You'll need to edit
this file to point it at the location of your development environment and your
local copy of the source tree.


git-svn-id: svn://10.0.0.236/trunk@2203 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 19:30:23 +00:00
rickg
57d6142350 fixed a minor build problem with blender
git-svn-id: svn://10.0.0.236/trunk@2202 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 19:16:08 +00:00
guha
bb4e0c0672 Fix crashing bug caused by very long string being passed to FE_Trace
git-svn-id: svn://10.0.0.236/trunk@2201 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:51:38 +00:00
kipp
5906363e28 Let .cpp compilations KEEP the .cfg file too
git-svn-id: svn://10.0.0.236/trunk@2200 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:43:34 +00:00
kipp
04d414f623 Fixed windows cvpack problem
git-svn-id: svn://10.0.0.236/trunk@2199 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:41:08 +00:00
kipp
c6d6b4ec78 Removed a pile of includes
git-svn-id: svn://10.0.0.236/trunk@2198 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:39:28 +00:00
kipp
a38d94f629 Move padding out of UL/OL and into LI's that are in UL/OL's
git-svn-id: svn://10.0.0.236/trunk@2197 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:39:11 +00:00
kipp
3409cd9d61 Use new GetVisibleArea API
git-svn-id: svn://10.0.0.236/trunk@2196 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:38:33 +00:00
kipp
bd1b101779 Support LI's with padding instead of UL padding
git-svn-id: svn://10.0.0.236/trunk@2195 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:38:11 +00:00
gagan
abcef8c094 Unix builds. Not in the main build yet.
git-svn-id: svn://10.0.0.236/trunk@2194 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:38:10 +00:00
kipp
72ef1d9055 Removed some dead code; added code to DidReflow children at a good spot
git-svn-id: svn://10.0.0.236/trunk@2193 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:37:49 +00:00
kipp
48eb9c0084 Removed some includes
git-svn-id: svn://10.0.0.236/trunk@2192 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:37:25 +00:00
kipp
08c1e11e08 Removed an include
git-svn-id: svn://10.0.0.236/trunk@2191 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:37:15 +00:00
kipp
32b44a6565 Declare nsStylePosition
git-svn-id: svn://10.0.0.236/trunk@2190 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:37:04 +00:00
kipp
8e76027a72 Removed includes; updated GetVisibleArea API
git-svn-id: svn://10.0.0.236/trunk@2189 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:36:40 +00:00
kipp
d81b9d196e updated GetVisibleArea API
git-svn-id: svn://10.0.0.236/trunk@2188 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:36:27 +00:00
gagan
b64eb63d71 strlen to PL_strlen. Not in the build yet.
git-svn-id: svn://10.0.0.236/trunk@2187 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:34:22 +00:00
kipp
60a0ef89f7 Removed includes
git-svn-id: svn://10.0.0.236/trunk@2186 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:28:40 +00:00
kipp
acaaec9578 Only verify last is complete when enabled
git-svn-id: svn://10.0.0.236/trunk@2185 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:28:29 +00:00
kipp
e62719b058 Removed unneeded include
git-svn-id: svn://10.0.0.236/trunk@2184 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:28:02 +00:00
kipp
3cf90601b8 Repaired GetVisibleArea API
git-svn-id: svn://10.0.0.236/trunk@2183 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:27:48 +00:00
kipp
6a7bc663f3 new
git-svn-id: svn://10.0.0.236/trunk@2182 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:27:25 +00:00
jevering
7c150df597 Fixed about: URL's from crashing the viewer.
git-svn-id: svn://10.0.0.236/trunk@2181 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:10:08 +00:00
buster
483b518e3e added -r # for specifying a repeat count for batch mode
git-svn-id: svn://10.0.0.236/trunk@2179 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 17:34:58 +00:00
slamm
7a91059224 Fix crash on bringing up second NavCenter.
git-svn-id: svn://10.0.0.236/trunk@2176 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 17:15:03 +00:00
dcone
20016a960c Added the nsBlender classes to the project
git-svn-id: svn://10.0.0.236/trunk@2174 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 14:15:57 +00:00
hshaw
7b81da6fb3 Fix for SCO build. bitypes.h defines int32_t and was missing from stub files. Not a problem in real sun-java. Thanks briano@netscape.com
git-svn-id: svn://10.0.0.236/trunk@2173 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 09:31:16 +00:00
ramiro
0c2f6f30df Fix a dyslexic typo. Geez, how long was this here for ?
git-svn-id: svn://10.0.0.236/trunk@2172 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 06:52:57 +00:00
ramiro
350ecf8d15 Add initial support for layable children resource.
git-svn-id: svn://10.0.0.236/trunk@2171 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 06:50:41 +00:00
atotic
14133bdcd6 Commiting this from windows caused my special characters to disappear
git-svn-id: svn://10.0.0.236/trunk@2170 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 06:35:58 +00:00
atotic
8110e44179 Experimental Mac makefile
git-svn-id: svn://10.0.0.236/trunk@2169 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 05:57:00 +00:00
troy
14c16833da Changed reference to reflow command to a pointer to a reflow command
git-svn-id: svn://10.0.0.236/trunk@2168 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 04:56:27 +00:00
troy
ac413c29fa Changed splittable enum to be bit flags
git-svn-id: svn://10.0.0.236/trunk@2167 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 04:54:11 +00:00
pinkerton
ade769a9c5 commented out the annoying assert when max round was exceeded.
git-svn-id: svn://10.0.0.236/trunk@2166 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 04:22:04 +00:00
pinkerton
afe582b7b5 Landing of a bunch of appearance manager stuff. (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2165 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 04:19:24 +00:00
troy
c7abe18deb Changed the nsBandTrapezoid::State enum values to conform to the coding
standard


git-svn-id: svn://10.0.0.236/trunk@2164 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 04:03:14 +00:00
troy
449871aa10 Added new Reflow() member function that will eventually supersede the two
existing reflow functions: ResizeReflow() and IncrementalReflow()


git-svn-id: svn://10.0.0.236/trunk@2162 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 03:52:51 +00:00
troy
06b63f6642 Some work in progress for incremental floaters
git-svn-id: svn://10.0.0.236/trunk@2161 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 02:38:41 +00:00
spider
bb47dc2302 Adding the beginnings of Colormap Installation
git-svn-id: svn://10.0.0.236/trunk@2160 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 01:58:31 +00:00
wtc
81cc85bf08 OSF1 V3.2 does not have <machines/builtins.h>, which declares the
atomic routines.  Thanks to Andrew Cassin <acassin@cs.mu.oz.au> for
this patch.


git-svn-id: svn://10.0.0.236/trunk@2157 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 00:59:33 +00:00
troy
6b6d4c22d4 Fixed some busted code of a bogus type cast
git-svn-id: svn://10.0.0.236/trunk@2154 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 00:45:34 +00:00
buster
9d29532002 made nsTableCaptionFrame a subclass of nsBodyFrame
git-svn-id: svn://10.0.0.236/trunk@2151 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 00:05:22 +00:00
shaver
6b008173d1 added missing lib
git-svn-id: svn://10.0.0.236/trunk@2150 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 23:53:00 +00:00
kostello
997174b4d5 * Added Support for cell spacing
* NOTE: due to changes in the style system -- things won't look correct right away.


git-svn-id: svn://10.0.0.236/trunk@2149 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 23:43:18 +00:00
buster
93d6e09272 added a "-f" debug option to read a file for URLs to load
added a "-d" debug option to set the delay between URL loads


git-svn-id: svn://10.0.0.236/trunk@2147 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 23:41:53 +00:00
mccabe
d90f218a88 Fix to (83996), global parseInt function fails for numbers > 2^31.
It now passes all of the tests in 15.1.2.2-1 (except that parseInt
still has the .length property, which is a different bug) - so I'll
close the bug.

Still possibly at issue is whether we conform to ECMA language about
decimal numbers that are too large to fit in a double.  I treat
decimal digits after the 20th as zero, but there could be some
floating-point rounding wackiness going on.  In particular - are we
doing the right thing for numbers that are powers of 2, but larger
than 2^54, that are representable in a double?


git-svn-id: svn://10.0.0.236/trunk@2143 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 23:15:24 +00:00
matt
559c72d11b ifdef include on prosdep. If should not be dependent. Was breaking js/src builds
git-svn-id: svn://10.0.0.236/trunk@2141 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 22:41:18 +00:00
rickg
7afaf5e301 temp. comment out call
git-svn-id: svn://10.0.0.236/trunk@2138 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 22:19:40 +00:00
montulli
73bf44f694 initial add of netsream.h , not yet in build
git-svn-id: svn://10.0.0.236/trunk@2134 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 22:03:55 +00:00
gagan
f8b1fc15d8 An excursion timing class.
git-svn-id: svn://10.0.0.236/trunk@2132 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 21:56:58 +00:00
rickg
f2f5d28308 incremental parsing; xml support; token handler dispatching; performance
git-svn-id: svn://10.0.0.236/trunk@2126 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 20:38:32 +00:00
rickg
3fac38b3d8 moved to new incremental API
git-svn-id: svn://10.0.0.236/trunk@2125 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 20:37:41 +00:00
rickg
7caed77d22 minor perf improvement to deque
git-svn-id: svn://10.0.0.236/trunk@2124 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 20:37:17 +00:00
guha
f3f598e3ce Add prototype, temporary bug fix added.
git-svn-id: svn://10.0.0.236/trunk@2122 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 19:23:44 +00:00
guha
9d3512090b Export NET_InitRDFCookieResources
git-svn-id: svn://10.0.0.236/trunk@2121 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 19:17:21 +00:00
guha
612bc28681 Add export (for Mac), fix XP_strcmp NOT_NULL bug.
git-svn-id: svn://10.0.0.236/trunk@2120 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 19:16:43 +00:00
guha
a66d4a6595 Cookie changes.
git-svn-id: svn://10.0.0.236/trunk@2119 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 19:08:38 +00:00
selmer
05259add9a Change over to http: w/IP for reggie connections
git-svn-id: svn://10.0.0.236/trunk@2115 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 18:18:55 +00:00
gagan
fd6863b577 Added nsCachePref for cache preferences. This will have the interface
for libpref or nsPref stuff. Added database support for dbm. General
progress. This is not in the main build as yet.


git-svn-id: svn://10.0.0.236/trunk@2113 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 18:04:34 +00:00
gagan
019a155771 Added nsCachePref for cache preferences. This will have the interface
for libpref or nsPref stuff. General progress. This is not in the main
build as yet.


git-svn-id: svn://10.0.0.236/trunk@2112 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 18:03:50 +00:00
guha
ab5cd02bee Fix Linux optimized build problem reported by
Hani Suleiman <hani@fate.demon.co.uk>

>Building an optimised build under Linux fails unless the FE_Trace() on
>line 143 is wrapped with #ifdef DEBUG


git-svn-id: svn://10.0.0.236/trunk@2110 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 17:34:57 +00:00
kipp
b7133a9963 disabled reflow-mapped-child for now
git-svn-id: svn://10.0.0.236/trunk@2109 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 16:29:20 +00:00
kipp
f80729a530 Not quite functional handling of line state during GetReflowMetrics
git-svn-id: svn://10.0.0.236/trunk@2108 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 16:12:31 +00:00
kipp
ba6ecd8a02 better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow; fixed more cases where reflow is required
git-svn-id: svn://10.0.0.236/trunk@2107 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 16:12:10 +00:00
kipp
af4fc73183 Added a few more fields to better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow
git-svn-id: svn://10.0.0.236/trunk@2106 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 16:11:29 +00:00
kipp
7e6b6eb56f Removed temporary content appended hack (it no longer works)
git-svn-id: svn://10.0.0.236/trunk@2105 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 16:10:35 +00:00
spider
d6f1c041a2 Some additional Rendering Implementations (Line/Rect/Arc)
Support for offscreen Pixmap's


git-svn-id: svn://10.0.0.236/trunk@2103 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 08:24:44 +00:00
toshok
fbb307b987 fix the bug where form reset with textarea's would segfault. just cut-n-pasted one line from the text input element's reset method.
git-svn-id: svn://10.0.0.236/trunk@2102 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 07:18:51 +00:00
briano
a329fa209e Added -D_PR_LOCAL_THREADS_ONLY so files outside nsprpub that include _scoos.h will compile.
git-svn-id: svn://10.0.0.236/trunk@2100 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 04:06:00 +00:00
scc
64bca9f3dc Report the project that actually stopped the build.
git-svn-id: svn://10.0.0.236/trunk@2094 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 02:41:11 +00:00
peterl
63031f554c new file
git-svn-id: svn://10.0.0.236/trunk@2091 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 02:34:45 +00:00
peterl
25861753fc Changed GetStyleData to use an enum instead of an nsID
git-svn-id: svn://10.0.0.236/trunk@2090 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 02:34:13 +00:00
rickg
835d063055 filled in the popback function
git-svn-id: svn://10.0.0.236/trunk@2089 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 02:27:34 +00:00
slamm
d65d3e6e3d Fix Mozilla bug #385. Global history file would not get recreated if it was deleted. Thanks to Ronan Waide <waider@cognotec.com> for reporting the problem and developing a patch.
git-svn-id: svn://10.0.0.236/trunk@2087 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 01:39:25 +00:00
rjc
e812d8fbf5 Bug fix: Make sure parent isn't NULL.
git-svn-id: svn://10.0.0.236/trunk@2084 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 01:06:51 +00:00
rjc
7953137eac GetSlotValue() now returns memory which caller must free (if its a string). Remove references to DEBUG_RDF_GetSlotValue_Memory_Needs_Freedom define.
git-svn-id: svn://10.0.0.236/trunk@2082 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 00:57:25 +00:00
spider
970e83bba8 Fixes for making nsAppTest use gfx basics
git-svn-id: svn://10.0.0.236/trunk@2079 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 00:37:02 +00:00
slamm
17f978fb8f Use the winning animation from the Mozilla Logo Contest. Congratulations go to Urs Streidl <urs@gigaperls.org>.
git-svn-id: svn://10.0.0.236/trunk@2072 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:33:44 +00:00
spider
ea4ca5d1b9 Add motif to DIRS, commented out for now
git-svn-id: svn://10.0.0.236/trunk@2071 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:20:32 +00:00
spider
0866ff0202 Adding NS_NATIVE_WIDGET to get the native widget associated with an nsIWidget.
Windows has a concept of a native window whilst unix has a native widget and
a native window.


git-svn-id: svn://10.0.0.236/trunk@2070 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:19:38 +00:00
kipp
a9dcc1b0ed Fixed bug in nsString::Cut code where the sizeof(chartype) was multipled a bit aggresively; I also tuned the routine somewhat as well
git-svn-id: svn://10.0.0.236/trunk@2069 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:18:25 +00:00
spider
e80bba2116 Motif Mods
git-svn-id: svn://10.0.0.236/trunk@2068 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:18:09 +00:00
spider
eed0288148 Xlib mods
git-svn-id: svn://10.0.0.236/trunk@2067 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:17:49 +00:00
scc
1794e6b4c9 Added StopForErrors() and DontStopForErrors(). The former is the default, though logging must be on to allow errors to be noticed.
git-svn-id: svn://10.0.0.236/trunk@2066 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:09:53 +00:00
jevering
e5cf6a5951 Broke release build. Fixed.
git-svn-id: svn://10.0.0.236/trunk@2065 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:08:12 +00:00
montulli
1ed5ce76dd initial add of cstream library, not yet in build
git-svn-id: svn://10.0.0.236/trunk@2063 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 22:36:31 +00:00
kmcclusk
c294a50d5f Removed windows directory from widget/tests
git-svn-id: svn://10.0.0.236/trunk@2061 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 22:07:17 +00:00
kmcclusk
df29b2b178 Created an AppShell to abstract the event loop. Re-organized widget tests
into scribble and widget subdirectories and separated cross-platform code from
platform specific code


git-svn-id: svn://10.0.0.236/trunk@2060 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 22:02:14 +00:00
kipp
e4dbeae2e8 Disable reflow optimizations for now
git-svn-id: svn://10.0.0.236/trunk@2057 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 21:51:51 +00:00
spider
3edc3aaa94 Add NS_UNIX if __unix is defined
git-svn-id: svn://10.0.0.236/trunk@2056 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 21:40:46 +00:00
troy
18c747aa19 Cleaned up performance
git-svn-id: svn://10.0.0.236/trunk@2055 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 21:40:00 +00:00
spider
46b5aeb9b8 update nsAppTest for unix to work
git-svn-id: svn://10.0.0.236/trunk@2054 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 21:29:18 +00:00
peterl
5a89c809b7 made it build on irix
git-svn-id: svn://10.0.0.236/trunk@2053 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 21:28:36 +00:00
dcone
76471f424e put in the inverse color table routine and did 8 bit alpha
git-svn-id: svn://10.0.0.236/trunk@2052 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 21:12:38 +00:00
spider
48f1bf43c5 Support for so's made of archives
git-svn-id: svn://10.0.0.236/trunk@2050 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 21:02:04 +00:00
spider
a92e35fbe7 Misc Unix stuff
git-svn-id: svn://10.0.0.236/trunk@2049 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 21:01:38 +00:00
peterl
5881217641 added load timing
git-svn-id: svn://10.0.0.236/trunk@2048 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 20:34:54 +00:00
peterl
5673af6984 added rule hash table to speed up style resolution
git-svn-id: svn://10.0.0.236/trunk@2047 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 20:34:17 +00:00
peterl
c31cedc223 collapse double empty contexts
git-svn-id: svn://10.0.0.236/trunk@2046 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 20:33:30 +00:00
peterl
c7440bcf59 added rule count accessor
git-svn-id: svn://10.0.0.236/trunk@2045 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 20:32:57 +00:00
peterl
9d9d3404d3 added enumerate methods
git-svn-id: svn://10.0.0.236/trunk@2044 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 20:31:58 +00:00
robinf
702d26cb8e fixinb header bug in AS help
git-svn-id: svn://10.0.0.236/trunk@2042 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 19:17:14 +00:00
robinf
656ec38f0e fixinb header bug
git-svn-id: svn://10.0.0.236/trunk@2041 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 19:10:12 +00:00
robinf
959244b105 fixinb bug in comment line
git-svn-id: svn://10.0.0.236/trunk@2038 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 19:02:32 +00:00
spider
83c4fc037c Some unix stuff
git-svn-id: svn://10.0.0.236/trunk@2035 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 17:59:52 +00:00
thom
c5eba1ff11 added project file for mac build
git-svn-id: svn://10.0.0.236/trunk@2033 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 17:30:15 +00:00
kipp
d7224c5e89 Added command line args for purify/quantify runs
git-svn-id: svn://10.0.0.236/trunk@2030 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:28:40 +00:00
kipp
87b65c0bca Added rule for MULTICOL
git-svn-id: svn://10.0.0.236/trunk@2029 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:28:19 +00:00
kipp
7517c6c495 Add in will/did reflow calls; add in tracing calls too
git-svn-id: svn://10.0.0.236/trunk@2028 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:28:05 +00:00
kipp
b1a4dc5a81 Use new tracing macros; add in ReflowMappedChild to avoid reflowing children
git-svn-id: svn://10.0.0.236/trunk@2027 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:27:46 +00:00
kipp
fcd752ba90 Use new tracing macros and verify-tree-enable
git-svn-id: svn://10.0.0.236/trunk@2026 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:27:22 +00:00
kipp
d7c6851d21 Added in mDeltaWidth to block reflow state
git-svn-id: svn://10.0.0.236/trunk@2025 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:26:46 +00:00
kipp
e91d496797 Fixed GetReflowMetrics to return something; use new tracing methods and verify-tree-enable; compute delta width for line layout logic
git-svn-id: svn://10.0.0.236/trunk@2024 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:26:34 +00:00
kipp
3f35550560 GetReflowMetrics now updates the reflow state
git-svn-id: svn://10.0.0.236/trunk@2023 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:25:40 +00:00
kipp
88d895e375 Added a minor optimization to avoid memcpy calls that aren't needed
git-svn-id: svn://10.0.0.236/trunk@2022 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:25:16 +00:00
kipp
7d6827867d Use new frame tracing macros
git-svn-id: svn://10.0.0.236/trunk@2021 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:24:54 +00:00
kipp
f074763ff0 Declare tracing macros that use nspr logging and tracing methods that support the macros
git-svn-id: svn://10.0.0.236/trunk@2020 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:24:36 +00:00
kipp
1811ed96e7 Implement new debugging hooks that use nspr logging; also implement tracing methods in nsFrame; use tracing in will/did-reflow hooks
git-svn-id: svn://10.0.0.236/trunk@2019 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:24:13 +00:00
kipp
289b959938 Added some trace messages; fixed bug in PaintChildren that was always painting all children instead of allowing the intersection with the dirty rect to avoid paints
git-svn-id: svn://10.0.0.236/trunk@2018 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:23:37 +00:00
kipp
be2e63322f Added more debugging hooks that use nspr logging
git-svn-id: svn://10.0.0.236/trunk@2017 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:22:15 +00:00
kipp
a84aba4939 Added empty constructor; removed instance count sillyness
git-svn-id: svn://10.0.0.236/trunk@2016 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 16:21:48 +00:00
scc
7b810c81dd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2015 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 08:12:13 +00:00
rjc
6a0f22ab75 Add support for "Refresh" command across data sources. Also, fix a couple more bugs in HT regarding node count (deletion didn't always update the count correctly.)
git-svn-id: svn://10.0.0.236/trunk@2013 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 06:35:51 +00:00
troy
a558a8350d Added more self-test code
git-svn-id: svn://10.0.0.236/trunk@2012 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 05:29:56 +00:00
troy
b702a4ba14 Implemented RemoveRegion()
git-svn-id: svn://10.0.0.236/trunk@2010 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 05:14:14 +00:00
pinkerton
1dd9e2519e provide a valid context to HT_Launch (appr/rev sdagley).
git-svn-id: svn://10.0.0.236/trunk@2009 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 04:29:48 +00:00
brade
579c9382d7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@2008 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 04:06:08 +00:00
rjc
bce056df6f Fix bug with tracking # of grandchildren nodes. (Discovered by pinkerton)
git-svn-id: svn://10.0.0.236/trunk@2007 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 03:43:43 +00:00
mccabe
f491c91092 Removed the escape and unescape functions, as they are now part of the
core engine.  (They've become part of the ECMA spec.)  Fix to (97681).


git-svn-id: svn://10.0.0.236/trunk@2006 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 03:25:41 +00:00
mccabe
f6b9e3b9f1 Removed the escape and unescape functions, as they are now part of the core engine. (They've become part of the ECMA spec.) Fix to (97681).
git-svn-id: svn://10.0.0.236/trunk@2005 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 03:23:07 +00:00
valeski
0d79805d7e fixing a purify UMR as reported by Kipp
git-svn-id: svn://10.0.0.236/trunk@2003 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 02:33:17 +00:00
blythe
ff93a49ca6 The preference DLLs contain COM objects. Their registry keys are set to
have relative paths.  This normally works fine, unless the current working
directory is other than that of the default program directory where the
pref DLLs are normally located.  This could happen by executing the
program from a different directory, or by saving a file to a directory
other than the default program directory.  In order to fix this, we need
to push to the program directory just prior to loading a preference
COM object, and then pop back.


git-svn-id: svn://10.0.0.236/trunk@2002 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 02:15:42 +00:00
rjc
21479d1671 Make Appletalk URLs (at:, afp:) more closely match URL format definition in CyberDog.
git-svn-id: svn://10.0.0.236/trunk@1999 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 01:13:24 +00:00
karnaze
d730d6f71d temp hack to test post submission
git-svn-id: svn://10.0.0.236/trunk@1990 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 00:10:42 +00:00
thom
38a3d3a5fc fixed compile errors for mac
git-svn-id: svn://10.0.0.236/trunk@1984 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 23:11:28 +00:00
troy
e456af6993 Changes for removing regions
git-svn-id: svn://10.0.0.236/trunk@1983 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 22:55:40 +00:00
michaelp
a1d8688193 removed rects from region apis. fleshed out windows region implementation.
git-svn-id: svn://10.0.0.236/trunk@1980 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 22:08:46 +00:00
guha
698734b1fa fix mac horkage
git-svn-id: svn://10.0.0.236/trunk@1979 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 22:07:35 +00:00
guha
c9b6a45791 more small fixes
git-svn-id: svn://10.0.0.236/trunk@1974 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 21:01:38 +00:00
rods
c491d51bea initial checkin
git-svn-id: svn://10.0.0.236/trunk@1973 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 20:39:31 +00:00
rods
bf9d48d947 removed xwin directory
git-svn-id: svn://10.0.0.236/trunk@1972 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 20:34:45 +00:00
sar
7493f80280 backing out the whitespace change and implementing a better fix for the line length problem - courtesy of Dan Veditz
git-svn-id: svn://10.0.0.236/trunk@1970 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 20:20:15 +00:00
sar
62142af8ac were up against a 4k POSIX inspired limit on command lines. I've removed white space to bring the command line under the limit. This is a temporary workaround and this needs to be repaired properly.
git-svn-id: svn://10.0.0.236/trunk@1967 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 19:59:38 +00:00
pinkerton
160a8e61dd add comment that this class is obsolete (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@1966 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 19:31:51 +00:00
pinkerton
8d35afb70d Beginnings of appearance manager support. Add AM classes to powerplant and make toolbars use either AM (through CAMSavvyBevelView) or old way if AM not present (for now, this may change). (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@1965 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 19:25:59 +00:00
pinkerton
ce8e90e141 use new HT_Launch api (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@1964 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 19:21:38 +00:00
pinkerton
6c9089dc62 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@1963 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 19:16:51 +00:00
jevering
1a4bf77fe2 Debug Robot work.
git-svn-id: svn://10.0.0.236/trunk@1962 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 19:06:59 +00:00
thom
0679c3495c added worksheet for checking out nglayout from archive
git-svn-id: svn://10.0.0.236/trunk@1961 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 18:41:40 +00:00
thom
10c14c948c files to help build the project
git-svn-id: svn://10.0.0.236/trunk@1960 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 18:37:15 +00:00
cyeh
c35d1d0ae5 update documentation to reflect mozilla as root of the source directory
git-svn-id: svn://10.0.0.236/trunk@1959 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 18:11:30 +00:00
karnaze
45388bf6ed better layout, sizing of select
git-svn-id: svn://10.0.0.236/trunk@1957 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 17:51:21 +00:00
pnunn
15db7e35fe Remove temporary fix to Makefile for alpha linux optimization build of jidctred.c in jpeg module.
-pnunn


git-svn-id: svn://10.0.0.236/trunk@1956 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 17:50:14 +00:00
cyeh
d385affc17 update documentation to reflect mozilla as root of the source diretory
git-svn-id: svn://10.0.0.236/trunk@1955 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 17:34:43 +00:00
brade
835770d74d remove file jdictred.c to fix Alpha Linux build [for pnunn]
git-svn-id: svn://10.0.0.236/trunk@1954 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 17:10:36 +00:00
pnunn
4a557ed622 jidctred.c isn't used and causes build errors on alpha linux. Removed.
git-svn-id: svn://10.0.0.236/trunk@1953 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 17:05:36 +00:00
pnunn
5d9a7159aa jidctred.c is not needed and causes build problems (optimization) on alpha linux.
git-svn-id: svn://10.0.0.236/trunk@1952 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 17:00:46 +00:00
pnunn
a9bcb781ad Take out scaling, for makefile fix for linux optimization build problems on jidctred.c.
git-svn-id: svn://10.0.0.236/trunk@1951 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 16:59:07 +00:00
vidur
138a395379 New files for XPCOM interface generation
git-svn-id: svn://10.0.0.236/trunk@1946 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 15:59:53 +00:00
troy
e7e5cf121d Work in progress on removing a region
git-svn-id: svn://10.0.0.236/trunk@1945 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 15:30:10 +00:00
cmanske
aeec6647c1 Trying to help out the build bustage
git-svn-id: svn://10.0.0.236/trunk@1936 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 06:31:08 +00:00
vidur
dd3b2d1dca Added Core IDL files
git-svn-id: svn://10.0.0.236/trunk@1928 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 05:25:17 +00:00
vidur
606efca8f6 Added XPCOM interface generation
git-svn-id: svn://10.0.0.236/trunk@1926 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 05:21:21 +00:00
davidm
fb3a49b0a8 Reverting out changes which should have landed on the branch
git-svn-id: svn://10.0.0.236/trunk@1923 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 04:06:40 +00:00
montulli
0170278262 fix commercial build
git-svn-id: svn://10.0.0.236/trunk@1913 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 03:37:48 +00:00
montulli
74188eedbb fix commercial build
git-svn-id: svn://10.0.0.236/trunk@1902 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 03:28:35 +00:00
montulli
0f73aed6b6 fix commercial build
git-svn-id: svn://10.0.0.236/trunk@1899 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 03:22:20 +00:00
troy
628ced511a Signed
git-svn-id: svn://10.0.0.236/trunk@1894 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 03:02:39 +00:00
troy
00dc35659a Initial check-in
git-svn-id: svn://10.0.0.236/trunk@1893 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 03:01:30 +00:00
troy
ed866399b2 Revamped space manager internals
git-svn-id: svn://10.0.0.236/trunk@1892 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 03:00:56 +00:00
rickg
0e475bb67c small improvement to deque-iterator interface
git-svn-id: svn://10.0.0.236/trunk@1889 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 01:51:24 +00:00
montulli
f86a872ab2 add pr includes for build
git-svn-id: svn://10.0.0.236/trunk@1887 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 01:46:14 +00:00
davidm
6245cefeb7 Updated from Nova branch to Normandy branch
git-svn-id: svn://10.0.0.236/trunk@1880 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 01:05:08 +00:00
scullin
3ef5c773eb Moving over from xp library to NSPR
git-svn-id: svn://10.0.0.236/trunk@1878 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 00:57:15 +00:00
scullin
f62d3cc534 Moving over from xp library to NSPR. Moved cvactive.h from include to
network/cnvts


git-svn-id: svn://10.0.0.236/trunk@1875 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 00:54:09 +00:00
scullin
debabe5641 Moved cvactive.h from include to network/cnvts
git-svn-id: svn://10.0.0.236/trunk@1872 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 00:38:16 +00:00
peterl
24cf967380 added pseudo-class rule matching
git-svn-id: svn://10.0.0.236/trunk@1870 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 00:09:29 +00:00
peterl
acfcdc2a6b added link state api
git-svn-id: svn://10.0.0.236/trunk@1869 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 00:08:57 +00:00
peterl
8e416a2afc added pseudo-class atoms
git-svn-id: svn://10.0.0.236/trunk@1868 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 00:08:16 +00:00
scullin
d714884f88 Moved cvactive.h from include to network/cnvts
git-svn-id: svn://10.0.0.236/trunk@1866 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 00:07:47 +00:00
kmcclusk
3383117044 Changed listbox to be a nonintegral height under Win32
git-svn-id: svn://10.0.0.236/trunk@1865 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 23:52:20 +00:00
scullin
a630772729 Moved cvactive.h from include to network/cnvts
git-svn-id: svn://10.0.0.236/trunk@1863 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 23:51:09 +00:00
thom
f0392ea33c mac build
git-svn-id: svn://10.0.0.236/trunk@1861 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 22:50:19 +00:00
thom
ddff04c33f Mac checkin
git-svn-id: svn://10.0.0.236/trunk@1860 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 22:47:24 +00:00
thom
dc472ffeb0 Commented out forward class declaration that was choking code warrior
git-svn-id: svn://10.0.0.236/trunk@1859 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 22:45:00 +00:00
thom
6800ec6d38 Mac checkin
git-svn-id: svn://10.0.0.236/trunk@1858 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 22:42:13 +00:00
michaelp
b8b80b4ecc added stub nsRegionWin.cpp
git-svn-id: svn://10.0.0.236/trunk@1857 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 22:24:20 +00:00
atotic
e98e711acf Added new access paths for planned will's netlib modularization checkin
git-svn-id: svn://10.0.0.236/trunk@1856 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 22:10:09 +00:00
toshok
57a8a16052 apparently digital unix's c compiler has a problem with the work 'readonly' (it appears to be a reserved word, as far as that compiler goes). So, I'm changing all occurences of the readonly form element attribute to read_only. Thanks to berkley@cs.wustl.edu (Berkley Shands) for the report and suggested fix.
git-svn-id: svn://10.0.0.236/trunk@1855 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:58:00 +00:00
michaelp
1fd6c53148 killed nsRegion.h. added nsIRegion.h. added SetClipRegion() to rendering context.
modified APIs that had been referring to nsRegion to use nsIRegion.


git-svn-id: svn://10.0.0.236/trunk@1852 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:46:20 +00:00
peterl
73c129482a more style debugging code
git-svn-id: svn://10.0.0.236/trunk@1850 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:12:19 +00:00
peterl
94da62428a added pseudo frame support
git-svn-id: svn://10.0.0.236/trunk@1849 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:11:08 +00:00
peterl
738c42eb75 cleaned up list output
git-svn-id: svn://10.0.0.236/trunk@1848 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:10:44 +00:00
peterl
296429509e pseudo frame support
git-svn-id: svn://10.0.0.236/trunk@1847 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:10:19 +00:00
peterl
f09aae3304 correct case of selectors
skip empty selectors
better pseudo-class support


git-svn-id: svn://10.0.0.236/trunk@1846 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:09:43 +00:00
peterl
9b35736a68 added pseudo element support
git-svn-id: svn://10.0.0.236/trunk@1845 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:07:54 +00:00
peterl
891a4eb5d1 fixed memory leak
fixed uninitialized memory read


git-svn-id: svn://10.0.0.236/trunk@1844 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:07:24 +00:00
peterl
021e20ff2c added pseudo style support
git-svn-id: svn://10.0.0.236/trunk@1843 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:06:33 +00:00
peterl
bae746d31c added pseudo style support
added debug list of context graph


git-svn-id: svn://10.0.0.236/trunk@1842 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:05:52 +00:00
peterl
98569af3d2 added debugging code
git-svn-id: svn://10.0.0.236/trunk@1841 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:04:26 +00:00
peterl
28f4537549 fixed memory leak
git-svn-id: svn://10.0.0.236/trunk@1840 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:03:55 +00:00
peterl
796739f0d7 added pseudo frame style support
git-svn-id: svn://10.0.0.236/trunk@1839 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:03:10 +00:00
peterl
80dd125ad5 added list method
git-svn-id: svn://10.0.0.236/trunk@1838 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:02:49 +00:00
nisheeth
7b46e0d71b val was not being initialized properly lo_LayoutBlockSpacer(). Fixed. Thanks
to Kathy Brade (brade@netscape.com) for catching this.


git-svn-id: svn://10.0.0.236/trunk@1835 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 20:44:34 +00:00
brade
796eba9e99 remove #ifdef XP_MAC and unify memory calls/API; reviewed sdagley; approved toshok
git-svn-id: svn://10.0.0.236/trunk@1834 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 20:42:39 +00:00
toshok
8e35d123f9 this change may look like a lot, but it's really only one line. the rest is formatting. at any rate, this fixes the problem where the underlines were drawn at places other than the proper place for links.
git-svn-id: svn://10.0.0.236/trunk@1833 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 20:42:30 +00:00
thom
e6c4ec060c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@1828 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 19:47:30 +00:00
toshok
6a48818ffb Fix bugzilla entries 134 (javascript crashing setting text in textarea) and 346 (missing & in call to fe_convertToXmString) thanks to waider@waider.ie (Ronan Waide) for the fixes.
git-svn-id: svn://10.0.0.236/trunk@1824 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 18:28:55 +00:00
karnaze
7c7404988e fixed nsInputFile::SizeTo
git-svn-id: svn://10.0.0.236/trunk@1822 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 18:07:01 +00:00
kmcclusk
5106d81117 Added nsTooltipEvent to indicate the index of the tooltip rectangle that is being shown.
Now correctly initializes TOOLINFO structures before using them.


git-svn-id: svn://10.0.0.236/trunk@1819 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 17:55:34 +00:00
kipp
36585827fd Print out state when non-zero
git-svn-id: svn://10.0.0.236/trunk@1816 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 16:53:09 +00:00
kipp
3be7942344 Call WillReflow before reflowing children
git-svn-id: svn://10.0.0.236/trunk@1815 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 16:52:57 +00:00
kipp
8397a26e24 dump out state and next-in-flow/prev-in-flow conditionally
git-svn-id: svn://10.0.0.236/trunk@1814 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 16:52:41 +00:00
kipp
be2171d84f Implement DidReflow to pass it down to children when exiting reflow; dump out state and next-in-flow/prev-in-flow conditionally
git-svn-id: svn://10.0.0.236/trunk@1813 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 16:51:37 +00:00
kipp
09c14b650b Implement DidReflow to pass it down to children when exiting reflow
git-svn-id: svn://10.0.0.236/trunk@1812 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 16:51:17 +00:00
karnaze
c6f7ca1c13 initial support for <input type=file>, combo box use of widget init data for sizing
git-svn-id: svn://10.0.0.236/trunk@1811 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 16:39:42 +00:00
guha
c9368a0466 fix bug in xml glue reported by Henning Behme
of iX Magazine, Germany


git-svn-id: svn://10.0.0.236/trunk@1807 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-17 18:22:29 +00:00
brendan
844e2114c4 Modernize README
git-svn-id: svn://10.0.0.236/trunk@1796 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-16 00:55:35 +00:00
thom
de892d2fc0 mac project for layout
git-svn-id: svn://10.0.0.236/trunk@1784 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 22:24:27 +00:00
thom
884257d7fb mac project for htmlparser
git-svn-id: svn://10.0.0.236/trunk@1783 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 22:23:34 +00:00
thom
749a2f608a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@1782 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 22:22:34 +00:00
thom
d94aa1f263 gfx is a graphics envionment for nglayout
git-svn-id: svn://10.0.0.236/trunk@1781 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 22:11:03 +00:00
briano
1319f7d9f3 Forgot to make sure the optimization tweak only happens when BUILD_OPT is set. Duh.
git-svn-id: svn://10.0.0.236/trunk@1763 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 19:02:42 +00:00
spence
9433ad818b ifdef bustage
git-svn-id: svn://10.0.0.236/trunk@1760 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 18:54:35 +00:00
briano
82febb3994 Minor tweak for Alpha Linux. On my machine (DECStation 200, 64MB, RH5,
2.0.30), using -O2 (the default) causes the optimizer to dump core,
leaving gcc hanging.  Using -O instead, for just jidctred.c, works fine.
This is hopefully a temporary hack.  Anyone have any long-term solutions?
Approved by pnunn@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@1759 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 18:50:35 +00:00
dario
ae00c83c64 final checkin from Judah
git-svn-id: svn://10.0.0.236/trunk@1758 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 18:49:17 +00:00
jevering
03e1d6d1b3 Dont crash (at least in debug mode) when a stream cannot be opened.
git-svn-id: svn://10.0.0.236/trunk@1756 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 18:16:39 +00:00
rods
b8e2e3379e initial
git-svn-id: svn://10.0.0.236/trunk@1753 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 17:43:42 +00:00
briano
abadd4350e 'Fixed' the warning about the supposed trigraph. a=djw
git-svn-id: svn://10.0.0.236/trunk@1751 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 17:16:49 +00:00
atotic
ccf76ff3ee Removed NSstring.* because of conflicts with raptor, renamed to macstrdlibxetras
git-svn-id: svn://10.0.0.236/trunk@1750 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 16:59:14 +00:00
atotic
1b116c75fd Renamed nsstring.[c|h] to macstdlibextras.[c|h] because of the naming conflict with Raptor (which uses ns prefix exclusively).
git-svn-id: svn://10.0.0.236/trunk@1749 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 16:54:09 +00:00
atotic
6e725d53b2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@1748 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 16:52:14 +00:00
ramiro
1978d2055d Add support for dropping to toolbox tabs.
git-svn-id: svn://10.0.0.236/trunk@1741 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 14:32:43 +00:00
ramiro
9bc24c9ded Add XfeTabDrawRaised().
git-svn-id: svn://10.0.0.236/trunk@1740 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 14:14:17 +00:00
ramiro
c19d523901 Add XfeToolBarGetFirstItem().
git-svn-id: svn://10.0.0.236/trunk@1739 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 13:30:24 +00:00
ramiro
b7a22d4046 Use a define instead of a hard coded '-1' constant.
git-svn-id: svn://10.0.0.236/trunk@1738 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 11:37:38 +00:00
ramiro
a548db7541 Remove dead code.
git-svn-id: svn://10.0.0.236/trunk@1737 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 11:32:28 +00:00
ramiro
d793c376eb Add icon to indicator if needed.
git-svn-id: svn://10.0.0.236/trunk@1736 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 11:23:24 +00:00
ramiro
9612894836 Add a check for a NULL str before passing it to strcmp().
Otherwise, Linux and possibly other platforms with strict strcmp()
implementations will crash when the plugin list is NULL.  Thanks to
pollmann@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@1735 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 11:21:09 +00:00
ramiro
6c9a7381bc Take out row column assertion. Any manager can be a parent of this widget.
Thanks to Dirk Laessig <d.laessig@tu-bs.de>


git-svn-id: svn://10.0.0.236/trunk@1733 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 10:01:57 +00:00
ramiro
4b689e87cd Dont move dead widgets.
Thanks to Dirk Laessig <d.laessig@tu-bs.de>


git-svn-id: svn://10.0.0.236/trunk@1732 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 10:01:54 +00:00
rpotts
fff42d31c8 Added status arguments to OnStopBinding(...)
git-svn-id: svn://10.0.0.236/trunk@1731 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:46:51 +00:00
rpotts
a8ce21f5fc Fixed IRIX build bustage... Added status arguments to OnStopBinding(...)
git-svn-id: svn://10.0.0.236/trunk@1730 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:46:42 +00:00
rpotts
943c179e9a Fixed OnStopBinding(...) to take status arguments...
git-svn-id: svn://10.0.0.236/trunk@1729 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:42:07 +00:00
rpotts
b0007ddd7f Added exports for nsIBaseStream.h and nsIOutputStream.h
git-svn-id: svn://10.0.0.236/trunk@1728 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:41:21 +00:00
rpotts
51c1ae6c3f Changed to use the nsIBaseStream as a base class...
git-svn-id: svn://10.0.0.236/trunk@1727 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:40:43 +00:00
rpotts
5341d8930c Interface for Output Streams...
git-svn-id: svn://10.0.0.236/trunk@1726 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:40:02 +00:00
rpotts
68365a9056 New interface that all stream interfaces can derive from...
git-svn-id: svn://10.0.0.236/trunk@1725 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:39:37 +00:00
rpotts
32c056bbbd fix for the IRIX build...
git-svn-id: svn://10.0.0.236/trunk@1713 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 08:51:48 +00:00
spence
aa327e5e21 correctly set position for shack elements
git-svn-id: svn://10.0.0.236/trunk@1705 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 01:15:01 +00:00
spence
8d91fa7351 improve shack widget mgmt
git-svn-id: svn://10.0.0.236/trunk@1702 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 00:13:57 +00:00
spence
bf8dba93ab xfe shack changes
git-svn-id: svn://10.0.0.236/trunk@1696 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 23:43:26 +00:00
selmer
5864826a77 Fixed up comments in QuitNavigator re: 112622
git-svn-id: svn://10.0.0.236/trunk@1695 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 23:40:45 +00:00
selmer
349958722e Bug #112622 - change our quit to not broadcast, it was tripping up a java window
git-svn-id: svn://10.0.0.236/trunk@1693 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 23:37:57 +00:00
spider
3a7a283400 Fixes for toplevel shared support
git-svn-id: svn://10.0.0.236/trunk@1687 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 22:53:21 +00:00
spider
6ba088ac61 Allow shared objects to be built of archives on Unix
git-svn-id: svn://10.0.0.236/trunk@1685 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 22:38:21 +00:00
rickg
4e262a1fe0 WIP for push based tokenization
git-svn-id: svn://10.0.0.236/trunk@1683 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 22:19:08 +00:00
rickg
affe63fab7 minor performance tweak for deque
git-svn-id: svn://10.0.0.236/trunk@1682 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 22:18:44 +00:00
jevering
eab4da2c10 Adding visual mode.
git-svn-id: svn://10.0.0.236/trunk@1680 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 22:16:51 +00:00
jevering
e46e399e41 Beginning to add visual mode.
git-svn-id: svn://10.0.0.236/trunk@1679 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 22:16:36 +00:00
dcone
2817e8b60f More composition code, much faster now
git-svn-id: svn://10.0.0.236/trunk@1676 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 21:49:58 +00:00
jevering
18844ec299 Fixed robot walking somewhat.. needs more cleaning.
git-svn-id: svn://10.0.0.236/trunk@1675 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 21:47:33 +00:00
kmcclusk
0e678cc344 Added widget specific init structs
git-svn-id: svn://10.0.0.236/trunk@1671 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 21:34:08 +00:00
spider
64afacb3f9 Allow shared libraries to be created from multiple archives
git-svn-id: svn://10.0.0.236/trunk@1670 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 21:28:02 +00:00
spider
bc5ea70e80 Allow shared libraries to be created based on several archive libraries
git-svn-id: svn://10.0.0.236/trunk@1668 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 21:27:16 +00:00
slamm
08792f1237 Make page proxy hot spot fit the icon.
git-svn-id: svn://10.0.0.236/trunk@1663 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 20:32:03 +00:00
jevering
99360cdcf8 Hooked up debugging robot to viewer shell
git-svn-id: svn://10.0.0.236/trunk@1629 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 18:25:17 +00:00
wtc
3e14d3e49b Merged NSPRPUB_19980508_BRANCH to the main trunk. The 19980508
branch is a temporary branch for us to copy the latest changes
from our internal development tree to the public mozilla tree.


git-svn-id: svn://10.0.0.236/trunk@1624 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 18:09:56 +00:00
jevering
2ac90f63b7 Moved to .\test
git-svn-id: svn://10.0.0.236/trunk@1619 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 17:42:08 +00:00
wtc
0e5fd8fabf In Rhapsody 5.1 (DR2), the C++ compiler is named c++.
git-svn-id: svn://10.0.0.236/trunk@1608 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 17:01:14 +00:00
ramiro
1ceea7a990 TASKBAR define should be MOZ_TASKBAR.
git-svn-id: svn://10.0.0.236/trunk@1602 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 09:18:26 +00:00
kipp
da654e994c nuked
git-svn-id: svn://10.0.0.236/trunk@1600 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 02:46:28 +00:00
spider
71a19f5b61 Fixes for Unix widget so loading
git-svn-id: svn://10.0.0.236/trunk@1597 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 01:48:54 +00:00
spider
8fc73d2700 Fixes to remove ARCHIVE_ONLY and use MKSHLIB
git-svn-id: svn://10.0.0.236/trunk@1596 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 01:44:50 +00:00
jevering
b0cd070d09 used to be the RobotMain but now is the function DebugRobot to be
added to the viewer.


git-svn-id: svn://10.0.0.236/trunk@1592 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 01:08:06 +00:00
jevering
4e7c880297 Pulled the DebugRobot out into separate DLL
Moved the test code in the robot/test directory.


git-svn-id: svn://10.0.0.236/trunk@1591 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 01:05:56 +00:00
spider
936f05f547 Removing Init where passing nsIShellInstance
git-svn-id: svn://10.0.0.236/trunk@1589 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 01:02:14 +00:00
kipp
368de8a159 Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h
git-svn-id: svn://10.0.0.236/trunk@1588 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:49:46 +00:00
kipp
4ba0b9750b Removed some useless code
git-svn-id: svn://10.0.0.236/trunk@1587 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:49:11 +00:00
kipp
2a9df998b9 Implement new frame methods and store the current state
git-svn-id: svn://10.0.0.236/trunk@1586 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:47:32 +00:00
kipp
5076956d30 Flipped state value of NS_FRAME_COMPLETE with NS_FRAME_NOT_COMPLETE; added new methods WillReflow and DidReflow as well as GetFrameState and SetFrameState
git-svn-id: svn://10.0.0.236/trunk@1585 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:47:05 +00:00
spider
5dd62eb2be Unix fixes
git-svn-id: svn://10.0.0.236/trunk@1584 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:39:59 +00:00
spider
c5149eee02 Fixes to get UNIX working
git-svn-id: svn://10.0.0.236/trunk@1583 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:38:37 +00:00
michaelp
5096e309be added gamma correction of images.
git-svn-id: svn://10.0.0.236/trunk@1582 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:27:38 +00:00
rjc
a640989090 HT_Launch() changes.
git-svn-id: svn://10.0.0.236/trunk@1578 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:01:43 +00:00
robinf
89fbfc375e replacing corrupted images
git-svn-id: svn://10.0.0.236/trunk@1577 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 00:00:17 +00:00
robinf
6285fa084e fixing text so that it tells user how to start AS right away frfom this screen.
git-svn-id: svn://10.0.0.236/trunk@1576 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 23:59:16 +00:00
peterl
b07a7ad406 added HTML CSS style sheet (for STYLE= attributes)
git-svn-id: svn://10.0.0.236/trunk@1575 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 23:43:44 +00:00
peterl
cee84ada85 added style atom
git-svn-id: svn://10.0.0.236/trunk@1574 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 23:42:40 +00:00
peterl
54b5bf170e added HTML CSS style sheet
git-svn-id: svn://10.0.0.236/trunk@1573 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 23:42:18 +00:00
peterl
27702b7e88 renamed getSupportsValue to getISupportsValue
git-svn-id: svn://10.0.0.236/trunk@1572 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 23:42:01 +00:00
mccabe
b8c778ab5e ECMA fix to (117144).
Array.prototype.sort(comparefn) was casting the result of the compare
to an int, which lost when the compare function returned (ecma-valid)
strange double values.  These now get clamped to -1, 0, 1.


git-svn-id: svn://10.0.0.236/trunk@1570 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 23:29:52 +00:00
peterl
9194035028 attribute fix for kostello
git-svn-id: svn://10.0.0.236/trunk@1568 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:41:15 +00:00
peterl
d6449ed8e9 fixed bug in parse declaration block, we now discard empty declarations
tweaked position


git-svn-id: svn://10.0.0.236/trunk@1567 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:40:54 +00:00
peterl
ae5af73b56 fixed position
git-svn-id: svn://10.0.0.236/trunk@1566 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:40:17 +00:00
peterl
4b50ddb390 remove spacing cache invalidate
git-svn-id: svn://10.0.0.236/trunk@1565 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:39:41 +00:00
peterl
6ed543f432 connected spacing calculations to frame
git-svn-id: svn://10.0.0.236/trunk@1564 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:38:54 +00:00
peterl
8a4b477f37 fixed style position values
git-svn-id: svn://10.0.0.236/trunk@1563 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:38:37 +00:00
peterl
47b492ce9f added style size calculation methods
made get style data const


git-svn-id: svn://10.0.0.236/trunk@1562 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:38:09 +00:00
peterl
cdcb865f7e removed cache invalidation methods
git-svn-id: svn://10.0.0.236/trunk@1561 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:35:30 +00:00
spence
264a526b7a fix ifdef bustage
git-svn-id: svn://10.0.0.236/trunk@1559 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:35:20 +00:00
mccabe
a603cb7869 Warning fix - added an (int16) cast to quiet a Windows warning.
git-svn-id: svn://10.0.0.236/trunk@1555 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:13:30 +00:00
donm
aeaccc2e80 fixed unix build bustage. LO_BUILTIN requires #define SHACK and lo_ele.h
git-svn-id: svn://10.0.0.236/trunk@1554 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 21:59:20 +00:00
jevering
76d0c4b9da Fixed compilation error by adding appropriate new nsIHTMLContentSink
members to the RobotSink class.


git-svn-id: svn://10.0.0.236/trunk@1551 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 21:45:24 +00:00
gagan
0c234e4c55 progress...
git-svn-id: svn://10.0.0.236/trunk@1550 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 21:38:42 +00:00
pinkerton
5e9b3cc7e3 Removed mention of central personal toolbar manager since each toolbar now talks to HT. (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@1548 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 21:25:39 +00:00
pinkerton
500e90b4e5 removed CPersonalToolbarTable.cp which is no longer needed (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@1547 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 21:25:12 +00:00
pinkerton
00123bba4f rewrite of personal toolbar not to use centralized manager class and talk directly to HT like the selector pane (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@1546 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 21:24:48 +00:00
pinkerton
a17a03f9d8 Fix crash during "view source" where we were double-deleting the urlStruct. (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@1545 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 21:22:56 +00:00
djw
e836bb2f3b Added -gtszapsymbol and -gtsnozapsymbol for manually overriding the
implicit rules. See gtscc -help.


git-svn-id: svn://10.0.0.236/trunk@1538 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 20:49:10 +00:00
sar
340141d12c add util to the include path
git-svn-id: svn://10.0.0.236/trunk@1535 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 20:33:32 +00:00
sar
52755a9a58 adding network to the include paths
git-svn-id: svn://10.0.0.236/trunk@1534 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 20:29:38 +00:00
sar
233a15e916 add softupdt to list of includes
git-svn-id: svn://10.0.0.236/trunk@1530 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 19:39:53 +00:00
peterl
3bf3d61497 fixed pow problem
git-svn-id: svn://10.0.0.236/trunk@1527 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 19:01:55 +00:00
michaelp
a4c9a27432 fixed compiler overload warning on tinderbox.
git-svn-id: svn://10.0.0.236/trunk@1525 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 18:54:18 +00:00
valeski
10660f6423 added cookie filter pref name to the default list
git-svn-id: svn://10.0.0.236/trunk@1524 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 18:40:30 +00:00
sar
00b03cbd6c add mktrace.h to the export lists. It's required by softupdt
git-svn-id: svn://10.0.0.236/trunk@1523 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 18:39:52 +00:00
michaelp
7225f63069 added gamma correction methods to the device context. the windows rendering context now
gamma corrects colors. fixed tablecellframe to call the right nsStyleCoord constructor.


git-svn-id: svn://10.0.0.236/trunk@1521 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 18:15:06 +00:00
jevering
15426a4ead Fixed build problems.
git-svn-id: svn://10.0.0.236/trunk@1519 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 17:55:04 +00:00
sar
58e8c8d316 adding jtools to the include path
git-svn-id: svn://10.0.0.236/trunk@1518 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 17:53:28 +00:00
karnaze
bf8234dd48 more select/option support
git-svn-id: svn://10.0.0.236/trunk@1517 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 17:43:35 +00:00
sar
be8a870be8 add jtools to the include paths
git-svn-id: svn://10.0.0.236/trunk@1516 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 17:33:42 +00:00
troy
7e662b38e2 Changes to space manager implementation.
git-svn-id: svn://10.0.0.236/trunk@1514 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 16:22:44 +00:00
dcone
420248debb speed up of alpha, some small fixes, inter checkin
git-svn-id: svn://10.0.0.236/trunk@1513 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 14:28:16 +00:00
mcafee
a4465638db Using relative paths for compilers & libtool
git-svn-id: svn://10.0.0.236/trunk@1512 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 07:59:54 +00:00
mcafee
3487e45d9d DR2 moved the compilers
git-svn-id: svn://10.0.0.236/trunk@1511 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 06:40:49 +00:00
sar
dcdbb6ae26 add mkutils.h since it wasn't being exported, and it's needed. Also make a formatting change for EXPORTS for readability
git-svn-id: svn://10.0.0.236/trunk@1510 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 05:48:50 +00:00
mcafee
13838a678d Adding support for NEXTSTEP. Fixing broken/missing getcwd() command, falls back to getwd(). a=briano
git-svn-id: svn://10.0.0.236/trunk@1509 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 04:02:37 +00:00
mcafee
25f8e0035c getcwd() doesn't malloc properly, falling back to getwd().
git-svn-id: svn://10.0.0.236/trunk@1508 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 04:00:15 +00:00
mcafee
6eda67228d Attempt to piggy-back build off of the RHAPSODY ifdef. switching to libtool. a=briano
git-svn-id: svn://10.0.0.236/trunk@1507 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 03:58:14 +00:00
michaelp
1f91c084c2 killed temp printf()s.
git-svn-id: svn://10.0.0.236/trunk@1506 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 03:40:01 +00:00
michaelp
808a040fee made form elements scroll smoothly. added apis to widgets to support this.
git-svn-id: svn://10.0.0.236/trunk@1505 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 03:39:08 +00:00
spider
dad0f00a2a Fixes for Private Modules Headers. Allow 'this' modules private headers
to be included on source PATH


git-svn-id: svn://10.0.0.236/trunk@1504 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:44:47 +00:00
kipp
e7b5397b7e Fixed coord to be setup properly
git-svn-id: svn://10.0.0.236/trunk@1503 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:33:34 +00:00
kipp
c10b69d3ba Fixed ptr compilation bug
git-svn-id: svn://10.0.0.236/trunk@1502 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:13:09 +00:00
kipp
40fbd986a8 Removed unused variable
git-svn-id: svn://10.0.0.236/trunk@1501 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:12:54 +00:00
kipp
dc0ac433ad Removed unused variable; fixed assingment into error return status
git-svn-id: svn://10.0.0.236/trunk@1500 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:12:40 +00:00
kipp
a6a43e031e Cast lineReflowStatus before comparing for negative values!; eliminated unused variables
git-svn-id: svn://10.0.0.236/trunk@1499 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:11:51 +00:00
kipp
7f9fab77fd Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem
git-svn-id: svn://10.0.0.236/trunk@1498 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:10:35 +00:00
kipp
e695e3478d Export nsIFrameImageLoader too
git-svn-id: svn://10.0.0.236/trunk@1497 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:10:06 +00:00
kipp
77740b1433 Fixed vertical alignment bug: lines that contained bottom aligned objects would add in too much height
git-svn-id: svn://10.0.0.236/trunk@1496 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:53:37 +00:00
kipp
4a26cb720b Removed dead code
git-svn-id: svn://10.0.0.236/trunk@1495 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:52:45 +00:00
kipp
5335baf069 Use code in nsHTMLImageLoader to share code and fix image bugs in image buttons; removed some tabs in the source; get image border handled right
git-svn-id: svn://10.0.0.236/trunk@1494 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:52:33 +00:00
kipp
c8feee6b6b Removed special code for mWidth/mHeight handling
git-svn-id: svn://10.0.0.236/trunk@1493 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:51:46 +00:00
kipp
8098bd43a8 Removed mWidth and mHeight; use base class handling of that now
git-svn-id: svn://10.0.0.236/trunk@1492 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:51:30 +00:00
kipp
df00cff097 Removed IMG rule
git-svn-id: svn://10.0.0.236/trunk@1491 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:51:09 +00:00
kipp
8b2fdfef7c Make image borders work when html attribute is defined
git-svn-id: svn://10.0.0.236/trunk@1490 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:50:54 +00:00
kipp
62a3217422 Use nsHTMLImageLoader to share code
git-svn-id: svn://10.0.0.236/trunk@1489 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:50:28 +00:00
kipp
6e90ba8b92 Moved margin code into line layout
git-svn-id: svn://10.0.0.236/trunk@1488 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:49:40 +00:00
kipp
49beda22be Removed left/right margin calc as caller is doing it
git-svn-id: svn://10.0.0.236/trunk@1487 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:48:37 +00:00
kipp
501a8c4114 new
git-svn-id: svn://10.0.0.236/trunk@1486 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:48:11 +00:00
kipp
9f0294cdd7 Added methods to invalidate the caches
git-svn-id: svn://10.0.0.236/trunk@1485 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:47:50 +00:00
scullin
b2f44a3b36 Release mode fix.
git-svn-id: svn://10.0.0.236/trunk@1484 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:32:59 +00:00
spence
eec4cff8d3 shack layout element
git-svn-id: svn://10.0.0.236/trunk@1483 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:22:14 +00:00
spider
095c6349c5 fixes for archive rules
git-svn-id: svn://10.0.0.236/trunk@1482 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:15:00 +00:00
spence
6cd3efd65e handle relayout of shack elements
git-svn-id: svn://10.0.0.236/trunk@1481 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:04:58 +00:00
troy
43a82bdef4 Space manager API change
git-svn-id: svn://10.0.0.236/trunk@1480 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:02:47 +00:00
troy
eb154aa999 Changed API
git-svn-id: svn://10.0.0.236/trunk@1479 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:02:14 +00:00
troy
5d0ec492ca Added new member functions
git-svn-id: svn://10.0.0.236/trunk@1478 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 23:02:02 +00:00
peterl
1fe962d622 sync to nsStyleSpacing api changes
git-svn-id: svn://10.0.0.236/trunk@1477 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:58:14 +00:00
peterl
ecfff23b8f added proper support for border padding & margin
better support for clip


git-svn-id: svn://10.0.0.236/trunk@1476 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:57:52 +00:00
donm
1bcbbcd707 Export mkutils.h and cache header files.
git-svn-id: svn://10.0.0.236/trunk@1475 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:57:27 +00:00
peterl
59ffeb9079 added clip inherit support
added line-height number support


git-svn-id: svn://10.0.0.236/trunk@1474 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:56:18 +00:00
peterl
f9ecfae273 sync to new spacing apis
git-svn-id: svn://10.0.0.236/trunk@1471 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:28:01 +00:00
peterl
e6ff058617 fixed clip rect handling (auto side support)
git-svn-id: svn://10.0.0.236/trunk@1470 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:26:59 +00:00
peterl
00c2c6f37f added table enums
added clip flags


git-svn-id: svn://10.0.0.236/trunk@1469 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:25:31 +00:00
peterl
93da6a385a added factor unit
added nsStyleSides


git-svn-id: svn://10.0.0.236/trunk@1468 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:24:12 +00:00
peterl
01cc78cc80 merged nsStyleBorder & nsStyleSpacing
changed spacing data to use nsStyleSides
removed virtual methods
added nsStyleTable


git-svn-id: svn://10.0.0.236/trunk@1467 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:23:13 +00:00
peterl
e5373a0d6f Merged nsStyleBorder & nsStyleSpacing
changed spacing values o use nsStyleSides
removed virtual methods


git-svn-id: svn://10.0.0.236/trunk@1466 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:21:03 +00:00
peterl
b7d34bef34 added factor unit type
added nsStyleSides


git-svn-id: svn://10.0.0.236/trunk@1465 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 22:18:42 +00:00
spence
758cb4eb72 shack elements are tabable
git-svn-id: svn://10.0.0.236/trunk@1464 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 21:57:20 +00:00
spence
0e49124d3b pick up src param for shack elements
git-svn-id: svn://10.0.0.236/trunk@1460 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 21:19:19 +00:00
spence
c5a52db205 doc info relfects shack elements
git-svn-id: svn://10.0.0.236/trunk@1459 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 21:18:46 +00:00
dario
14344a215e idl compiler
git-svn-id: svn://10.0.0.236/trunk@1458 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 20:30:45 +00:00
robinf
9a69c9479f replacing corrupted file; adding plaecholder image for netcenter xscreen
git-svn-id: svn://10.0.0.236/trunk@1457 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 19:38:47 +00:00
gagan
c4789590cd Fixes the Linux build problems. Thanks Ramiro.
git-svn-id: svn://10.0.0.236/trunk@1456 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 19:21:59 +00:00
spence
056043dc1b changes for shack layout element
git-svn-id: svn://10.0.0.236/trunk@1455 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 19:16:46 +00:00
spence
f7128b6ef7 changes for shack layout element
git-svn-id: svn://10.0.0.236/trunk@1454 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 19:10:35 +00:00
spence
b4790ac48d changes for shack layout element
git-svn-id: svn://10.0.0.236/trunk@1453 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 19:03:13 +00:00
spence
0c7af8c730 changes for shack layout element
git-svn-id: svn://10.0.0.236/trunk@1452 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 18:55:51 +00:00
spence
ef8e866fbf changes for shack layout element
git-svn-id: svn://10.0.0.236/trunk@1451 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 18:42:16 +00:00
spence
0b01b981e2 changes for shack layout element
git-svn-id: svn://10.0.0.236/trunk@1450 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 18:33:45 +00:00
karnaze
db91979176 textarea sizing improvement; use nsCSSLayout::GetStyleSize; fix combo box SizeTo
git-svn-id: svn://10.0.0.236/trunk@1449 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 18:28:58 +00:00
spence
5a9fb075fa changes for shack layout element
git-svn-id: svn://10.0.0.236/trunk@1448 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 18:25:24 +00:00
spence
718cd7523e new shack layout element
git-svn-id: svn://10.0.0.236/trunk@1447 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 18:22:49 +00:00
cyeh
654f82a5f5 add mozilla/lib/libnet back to MozillaSourceCommon for NORMANDY_BRANCH
git-svn-id: svn://10.0.0.236/trunk@1446 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 18:03:37 +00:00
cyeh
d86f4cda50 removing old netlib implementation from tip. these files have been moved
to mozilla/network.  refer to those files.


git-svn-id: svn://10.0.0.236/trunk@1445 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 18:03:30 +00:00
brade
9991020037 don't allow image tags to be created without an image source
git-svn-id: svn://10.0.0.236/trunk@1444 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 17:12:02 +00:00
troy
009e2343c6 Removed some temporary code that isn't needed now that content changed
reflow commands aren't generated for the body


git-svn-id: svn://10.0.0.236/trunk@1443 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 04:46:27 +00:00
troy
a1cde81868 Changed enum to conform with coding standards
git-svn-id: svn://10.0.0.236/trunk@1442 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 04:38:23 +00:00
troy
5a839584c7 Change to nsIFrame API
git-svn-id: svn://10.0.0.236/trunk@1441 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 04:17:56 +00:00
montulli
3d17637b71 add <signal.h>
git-svn-id: svn://10.0.0.236/trunk@1440 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 02:28:20 +00:00
selmer
68b64888ae fix bug#116315: don't pass null char into JRI_NewPlatformString
git-svn-id: svn://10.0.0.236/trunk@1439 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 02:03:33 +00:00
kipp
f810b7168d Release image loader during delete frame to break so that images shutdown properly
git-svn-id: svn://10.0.0.236/trunk@1438 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:32:30 +00:00
kipp
7653fb2f79 Added container methods for the singly contained frame
git-svn-id: svn://10.0.0.236/trunk@1437 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:31:22 +00:00
kipp
aeca5d3fb6 Init band data so that zero is returned on failure
git-svn-id: svn://10.0.0.236/trunk@1436 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:30:57 +00:00
kipp
cf3c34edc3 Re-installed the temporary content appended hack
git-svn-id: svn://10.0.0.236/trunk@1435 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:30:40 +00:00
kipp
9da44d2113 Pass on stop image load to the image loader too so that circular references can be broken and memory can get released properly
git-svn-id: svn://10.0.0.236/trunk@1434 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:30:15 +00:00
kipp
d32ff2fb28 Removed unused variables and methods
git-svn-id: svn://10.0.0.236/trunk@1433 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:29:43 +00:00
kipp
41b2b93fa7 Implement stop and abort; stop properly breaks circular link to image request
git-svn-id: svn://10.0.0.236/trunk@1432 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:29:29 +00:00
kipp
6bb8246384 Declare stop and abort methods
git-svn-id: svn://10.0.0.236/trunk@1431 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:28:51 +00:00
kipp
f94faae66b Added stop and abort methods
git-svn-id: svn://10.0.0.236/trunk@1430 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:28:31 +00:00
rickg
e8f3b719cd made comments more complete
git-svn-id: svn://10.0.0.236/trunk@1429 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:11:50 +00:00
rickg
c9a40cc270 updated comments
git-svn-id: svn://10.0.0.236/trunk@1428 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 00:59:32 +00:00
montulli
d18d2837c3 add <signal.h>
git-svn-id: svn://10.0.0.236/trunk@1427 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 00:42:47 +00:00
kipp
f1960f5125 Make url's absolute per the css spec
git-svn-id: svn://10.0.0.236/trunk@1426 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 23:28:47 +00:00
kipp
34091b102f Skip over whitespace properly after url string (it's optional whitespace not mandatory whitespace)
git-svn-id: svn://10.0.0.236/trunk@1425 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 23:28:22 +00:00
rickg
d279bd9b90 fixed numeric entities
git-svn-id: svn://10.0.0.236/trunk@1424 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 23:28:01 +00:00
rickg
08ea7302b4 added IsDigit to string
git-svn-id: svn://10.0.0.236/trunk@1423 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 23:27:35 +00:00
atotic
597bf87774 File case weirdness
git-svn-id: svn://10.0.0.236/trunk@1420 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 23:04:36 +00:00
kipp
ee0932b472 Declare nsIView just in case somebody else doesn't
git-svn-id: svn://10.0.0.236/trunk@1419 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:58:44 +00:00
kipp
29014e986a Use new image loading API's
git-svn-id: svn://10.0.0.236/trunk@1418 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:58:20 +00:00
kipp
aeb7f4e124 Revised image loading API's
git-svn-id: svn://10.0.0.236/trunk@1417 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:57:05 +00:00
kipp
d28087541a Removed image loading code (factored out into nsFrameImageLoader); revised API for image loading
git-svn-id: svn://10.0.0.236/trunk@1416 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:56:58 +00:00
kipp
89aaae1f2d Added nsFrameImageLoader
git-svn-id: svn://10.0.0.236/trunk@1415 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:56:23 +00:00
kipp
07232aab59 Export nsIFrameImageLoader.h
git-svn-id: svn://10.0.0.236/trunk@1414 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:55:54 +00:00
kipp
164321faf9 new
git-svn-id: svn://10.0.0.236/trunk@1413 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:52:40 +00:00
montulli
b1069775d3 add exports to layout and libstyle
git-svn-id: svn://10.0.0.236/trunk@1408 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:11:39 +00:00
montulli
cac7dcf982 add network
git-svn-id: svn://10.0.0.236/trunk@1407 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:09:40 +00:00
montulli
527d9f61ef use mozilla/network now instead of lib/libnet
git-svn-id: svn://10.0.0.236/trunk@1406 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:09:10 +00:00
montulli
9fa204a081 use network dir instead of libnet
git-svn-id: svn://10.0.0.236/trunk@1404 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:07:07 +00:00
montulli
57612be151 add mkgeturl.h
git-svn-id: svn://10.0.0.236/trunk@1403 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:04:57 +00:00
montulli
02058ba996 remove libnet
git-svn-id: svn://10.0.0.236/trunk@1402 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:04:01 +00:00
montulli
d83f821242 add network directory
git-svn-id: svn://10.0.0.236/trunk@1401 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:03:25 +00:00
montulli
4285557751 changes for the new mozilla/network directory.
git-svn-id: svn://10.0.0.236/trunk@1399 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:02:46 +00:00
atotic
fb1313cc77 Netlib modularity changes. montulli's your point man
git-svn-id: svn://10.0.0.236/trunk@1398 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:02:43 +00:00
cyeh
8c0ccec706 new netlib in it's new home and modular too.
git-svn-id: svn://10.0.0.236/trunk@1397 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 22:01:18 +00:00
selmer
791cab04d8 removed extraneous JAVA_DESTPATH definition
git-svn-id: svn://10.0.0.236/trunk@1396 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 21:59:36 +00:00
montulli
b8f16d0f85 add #mkgeturl.h
git-svn-id: svn://10.0.0.236/trunk@1395 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 21:41:26 +00:00
troy
9a3b2e21ef Changed table code to pay attention to the ALIGN attribute
git-svn-id: svn://10.0.0.236/trunk@1394 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 21:31:12 +00:00
troy
70f7b2d8cd Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@1393 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 21:03:50 +00:00
rpotts
be5c685363 Added support for receiving OnProgress(...) notifications...
git-svn-id: svn://10.0.0.236/trunk@1392 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 20:30:35 +00:00
spence
c603cea888 new layout element for shack objects
git-svn-id: svn://10.0.0.236/trunk@1389 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 19:54:46 +00:00
spider
e97259e58a Final UNIX fixes
git-svn-id: svn://10.0.0.236/trunk@1388 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 19:45:12 +00:00
spider
c8ee4c7bf3 windows fixes
git-svn-id: svn://10.0.0.236/trunk@1387 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 19:34:25 +00:00
spider
f49bd7b89a More UNIX Lib fixes
git-svn-id: svn://10.0.0.236/trunk@1386 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 19:33:23 +00:00
spider
f172c6f0f1 Platform Independe EXTRA_LIBS fixes
git-svn-id: svn://10.0.0.236/trunk@1385 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 19:06:15 +00:00
troy
66c14fdbb1 Wrapped VerifyLines() inside of a NS_DEBUG #define
git-svn-id: svn://10.0.0.236/trunk@1384 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 18:54:15 +00:00
troy
b83e1077b0 More incremental reflow work.
git-svn-id: svn://10.0.0.236/trunk@1383 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 18:38:10 +00:00
spider
750378f65c Add gconfig to build_trex
git-svn-id: svn://10.0.0.236/trunk@1382 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 16:50:16 +00:00
ftang
a989b3e678 Add Armenian XFE support. thanks for Hovik Melikyan from hovik@undp.am
git-svn-id: svn://10.0.0.236/trunk@1381 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 16:49:30 +00:00
spider
8e877f008d Refer to nglayout now
git-svn-id: svn://10.0.0.236/trunk@1380 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 16:32:14 +00:00
spider
7918f08d9d Actually refer to nglayout properly now
git-svn-id: svn://10.0.0.236/trunk@1379 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 16:27:28 +00:00
spider
17aee6decd Refer to nglayout.mk now
git-svn-id: svn://10.0.0.236/trunk@1378 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 16:24:06 +00:00
jwz
dd5ae078e5 red letter edition
git-svn-id: svn://10.0.0.236/trunk@1377 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-10 18:54:17 +00:00
mccabe
afa28896ca (Not part of the mozilla build process.)
Added support in the javascript shell for the #! unix script hack; if
the first line read by the shell (from a file, not interactive) starts
with #, the line is treated as a comment.

This should make
#!/usr/bin/js work...


git-svn-id: svn://10.0.0.236/trunk@1376 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 05:54:12 +00:00
troy
1b3c6fc947 Work in progress on block incremental reflow
git-svn-id: svn://10.0.0.236/trunk@1375 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:52:29 +00:00
kipp
5cb5cb49e5 Use new LoadImage API
git-svn-id: svn://10.0.0.236/trunk@1374 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:23:54 +00:00
kipp
7331ec5631 Removed uneeded code; added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@1373 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:23:41 +00:00
kipp
ea27670082 Cheesy implementation of the reflow lock and content appended
git-svn-id: svn://10.0.0.236/trunk@1372 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:22:41 +00:00
kipp
7dc9190770 Updated to new API
git-svn-id: svn://10.0.0.236/trunk@1371 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:22:14 +00:00
kipp
cdf6691a9d Reworked load image support and provided content changed calls to the shell when image sizes arrive
git-svn-id: svn://10.0.0.236/trunk@1370 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:22:01 +00:00
kipp
522bd8f35e Added enter/exit reflow lock methods
git-svn-id: svn://10.0.0.236/trunk@1369 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:21:34 +00:00
kipp
266494fc93 Revised LoadImage API to use NS_IMETHOD and provide alot more information about the load
git-svn-id: svn://10.0.0.236/trunk@1368 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:21:19 +00:00
kipp
19ce06fe2f Wrap document loads with reflow lock calls
git-svn-id: svn://10.0.0.236/trunk@1367 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:20:54 +00:00
kipp
cf55be8188 Remove useless header file
git-svn-id: svn://10.0.0.236/trunk@1366 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:20:37 +00:00
kipp
23bcab2333 Removed unused class decl
git-svn-id: svn://10.0.0.236/trunk@1365 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 03:20:24 +00:00
racham
4489bdc493 Path for compare.js changed
git-svn-id: svn://10.0.0.236/trunk@1364 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 02:16:33 +00:00
rickg
cb2d8b8eb8 MUCH better support for auto-closing tags.
git-svn-id: svn://10.0.0.236/trunk@1363 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 00:42:33 +00:00
scullin
e794b4507e Fix NSPR related breakage.
git-svn-id: svn://10.0.0.236/trunk@1360 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 23:56:08 +00:00
montulli
17459e838c update include path
git-svn-id: svn://10.0.0.236/trunk@1358 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 23:40:53 +00:00
karnaze
8400595193 select/option
git-svn-id: svn://10.0.0.236/trunk@1355 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 23:08:43 +00:00
wtc
8a008e57b5 Added new test files.
git-svn-id: svn://10.0.0.236/trunk@1352 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 23:07:27 +00:00
rickg
683ffd3d1f changed OPTION tag from leaf to container node
git-svn-id: svn://10.0.0.236/trunk@1350 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 22:36:15 +00:00
atotic
fe9c67a957 More build changes, added some missing files
git-svn-id: svn://10.0.0.236/trunk@1349 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 21:42:48 +00:00
atotic
573139f59c #ifdef NET_mail/news functionality with MOZ_MAIL_NEWS.
git-svn-id: svn://10.0.0.236/trunk@1348 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 21:42:26 +00:00
scullin
42f328fc71 Fix depth, and add client directory
git-svn-id: svn://10.0.0.236/trunk@1347 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 21:27:46 +00:00
hyatt
be768f6a5b Making the Aurora tree respond to the divider properties.
git-svn-id: svn://10.0.0.236/trunk@1346 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 21:23:47 +00:00
kipp
9003aba3c1 Fixed irix bustage
git-svn-id: svn://10.0.0.236/trunk@1345 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 21:12:12 +00:00
atotic
ecc83b402a More build changes (renaming the targets)
git-svn-id: svn://10.0.0.236/trunk@1344 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 21:03:19 +00:00
timm
e93ed99ecf fix path routines to append path delimiter
git-svn-id: svn://10.0.0.236/trunk@1343 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 20:20:19 +00:00
timm
8cdfb14c42 fix getFolder to return windows style path
git-svn-id: svn://10.0.0.236/trunk@1342 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 20:19:43 +00:00
kipp
31d88fddf9 nuked
git-svn-id: svn://10.0.0.236/trunk@1341 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 20:19:18 +00:00
kipp
30a587c651 updated
git-svn-id: svn://10.0.0.236/trunk@1340 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 20:18:36 +00:00
kipp
384524a3d9 new
git-svn-id: svn://10.0.0.236/trunk@1339 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 20:18:35 +00:00
karnaze
ab454da4fd more support for textarea, select/option in content sink
git-svn-id: svn://10.0.0.236/trunk@1338 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 20:18:06 +00:00
kipp
053274d5b7 Removed more raptor references
git-svn-id: svn://10.0.0.236/trunk@1337 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 20:10:36 +00:00
kipp
171bc76637 new
git-svn-id: svn://10.0.0.236/trunk@1336 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:58:01 +00:00
kipp
c56ba929aa Fixed pseudo-frame body behavior
git-svn-id: svn://10.0.0.236/trunk@1335 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:43:25 +00:00
timm
b7351b8392 dial string should be in status text, not progress text
git-svn-id: svn://10.0.0.236/trunk@1334 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:28:49 +00:00
timm
a45c483ad7 remove copy of compare.js, since we dont want it in the jar
git-svn-id: svn://10.0.0.236/trunk@1333 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:28:04 +00:00
timm
2156c7d5d7 remove IDs and ARCHIVE tags
git-svn-id: svn://10.0.0.236/trunk@1332 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:27:40 +00:00
timm
4e130f7162 remove IPs and put reggie.netscape.com back
git-svn-id: svn://10.0.0.236/trunk@1331 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:26:43 +00:00
timm
3f3c31c971 erase compare.js as part of make if it exists in this dir
git-svn-id: svn://10.0.0.236/trunk@1330 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:26:11 +00:00
timm
9aa0247b63 added debugging for set1StepMode
git-svn-id: svn://10.0.0.236/trunk@1329 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:25:47 +00:00
timm
b5ac9e9ddf added debugging info for MetadataMode and LocalMode
git-svn-id: svn://10.0.0.236/trunk@1328 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:24:49 +00:00
radha
a58f0b6a8a Checkin for fix 104761. If the target window has a context associated with it, use it.
Fix was originally provided by toshok.


git-svn-id: svn://10.0.0.236/trunk@1327 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:24:28 +00:00
timm
ccb1fc9ade add ASW_DEVMODE
git-svn-id: svn://10.0.0.236/trunk@1326 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:24:15 +00:00
ftang
cb7fffc2df Add Armenain support. Approvaed by WinFE owner, Thanks Hovik Melikyan <hovik@undp.am>
from the net


git-svn-id: svn://10.0.0.236/trunk@1323 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 19:23:48 +00:00
wtc
cbcb32a7d6 Use cc -bundle to build loadable modules on Rhapsody. Thanks to
Matt Watson <mwatson@apple.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@1322 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:52:44 +00:00
cmanske
0d6028508b Fixed another memory bug in Composer
git-svn-id: svn://10.0.0.236/trunk@1321 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:51:58 +00:00
wtc
dad061f564 The type of the third argument for accept, recvfrom, getsockname, and
getpeername is 'int', not 'size_t'.


git-svn-id: svn://10.0.0.236/trunk@1320 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:50:15 +00:00
wtc
6b251dc0ae Fixed comment.
git-svn-id: svn://10.0.0.236/trunk@1319 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:48:46 +00:00
wtc
06c4a3d9ee Merged patches from Matt Watson <mwatson@apple.com> to make loadable
modules work on Rhapsody.  Still have a few kinks to iron out.


git-svn-id: svn://10.0.0.236/trunk@1318 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:43:58 +00:00
wtc
682e147ebf Matt Watson <mwatson@apple.com> pointed out that it is not safe to
redefine FD_SETSIZE on Rhapsody.


git-svn-id: svn://10.0.0.236/trunk@1317 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:41:51 +00:00
wtc
7e8f7154f4 Added a few function declarations and header inclusions to get rid of
compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@1316 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:37:38 +00:00
wtc
6c9253e597 Merged Rhapsody patches contributed by Matt Watson <mwatson@apple.com>.
git-svn-id: svn://10.0.0.236/trunk@1315 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:35:19 +00:00
rods
9b04324111 added major selection method and data members
git-svn-id: svn://10.0.0.236/trunk@1314 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:33:42 +00:00
wtc
91ebeaa99b Merged patches contributed by Matt Watson <mwatson@apple.com>.
git-svn-id: svn://10.0.0.236/trunk@1313 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:32:30 +00:00
michaelp
5f4ea5859a when switching documents, the scrollbars are reset.
git-svn-id: svn://10.0.0.236/trunk@1312 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 17:50:43 +00:00
atotic
dddb703cfd Added an include of shist.h
git-svn-id: svn://10.0.0.236/trunk@1311 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 17:27:49 +00:00
kipp
9748b6eb2b Factored out sizing into ComputeDesiredSize and fixed the size to reflect the size of the content
git-svn-id: svn://10.0.0.236/trunk@1310 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 17:23:06 +00:00
atotic
612c02f3da First Checked In.
git-svn-id: svn://10.0.0.236/trunk@1309 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 17:13:01 +00:00
troy
2e789484b5 Changed container related functions to return NS_ERROR_NOT_IMPLEMENTED
instead of NS_OK


git-svn-id: svn://10.0.0.236/trunk@1308 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 17:02:35 +00:00
troy
a447ffcc90 Moved ContentChanged() logic to nsFrame since it was completely generic and
serves as reasonable default behavior for all frames


git-svn-id: svn://10.0.0.236/trunk@1304 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 16:34:27 +00:00
troy
f8e3f6b0a7 Changed ContentChanged() to generate a reflow command
git-svn-id: svn://10.0.0.236/trunk@1303 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 16:33:07 +00:00
pinkerton
d173dd8ecd free memory allocated (silently!) by GetURLFromFileSpec(). (appr brade).
git-svn-id: svn://10.0.0.236/trunk@1302 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 15:35:42 +00:00
pinkerton
dd2b3e15e2 added "rdf" to access paths so composer can understand drops from HT (appr brade).
git-svn-id: svn://10.0.0.236/trunk@1301 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 15:34:44 +00:00
pinkerton
d9cc5aa3b0 New drag and drop architecture using CURLDragMixin subclasses. Fixed bug where dropping text clipping would drop at old insertion point, not at mouse location. (appr brade).
git-svn-id: svn://10.0.0.236/trunk@1300 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 15:34:07 +00:00
rods
80849d47b2 added Selection methods to nsICodment, nsDocument, nsiSplittableFRame
git-svn-id: svn://10.0.0.236/trunk@1299 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 15:07:41 +00:00
rods
495bdfe1d4 added Edit menu
git-svn-id: svn://10.0.0.236/trunk@1298 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 15:06:41 +00:00
dcone
5b5fdcadb6 put back in optimize
git-svn-id: svn://10.0.0.236/trunk@1297 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 15:05:27 +00:00
rods
8124074533 added mouseEvent struct
git-svn-id: svn://10.0.0.236/trunk@1296 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 14:54:09 +00:00
dcone
332f4c19f3 Some more alpha blending, fixed some bugs and the test app now works
git-svn-id: svn://10.0.0.236/trunk@1295 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 14:24:53 +00:00
mcafee
013d1299c8 Enable dynamic library creation. a,r=briano
git-svn-id: svn://10.0.0.236/trunk@1294 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 08:01:10 +00:00
sdagley
07644fd855 Merging current fix for #86787 and #96213 from 4.x tree. When creating a new window check chrome to see if it should be created zoomable rather than changing it afterwards. Works around WDEF change in MacOS 8 that breaks old hack that would toggle zoom widget after creating window.
git-svn-id: svn://10.0.0.236/trunk@1293 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 06:08:55 +00:00
rjc
b1c2f2652a Small fix... use '\0' instead of NULL.
git-svn-id: svn://10.0.0.236/trunk@1292 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 06:01:30 +00:00
rjc
aacb6b7891 Move all hardcoded RDF strings into allxpstr.
git-svn-id: svn://10.0.0.236/trunk@1291 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 05:48:44 +00:00
rjc
7483ba47fe Move all hardcoded strings into allxpstr. Bug fix from tenthumbs@cybernex.net in isNodeEditable(). HT Properties dialog changes (pretty, now). Better color support.
git-svn-id: svn://10.0.0.236/trunk@1290 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 05:48:14 +00:00
troy
833c505aff Hooked up ContentChanged() to notify the frame
git-svn-id: svn://10.0.0.236/trunk@1289 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 04:59:35 +00:00
troy
80084f86ae Added ContentChanged() member function
git-svn-id: svn://10.0.0.236/trunk@1288 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 04:56:47 +00:00
troy
4c7726d9f7 Added ContentChanged() member function
git-svn-id: svn://10.0.0.236/trunk@1287 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 04:45:37 +00:00
sdagley
e5ef4cb8fc Merging sfraser fix for #115706 from 4.x branch.
git-svn-id: svn://10.0.0.236/trunk@1286 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 03:34:05 +00:00
michaelp
6b1b7b071b added horizontal scrollbar.
git-svn-id: svn://10.0.0.236/trunk@1278 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 01:25:25 +00:00
timm
f2f6958b0e Add in "ARCHIVE=asw.jar" for compare.js
git-svn-id: svn://10.0.0.236/trunk@1277 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 01:17:40 +00:00
cmanske
b6085352b8 Fixed memory crash bug in new Composer table code
git-svn-id: svn://10.0.0.236/trunk@1276 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 01:12:10 +00:00
michaelp
67a0e11240 we now have horizontal scrolling.
git-svn-id: svn://10.0.0.236/trunk@1275 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 01:11:57 +00:00
timm
6a5d8b07ea Not for Preston
git-svn-id: svn://10.0.0.236/trunk@1271 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 00:33:10 +00:00
timm
b763535f3a Registration Server IAS file
git-svn-id: svn://10.0.0.236/trunk@1270 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 00:31:35 +00:00
kipp
e8970aba73 Support width/height ala css
git-svn-id: svn://10.0.0.236/trunk@1269 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 00:16:41 +00:00
kipp
dd47ae8835 Added MapImagePropertiesInto
git-svn-id: svn://10.0.0.236/trunk@1268 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 00:16:30 +00:00
robinf
b1735e0810 scrubbed lighthouse and N logos from these images
git-svn-id: svn://10.0.0.236/trunk@1265 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 23:50:36 +00:00
kipp
40a0ee1354 Support css width&height style properties
git-svn-id: svn://10.0.0.236/trunk@1264 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 23:38:51 +00:00
kipp
5bcb630e75 Unsupported border+padding around form elements (except for image - it still works)
git-svn-id: svn://10.0.0.236/trunk@1263 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 23:38:12 +00:00
ftang
0619cd5b32 Add Armenian support. Thanks for Hovik Melikyan <hovik@moon.yerphi.am> for this.
git-svn-id: svn://10.0.0.236/trunk@1262 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 23:12:48 +00:00
michaelp
5dd9734a48 scrolling views are now self-contained. preparations have been made for horizontal scrolling.
git-svn-id: svn://10.0.0.236/trunk@1261 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 23:07:10 +00:00
ftang
52495ca4a4 Add Armenian support. Thanks for Hovik Melikyan <hovik@moon.yerphi.am> for this.
git-svn-id: svn://10.0.0.236/trunk@1259 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 23:03:45 +00:00
ftang
186160708d Add Armenian support. Thanks for Hovik Melikyan <hovik@yerphi.am> (from Armenian)
for this.


git-svn-id: svn://10.0.0.236/trunk@1258 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 23:02:26 +00:00
spider
558248ce6a emove web fully
git-svn-id: svn://10.0.0.236/trunk@1257 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 22:53:28 +00:00
spider
6f3722d906 Fix include from web to shell
git-svn-id: svn://10.0.0.236/trunk@1256 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 22:49:59 +00:00
kipp
220394c0ec Support width & height ala css1
git-svn-id: svn://10.0.0.236/trunk@1250 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:50:56 +00:00
kipp
ebf8497eb7 order sid's alphabeticly
git-svn-id: svn://10.0.0.236/trunk@1249 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:36:41 +00:00
kipp
83683e9db6 Added GetStyleSize
git-svn-id: svn://10.0.0.236/trunk@1248 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:36:16 +00:00
kipp
f3b0df343f Set clip rect if style says to
git-svn-id: svn://10.0.0.236/trunk@1247 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:35:03 +00:00
ftang
ba092104d8 add codeset conversion table for ARMSCII-8 Thanks Hovik Melikyan hovik@undp.am
git-svn-id: svn://10.0.0.236/trunk@1246 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:28:17 +00:00
toshok
aa0742196b Remove #ifdef's for TEXT_CHUNK_LIMIT, since it's always defined to something.
git-svn-id: svn://10.0.0.236/trunk@1245 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:16:02 +00:00
toshok
69c01e024d I know I'm going to get strung up for this, but I just can't read this file without a window that's like 150 columns wide.
git-svn-id: svn://10.0.0.236/trunk@1244 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:12:03 +00:00
rickg
73cdf7b056 new contentsink api's for kipp
git-svn-id: svn://10.0.0.236/trunk@1243 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:11:07 +00:00
troy
4a9b848ec2 Work in progress
git-svn-id: svn://10.0.0.236/trunk@1242 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:10:07 +00:00
scullin
ff4907675c G++ warning fix submitted by Brian Grunkemeyer.
git-svn-id: svn://10.0.0.236/trunk@1241 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 20:50:59 +00:00
toshok
ffbf7864d1 remove huge commented out chunks of code (that have been commented out since time began, it seems.) also added a couple of fairly bogus comments at the beginnings of lo_Push/PopAlignment
git-svn-id: svn://10.0.0.236/trunk@1240 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 20:44:45 +00:00
troy
e1891fa2e0 Started hooking up appended content handler
git-svn-id: svn://10.0.0.236/trunk@1239 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 20:28:16 +00:00
spider
8734855a1d More fixes
git-svn-id: svn://10.0.0.236/trunk@1238 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 20:09:25 +00:00
wtc
dca0a521aa Matt Waston <mwatson@apple.com> taught me what common symbols are
and to compile with -fno-common.


git-svn-id: svn://10.0.0.236/trunk@1237 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 19:19:25 +00:00
spider
26b167fe2b Changes class NSApplicationManager to nsApplicationManager
git-svn-id: svn://10.0.0.236/trunk@1236 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 18:39:40 +00:00
spider
afe6262d35 Adding toplevel trex unix makefile
git-svn-id: svn://10.0.0.236/trunk@1235 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 18:19:43 +00:00
spider
b9c5f0cf67 Unix Shell Implementation stuff
git-svn-id: svn://10.0.0.236/trunk@1234 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 18:18:38 +00:00
michaelp
dea683c9d2 deferred creation of null pen until we actually need to use it.
git-svn-id: svn://10.0.0.236/trunk@1233 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 18:00:48 +00:00
michaelp
a7492ad3ee sped up filled polygons.
git-svn-id: svn://10.0.0.236/trunk@1232 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 17:54:14 +00:00
kipp
87a10a39d9 Support (mostly) border+padding around input form elements
git-svn-id: svn://10.0.0.236/trunk@1231 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 16:13:59 +00:00
kipp
f62d45c7d8 Fixed the dancing form-elements bug by making MoveTo properly account for the views offset from parent
git-svn-id: svn://10.0.0.236/trunk@1230 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 16:13:09 +00:00
wtc
7609a85751 Fixed Bugzilla bug #235: Define the macro _PR_HAVE_SOCKADDR_LEN to
indicate that struct sockaddr_in on BSD/OS has a sa_len field.
The code in unix.c checks this macro.  We acknowledge Bert Driehuis
<driehuis@playbeing.com> for reporting the bug and suggesting a fix.


git-svn-id: svn://10.0.0.236/trunk@1229 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 15:43:43 +00:00
rpotts
6f109ea508 Ignore the return value from NET_PollSockets(...) since it is FALSE when there are file: URLs waiting to be processed...
git-svn-id: svn://10.0.0.236/trunk@1228 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 11:01:48 +00:00
wtc
4bc4288454 Moved Rhapsody's shared library rule from rules.mk to Rhapsody.mk.
git-svn-id: svn://10.0.0.236/trunk@1227 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 07:23:49 +00:00
rickg
a0aa2749b7 WIP: push-based tokenization
git-svn-id: svn://10.0.0.236/trunk@1226 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 07:19:47 +00:00
rpotts
61e75a1a74 Fix up makefile.win to completely remove nsInputStream :-)
git-svn-id: svn://10.0.0.236/trunk@1225 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 07:04:08 +00:00
rpotts
1edf5e97a3 fixed up IStreamListener implementation to take a length in the OnDataAvailable(...) method.
git-svn-id: svn://10.0.0.236/trunk@1224 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 06:53:11 +00:00
rpotts
723cc251cb Removed nsInputStream.cpp since file and resource protocols are now handled by netlib...
git-svn-id: svn://10.0.0.236/trunk@1223 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 06:52:11 +00:00
wtc
987efb9517 Bugzilla bug #218: define HAVE_STRERROR only if it is not yet defined.
Thanks to David Nebinger (dnebinger@synertech.highmark.com) for reporting
the problem and suggesting the fix.


git-svn-id: svn://10.0.0.236/trunk@1221 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 06:38:26 +00:00
wtc
1f68fdef7a Bugzilla bug #265: Use full pathname /usr/ccs/bin/as (as opposed to just
'as') to assemble os_SunOS_ultrasparc.s because we need the -P option
of Solaris 'as' to run cpp and process header file inclusion.  This
way we won't accidentally get GNU 'as', which doesn't understand -P.
We acknowledge Paul Kanz (pkanz@conix.com) for suggesting the fix.


git-svn-id: svn://10.0.0.236/trunk@1220 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 06:29:44 +00:00
troy
bfddc50483 Work on getting floaters working again
git-svn-id: svn://10.0.0.236/trunk@1219 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 05:25:08 +00:00
troy
fb89e3aef1 Made "delete" by "remove" since delete is a reserved JavaScript keyword
git-svn-id: svn://10.0.0.236/trunk@1218 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 05:23:52 +00:00
wtc
7e8f8d4e76 On Alpha Linux, the mmap'd stack needs to be made executable because
setjmp/signal seem to put machine instructions on the stack.  This
fix is contributed by gatgul@voicenet.com (Uncle George).


git-svn-id: svn://10.0.0.236/trunk@1217 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 05:07:25 +00:00
kipp
ee8301ea61 Implemented destroy-lines
git-svn-id: svn://10.0.0.236/trunk@1212 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 03:45:29 +00:00
troy
ed7b88f4e8 Checks whether the next-in-flow should be deleted
git-svn-id: svn://10.0.0.236/trunk@1210 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 02:51:30 +00:00
wtc
5fe72e5298 The stack pointer is the 0th element in the jmp_buf.
git-svn-id: svn://10.0.0.236/trunk@1208 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 01:52:43 +00:00
michaelp
9eacf21021 hey, now the state stack is actually useful. duh.
git-svn-id: svn://10.0.0.236/trunk@1206 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 01:10:20 +00:00
kipp
d75e25fc42 Ported to new CreateFrame/CreateContinuingFrame APIs
git-svn-id: svn://10.0.0.236/trunk@1204 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 00:08:20 +00:00
kipp
99983b9346 Ported to new CreateFrame/CreateContinuingFrame APIs; removed some debris code
git-svn-id: svn://10.0.0.236/trunk@1203 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 00:06:53 +00:00
kipp
aed636929a Updated style sheet
git-svn-id: svn://10.0.0.236/trunk@1202 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 00:06:15 +00:00
kipp
9e181db532 Changed CreateContinuingFrame to take a style context argument to reduce style context creation
git-svn-id: svn://10.0.0.236/trunk@1201 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 00:05:37 +00:00
kipp
b924a98f77 Updated CreateFrame to take a style context argument to reduce style context creation
git-svn-id: svn://10.0.0.236/trunk@1200 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 00:05:13 +00:00
gagan
e810b91676 Add module id to object.
git-svn-id: svn://10.0.0.236/trunk@1199 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 23:24:55 +00:00
gagan
c4342a5a32 Time something using an excursion class.
git-svn-id: svn://10.0.0.236/trunk@1198 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 23:18:38 +00:00
michaelp
226d27c5ad added pens to graphics state. more performance improvements.
git-svn-id: svn://10.0.0.236/trunk@1196 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 22:50:23 +00:00
rpotts
29ece213ae renamed the nsIStreamNotification interface to nsIStreamListener
git-svn-id: svn://10.0.0.236/trunk@1195 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 22:16:02 +00:00
pinkerton
d700ab2088 use new D&D mixins in CURLDragHelper.cp/h to handle drops of url-like things. (rev/appr sdagley, for all the others too...)
git-svn-id: svn://10.0.0.236/trunk@1193 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 21:27:09 +00:00
pinkerton
565e05b5bf use new D&D mixins in CURLDragHelper.cp/h to handle drops of url-like things.
git-svn-id: svn://10.0.0.236/trunk@1192 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 21:26:21 +00:00
rpotts
559b78f09d updated to use the URL->Open(...) method for starting an async url load...
git-svn-id: svn://10.0.0.236/trunk@1191 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 21:20:04 +00:00
gagan
b949d65ee3 Progress.
git-svn-id: svn://10.0.0.236/trunk@1189 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 20:29:20 +00:00
wtc
d67c10164b Define IP_MULTICAST to get the IP multicast macro/struct definitions
in netinet/in.h on SINIX 5.43.  We acknowledge the help of Sanjay
Gupta <gupta@informix.com>.


git-svn-id: svn://10.0.0.236/trunk@1186 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 19:53:26 +00:00
robinf
1db206f872 replacing corrupted images in previews
git-svn-id: svn://10.0.0.236/trunk@1185 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 18:23:32 +00:00
troy
8d64b6f3f2 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@1183 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 18:13:58 +00:00
ramiro
17ef3f1e2e Fix build problem reported by avogel@bdm.com (Andy Vogel). The PopupCommand
class defined in 2 different *.cpp files and was confusing thr dgux linker.
Add {Rdf,Editor} prefix to PopupCommand class to avoid ambiguity.


git-svn-id: svn://10.0.0.236/trunk@1182 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 17:49:57 +00:00
ramiro
ef8e0398bd Move the bookmark widgets to their own library. Componetize things a bit.
Should make it easier to completely bypass these widgets if needed - as
will probably be the case for lite browsers and "motifs" that break cause
of them.


git-svn-id: svn://10.0.0.236/trunk@1181 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 17:36:34 +00:00
ramiro
bafb2a76af Add .cvsignore for xfe
git-svn-id: svn://10.0.0.236/trunk@1180 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 16:46:53 +00:00
michaelp
8eaa2f652c added fonts to graphics state stack. general optimizations.
git-svn-id: svn://10.0.0.236/trunk@1179 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 16:42:05 +00:00
troy
0b3ffa2df6 Started adding ContentChanged() notifications
git-svn-id: svn://10.0.0.236/trunk@1178 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 16:28:55 +00:00
troy
c8bc0d3bcc Hooked up DOM insert/replace/delete
git-svn-id: svn://10.0.0.236/trunk@1177 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 16:27:15 +00:00
troy
2c774cd094 Hooked up insert/delete/replace
git-svn-id: svn://10.0.0.236/trunk@1176 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 16:26:06 +00:00
michaelp
bf4e5ec274 added solid brushes to graphics state.
git-svn-id: svn://10.0.0.236/trunk@1175 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-06 02:26:17 +00:00
briano
f76aa54e4a Attempt to handle the various SINIX versions (that I know of) in a cleaner way.
git-svn-id: svn://10.0.0.236/trunk@1171 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 23:58:14 +00:00
troy
22a5d2831e Frames no longet store the content index-in-parent
git-svn-id: svn://10.0.0.236/trunk@1169 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 23:56:50 +00:00
kmcclusk
a85f449dd0 Added tooltip widget and ScreenToWidget and WidgetToScreen conversion member functions
git-svn-id: svn://10.0.0.236/trunk@1168 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 23:41:16 +00:00
wtc
c76e69b986 Checked in (unfinished) Rhapsody port provided by Chris McAfee and
Chris Toshok (mcafee, toshok@netscape.com).  It is classic NSPR,
local threads only (based on setjmp/longjmp).


git-svn-id: svn://10.0.0.236/trunk@1167 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 23:28:45 +00:00
rickg
7eac5ad111 removed redundate class spec -- fixed a mac problem
git-svn-id: svn://10.0.0.236/trunk@1166 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 22:58:30 +00:00
michaelp
c8b3138e73 when selecting a bitmap into a drawing surface, we now reselect the bitmap
that used to be there when we're done.


git-svn-id: svn://10.0.0.236/trunk@1164 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 22:39:19 +00:00
mlm
e68d6633a8 - Fix for new engine - do not require tag to always be there, as sometimes
the prototype object will be passed in.


git-svn-id: svn://10.0.0.236/trunk@1163 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 22:33:10 +00:00
michaelp
96769227de API cleanup for images and drawing surfaces.
git-svn-id: svn://10.0.0.236/trunk@1161 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 22:11:50 +00:00
montulli
86dbcbf7e1 fix warning
git-svn-id: svn://10.0.0.236/trunk@1160 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 21:41:24 +00:00
montulli
5814fe706a add mkaccess to makefile fix warnings
git-svn-id: svn://10.0.0.236/trunk@1159 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 21:40:39 +00:00
pinkerton
a212449b03 fix for bug #115653 for file sharing (rev scc, appr don).
git-svn-id: svn://10.0.0.236/trunk@1158 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 21:27:12 +00:00
pinkerton
72c1a2dd70 Fix off-by-one error when adding new rows from external rdf containers. (rev scc, appr don)
git-svn-id: svn://10.0.0.236/trunk@1157 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 21:21:43 +00:00
hardts
cb80304b07 added support for MOZ_RAPTOR
git-svn-id: svn://10.0.0.236/trunk@1156 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 21:16:24 +00:00
selmer
c7623e9c1a Creating Java strings: don't include null char in length count
git-svn-id: svn://10.0.0.236/trunk@1151 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 20:35:13 +00:00
rickg
ed863f453a removed nsDefaultTokenHandler.*
git-svn-id: svn://10.0.0.236/trunk@1150 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 20:25:19 +00:00
spider
96958337e4 adding Unix Shell Makefile stuff
git-svn-id: svn://10.0.0.236/trunk@1149 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 20:17:21 +00:00
spider
82ed228fd3 Miscellaneous UNIX fixes and ISupports Interface cleanup in implementations
git-svn-id: svn://10.0.0.236/trunk@1148 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 20:16:13 +00:00
kmcclusk
ee0d950c4d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@1147 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 19:58:27 +00:00
pinkerton
3d020afdc7 Add LO_LayingOut to fix mac build bustage (appr cyeh).
git-svn-id: svn://10.0.0.236/trunk@1144 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 18:56:21 +00:00
hardts
2e49d986f7 check for null to prevent crash
git-svn-id: svn://10.0.0.236/trunk@1142 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 18:51:19 +00:00
michaelp
ebba598484 cleaned up.
git-svn-id: svn://10.0.0.236/trunk@1140 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 18:34:51 +00:00
montulli
3d43abb2b2 remove annoying asserts
git-svn-id: svn://10.0.0.236/trunk@1139 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 18:32:09 +00:00
spider
963949d6d3 Toplevel Window and Event implementations
git-svn-id: svn://10.0.0.236/trunk@1138 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 18:16:25 +00:00
michaelp
5c52551637 ResizeView() now does the right thing.
git-svn-id: svn://10.0.0.236/trunk@1137 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 18:04:56 +00:00
montulli
484796bcde fix annoying asserts
git-svn-id: svn://10.0.0.236/trunk@1136 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 17:50:26 +00:00
montulli
ebdea24d4c add glhist.h to fix compile warnings
git-svn-id: svn://10.0.0.236/trunk@1135 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 17:45:41 +00:00
michaelp
8796e9dab3 before releasing the timer in the destructor, we Cancel() the timer per vidur's
suggestion.


git-svn-id: svn://10.0.0.236/trunk@1134 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 17:29:08 +00:00
nisheeth
d43383f719 Added a check in LO_RelayoutOnResize() to bail if the document is being
laid out.


git-svn-id: svn://10.0.0.236/trunk@1133 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 17:27:23 +00:00
dcone
888e657348 Composition Work 24 bit complete
git-svn-id: svn://10.0.0.236/trunk@1131 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 14:47:16 +00:00
troy
c6e290213d Work in progress for inserted incremental reflow
git-svn-id: svn://10.0.0.236/trunk@1124 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 04:47:53 +00:00
rjc
cd708b48b7 (Mac only) Appletalk changes to support changes related to RDFT-specified data sources.
git-svn-id: svn://10.0.0.236/trunk@1123 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 02:56:07 +00:00
spider
e8c0760d9b Adding toplevel trex makefile
git-svn-id: svn://10.0.0.236/trunk@1121 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 02:03:57 +00:00
cyeh
f8babf45d0 change reference to "ns" since it refers to an old source root. remove
requirement on -k gmake flag


git-svn-id: svn://10.0.0.236/trunk@1120 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 01:27:49 +00:00
racham
37acf6df7a Minor textual changes associated with set up communicator button
git-svn-id: svn://10.0.0.236/trunk@1119 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 00:51:35 +00:00
spider
f8555ac899 Implement some toplevel windowing functionality
git-svn-id: svn://10.0.0.236/trunk@1118 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 00:50:35 +00:00
gagan
0862eba745 Updated include locations.
git-svn-id: svn://10.0.0.236/trunk@1117 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 00:41:34 +00:00
gagan
f098d37d23 MSDev project file update.
git-svn-id: svn://10.0.0.236/trunk@1116 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 00:40:21 +00:00
gagan
8fd7f0162f RC file.
git-svn-id: svn://10.0.0.236/trunk@1115 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 00:39:07 +00:00
gagan
b23ea7975d Added the test example.
NSPR changes.


git-svn-id: svn://10.0.0.236/trunk@1114 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 00:37:53 +00:00
briano
c4ea4cc289 Handle different SINIX versions properly. Thanks to Sanjay Gupta (gupta@informix.com) for the suggestion.
git-svn-id: svn://10.0.0.236/trunk@1113 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 00:10:34 +00:00
ftang
12a7beca15 fix the broken cp125[12] to/from unicode table I check in last time...
git-svn-id: svn://10.0.0.236/trunk@1112 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 23:44:59 +00:00
rickg
d6f2b8d6cb fixed general closure case
git-svn-id: svn://10.0.0.236/trunk@1111 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 23:36:46 +00:00
scullin
a7f345f764 Added NS_ERROR_FAILURE define provided by Brian Grunkemeyer.
git-svn-id: svn://10.0.0.236/trunk@1110 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 23:30:05 +00:00
scullin
a75e8b6a75 Added tarball rules.
git-svn-id: svn://10.0.0.236/trunk@1109 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 23:24:41 +00:00
spider
d6e3184abb Adding shell as new component on toplevel. Used to be in webshell.
This stuff allows an application to implement an interface instead of
providing the standard main().


git-svn-id: svn://10.0.0.236/trunk@1108 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 23:02:06 +00:00
troy
b470bf2def Fixed my build bustage
git-svn-id: svn://10.0.0.236/trunk@1107 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 22:50:13 +00:00
timm
03f29e9d41 changed "reggie.netscape.com" to be actual IP number to remove dependency
on DNS


git-svn-id: svn://10.0.0.236/trunk@1106 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 22:41:10 +00:00
thom
49acb7a1f2 Moved general Mac defines from Comm_Headers.c to Comm_Defines.h so that raptor can include Comm_Defines.h
git-svn-id: svn://10.0.0.236/trunk@1105 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 22:31:33 +00:00
timm
367c6a4f72 move inpvw5a.htm to a different array index because it was conflicting
with the New Account path


git-svn-id: svn://10.0.0.236/trunk@1104 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 21:29:42 +00:00
troy
c94f8a9104 Implemented DOM document's createTextNode() function, and changed insertBefore()
handler to allow refChild to be null


git-svn-id: svn://10.0.0.236/trunk@1103 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 20:34:37 +00:00
troy
ea789f09b3 Fixed InsertBefore() to allow refChild to be null
git-svn-id: svn://10.0.0.236/trunk@1102 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 20:33:05 +00:00
spider
39bdbd8c87 Removing ApplicationShell interfaces from webshell. Will be moved to toplevel 'shell' in near future.
git-svn-id: svn://10.0.0.236/trunk@1100 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 19:25:58 +00:00
kmcclusk
b36f4e2193 Added support for generating tooltip events
git-svn-id: svn://10.0.0.236/trunk@1099 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 19:25:25 +00:00
troy
d14a6a735d Added ContentInserted handler
git-svn-id: svn://10.0.0.236/trunk@1098 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 18:32:12 +00:00
troy
087c280a87 Work in progress for incremental reflow (insert)
git-svn-id: svn://10.0.0.236/trunk@1097 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 17:54:45 +00:00
troy
88dd3c090e Started hooking up createElement(), and commented out some asserts that
were getting hit


git-svn-id: svn://10.0.0.236/trunk@1096 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 17:54:08 +00:00
michaelp
f9b8d8ed34 made Composite() API in ViewManager work.
git-svn-id: svn://10.0.0.236/trunk@1095 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 17:41:57 +00:00
donm
420925b89b backing out Brian O's change that broke the gromit tree.
git-svn-id: svn://10.0.0.236/trunk@1093 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 17:22:59 +00:00
mcafee
542bc2ac58 Comment about moz-export
git-svn-id: svn://10.0.0.236/trunk@1092 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-04 07:03:58 +00:00
wtc
be97fc9aaa Deleted unused macro defines and commented-out code.
git-svn-id: svn://10.0.0.236/trunk@1089 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 23:22:09 +00:00
wtc
dd57c99a8b In make_file() and parse_file_seq(), when we see a char sequence
like 'C:/', we must make sure that there is exactly one letter
before the ':', so that it is indeed a drive letter.
Without these two fixes, the following two makefiles fail.

----------- Makefile 1 -----------------
all: c:/input c:/output
c:/input c:/output:c:/%put:/tmp
	@echo $@
---------- end of Makefile 1  ----------

Without the fix to make_file(), 'c:/%put:/tmp' would be incorrectly
parsed as a single token.  But it should be parsed as two tokens:
'c:/%put' and '/tmp'.  (This is a static pattern rule.)

---------- Makefile2 ------------------
c:/foobar:/tmp
	@echo $@
-------- end of Makefile2 -------------

Without the fix to parse_file_seq(), 'c:/foobar:/tmp' would be
parsed as one token, and make would complain about missing
separator.


git-svn-id: svn://10.0.0.236/trunk@1088 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 23:05:13 +00:00
ramiro
5a82956398 add missing -lXmu on irix and solaris
git-svn-id: svn://10.0.0.236/trunk@1087 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 12:26:58 +00:00
ramiro
cd82b2ca50 comment out gcc-ism
git-svn-id: svn://10.0.0.236/trunk@1086 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 12:26:08 +00:00
ramiro
76bc3096dd Add comments describing the makefiles. Dont force the initial value of
XFE_{SHARED,STATIC}_LIBS.


git-svn-id: svn://10.0.0.236/trunk@1085 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 12:10:33 +00:00
ramiro
a9ee7f9237 move XfeWidgets tests to their own directory
git-svn-id: svn://10.0.0.236/trunk@1084 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 11:59:23 +00:00
ramiro
8f2f7c9e55 add XmL tests
git-svn-id: svn://10.0.0.236/trunk@1083 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 11:52:01 +00:00
ramiro
f79791ac77 remove ad2c from a hardcoded location
git-svn-id: svn://10.0.0.236/trunk@1082 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 11:49:36 +00:00
ramiro
b15cda5963 add ad2c in a shared location
git-svn-id: svn://10.0.0.236/trunk@1081 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 11:49:07 +00:00
ramiro
65eb7efec8 Simplify the tests Makefil. Move all the defines and rules to a shared
makefile that can be included from different dirs.  Make creating tests in
subdirectories that depend on different libraries a lot easier and cleaner.


git-svn-id: svn://10.0.0.236/trunk@1080 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 11:48:15 +00:00
ramiro
1c87169b99 Update for edit support.
git-svn-id: svn://10.0.0.236/trunk@1079 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 11:47:01 +00:00
ramiro
a5b53e175e Make sure the client can properly link with motif 2.1 and gnu libc2 on
linux.  Also link with libBrokenLocale.so since locale support in
motif 2.1 with GLIBC is currently broken.


git-svn-id: svn://10.0.0.236/trunk@1078 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 06:36:27 +00:00
troy
7fb32b9f33 Added ComputeDesiredRect() to share some common code between DoResizeReflow()
and IncrementalReflow()


git-svn-id: svn://10.0.0.236/trunk@1077 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 04:57:29 +00:00
troy
000dc3a44d Made sure to set previous bottom margin when restoring reflow state
git-svn-id: svn://10.0.0.236/trunk@1075 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 04:37:56 +00:00
troy
0973be9e03 Fixed a problem with mY not being updated properly for a bottom
margin


git-svn-id: svn://10.0.0.236/trunk@1074 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 04:16:13 +00:00
troy
c15cd7b12f Removed ColumnFrame from the build
git-svn-id: svn://10.0.0.236/trunk@1073 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 04:00:37 +00:00
troy
295ea0d708 Changed body to create block pseudo-frame instead of a column pseudo frame,
and hooked up the reflow appended code


git-svn-id: svn://10.0.0.236/trunk@1072 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-03 03:51:48 +00:00
gagan
7cc7463c45 removed a not used file.
git-svn-id: svn://10.0.0.236/trunk@1068 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 02:35:41 +00:00
gagan
9c5d443da8 New modular cache files.
git-svn-id: svn://10.0.0.236/trunk@1067 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 02:29:42 +00:00
rjc
04940af93b More interface support.
git-svn-id: svn://10.0.0.236/trunk@1066 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 02:18:36 +00:00
kipp
51777f1e3b Set ascent/descent information so that vertical alignment works better
git-svn-id: svn://10.0.0.236/trunk@1065 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 02:04:00 +00:00
rjc
4016c14fb8 Better fix for Guha bustage... requires a prototype addition in net.h for NET_GetQuickURL() though. Removed #include "mkutils.h" from glue.h as its a private Netlib header file.
git-svn-id: svn://10.0.0.236/trunk@1062 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 01:28:02 +00:00
hyatt
f97af63ed5 Fixing an icon positioning bug.
git-svn-id: svn://10.0.0.236/trunk@1061 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 01:02:20 +00:00
rjc
a3b19be43f Fix Guha bustage by adding a #include "mkutils.h" in glue.h, adding appropriate include path(s) to libnet, and modifying Navigator.exp to export the NET_GetQuickUrl() function.
git-svn-id: svn://10.0.0.236/trunk@1060 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 01:00:06 +00:00
kipp
2c81902303 BR's are inline and cyan (if they are rendering)
git-svn-id: svn://10.0.0.236/trunk@1059 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:56:55 +00:00
kipp
292cd327b7 Spanked nsBlockFrame: newly rewritten, broken into two pieces (see nsLineLayout.h,.cpp for the line layout code)
git-svn-id: svn://10.0.0.236/trunk@1058 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:56:24 +00:00
kipp
127f91306b Fixed default background repeat bug
git-svn-id: svn://10.0.0.236/trunk@1057 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:55:29 +00:00
kipp
58d03021d1 Stub for WillDeleteNextInFlowFrame; call it during DeleteChildNextInFlows; fixed up ReflowChild spacemanager version to not mess with the availSize when talking to a space manager cognizant child
git-svn-id: svn://10.0.0.236/trunk@1056 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:55:11 +00:00
kipp
fa7caec542 Added WillDeleteNextInFlowFrame to allow for deletion pre-processing by container frames
git-svn-id: svn://10.0.0.236/trunk@1055 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:54:12 +00:00
hyatt
baa5c03f7f Fix to ensure that radio buttons and checkboxes are drawn with the proper background color.
Reviewed by Nisheeth.


git-svn-id: svn://10.0.0.236/trunk@1054 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:43:19 +00:00
hyatt
aa3283f7ca Fix for a crashing bug when the next layout element after a radio button or checkbox
is not text.


git-svn-id: svn://10.0.0.236/trunk@1053 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:42:50 +00:00
kipp
a756b3b6a4 Updated
git-svn-id: svn://10.0.0.236/trunk@1052 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:40:25 +00:00
kipp
de1607afa2 Fixed reference to unix_date
git-svn-id: svn://10.0.0.236/trunk@1051 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:35:17 +00:00
rpotts
95be00f510 Release the URL object to keep purity happy...
git-svn-id: svn://10.0.0.236/trunk@1049 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-02 00:01:41 +00:00
radha
d76280625c Fix for bug 107058. Increase the size of the executable name holder in
fe_showConference() from 32 to 1024 so that conference can be loaded
successfully.


git-svn-id: svn://10.0.0.236/trunk@1048 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 23:52:12 +00:00
montulli
51868dddec move bug fix over from lib/libnet
git-svn-id: svn://10.0.0.236/trunk@1047 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 23:30:33 +00:00
radha
0a89ef3908 Bug fix for 83769. Add MOZILLA_HOME/lib to the list of library_paths.
git-svn-id: svn://10.0.0.236/trunk@1046 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 23:27:04 +00:00
montulli
0143762f77 apply fixes from older netlib directory
git-svn-id: svn://10.0.0.236/trunk@1045 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 23:19:50 +00:00
montulli
c5c0900bcc move extcache function to public header
git-svn-id: svn://10.0.0.236/trunk@1044 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 23:19:03 +00:00
karnaze
66562cc5a4 added <input type=image>, fixed bug where multiple submit buttons sent data
git-svn-id: svn://10.0.0.236/trunk@1043 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 23:18:44 +00:00
montulli
96c4c39f1b move memcachefunc to public header
git-svn-id: svn://10.0.0.236/trunk@1041 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 23:16:57 +00:00
montulli
effff2047a fix include statement
git-svn-id: svn://10.0.0.236/trunk@1040 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 23:13:28 +00:00
hyatt
d54ff49f96 Fixing the column headers so that a BG image can be mapped to them. Also making
them respond to FG and BG color parameters.


git-svn-id: svn://10.0.0.236/trunk@1038 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 22:55:07 +00:00
hyatt
a0ecf0e3f2 Making the embedded title strip 256-color friendly and fixing a bug
where it always used white as its foreground color.


git-svn-id: svn://10.0.0.236/trunk@1037 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 22:54:07 +00:00
guha
3450d2ecd5 Use the new netgeturlquick that Gagan has given us
git-svn-id: svn://10.0.0.236/trunk@1034 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 22:42:37 +00:00
kostello
4d778817c3 Cleaned up getting attribute values
git-svn-id: svn://10.0.0.236/trunk@1031 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 21:55:36 +00:00
ftang
4e44f6e2e3 Add mapping for windows-1251 fon
git-svn-id: svn://10.0.0.236/trunk@1030 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 21:41:12 +00:00
ftang
9aa414d6de Check in locale independent form select/button handling change Approvaled by XFE owner
git-svn-id: svn://10.0.0.236/trunk@1029 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 21:40:38 +00:00
kostello
30896a4b70 Made SetStyleContext take the presentation context as a parameter
git-svn-id: svn://10.0.0.236/trunk@1028 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 20:45:15 +00:00
kostello
36357f1dc0 Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
Moved attribute setting logic from nsTableCell to nsTableCellFrame
Table Borders are being drawn again : )
Table Padding is being displayed


git-svn-id: svn://10.0.0.236/trunk@1027 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 20:44:55 +00:00
kostello
7cde78d07b Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses


git-svn-id: svn://10.0.0.236/trunk@1026 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 20:43:42 +00:00
kostello
fdf9769d8a * Made SetStyleContext take the presentation context as a parameter
* Made DidSetStyleContext virtual, since we need to override the behavior in subclasses


git-svn-id: svn://10.0.0.236/trunk@1025 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 20:43:02 +00:00
hyatt
d8dec8ac2b Modified version of nathan wykes' history patch.
git-svn-id: svn://10.0.0.236/trunk@1023 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 20:40:25 +00:00
ftang
b8ccf4eb84 Add cyrillic font auto selection for x frontend.
Thanks for Serge Orlov (sorlov@con.mcst.ru) from the net.


git-svn-id: svn://10.0.0.236/trunk@1022 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 20:23:44 +00:00
spider
be13abc9d8 Add more Objects to be registered for the ApplicationShell
git-svn-id: svn://10.0.0.236/trunk@1021 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 20:13:51 +00:00
srinivas
2d0a84dad9 Set up pointers to the stack-pointer/frame-pointer words in the thread's
context structure. Useful for displaying thread stacks in the debugger.


git-svn-id: svn://10.0.0.236/trunk@1020 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 19:47:14 +00:00
srinivas
c7bab903e6 Initialize the outermost stack frame for the thread and setup pointers to the
stack-pointer/frame-pointer words in the thread's context structure.
Useful for displaying thread stacks in the debugger.


git-svn-id: svn://10.0.0.236/trunk@1019 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 19:45:13 +00:00
spider
824671d01d Adding global gmake config - common config for win and unix using gmake
git-svn-id: svn://10.0.0.236/trunk@1018 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 19:32:41 +00:00
dbragg
b0083fce34 Corrected depth after cd-ing into signed directory
git-svn-id: svn://10.0.0.236/trunk@1017 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 19:31:11 +00:00
racham
08b8e55802 Last line reffering to clicking on next button to reach account setup is removed - Bug 90536
git-svn-id: svn://10.0.0.236/trunk@1016 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 19:03:49 +00:00
racham
bebb497e7e Hypertext references modified & newentry Comm Setup - Bug 90536
git-svn-id: svn://10.0.0.236/trunk@1015 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 19:01:26 +00:00
racham
73ac93f943 Account set Shortcut button (double arrow) suppressed
git-svn-id: svn://10.0.0.236/trunk@1014 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 18:59:44 +00:00
racham
461d17e5cb Navigational changes of bugs 110410, 107811, 90536
git-svn-id: svn://10.0.0.236/trunk@1013 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 18:58:30 +00:00
hyatt
d77b9b3e90 Tweaks.
git-svn-id: svn://10.0.0.236/trunk@1012 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 18:58:01 +00:00
hyatt
0e22f337a2 Patch from Jim Ewald to keep Mozilla from crashing when "About Navigator..." is selected.
git-svn-id: svn://10.0.0.236/trunk@1011 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 18:53:04 +00:00
hyatt
5d0689fb40 Fix for a thrown assertion when NavCenter is collapsed.
git-svn-id: svn://10.0.0.236/trunk@1010 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 18:52:28 +00:00
hyatt
0041bd1c5e Making the tree view 256-color friendly. Adding more customizability options. Turned the dividers
between nodes off by default.


git-svn-id: svn://10.0.0.236/trunk@1009 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 18:33:47 +00:00
chouck
b0aa9d97ba Fix for casts inside PR_FREEIF() inspired by <rkl@csc.liv.ac.uk>
git-svn-id: svn://10.0.0.236/trunk@1007 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 17:44:19 +00:00
chouck
8927813180 Minor memory leak
git-svn-id: svn://10.0.0.236/trunk@1006 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 17:41:02 +00:00
spider
f2288f5c9d Fix UNIX build bustage on some systems where tweak_nspr gets appended to TARGET after inclusion of rules.mk, thus breaking nsinstall.
git-svn-id: svn://10.0.0.236/trunk@1003 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 17:11:13 +00:00
spider
3d3f3369ec Fix UNIX breakage when tweak_nspr is appended to TARGET on some systems (like mine)
git-svn-id: svn://10.0.0.236/trunk@1001 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 17:04:22 +00:00
timm
3acc4e4c39 changes for reggie 2 step
git-svn-id: svn://10.0.0.236/trunk@1000 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 10:37:35 +00:00
timm
578096c81b Removed 'Cancel' from ProgressApplet, allow CPGeneratorProgress to restart
git-svn-id: svn://10.0.0.236/trunk@999 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 10:31:14 +00:00
timm
18598552aa Add "RegSource=APL"
git-svn-id: svn://10.0.0.236/trunk@998 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 10:29:56 +00:00
timm
c0a11178ba changes for reggie 2 step
git-svn-id: svn://10.0.0.236/trunk@997 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 10:29:17 +00:00
timm
35a5f94651 new reggie 2 step templates
git-svn-id: svn://10.0.0.236/trunk@996 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 10:28:13 +00:00
timm
2e42d46cc6 new files for reggie 2 step
git-svn-id: svn://10.0.0.236/trunk@995 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 10:25:21 +00:00
mccabe
5332947894 Added #if defined ( SNI ) to a few existing #if tests, for compiling
on SINIX.


git-svn-id: svn://10.0.0.236/trunk@994 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 07:06:12 +00:00
rpotts
6bf27be3b9 nsSelectionRange.h is required by nsISelection.h
git-svn-id: svn://10.0.0.236/trunk@993 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 05:56:08 +00:00
rpotts
82e75d2589 nslayout.h is *all* lower case
git-svn-id: svn://10.0.0.236/trunk@992 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 05:55:11 +00:00
rpotts
ee491f23cc fixed bustage...
git-svn-id: svn://10.0.0.236/trunk@990 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 05:18:07 +00:00
rpotts
0f42d7d2f9 changed to use the new nsIURL support provided by netlib...
git-svn-id: svn://10.0.0.236/trunk@989 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 05:07:49 +00:00
rpotts
9fe6a0963b added netlib to the include path...
git-svn-id: svn://10.0.0.236/trunk@988 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 05:07:25 +00:00
rpotts
46cff9faab added the netlib import library...
git-svn-id: svn://10.0.0.236/trunk@987 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 05:00:44 +00:00
rpotts
a5b0db532d Do not delete the nsIInputStream. Call Release() instead. Reference counting is important!!
git-svn-id: svn://10.0.0.236/trunk@986 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 04:59:28 +00:00
rpotts
780c801dcc added netlib to the include path
git-svn-id: svn://10.0.0.236/trunk@985 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 04:56:26 +00:00
rpotts
f89777dd1d added new module export macro NS_NET
git-svn-id: svn://10.0.0.236/trunk@984 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 04:55:39 +00:00
rpotts
ac18334c10 removed nsURL.cpp from the build...
git-svn-id: svn://10.0.0.236/trunk@983 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 04:55:01 +00:00
rpotts
61406ea472 nsIURL.h and nsURL.cpp have been moved to mozilla\lib\libnet
git-svn-id: svn://10.0.0.236/trunk@982 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 04:53:42 +00:00
rpotts
88e2da5f3f the base module is now required by netlib :-(
git-svn-id: svn://10.0.0.236/trunk@979 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 04:52:51 +00:00
michaelp
4d46f24a23 InsertChild() with a zindex now does the right thing.
RemoveChild() now invalidates the area where the view was.
added NS_RELEASE() cleanup.


git-svn-id: svn://10.0.0.236/trunk@975 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 03:15:31 +00:00
michaelp
632082625a added NS_RELEASE() cleanup.
git-svn-id: svn://10.0.0.236/trunk@974 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 03:14:03 +00:00
michaelp
54953fa08e fixed various shutdown and linked list management bugs.
git-svn-id: svn://10.0.0.236/trunk@973 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 03:13:34 +00:00
michaelp
3a92d6d01c killed erroneous comments.
git-svn-id: svn://10.0.0.236/trunk@972 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 03:11:47 +00:00
michaelp
6053e4f001 added additional cleanup when shutting down the websidget so that the
ViwManager will actually go away.


git-svn-id: svn://10.0.0.236/trunk@971 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 03:11:13 +00:00
michaelp
3ff1be94d8 added missing NS_RELEASE() after calling GetWidget().
git-svn-id: svn://10.0.0.236/trunk@970 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 03:09:53 +00:00
michaelp
3ba2f75f2f added missing NS_RELEASE() after getting a window in the cursor setting code.
git-svn-id: svn://10.0.0.236/trunk@969 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 03:09:07 +00:00
michaelp
75e204180f fixed bug in state management of clip rects.
git-svn-id: svn://10.0.0.236/trunk@968 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 03:08:08 +00:00
montulli
6099321277 fix prototype
git-svn-id: svn://10.0.0.236/trunk@967 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 02:24:39 +00:00
spider
635953eb9a Fix crash if root view is not setup properly during window creation
git-svn-id: svn://10.0.0.236/trunk@966 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 02:18:39 +00:00
briano
f8066a66f9 Eliminated the confusing and pointless OS version macros.
git-svn-id: svn://10.0.0.236/trunk@965 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 02:04:06 +00:00
briano
cc294e1bae Converted the LINUX2_0 and MKLINUX references to just LINUX, and added danda's tweak from the OS/2 branch.
git-svn-id: svn://10.0.0.236/trunk@964 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 01:54:32 +00:00
mccabe
9b313afb01 Another place where error reporting hadn't caught up to 16-bit
character strings; added a js_DeflateString call.  Thanks to gcc 2.8.1
for catching this - it complained about "char format, different type
arg (arg 4)" - which means that it looked in the (printf-style) format
string and checked type against it.  Wow.


git-svn-id: svn://10.0.0.236/trunk@963 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 01:39:51 +00:00
hyatt
4d8ca6df3a Fix for a problem with the system color changing.
git-svn-id: svn://10.0.0.236/trunk@962 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 01:26:08 +00:00
spider
a9f9424d30 Code Cleanup...
git-svn-id: svn://10.0.0.236/trunk@961 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 01:16:44 +00:00
hyatt
97e25edfcc You can now click on the vertical bars to collapse the parent node.
git-svn-id: svn://10.0.0.236/trunk@960 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 00:59:05 +00:00
scullin
1a588fe0ab Added netcache requirement.
git-svn-id: svn://10.0.0.236/trunk@959 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 00:58:36 +00:00
mccabe
eeb3cc74f2 Restoring changes that were backed out because of a one-line error in
prmjtime.c.


git-svn-id: svn://10.0.0.236/trunk@958 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 00:22:06 +00:00
montulli
97038f9345 fix proto
git-svn-id: svn://10.0.0.236/trunk@957 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-01 00:04:12 +00:00
hyatt
45825818f9 Tree view can now show or hide tree connections (the bars).
git-svn-id: svn://10.0.0.236/trunk@956 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 23:52:37 +00:00
hyatt
736d044cd4 View now properly invalidated when colors/backgrounds/properties change.
git-svn-id: svn://10.0.0.236/trunk@955 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 23:52:20 +00:00
montulli
2b7baab535 Add unix makefiles and make a few include file tweaks for unix compilation
git-svn-id: svn://10.0.0.236/trunk@953 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 23:52:15 +00:00
hyatt
87eaefd3ce Fixed a bug where the navbar was using the tree view's bg image rather than
its own.


git-svn-id: svn://10.0.0.236/trunk@952 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 23:51:59 +00:00
hyatt
7d36db57e4 Patch from Sam Keeny on the net which fixes kiosk mode.
git-svn-id: svn://10.0.0.236/trunk@951 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 23:51:29 +00:00
montulli
c9c3400e81 fix layout .> lay
git-svn-id: svn://10.0.0.236/trunk@948 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 23:45:52 +00:00
montulli
e4b21d25b7 fix makefile
git-svn-id: svn://10.0.0.236/trunk@947 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 23:44:45 +00:00
kipp
ba7de39efe new
git-svn-id: svn://10.0.0.236/trunk@946 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 23:32:32 +00:00
montulli
3196bd8a06 make layout module name be lay instead of layout to be compatible with unix
git-svn-id: svn://10.0.0.236/trunk@945 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 23:30:20 +00:00
hyatt
25acb7bb52 Improvements to the tree control.
(1) Fixed inline editing so that the text field is properly cleared
	(2) Fixed marquee selection so that the first item is selected
	(3) Added the ability to customize column header colors and to
	customize the tree colors.  Can load a background image as well.
	(4) Added dividers
	(5) Removed the bitmap dependency when drawing lines and triggers.
	(6) Changed the way sorting looks.


git-svn-id: svn://10.0.0.236/trunk@944 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:15:42 +00:00
gagan
f2a00a0985 Added NET_GetURLQuick, for retrieving objects from cache before updating
them from the server. Use with caution, possibility of stale objects. See
bug #114363.


git-svn-id: svn://10.0.0.236/trunk@943 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:14:29 +00:00
hyatt
9241e5aa90 Fix for a memory trashing bug that occurred whenever the URL column was shown
in Aurora.  (Symptom was a damaged block on exit.)


git-svn-id: svn://10.0.0.236/trunk@942 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:13:55 +00:00
hyatt
6f53c14cb8 Changes to the outliner base class to cut down resource usage. (Bitmaps don't
have to be loaded by a derived class that knows how to draw its triggers.)


git-svn-id: svn://10.0.0.236/trunk@941 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:13:23 +00:00
hyatt
2304f2a909 Tweaks to get Aurora working with Composer.
git-svn-id: svn://10.0.0.236/trunk@940 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:12:40 +00:00
hyatt
869a60505e Removed the embedded button menu. Added the ability to customize the title bar's
appearance.


git-svn-id: svn://10.0.0.236/trunk@939 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:12:15 +00:00
hyatt
bf7202af7d Fixes to the way custom icons are handled in Aurora.
git-svn-id: svn://10.0.0.236/trunk@938 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:11:34 +00:00
hyatt
14134ff171 Fix for Bug #107284, need to monitor when the animation starts and stops.
git-svn-id: svn://10.0.0.236/trunk@937 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:10:33 +00:00
hyatt
488c5f3343 Fix for Bug#107284, need to monitor when the animation starts and stops.
git-svn-id: svn://10.0.0.236/trunk@936 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:09:21 +00:00
hyatt
2a18679c20 Enabling Aurora in composer.
git-svn-id: svn://10.0.0.236/trunk@934 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:08:44 +00:00
rickg
1beed254e9 minor improvement to backward propagation code
git-svn-id: svn://10.0.0.236/trunk@933 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 22:06:16 +00:00
montulli
b515fc55dd Add netlib in new location.
This is a (mostly) unmodified version of lib/libnet
broken up into functional areas
It should be binary compatible with the lib created by lib/libnet
but is now 10 libs.
The only substantial things changed in the version is the include files


git-svn-id: svn://10.0.0.236/trunk@931 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 20:53:59 +00:00
montulli
c1da74a63a export style header files
git-svn-id: svn://10.0.0.236/trunk@930 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 20:35:16 +00:00
montulli
e26c0b8b5c export layout.h into layout public include directory
git-svn-id: svn://10.0.0.236/trunk@929 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 20:33:35 +00:00
rickg
1253f68df0 got newlines working much better; Kipp still won't be happy, but the, he never is.
git-svn-id: svn://10.0.0.236/trunk@928 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 20:23:07 +00:00
wtc
e9b6d10641 Recognize SINIX-Y, the high-end version of SINIX.
(Patch provided by Sanjay Gupta <gupta@informix.com>.)


git-svn-id: svn://10.0.0.236/trunk@927 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 20:07:51 +00:00
peterl
7f15ff1ab6 update to new value class api
git-svn-id: svn://10.0.0.236/trunk@926 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:57:36 +00:00
peterl
4d90cd509c added new unit types, cleaned up api
git-svn-id: svn://10.0.0.236/trunk@925 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:56:39 +00:00
peterl
f102a97623 updated to new value class api
git-svn-id: svn://10.0.0.236/trunk@924 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:55:51 +00:00
peterl
9de9eff153 removed include
git-svn-id: svn://10.0.0.236/trunk@923 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:53:05 +00:00
peterl
3a74004725 changed api, added new units
git-svn-id: svn://10.0.0.236/trunk@922 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:52:46 +00:00
peterl
02e53b2bb5 changed to nsStylePosition to use nsStyleCoord
git-svn-id: svn://10.0.0.236/trunk@921 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:52:26 +00:00
peterl
c7ab938a26 removed style position value, added cursor auto
git-svn-id: svn://10.0.0.236/trunk@920 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:51:52 +00:00
peterl
7ff699f97c updated api, added new units
git-svn-id: svn://10.0.0.236/trunk@919 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:50:36 +00:00
peterl
e7ae6a57ec changed nsStypePosition to use nsStyleCoord
git-svn-id: svn://10.0.0.236/trunk@918 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:50:18 +00:00
wtc
9858b6150a Various makefile cleanups. On SCO OpenServer, the value of OS_ARCH
is now 'SCOOS' instead of 'SCO_SV'.  Also, we just use the cpp macro 'SCO'
and deleted the macro 'SCO_SV'.
In pr/src/md/unix/Makefile, we do not assemble the ultrasparc assembly
file if we are compiling with gcc.


git-svn-id: svn://10.0.0.236/trunk@917 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:36:53 +00:00
rods
e8df85316f initial
git-svn-id: svn://10.0.0.236/trunk@916 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 19:15:05 +00:00
rods
a31617a2db added selection classes to makefiles and added the selection object and methods to nsDocument and nsIDocument
git-svn-id: svn://10.0.0.236/trunk@913 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 18:21:59 +00:00
buster
10cf7de2c3 fixed method names
git-svn-id: svn://10.0.0.236/trunk@912 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 18:04:16 +00:00
buster
3a3e869ea0 added nsITableLayoutStrategy as the interface for objects that manage
table column balancing.  Implemented in BasicTableLayoutStrategy (HTML4-spec).
nsTableFrame instantiates a strategy depending on the compatibility mode.


git-svn-id: svn://10.0.0.236/trunk@911 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 17:57:09 +00:00
rpotts
68ec6fbca1 moved the include of windows.h inside of an XP_PC ifdef...
git-svn-id: svn://10.0.0.236/trunk@910 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 17:52:15 +00:00
spider
929d758f31 Fix UNIX build bustage
git-svn-id: svn://10.0.0.236/trunk@909 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 16:40:38 +00:00
rods
83895f1ffd turned off selection
git-svn-id: svn://10.0.0.236/trunk@908 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 16:13:01 +00:00
buster
ea4ac0c312 fixed a rounding error, and made tables quiet
git-svn-id: svn://10.0.0.236/trunk@907 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 15:20:23 +00:00
buster
130cc8acf5 at Peters request, I added NS_INT_PIXELS_TO_TWIPS and NS_FLOAT_PIXELS_TO_TWIPS
git-svn-id: svn://10.0.0.236/trunk@906 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 15:11:33 +00:00
hshaw
d15d7a4b72 Back out changes which are breaking builds (at request of mccabe)
git-svn-id: svn://10.0.0.236/trunk@903 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 08:18:42 +00:00
hshaw
db8e901896 Back out changes which are breaking builds (at request of mccabe)
git-svn-id: svn://10.0.0.236/trunk@902 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 08:10:05 +00:00
rickg
ce4b76d61a huge improvements to parser
git-svn-id: svn://10.0.0.236/trunk@901 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 05:56:39 +00:00
rickg
d7a05d60d4 minor tweak to iterator
git-svn-id: svn://10.0.0.236/trunk@900 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 05:55:51 +00:00
warren
4300ed4358 Changes should have been on the branch -- reverted.
git-svn-id: svn://10.0.0.236/trunk@898 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 05:28:19 +00:00
warren
a7bc3044d8 Changes to build with MOZ_OJI (and not MOZ_JAVA).
git-svn-id: svn://10.0.0.236/trunk@897 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 04:27:29 +00:00
mccabe
4747d02fa9 Changed pr[mj]time.c to just return 0 for failure in FormatTime, and
changed jsdate.c to detect failure and default to using toString in
place of toLocaleString whenever FormatTime fails.


git-svn-id: svn://10.0.0.236/trunk@895 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 03:51:26 +00:00
montulli
177e6468b9 fix extension labels
Thanks to: Paul Chek <pchek@ziplink.net> for the fix


git-svn-id: svn://10.0.0.236/trunk@894 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 02:54:34 +00:00
michaelp
228526d605 minor tweaks to UpdateView() in view manager. if you want to invalidate a whole
view, pass in nsnull for the nsRegion param.
viewmanager InsertChild() above/below now does the right thing.
fixed cujo's table thingie.


git-svn-id: svn://10.0.0.236/trunk@893 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 02:41:14 +00:00
sar
d271dff890 Taking out the stuff not relevant to the public tree...
All references to MOZ_JAVAVER deleted (java is included in the MozillaProductWin module)
The other branch tag references have been deleted (dbm is pulled as part of the module, security
    and coreconf have no relevance in the public tree)
pull_all is only defined as pull_client_source_product (ifdef for MOZ_MEDIUM was removed)
pull_security and pull_client were removed
build_ldap was removed


git-svn-id: svn://10.0.0.236/trunk@892 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 02:16:43 +00:00
gagan
dd67cf36ef Fixed the authentication bug #114532 which resulted in an incorrect entry
in the authentication list.


git-svn-id: svn://10.0.0.236/trunk@891 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 01:55:10 +00:00
ramiro
9310bbbb06 Add an extra sanity check on the children argument.
git-svn-id: svn://10.0.0.236/trunk@890 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 01:48:30 +00:00
gagan
c093c6c84e Corrected a misspelled #include. Thanks Sanjay Gupta (gupta@informix.com)
git-svn-id: svn://10.0.0.236/trunk@889 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 01:47:21 +00:00
ramiro
45e962ceae Fix crash on startup in mozilla Personal Toolbar. Make the recursive
children killing function more robust.


git-svn-id: svn://10.0.0.236/trunk@888 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 01:39:28 +00:00
buster
4744264a52 lots of pre-conditions and asserts added
fixed a bug in layout having to do with sizing cells in columns that are spanned into


git-svn-id: svn://10.0.0.236/trunk@887 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 00:27:59 +00:00
mccabe
246b37fa96 Fixes for getting the timezone string fot toString, and for asking for
a localized string from the os for toLocaleString.  The time struct
used to interface to the os time-formatting functions only takes a
16-bit year, so we map to an equivalent year (for getting the timezone
string) or clamp for years outside that range.


git-svn-id: svn://10.0.0.236/trunk@886 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 00:27:43 +00:00
mccabe
e6a6db8cd7 Removed some unused constants.
git-svn-id: svn://10.0.0.236/trunk@885 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 00:14:07 +00:00
mccabe
1912e0d8e7 Removed some unused lines related to jsdate.c.
git-svn-id: svn://10.0.0.236/trunk@884 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 00:11:31 +00:00
ftang
67b6544f6f Fix uTable change suggestion from qupta@informix.com (forwarded by
Wan-Teh Chang)


git-svn-id: svn://10.0.0.236/trunk@883 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 00:02:20 +00:00
michaelp
02194e7102 Arghh ....
git-svn-id: svn://10.0.0.236/trunk@882 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 23:57:32 +00:00
mccabe
6a0e192f5f ECMA-conformance fix to (95045) - added 'enum' and 'debugger' as
reserved words, and changed the versioning check that previously
applied to 'export' to accept any 'ecma' version... which means that
export becomes a keyword for the default version.  Does this mean
we'll need to unreserve all the java keywords?  Not sure we want to do
that...


git-svn-id: svn://10.0.0.236/trunk@881 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 23:57:20 +00:00
mccabe
6c9a40d28d Fixed error message associated with trying to use a keyword as an
identifier; it was only printing the first character of the
identifier, because it expected 8-bit chars, and was being called with
a 16-bit representation of the offending keyword.


git-svn-id: svn://10.0.0.236/trunk@880 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 23:52:40 +00:00
spider
33154649fc Fix yet another build bustage by maio ... windows.h was removed somewhere....
git-svn-id: svn://10.0.0.236/trunk@879 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 23:49:38 +00:00
spider
2d279ab608 Fix build bustage of non-existent header file
git-svn-id: svn://10.0.0.236/trunk@878 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 23:23:40 +00:00
spider
8b28e5c284 Modifications to support new nsIApplicationShell interface
git-svn-id: svn://10.0.0.236/trunk@877 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 22:43:33 +00:00
peterl
db7ba47330 removed unneeded destructors
cleaned up some initial values


git-svn-id: svn://10.0.0.236/trunk@876 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 21:06:15 +00:00
peterl
b0cae37787 added normal value
git-svn-id: svn://10.0.0.236/trunk@875 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 21:05:28 +00:00
peterl
e0d215699f removed unneeded destructors
git-svn-id: svn://10.0.0.236/trunk@874 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 21:04:57 +00:00
rpotts
8b6c6d6ca6 added windows.h since NSPR no longer includes it...
git-svn-id: svn://10.0.0.236/trunk@873 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 20:47:18 +00:00
dcone
308ff813eb Updated nsImageWin and gfx bit test for composite functionality
git-svn-id: svn://10.0.0.236/trunk@872 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 20:28:16 +00:00
rpotts
b174335bfa removed eval(PRBool,...) function since it clashes with the eval(PRInt32,...) version
git-svn-id: svn://10.0.0.236/trunk@871 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 20:10:16 +00:00
rpotts
5c411b7d88 added include of string.h since NSPR no longer includes windows.h which pulled it in...
git-svn-id: svn://10.0.0.236/trunk@870 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 20:04:28 +00:00
rpotts
9650c7aa2b Added windows.h since NSPR no longer includes it...
git-svn-id: svn://10.0.0.236/trunk@869 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 20:01:24 +00:00
kmcclusk
27415284fe Added events for left and right mouse button double clicks
git-svn-id: svn://10.0.0.236/trunk@868 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 19:59:06 +00:00
rpotts
d1ddb05cac added windows.h since it is no longer provided by NSPR
git-svn-id: svn://10.0.0.236/trunk@867 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 19:57:57 +00:00
rpotts
6c30425beb PRBool is now a PRIntn which caused conflicts between member functions mangled on PRInt32 vs PRBool. To fix the build I removed the PRBool versions...
git-svn-id: svn://10.0.0.236/trunk@866 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 19:52:45 +00:00
rpotts
67a5df01f5 added include of windows.h since NSPR no longer pulls it in...
git-svn-id: svn://10.0.0.236/trunk@865 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 19:37:33 +00:00
rpotts
a2f6cdb246 added #include windows.h since NSPR no longer includes it...
git-svn-id: svn://10.0.0.236/trunk@862 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 19:25:27 +00:00
kostello
e8e9dbc69b Fixed Unix Build Error -- nsCoord.h must be case sensitive
git-svn-id: svn://10.0.0.236/trunk@858 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 18:39:30 +00:00
guha
df4c7e0fc5 Remove some files from CVS
(the old xml parser was confusing a lot of people
even though it wasn't being used.)


git-svn-id: svn://10.0.0.236/trunk@855 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 18:00:31 +00:00
karnaze
209c861a0e ifdefed MapAttributesInto
git-svn-id: svn://10.0.0.236/trunk@853 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 17:27:44 +00:00
karnaze
0a07a4bf82 ifdefed style sizing code
git-svn-id: svn://10.0.0.236/trunk@852 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 17:14:24 +00:00
rods
f71616b8fa initial check in
git-svn-id: svn://10.0.0.236/trunk@851 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 17:08:57 +00:00
karnaze
7fe4b14c5d minor cleanup, reinstate css sizing.
git-svn-id: svn://10.0.0.236/trunk@850 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 16:30:55 +00:00
ramiro
9d1d9fed95 The reallyUpdateRoot() call seems to be crashing the browser for some people.
I cannot reproduce the problem yet.  Im working on finding a real solution,
but I dont want the browser to crash on startup on the next mozilla release,
so im commenting it out.


git-svn-id: svn://10.0.0.236/trunk@849 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 14:45:52 +00:00
ramiro
7a0330fe5f Dont update the menu accent if the widget is dead. Fixes core dump in
Mozilla that occurs on filing of bookmarks.


git-svn-id: svn://10.0.0.236/trunk@848 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 11:14:05 +00:00
nisheeth
05287d1e22 - Added #ifdef DOM to layout.h
- Backing out some changes in layout.c that should not have gotten checked in...


git-svn-id: svn://10.0.0.236/trunk@847 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 10:47:20 +00:00
nisheeth
e3b2621102 Added lm_trans.c to Unix makefile...
git-svn-id: svn://10.0.0.236/trunk@846 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 10:45:43 +00:00
nisheeth
a42fcb9ca8 Added layspan.c in mozilla/lib/layout, lm_span.c and lm_trans.c in mozilla/lib/libmocha.
git-svn-id: svn://10.0.0.236/trunk@845 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 10:20:16 +00:00
nisheeth
5db071e76e Touchdown of MARINER_DOM_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@841 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 10:13:27 +00:00
nisheeth
c4bd436721 Touchdown of MARINER_DOM_BRANCH...
git-svn-id: svn://10.0.0.236/trunk@840 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 10:08:50 +00:00
nisheeth
7960424738 Warning fixes. Thanks to Rick Osborne (rick@spacey.net).
git-svn-id: svn://10.0.0.236/trunk@839 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 08:41:05 +00:00
nisheeth
010ada78cf Warning fix. Thanks to tenthumbs@cybernex.net.
git-svn-id: svn://10.0.0.236/trunk@838 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 08:39:56 +00:00
jsw
ad8a2bf568 get the damn function name right
git-svn-id: svn://10.0.0.236/trunk@837 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 08:38:27 +00:00
nisheeth
4dc19bf8d2 Added access path for jscompat.h
git-svn-id: svn://10.0.0.236/trunk@835 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 08:05:20 +00:00
nisheeth
30f99a45f9 Added export of CL_CompositeNow, CL_GetCompositorOffscreenDrawing, CL_SetCompositorOffscreenDrawing and CL_UpdateDocumentRect for XML changes.
git-svn-id: svn://10.0.0.236/trunk@833 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 07:50:37 +00:00
toshok
2ed0b8e3af REQUIRE js
git-svn-id: svn://10.0.0.236/trunk@832 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 07:09:33 +00:00
ftang
02d2f8e308 fix CP1251 viewing problem by using 8859_5 font. We may need to
add better support (decide which font to use  in the init time instead of
compile time) in the future.


git-svn-id: svn://10.0.0.236/trunk@831 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 06:09:25 +00:00
mccabe
85c8006a9f Added some #ifdef JAVA guards to remove compile warnings.
Thanks go to rick@spacey.net (Rick Osborne) for finding these.


git-svn-id: svn://10.0.0.236/trunk@828 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 02:39:43 +00:00
michaelp
c7fe1544fe more cliprect api changes...
git-svn-id: svn://10.0.0.236/trunk@827 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 02:24:07 +00:00
wtc
705b2825f3 Added alpha and x86 binaries and the README file to
buildtools/windows/bin.


git-svn-id: svn://10.0.0.236/trunk@825 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 01:35:56 +00:00
troy
a10eab0307 Changed space manager to return a list of available and unavailable trapezoids
git-svn-id: svn://10.0.0.236/trunk@821 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 00:58:16 +00:00
pinkerton
241c685bdb also send the bookmark drag flavor so that other applications (dragThing, etc) can get both the url and the title (rev sdagley, appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@820 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 00:57:11 +00:00
pinkerton
bdde74a642 remove the comment about how we're going to pull the bookmark drag flavor, since we're not. (rev sdagley, appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@819 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 00:56:31 +00:00
ftang
2b7a3e4a9a Check in additional KOI8-R font registry name. Thanks for
sorlov@con.mcst.ru
from the net


git-svn-id: svn://10.0.0.236/trunk@818 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 00:56:23 +00:00
ftang
c208a630a8 fix ISO8859-5,7,9 KOI8-R Name entity problem
git-svn-id: svn://10.0.0.236/trunk@813 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 00:36:25 +00:00
wtc
718a40bb0a ReliantUNIX is renamed SINIX.
git-svn-id: svn://10.0.0.236/trunk@811 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 00:08:32 +00:00
peterl
9bd123cf4d changed nsStyleText to use nsStyleCoord
git-svn-id: svn://10.0.0.236/trunk@810 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 23:57:01 +00:00
peterl
60016b76aa removed inheritance from style mapping
changed nsStyleText to use nsStyleCoord


git-svn-id: svn://10.0.0.236/trunk@809 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 23:56:28 +00:00
wtc
8d1bc32fbe Got rid of the LINUX1_2 and LINUX2_0 macros. I hope that this will
make building on 2.1.x easier.  In case we need to distinguish between
different versions of Linux, we will try to use feature-based macros
as opposed to version-based macros.
Files changed: Linux.mk, _linux.h, _pth.h, prnetdb.c, and ptthread.c.


git-svn-id: svn://10.0.0.236/trunk@808 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 23:54:29 +00:00
peterl
0645caeec0 added nsStyleCoord
git-svn-id: svn://10.0.0.236/trunk@807 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 23:54:06 +00:00
peterl
0a122c5b8d added subclass hook for style post-processing
git-svn-id: svn://10.0.0.236/trunk@806 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 23:25:07 +00:00
kostello
ac5c637ccd Call to RecalcLayoutData
git-svn-id: svn://10.0.0.236/trunk@805 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:44:05 +00:00
wtc
54f4d85fe1 Merged NSPRPUB_19980421_BRANCH to the main trunk.
git-svn-id: svn://10.0.0.236/trunk@803 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:43:48 +00:00
kostello
c14bf79c47 Updated table to process cellpadding, cellspacing and background color
attributes


git-svn-id: svn://10.0.0.236/trunk@802 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:43:19 +00:00
kostello
d534119b9b Name changed from ResetColumnLayoutData to RecalcColumnLayoutData
git-svn-id: svn://10.0.0.236/trunk@801 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:41:25 +00:00
kostello
5c08b8b7ff Added SetTableForChildren to set the children's table instance variable
git-svn-id: svn://10.0.0.236/trunk@800 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:40:22 +00:00
kostello
0d5d1cb20d Added MapHTMLBorderStyle, MapBorderMarginPaddingInto
git-svn-id: svn://10.0.0.236/trunk@799 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:34:16 +00:00
sdagley
9eb50e034c Added files needed for nisheeth (layprobe.c) and brade (editor.r)
git-svn-id: svn://10.0.0.236/trunk@798 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:10:41 +00:00
rjc
02bc22984a Workspace interface customization support.
git-svn-id: svn://10.0.0.236/trunk@797 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 21:51:48 +00:00
nisheeth
1b734a3e51 Added layprobe.c to ns/lib/layout.
git-svn-id: svn://10.0.0.236/trunk@796 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 21:43:22 +00:00
nisheeth
ecabf21450 Adding stubs for the Layout Probe API.
git-svn-id: svn://10.0.0.236/trunk@794 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 21:41:20 +00:00
slamm
1a4fd9ef7d Fix shutdown bug. Set NavCenter to really close, not just hide. This fixes the problem where you are unable to exit after opening NavCenter.
git-svn-id: svn://10.0.0.236/trunk@791 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 21:04:36 +00:00
pinkerton
2f7304b5ed Doh! I removed the wrong icons last time (I removed hilighted instead of selected). Put the right ones back in and take the wrong ones out. (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@790 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 20:59:06 +00:00
slamm
f65d505ecc Add a few more EDITOR ifdefs
git-svn-id: svn://10.0.0.236/trunk@789 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 20:59:01 +00:00
troy
31fd94622e Added an XXX to CreateFrame() as a reminder that we're resolving the
style context more than once...


git-svn-id: svn://10.0.0.236/trunk@788 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 20:58:46 +00:00
pinkerton
64f42dadfe Fix 2 problems: cells with no data no longer show garbage as tooltip. Cells with separator no longer show tooltip. (rev sdagley, appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@787 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 20:54:44 +00:00
kmcclusk
533b497a4d Fixed textwidget refresh problem.
Added AutoErase method to nsWindow.cpp, nsTextHelper.cpp and nsListBox.cpp


git-svn-id: svn://10.0.0.236/trunk@785 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 19:24:52 +00:00
michaelp
c7d6535311 changed clipping apis so that they take parameters in the same form that
clipping is expressed in layer tags and css-p.
added support for setting transforms in layers (untested and very likely
problematic if scales are applied).
changed event handling and painting apis in views to support inherited
visibility.
all parameters passed into view.Init() are now properly stored in the view.
view opacity apis are now real.


git-svn-id: svn://10.0.0.236/trunk@784 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 19:16:24 +00:00
karnaze
1096b080eb fix submit crash in nsWindow; more form control functionality
git-svn-id: svn://10.0.0.236/trunk@780 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 18:59:38 +00:00
donm
27e88123d1 removing Henrit's jsfile.c and jsfile.h to fix unix build bustage.
git-svn-id: svn://10.0.0.236/trunk@776 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 18:00:54 +00:00
donm
0a9b29052c backing out Henrit's changes to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@775 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 18:00:00 +00:00
sar
55674ea59e jsfile doesn't compile on unix. Backing out the changes that henrit put it
git-svn-id: svn://10.0.0.236/trunk@773 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 17:57:43 +00:00
sar
1ca149714f reapply henrit's change since we can add it to unix as well.
git-svn-id: svn://10.0.0.236/trunk@771 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 17:23:08 +00:00
donm
d65fb3806c fixing unix build bustage.
git-svn-id: svn://10.0.0.236/trunk@770 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 17:19:14 +00:00
sar
6b83a1438a backing out henrit's changes
git-svn-id: svn://10.0.0.236/trunk@769 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 17:02:22 +00:00
kipp
5e19847a05 Correctly compute width of body frame
git-svn-id: svn://10.0.0.236/trunk@768 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 16:12:54 +00:00
kipp
9c8261c5cf Allow for optional commas between clip rect elements
git-svn-id: svn://10.0.0.236/trunk@767 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 15:24:44 +00:00
kipp
c1f559e678 updated
git-svn-id: svn://10.0.0.236/trunk@766 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 15:24:20 +00:00
henrit
71ce3e732d Adding a first version of the js File object. Developped and (slightly) tested on win32 only.
git-svn-id: svn://10.0.0.236/trunk@765 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 11:36:17 +00:00
jsw
254ef44dce take a wild assed guess at fixing the build
git-svn-id: svn://10.0.0.236/trunk@755 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 09:09:49 +00:00
jsw
41ebd3a6c6 get the name right
git-svn-id: svn://10.0.0.236/trunk@754 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 07:54:14 +00:00
jsw
e9dc89c86a get type correct for socket
git-svn-id: svn://10.0.0.236/trunk@749 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 07:53:25 +00:00
jsw
4e0b870651 move xp_sec to secnav
git-svn-id: svn://10.0.0.236/trunk@748 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 07:48:02 +00:00
mccabe
83d55f638a Added public license header.
git-svn-id: svn://10.0.0.236/trunk@747 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 07:33:09 +00:00
mccabe
a9f37501c2 Propagated some #defines to work with irix 6.3 as well as 6.2.
(HAVE_ALIGNED_DOUBLES)


git-svn-id: svn://10.0.0.236/trunk@746 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 06:35:55 +00:00
mccabe
734ff77d30 Corrected BUILD_OPT oversight where a = instead of a += override the
OPTIMIZER flag in the included config/*.mk file.


git-svn-id: svn://10.0.0.236/trunk@745 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 06:06:09 +00:00
atotic
8f08a459c3 Fixing the -ko flag
git-svn-id: svn://10.0.0.236/trunk@744 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:44:39 +00:00
atotic
fb18d0de3b Fixing the -ko flag
git-svn-id: svn://10.0.0.236/trunk@743 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:23:29 +00:00
atotic
7f02c6b2dc Fixing the -ko flag
git-svn-id: svn://10.0.0.236/trunk@742 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:17:41 +00:00
jsw
02e32f5307 remove xp_md5 and xp_sec
git-svn-id: svn://10.0.0.236/trunk@740 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:17:37 +00:00
jsw
6e09423583 opaque sec info
git-svn-id: svn://10.0.0.236/trunk@739 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:16:06 +00:00
jsw
e9e8e3bfd6 opaque sec info
proxy tunnel changes


git-svn-id: svn://10.0.0.236/trunk@738 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:15:16 +00:00
jsw
52d4826009 move xp_sec to secnav
git-svn-id: svn://10.0.0.236/trunk@737 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:13:41 +00:00
sudu
2aa827f81a Changed libjar to refer to dist
git-svn-id: svn://10.0.0.236/trunk@736 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:09:18 +00:00
sudu
2f1674a804 Build freenav only when NO_SECURITY is set
git-svn-id: svn://10.0.0.236/trunk@735 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:09:15 +00:00
sudu
835f36be2c Cleaned up NO_SECURITY builds and removed references into product area
git-svn-id: svn://10.0.0.236/trunk@734 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 05:09:11 +00:00
atotic
570baa3b07 Fixing the -ko flag
git-svn-id: svn://10.0.0.236/trunk@733 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 04:59:01 +00:00
atotic
3461c2d197 Fixed the rcs flag to -kb
git-svn-id: svn://10.0.0.236/trunk@732 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 04:39:29 +00:00
troy
2e880e58d9 Added mClip and mClipFlags to nsStylePosition
git-svn-id: svn://10.0.0.236/trunk@730 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 03:21:18 +00:00
michaelp
5173d3062e added back code that i killed in the previous checkin, but now it works.
git-svn-id: svn://10.0.0.236/trunk@729 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 02:05:46 +00:00
mccabe
c9d08d5bba Added disambiguating braces to appease gcc 2.8.1 warning.
git-svn-id: svn://10.0.0.236/trunk@728 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 01:22:19 +00:00
ramiro
a42db46a75 Unhardcode the motif lib on x86 linux. Replace /usr/X11R6/lib/libXm.a
with -L/usr/X11R6/lib -lXm.


git-svn-id: svn://10.0.0.236/trunk@727 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 01:22:18 +00:00
rjc
e7285013df Better "autoOpen" support.
git-svn-id: svn://10.0.0.236/trunk@726 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 01:15:49 +00:00
michaelp
c0821d3557 fixed bug i just introduced (by removing code i just added)!
git-svn-id: svn://10.0.0.236/trunk@725 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 01:00:00 +00:00
michaelp
da59bfa4f4 if a view does not have a clip, then we set the clip in the rc to
the bounds for the view.


git-svn-id: svn://10.0.0.236/trunk@724 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 00:42:58 +00:00
ramiro
48ea685689 Add void to baggage prototypes. Fix from derkjan@reli.student.utwente.nl
(Derkjan de Haan) to make mozilla build with egcs.


git-svn-id: svn://10.0.0.236/trunk@723 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 00:28:04 +00:00
michaelp
e0f3643ffe added support for setting clip rects in views.
removed paint_all_kids().
damage rect passed to frames is now properly translated into
coord space of containing view.


git-svn-id: svn://10.0.0.236/trunk@721 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 23:51:57 +00:00
buster
a762e593b2 sped up nsBlockFrame significantly by reducing the number of times we resolve style by almost 50% on initial layout
(percentage savings go way up as the window is resized)


git-svn-id: svn://10.0.0.236/trunk@720 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 22:33:55 +00:00
hshaw
d7a904b7dd Update XFEPRIVDIR to point to ns instead of ns_priv
git-svn-id: svn://10.0.0.236/trunk@719 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:34:30 +00:00
kipp
2344c29ea1 Use PERCENT instead of PCT in style constants; udpated usage of vertical alignment information in nsStyleText
git-svn-id: svn://10.0.0.236/trunk@717 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:26:48 +00:00
kipp
80f69fc4e8 Implement all of the text styles; update to use PERCENT in naming of style constants
git-svn-id: svn://10.0.0.236/trunk@716 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:26:06 +00:00
kipp
1098ed5ee8 Use PERCENT instead of PCT in style constants; implement vertial alignment for length values and percent values
git-svn-id: svn://10.0.0.236/trunk@715 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:24:33 +00:00
kipp
b4ea1954f0 Normalize structure member names
git-svn-id: svn://10.0.0.236/trunk@714 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:24:06 +00:00
kipp
4ebc780037 Use PERCENT style constants instead of PCT
git-svn-id: svn://10.0.0.236/trunk@713 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:22:06 +00:00
kipp
0d60b06b51 Init nsStyleText values using new nsStyleValue
git-svn-id: svn://10.0.0.236/trunk@712 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:21:42 +00:00
scullin
845c8cb874 Post mozilla move raptor.mk
git-svn-id: svn://10.0.0.236/trunk@711 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:20:46 +00:00
kipp
57a438ad02 Cleaned up percent names
git-svn-id: svn://10.0.0.236/trunk@710 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:20:24 +00:00
kipp
81bd8188cf Added nsStyleValue and then updated nsStyleText to use it
git-svn-id: svn://10.0.0.236/trunk@709 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 21:19:45 +00:00
cyeh
a8c8d2732c change top-level module to MozillaSource (remove "Product" from name)
git-svn-id: svn://10.0.0.236/trunk@708 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 20:45:13 +00:00
sar
8c37edda44 making the switch ns->mozilla for dir name
git-svn-id: svn://10.0.0.236/trunk@704 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 19:21:40 +00:00
hshaw
a1b7899688 Add jar to REQUIRES and remove references to lm_crypt.c and lm_pk11.c for security build cleanup
git-svn-id: svn://10.0.0.236/trunk@703 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 19:07:29 +00:00
cyeh
7f04c6580f missed this preflight check
git-svn-id: svn://10.0.0.236/trunk@702 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 18:16:04 +00:00
cyeh
277c009e37 change to new module to pull source with root of "mozilla"
git-svn-id: svn://10.0.0.236/trunk@701 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 18:09:13 +00:00
cyeh
ba9e74f22d committing modules with mozilla as root directory
git-svn-id: svn://10.0.0.236/trunk@700 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 17:51:11 +00:00
cyeh
8c7c6df58e renaming root of the repository to "mozilla"
git-svn-id: svn://10.0.0.236/trunk@699 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 17:29:58 +00:00
rods
5f2720fb90 started adding selection
git-svn-id: svn://10.0.0.236/trunk@698 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 16:44:52 +00:00
kipp
09357d5e45 new
git-svn-id: svn://10.0.0.236/trunk@697 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 15:43:09 +00:00
kipp
90530086bd Removed hack
git-svn-id: svn://10.0.0.236/trunk@696 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 15:39:58 +00:00
cmanske
5e9b1def1f Removed field not needed in table cell data. Removed code not needed for growable array
git-svn-id: svn://10.0.0.236/trunk@695 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 15:04:05 +00:00
cmanske
46aec995e2 More table editing bug fixes. Copy/Paste arbitrary selected cell sets and deleting columns, rows fixed. More resizing bugs fixed.
git-svn-id: svn://10.0.0.236/trunk@694 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 14:37:46 +00:00
cmanske
df94b24da9 Added support to add/remove rows/columns during table creation. Fixed problem with HRULE and other object properties (rt. mouse popup menu)
git-svn-id: svn://10.0.0.236/trunk@691 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 14:36:37 +00:00
troy
db1845c8b5 Added function to set a trapezoid's shape based on a rectangle
git-svn-id: svn://10.0.0.236/trunk@690 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-27 03:35:05 +00:00
brade
b5f254d11d make grippy pane hilites valid
git-svn-id: svn://10.0.0.236/trunk@689 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 22:43:12 +00:00
brade
b8fd8f281f table dialog changes from gbrown; center dlogs over parent window (not main screen)
git-svn-id: svn://10.0.0.236/trunk@687 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 22:40:39 +00:00
brade
eb14822c97 table dialog changes from gbrown
git-svn-id: svn://10.0.0.236/trunk@686 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 22:40:00 +00:00
kipp
94a19a4f91 Get cursor properly
git-svn-id: svn://10.0.0.236/trunk@685 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 03:47:53 +00:00
kipp
d57f23b67d Added in cursor and direction properties
git-svn-id: svn://10.0.0.236/trunk@684 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 03:47:37 +00:00
kipp
72f5772d0f Add in cursors
git-svn-id: svn://10.0.0.236/trunk@683 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 03:47:06 +00:00
kipp
582efa0e7b Always return ibeam cursor for text
git-svn-id: svn://10.0.0.236/trunk@682 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 03:46:51 +00:00
kipp
403b3f8d18 Added inherit for direction style
git-svn-id: svn://10.0.0.236/trunk@681 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 03:46:26 +00:00
kipp
1cc6c90aec Made it build on IRIX
git-svn-id: svn://10.0.0.236/trunk@680 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 03:21:14 +00:00
kipp
51ccce8969 Fixed compiler bugs/warnings
git-svn-id: svn://10.0.0.236/trunk@679 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 03:13:20 +00:00
briano
e11dbeff37 Got rid of a minor redundancy, and added support for 2.1.x kernels.
git-svn-id: svn://10.0.0.236/trunk@678 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 03:07:41 +00:00
kipp
902295a137 Fix porting bugs - made it compile on IRIX
git-svn-id: svn://10.0.0.236/trunk@677 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 02:59:29 +00:00
kipp
5e5e6dffdb Added keywords for cursors and direction
git-svn-id: svn://10.0.0.236/trunk@676 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 02:59:02 +00:00
kipp
d267b76845 Added missing newline
git-svn-id: svn://10.0.0.236/trunk@675 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 02:57:39 +00:00
kipp
797d9351dc Added trailing newline
git-svn-id: svn://10.0.0.236/trunk@674 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-26 02:57:05 +00:00
rickg
7b8d45d8c6 added parse-system debugging hooks
git-svn-id: svn://10.0.0.236/trunk@672 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 23:10:51 +00:00
rickg
8a929464d6 update
git-svn-id: svn://10.0.0.236/trunk@671 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 19:46:11 +00:00
rickg
2c5f8ffeb3 propagation is now online, aren't DTD's cool?
git-svn-id: svn://10.0.0.236/trunk@670 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 19:45:14 +00:00
rickg
d682c47b10 added Append(unichar)
git-svn-id: svn://10.0.0.236/trunk@669 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 19:44:35 +00:00
kipp
1d81050a79 new keywords
git-svn-id: svn://10.0.0.236/trunk@668 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 19:11:20 +00:00
kipp
909bba7724 Port to new nsIDocument API
git-svn-id: svn://10.0.0.236/trunk@666 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:49:06 +00:00
kipp
b87f9199b6 Port to removal of nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@665 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:48:48 +00:00
kipp
93894c3b99 Fixed a memory problem; implement align and border properties
git-svn-id: svn://10.0.0.236/trunk@664 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:48:30 +00:00
kipp
e9b3f7100f Port to removal of nsStyleMolecule; add in border support
git-svn-id: svn://10.0.0.236/trunk@663 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:46:55 +00:00
kipp
d7fe529d84 Added in nsCSSDisplay; cleaned up text align; moved float, clear and display out of position and into display
git-svn-id: svn://10.0.0.236/trunk@662 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:45:22 +00:00
kipp
2f03c700ff Implement borders, padding, text-align properties, display, etc. Fixed bug in list inheritance
git-svn-id: svn://10.0.0.236/trunk@661 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:44:55 +00:00
kipp
24bf916e3f Updated to use new style constants
git-svn-id: svn://10.0.0.236/trunk@660 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:44:17 +00:00
kipp
d3e2cf6fab Added support for more properties
git-svn-id: svn://10.0.0.236/trunk@659 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:43:42 +00:00
kipp
d5d817ead1 updated
git-svn-id: svn://10.0.0.236/trunk@658 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:41:41 +00:00
kipp
c4d42de7a5 Stop using nsStyleMolecule; fixed bug that led to missing spaces
git-svn-id: svn://10.0.0.236/trunk@657 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:41:33 +00:00
kipp
cbf4938e33 Fixed up cursor handling; map align parameter
git-svn-id: svn://10.0.0.236/trunk@656 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:40:47 +00:00
kipp
00b1cc85fe Removed nsStyleMolecule decl
git-svn-id: svn://10.0.0.236/trunk@655 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:40:17 +00:00
kipp
3bfe67cad5 Repaired cursor discovery logic to handle A tag oddities
git-svn-id: svn://10.0.0.236/trunk@654 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:40:01 +00:00
kipp
aad54f55e7 new atoms
git-svn-id: svn://10.0.0.236/trunk@653 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:39:16 +00:00
kipp
7c700e8a5b Updated to new style constants
git-svn-id: svn://10.0.0.236/trunk@652 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:37:29 +00:00
kipp
8043537831 Stop building unused tags file
git-svn-id: svn://10.0.0.236/trunk@651 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:34:02 +00:00
kipp
ab8ffb24d3 Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code
git-svn-id: svn://10.0.0.236/trunk@650 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:33:32 +00:00
kipp
efa3b90b0a Tidy up style constants
git-svn-id: svn://10.0.0.236/trunk@649 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:33:11 +00:00
kipp
324c12a6d4 Cleaned up the API
git-svn-id: svn://10.0.0.236/trunk@648 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:32:59 +00:00
kipp
758346d78d Added nsStyleText, nsStyleDisplay; removed nsStyleMolecule and hack code; cleaned up a few others
git-svn-id: svn://10.0.0.236/trunk@647 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 18:32:11 +00:00
wtc
b92f855655 "gmake clobber" should remove $(OBJDIR) too.
git-svn-id: svn://10.0.0.236/trunk@646 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 16:16:54 +00:00
hshaw
348fba16cb Only compile security stubs if NO_SECURITY turned on
git-svn-id: svn://10.0.0.236/trunk@645 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 11:32:20 +00:00
hshaw
92821a0c0c libjar is not part of public source
git-svn-id: svn://10.0.0.236/trunk@644 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 11:29:10 +00:00
mccabe
3b1a1c03e9 Fix to (115008). ECMA fix - revert to earlier behavior of decompiling
functions created with new Function as "function anonymous (...)".
Now only version 1.2 decompiles to the source for an anonymous
function.


git-svn-id: svn://10.0.0.236/trunk@643 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 08:37:06 +00:00
mccabe
7256cbaad6 Pared down prmjtime.c and prmjtime to just what is needed by jsdate.c
and synchronized them with js/ref/prtime.[ch].


git-svn-id: svn://10.0.0.236/trunk@642 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 07:42:22 +00:00
mccabe
a5b32ac223 Propagate a fix for #ifndef HAVE_LONG_LONG that found its way into src/prmjtime.c but not ref/prtime.c
git-svn-id: svn://10.0.0.236/trunk@641 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 05:26:09 +00:00
mccabe
68bd3eb6a0 Add some braces to quiet dangling-else warnings by gcc 2.8.1.
git-svn-id: svn://10.0.0.236/trunk@640 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 05:24:42 +00:00
mccabe
32987e37ee Call JS_GC instead of js_GC within JS_MaybeGC. Thanks to
A. Hodgkinson <ahodgkin@acorn.co.uk> for finding this (and to chouck
for checking it in to js/ref/jsapi.c.)


git-svn-id: svn://10.0.0.236/trunk@639 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 05:11:41 +00:00
troy
24f6d37f72 Changed IntersectRect() to return an empty rect in the case where the
two source rects don't intersect. Also changed '==' operator to return
TRUE if both rects are empty


git-svn-id: svn://10.0.0.236/trunk@638 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 04:34:52 +00:00
troy
6401d192b2 Added mOverflow to nsStylePosition
git-svn-id: svn://10.0.0.236/trunk@637 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 04:07:18 +00:00
rjc
d405d81272 Vocabulary additions for NavCenter appearance styles
git-svn-id: svn://10.0.0.236/trunk@636 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 02:07:03 +00:00
rjc
e9f23151c7 Add prototypes to remove warnings on Mac.
git-svn-id: svn://10.0.0.236/trunk@632 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 00:07:08 +00:00
kmcclusk
9b1d6078de Added SelectAll member function to nsITextWidget
Fixed Select(start, stop) for nsITextWidget and nsITextAreaWidget
Added NS_MOVE event
Cleanup up nsWindow.cpp by centralizing code to initialize events and dispatch events.


git-svn-id: svn://10.0.0.236/trunk@626 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 23:09:11 +00:00
jband
947dc54830 removing code that is not supposed to be released to the public at this time. This code still lives (for now) under m/src/ns/js/ref/jsd/ on the branch JSFUN13_BRANCH
git-svn-id: svn://10.0.0.236/trunk@625 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:59:00 +00:00
slamm
34616e053a Remove some unused code including old-style command handling. Examples of the new command handling can be seen in EditorView.cpp and RDFView.cpp
git-svn-id: svn://10.0.0.236/trunk@624 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:33:18 +00:00
karnaze
b4c13f5c3a added text area
git-svn-id: svn://10.0.0.236/trunk@623 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:28:41 +00:00
karnaze
5ff624fc06 enabled text area
git-svn-id: svn://10.0.0.236/trunk@622 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:27:07 +00:00
slamm
01c0e0c439 Add beginnings of context menu support
git-svn-id: svn://10.0.0.236/trunk@621 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:26:55 +00:00
slamm
29da0cfac0 Fix attachments and specify resources to make it look better. The resources can later be moved down to xfe/resources
git-svn-id: svn://10.0.0.236/trunk@620 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:26:29 +00:00
slamm
53471fb9cd Minor logic fix.
git-svn-id: svn://10.0.0.236/trunk@619 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:23:13 +00:00
briano
f557cd9518 Added support for SCO UnixWare 7, and consolidated all the Linux's.
Thanks to Thorsten Heit (thorsten@wurzelausix.cs.uni-sb.de) for the
Linux suggestion.


git-svn-id: svn://10.0.0.236/trunk@618 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:22:42 +00:00
gagan
0883032db0 This is the fix for bug #93760. It has a potential of breaking some server
implementations of decoding the authentication string that involve a user
login string of accentuated characters (for example- éçàöî)


git-svn-id: svn://10.0.0.236/trunk@617 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:12:09 +00:00
karnaze
4a95093116 added radio groups, select/option, beter sizing. widgets take creation parms.
git-svn-id: svn://10.0.0.236/trunk@616 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 21:37:30 +00:00
buster
68ef434e82 even better pagination. Tables with small captions can split, and
simple tables with big cells can split the cell (and it's row)


git-svn-id: svn://10.0.0.236/trunk@615 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 20:59:44 +00:00
kipp
4e90f540f3 Put generated source into the right directory
git-svn-id: svn://10.0.0.236/trunk@614 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 19:56:36 +00:00
kipp
248dffec8a updated scripts to work properly
git-svn-id: svn://10.0.0.236/trunk@613 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 19:56:23 +00:00
kipp
5d88cc8f56 added new properties
git-svn-id: svn://10.0.0.236/trunk@612 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 19:56:09 +00:00
kipp
fad74a13ef latest props
git-svn-id: svn://10.0.0.236/trunk@611 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 19:55:53 +00:00
wtc
7675cfc3ec Eliminated compiler warnings. Fixed by Rick Osborne <rick@stacey.net>.
git-svn-id: svn://10.0.0.236/trunk@610 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 19:48:37 +00:00
bjorn
46adef01d2 Protection around ASFILES added, so that gcc runs smoothly.
git-svn-id: svn://10.0.0.236/trunk@609 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 19:02:01 +00:00
troy
200fd1ff3d Added mZIndex to nsStylePosition. Absolutely positioned code now passed
it along to view system


git-svn-id: svn://10.0.0.236/trunk@608 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 18:34:31 +00:00
wtc
7c00209154 Serge Orlov <sorlov@con.mcst.ru> reported that gmake 3.74 on Solaris 2.5
doesn't like the extra tabs in this file.  I don't know why.  It works
for me and everyone else.  But since it doesn't hurt, I deleted the
extra tabs.


git-svn-id: svn://10.0.0.236/trunk@607 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 18:13:13 +00:00
fur
0126732a29 When JS_MaybeGC() has decided to do a garbage collection, really do
it, even when the only assignments have been to local JS variables.
Thanks to ahodgkin@acorn.co.uk for noticing.


git-svn-id: svn://10.0.0.236/trunk@606 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 18:08:04 +00:00
fur
2d2471a609 Eliminate non-ECMA warnings about lack of return value
git-svn-id: svn://10.0.0.236/trunk@605 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 17:56:47 +00:00
rods
d6a4c83eea changed the items are add into the combo box
git-svn-id: svn://10.0.0.236/trunk@604 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 16:21:32 +00:00
guha
c3a48ed6f4 Remove SCook.c from mac project file
git-svn-id: svn://10.0.0.236/trunk@603 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 16:13:20 +00:00
guha
1ee864db9f Fix potential mac problems
git-svn-id: svn://10.0.0.236/trunk@602 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 16:10:38 +00:00
guha
a94e97961d smore cleanup and bug fixes
git-svn-id: svn://10.0.0.236/trunk@601 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 16:04:53 +00:00
ramiro
2a71b7b932 Add preliminary support for editting items in toolbars.
git-svn-id: svn://10.0.0.236/trunk@600 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 12:43:28 +00:00
ramiro
8deebe0777 Cleanup string utils.
git-svn-id: svn://10.0.0.236/trunk@599 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 12:34:16 +00:00
ramiro
102ae1d944 Add one more personal toolbar command: xfeCmdPersonalToolbarItemProperties.
git-svn-id: svn://10.0.0.236/trunk@598 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 11:49:20 +00:00
ramiro
7b66a7d6a2 Add personal toolbar commands.
git-svn-id: svn://10.0.0.236/trunk@597 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 11:44:28 +00:00
ramiro
73f588efeb Cleanup the toggleShowingState() and setShowingState() madness. These
XFE_Component methods can be used instead of various other toggle/hide/show
hacks.


git-svn-id: svn://10.0.0.236/trunk@596 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 11:41:36 +00:00
fur
90ff121ec6 Temporarily disable charSet info so we can compile with JAVA defined
git-svn-id: svn://10.0.0.236/trunk@594 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 07:21:01 +00:00
ramiro
1aec16ab3b Add support ffor dynamic indicators.
git-svn-id: svn://10.0.0.236/trunk@593 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 06:57:18 +00:00
fur
5972508b18 Fix numerous cut-and-paste errors in last checkin
git-svn-id: svn://10.0.0.236/trunk@592 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 06:57:00 +00:00
ramiro
84ec8be55d Add support for dynamic indicators.
git-svn-id: svn://10.0.0.236/trunk@591 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 06:47:37 +00:00
ramiro
a307c5f940 Always insert private components at end of widget list.
git-svn-id: svn://10.0.0.236/trunk@590 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 06:44:28 +00:00
fur
39accdfa4b Temporarily disable charSet info so we can compile
git-svn-id: svn://10.0.0.236/trunk@589 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 06:26:57 +00:00
cyeh
801614bc6f adjust access paths to point to js:src and js:jsj. js:ref was added, and
it had an old nspr1.0 header in it "prcpucfg.h" htat was being picked up for the compile instead of the one in nsprpub


git-svn-id: svn://10.0.0.236/trunk@588 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 04:42:07 +00:00
troy
479019563e Added more position properties and removed some stuff from nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@587 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 03:50:38 +00:00
troy
f4f2da86ac Fixed PROP_HEIGHT to use VARIANT_KLP (was using VARIANT_KL)
git-svn-id: svn://10.0.0.236/trunk@586 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 02:43:42 +00:00
rjc
28779ff3a6 Removed unused variables to fix up warnings.
git-svn-id: svn://10.0.0.236/trunk@585 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 02:20:19 +00:00
rjc
48b61872f7 Support for workspace reordering.
git-svn-id: svn://10.0.0.236/trunk@584 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 02:15:22 +00:00
fur
2af8f4a686 (These files not built by any version of Navigator)
Initial check-in:
JSRef is migrating from /m/src JSFUN13_BRANCH to trunk /m/pub repository


git-svn-id: svn://10.0.0.236/trunk@583 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 01:42:37 +00:00
fur
dffbf084ac (This code is not built by any flavor of Navigator)
Initial check-in to mozilla tree: JSRef development is migrating from
JSFUN13_BRANCH of /m/src repository to /m/pub


git-svn-id: svn://10.0.0.236/trunk@582 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 01:35:13 +00:00
fur
425b4f0439 JS1.3 initial check-in
git-svn-id: svn://10.0.0.236/trunk@581 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 01:28:40 +00:00
fur
73e80ec159 Initial checkin of JS1.3. (Minor fix required to accomodate JSAPI behavior changes)
git-svn-id: svn://10.0.0.236/trunk@580 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 00:34:15 +00:00
fur
c7feaa75cf Initial checkin of JavaScript 1.3, migrated from JSFUN13_BRANCH in /m/src repository.
(Minor changes in libmocha required to accomodate JSAPI changes.)


git-svn-id: svn://10.0.0.236/trunk@579 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 00:32:02 +00:00
fur
6e3cdaec31 Initial checkin of JavaScript 1.3, migrated from JSFUN13_BRANCH in /m/src repository
git-svn-id: svn://10.0.0.236/trunk@578 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 00:31:11 +00:00
michaelp
bbe0178263 more scrolling bugs.
git-svn-id: svn://10.0.0.236/trunk@577 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 00:30:21 +00:00
scullin
9aec547ed0 Removed dependency on Motif
git-svn-id: svn://10.0.0.236/trunk@576 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 00:17:36 +00:00
dbragg
06063a9d88 Moving asw.jar into appropriate place (not into as_html)
git-svn-id: svn://10.0.0.236/trunk@573 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 23:51:47 +00:00
dbragg
83372571bc Um, like, ns_priv handling is screwy, but for now we need to at least POINT there...
git-svn-id: svn://10.0.0.236/trunk@572 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 23:45:32 +00:00
michaelp
038c0cf76e fixed bug where scollbar itself was scrolled.
git-svn-id: svn://10.0.0.236/trunk@571 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 23:32:59 +00:00
michaelp
b3fff96143 changed SetContainerSize() to ComputeContainerSize().
git-svn-id: svn://10.0.0.236/trunk@570 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 23:21:37 +00:00
dbragg
efb85c5361 for the fun of it
git-svn-id: svn://10.0.0.236/trunk@569 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 23:17:20 +00:00
dbragg
e286be6235 make it work for el don
git-svn-id: svn://10.0.0.236/trunk@568 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 23:16:06 +00:00
dbragg
890a53a1bd OK, maybe this is better?
git-svn-id: svn://10.0.0.236/trunk@567 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 23:06:18 +00:00
buster
7afb5d93bb fixed a nefarious little bug with multiple row spans in the same table
subsequent rows (the ones below the effected rows) were not placed correctly
when the height of the spanning cell became greater than the sum of the heights
of the rows it spanned.


git-svn-id: svn://10.0.0.236/trunk@566 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 22:59:07 +00:00
troy
ff40b5d8f4 More work on absolute positioning
git-svn-id: svn://10.0.0.236/trunk@565 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 22:38:52 +00:00
dbragg
e37a16249d Fixed to use correct targets
git-svn-id: svn://10.0.0.236/trunk@564 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 22:27:55 +00:00
michaelp
0063ce95c6 added AddRef() to GetScrolledView().
git-svn-id: svn://10.0.0.236/trunk@563 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 21:54:47 +00:00
michaelp
8a60a2974e removed debug junk
git-svn-id: svn://10.0.0.236/trunk@562 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 21:52:02 +00:00
michaelp
4b3b78f8e5 view no longer shows a scrollbar when we can't scroll.
added GetScrolledView().


git-svn-id: svn://10.0.0.236/trunk@561 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 21:51:43 +00:00
michaelp
4948a5cacb removed conditional calling of view->SetDimensions() in SizeTo().
git-svn-id: svn://10.0.0.236/trunk@560 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 21:51:03 +00:00
kmcclusk
1c46487c8b Added SetMaxTextLength method to text widget and textarea widget.
git-svn-id: svn://10.0.0.236/trunk@559 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 20:21:24 +00:00
scullin
cc196705ed Build on IRIX and Linux
git-svn-id: svn://10.0.0.236/trunk@558 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 19:55:08 +00:00
scullin
9684a1c1b7 Linux build fixes. Moved test.cpp to nettest.cpp to allow nettest to
build easily under UNIX.


git-svn-id: svn://10.0.0.236/trunk@557 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 19:33:34 +00:00
scullin
5497189f2b Fixed non-virtual destructor, and incorrect stream usages that
gcc didn't like.


git-svn-id: svn://10.0.0.236/trunk@556 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 19:10:35 +00:00
scullin
ae47b469c0 Fix abiguous null test for smart pointers.
git-svn-id: svn://10.0.0.236/trunk@555 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 19:08:21 +00:00
buster
a7ba4f40d7 table header and footer rowgroups placed properly, replicated across continuing tables
some pagination fixes, including a hack to make negative available heights = 1.


git-svn-id: svn://10.0.0.236/trunk@552 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 17:29:07 +00:00
buster
3f1b763ceb fixed a bug where a case during pagination wasn't being tested correctly
git-svn-id: svn://10.0.0.236/trunk@551 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 17:22:46 +00:00
buster
d8ffbf56b4 added style for HTML 4 table elements and TH
git-svn-id: svn://10.0.0.236/trunk@550 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 17:19:21 +00:00
kipp
76327db85c nuked ref to line layout
git-svn-id: svn://10.0.0.236/trunk@549 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 17:09:16 +00:00
kipp
e4a14bb64b link with plc
git-svn-id: svn://10.0.0.236/trunk@548 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 16:51:49 +00:00
kipp
b71515f8f1 Fixed SetTitle API
git-svn-id: svn://10.0.0.236/trunk@547 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 16:51:25 +00:00
kipp
c90ed276b0 define win32_lean_and_mean
git-svn-id: svn://10.0.0.236/trunk@546 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 16:47:42 +00:00
troy
5a581d1cad More CSS position work
git-svn-id: svn://10.0.0.236/trunk@545 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 15:39:48 +00:00
scullin
22e3688402 Unix build patches
git-svn-id: svn://10.0.0.236/trunk@543 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 03:51:20 +00:00
slamm
4c01b12f2a Change NavCenter (aka Aurora) to use the XmLTree instead
of the Outliner class.  This will be cleaner in the end and will give
us an easy way to do dynamic columns.


git-svn-id: svn://10.0.0.236/trunk@542 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 01:29:34 +00:00
slamm
f40ec969bd Add a new horizontalSizePolicy, XmRESIZE_IF_POSSIBLE.
This resizes the columns to make the fit in the available widget width
without scrollbars.  This is made possible by a new function,
SizeColumnsToFit(), which is adapted from Outliner.cpp:applyDelta().
Also add a resource for minColumnWidth.


git-svn-id: svn://10.0.0.236/trunk@541 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 01:29:30 +00:00
slamm
3dff3d7192 Fix print remote to take file argument.
git-svn-id: svn://10.0.0.236/trunk@540 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 01:29:26 +00:00
ftang
fd67065650 Change unicode mapping table to include EURP mapping
git-svn-id: svn://10.0.0.236/trunk@539 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 01:12:20 +00:00
mccabe
6e2b5dfd5c Makefile hacking to make 'gmake js' work in ns/js/src. Abstracted a
few constants, added -ldl for Linux.  Tested on Irix 6.3, SunOs 5.6,
Linux 2.031.


git-svn-id: svn://10.0.0.236/trunk@538 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 00:39:10 +00:00
rickg
2e1b6d50bc final factoring of DTDs, and removal of nsHTMLDTD.*
git-svn-id: svn://10.0.0.236/trunk@537 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 23:56:57 +00:00
ramiro
65743a2139 Move headers from unused to used.
git-svn-id: svn://10.0.0.236/trunk@536 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 23:48:50 +00:00
troy
edc3ab3009 Added nsStylePosition
git-svn-id: svn://10.0.0.236/trunk@535 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 23:29:01 +00:00
troy
88d4749140 Starting to pay attention to CSS positioning properties
git-svn-id: svn://10.0.0.236/trunk@534 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 23:28:39 +00:00
troy
1ebba559f8 Setting up style for CSS positioning
git-svn-id: svn://10.0.0.236/trunk@533 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 23:28:02 +00:00
kipp
db9f98a87f option is a container too
git-svn-id: svn://10.0.0.236/trunk@532 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 23:25:36 +00:00
kipp
f308795f16 Added in support for select/option
git-svn-id: svn://10.0.0.236/trunk@531 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 23:24:43 +00:00
wtc
91e14a02cc Added parentheses around a type cast. Fix provided by Kipp Hickmann
<kipp@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@530 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 22:39:24 +00:00
kipp
1993f67606 support textarea tag; some support for custom form managers
git-svn-id: svn://10.0.0.236/trunk@529 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 22:12:24 +00:00
kipp
6e00312ecf snapshot
git-svn-id: svn://10.0.0.236/trunk@528 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 22:11:52 +00:00
kipp
9fa973426f Disable noisy blink
git-svn-id: svn://10.0.0.236/trunk@527 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 22:11:21 +00:00
wtc
68e29b395c Fixed build problems on BSD/OS. Some makefiles need to change:
the value of OS_ARCH is changed from BSD_386 to BSD_OS.
In unix.c, we now conditionalize on the macros O_SYNC and O_FSYNC,
as opposed to the platform macros like FREEBSD and BSDI.  We
acknowledge jason@ackley.net for reporting and providing a fix
for this problem.


git-svn-id: svn://10.0.0.236/trunk@526 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 22:10:37 +00:00
kipp
ed2c8297d0 Treat textarea somewhat like title/script/style
git-svn-id: svn://10.0.0.236/trunk@525 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 22:10:27 +00:00
kipp
8626798bbb textarea is not a container
git-svn-id: svn://10.0.0.236/trunk@524 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 22:10:10 +00:00
kipp
3ee4df73f0 Added in TEXTAREA to special tags
git-svn-id: svn://10.0.0.236/trunk@523 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 22:09:46 +00:00
rickg
0e31300630 tweaked the API to be more DTD-like
git-svn-id: svn://10.0.0.236/trunk@517 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 20:22:59 +00:00
rickg
ab6648a9f7 improved newline handling in tables
git-svn-id: svn://10.0.0.236/trunk@516 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 19:46:40 +00:00
rickg
3ef2b1f04d moved nsDeque.* to base\src
git-svn-id: svn://10.0.0.236/trunk@515 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 19:10:39 +00:00
rickg
efaf44175a added DTD and propagation capabilities; dynamic entities, containers, token handlers
git-svn-id: svn://10.0.0.236/trunk@514 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 18:32:49 +00:00
rickg
0c45497a29 added a few new container types
git-svn-id: svn://10.0.0.236/trunk@513 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 18:28:48 +00:00
troy
da88ecd024 Fixed some bustage
git-svn-id: svn://10.0.0.236/trunk@512 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 18:15:48 +00:00
troy
1b67ec5c71 Bumping the revision to 3
git-svn-id: svn://10.0.0.236/trunk@511 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 16:11:12 +00:00
troy
e3d69df234 HackStyleFor no longer sets positionFlags
git-svn-id: svn://10.0.0.236/trunk@510 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 16:07:27 +00:00
troy
112c68d521 Work in progress on absolutely positioned elements
git-svn-id: svn://10.0.0.236/trunk@509 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 16:06:21 +00:00
troy
4fc38901fa Signing
git-svn-id: svn://10.0.0.236/trunk@508 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 16:00:00 +00:00
troy
10ad4051a6 Initial check-in
git-svn-id: svn://10.0.0.236/trunk@507 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 15:59:33 +00:00
troy
45e49986f4 Added support for CSS 'position' property
git-svn-id: svn://10.0.0.236/trunk@506 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 15:46:53 +00:00
troy
21d93f9992 Fixed a problem in SelectorMatches() that was causing id-based selectors
to always match


git-svn-id: svn://10.0.0.236/trunk@505 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 15:43:46 +00:00
peterl
d0badcb54c Switch to nsIPtrs to eliminate leaks (and to test them)
added debug code for ref counts


git-svn-id: svn://10.0.0.236/trunk@502 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:41:10 +00:00
peterl
0415cacfc0 WIP moving margin, border & padding out of nsStyleMolecule
added debug code to track ref counts


git-svn-id: svn://10.0.0.236/trunk@501 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:40:21 +00:00
peterl
877a811055 WIP moving margin, border & padding out of nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@500 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:39:35 +00:00
peterl
de9525ad79 Switch to nsIPtr for style context ptrs to eliminate leaks
git-svn-id: svn://10.0.0.236/trunk@499 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:39:00 +00:00
peterl
b38d9c1be1 added ref counting debug code
git-svn-id: svn://10.0.0.236/trunk@498 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:38:31 +00:00
peterl
90b63547ac WIP moving margin, border & padding out of nsStyleMolecule
Switch to nsIPtr for style context ptrs to eliminate leaks


git-svn-id: svn://10.0.0.236/trunk@497 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:37:57 +00:00
peterl
b15ae90fd7 moved border out of nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@496 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:36:28 +00:00
peterl
512927bf20 WIP moving border, margin & padding out of nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@495 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:33:35 +00:00
peterl
748b39e5a7 made GetStyleContext work with a null pres context
git-svn-id: svn://10.0.0.236/trunk@494 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:32:55 +00:00
peterl
69ef005d1a WIP removing border, margin & padding from nsStyleMolecule
git-svn-id: svn://10.0.0.236/trunk@493 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 06:32:17 +00:00
beard
929fd65dab AllocateMenuID
git-svn-id: svn://10.0.0.236/trunk@490 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 02:18:55 +00:00
beard
c0f4e071af nsPluginInstancePeer::AllocateMenuID
git-svn-id: svn://10.0.0.236/trunk@489 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 02:18:25 +00:00
beard
c95f92b87b FE_AllocateMenuID
git-svn-id: svn://10.0.0.236/trunk@488 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 02:13:46 +00:00
beard
4aae1c1b97 npn_allocateMenuID.
git-svn-id: svn://10.0.0.236/trunk@487 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 02:13:16 +00:00
beard
7b7ebc61c5 SetPositioned now takes a Boolean argument, added ObeyCommand for plugin menus, added menu ID allocation.
git-svn-id: svn://10.0.0.236/trunk@486 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 02:12:12 +00:00
beard
d85affb0f5 Added FE_AllocateMenuID, and CPluginWindow wrapper class for top-level plugin windows.
git-svn-id: svn://10.0.0.236/trunk@485 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 02:10:33 +00:00
beard
4c0050a1e1 Added support for dynamic allocation of menu IDs for plugins.
git-svn-id: svn://10.0.0.236/trunk@484 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 02:08:49 +00:00
beard
5f4e30053f Changes for plugins history.
git-svn-id: svn://10.0.0.236/trunk@483 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 02:07:52 +00:00
gagan
f55d568b04 A mechanism to flush out all authorizations in a session. Added "about:logout"
A-montulli/R-valeski. Thanks to Kit Knox (kit@cn1.connectnet.com)


git-svn-id: svn://10.0.0.236/trunk@482 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 01:03:41 +00:00
scullin
7dfe47d08b NSPR related changes submitted by wtc.
git-svn-id: svn://10.0.0.236/trunk@481 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-22 00:05:08 +00:00
hshaw
3ceac51fd3 Temporary modules to work with mozilla vs ns
git-svn-id: svn://10.0.0.236/trunk@480 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 23:28:37 +00:00
troy
8fa41c7a75 Changed space manager to pass in the frame that's associated with a block
of unavailable space


git-svn-id: svn://10.0.0.236/trunk@479 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 23:06:41 +00:00
sar
e8bbc46ebb type-o DEPT not DEPTH
git-svn-id: svn://10.0.0.236/trunk@478 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 22:07:07 +00:00
sar
7ff412e9dc change MOZ_SRC references to DEPTH
git-svn-id: svn://10.0.0.236/trunk@477 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 21:46:46 +00:00
sar
4292b1f9d5 change MOZ_SRC references to DEPTH
git-svn-id: svn://10.0.0.236/trunk@476 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 21:38:43 +00:00
sar
74864edf0d change MOZ_SRC references to DEPTH
git-svn-id: svn://10.0.0.236/trunk@473 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 21:22:54 +00:00
scullin
23fe55339a Signed.
git-svn-id: svn://10.0.0.236/trunk@471 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 20:11:22 +00:00
scullin
6abe902d24 Added
git-svn-id: svn://10.0.0.236/trunk@470 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 20:10:59 +00:00
ramiro
625f4a1818 Make sure the indicator widget is always at the WidgetList tail.
git-svn-id: svn://10.0.0.236/trunk@468 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 19:11:20 +00:00
scullin
759014f170 Fix release mode bustage.
git-svn-id: svn://10.0.0.236/trunk@466 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 18:25:52 +00:00
ramiro
f0c7de40ac Prevent toolbars from screwing with private XfeManager components.
git-svn-id: svn://10.0.0.236/trunk@465 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 18:14:13 +00:00
scullin
13b5f479b4 Don't hard-code the date.exe path, use unix_date.exe instead.
git-svn-id: svn://10.0.0.236/trunk@464 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 18:04:41 +00:00
ramiro
8e02d65602 Add XfeIsPrivateComponent().
Test whether a widget is a private component of an XfeManager parent.


git-svn-id: svn://10.0.0.236/trunk@463 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 17:57:20 +00:00
wtc
8c58ba330b Merged the makefile changes from Netscape's internal development version
of NSPR to the public ns/nsprpub on mozilla.org.
Removed ns/nsprpub/tools/winsock.lib, which should not have been
released.  This file can be generated from winsock.dll by following
the NSPR build instructions for Windows 3.11 at
http://www.mozilla.org/docs/refList/refNSPR/win16.html.


git-svn-id: svn://10.0.0.236/trunk@458 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 17:21:53 +00:00
valeski
dd762d0835 compiler warning fix (paren inclusion) submitted by dkindred@cmu.edu . approved/rev'd by nisheeth
git-svn-id: svn://10.0.0.236/trunk@457 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 17:17:35 +00:00
buster
396106f433 THEAD and TFOOT tags enabled
git-svn-id: svn://10.0.0.236/trunk@456 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 16:36:46 +00:00
ramiro
3c3218410b New and improved filing of bookmarks to Personal Toolbar.
git-svn-id: svn://10.0.0.236/trunk@455 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 16:18:00 +00:00
ramiro
bfb530894b Move fe_DestroyWidgetTree() to XfeWidgets/MenuUtils.c as
XfeDestroyMenuWidgetTree().  Make it safe for killing private components.


git-svn-id: svn://10.0.0.236/trunk@454 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 15:52:01 +00:00
ramiro
2ed5147535 Make it more paranoid.
git-svn-id: svn://10.0.0.236/trunk@453 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 15:25:45 +00:00
ramiro
5ea1eb2a69 Add XfeDestroyMenuWidgetTree().
git-svn-id: svn://10.0.0.236/trunk@452 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 15:24:01 +00:00
ramiro
2c5d76fa0e Handle bogus input for XfeCascadeGetSubMenu().
git-svn-id: svn://10.0.0.236/trunk@451 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 14:55:16 +00:00
ramiro
b1b68d08bb Add XfeToolBarGetLastItem().
git-svn-id: svn://10.0.0.236/trunk@450 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 13:29:37 +00:00
ramiro
56e18cd222 Removed unused combobox dir and define.
git-svn-id: svn://10.0.0.236/trunk@449 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 12:46:48 +00:00
ramiro
37a40cb9ee Update for indicator support. Dont hardcode button layout.
git-svn-id: svn://10.0.0.236/trunk@448 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 12:41:46 +00:00
ramiro
f14e1d2bd3 Dont hardcode button layout in XfeCreateLoadedToolBar. Update Makefile for
XfeWidgets.mk.


git-svn-id: svn://10.0.0.236/trunk@447 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 12:39:49 +00:00
ramiro
cd17caa7f8 Improve the indicator support.
git-svn-id: svn://10.0.0.236/trunk@446 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 12:38:44 +00:00
timm
449564289e Add "MOZ_INSTALL_DIR" support, change to move asw.jar to as_html directly
git-svn-id: svn://10.0.0.236/trunk@445 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 07:01:03 +00:00
timm
b45b7eeb9d Lots of changes for 2 step
git-svn-id: svn://10.0.0.236/trunk@444 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:59:12 +00:00
timm
bb5f73dcbd Make a package "netscape.asw" from the progress bar applet
git-svn-id: svn://10.0.0.236/trunk@443 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:58:48 +00:00
timm
9b8a2de5b4 Fix to make a "signed" dir as we do with the java plugin
(only way signpages.pl will work with this code, Signtool doesn't work for various reasons)


git-svn-id: svn://10.0.0.236/trunk@442 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:58:06 +00:00
timm
eeae5346cf Added modem monitoring for first step of 2 step
git-svn-id: svn://10.0.0.236/trunk@441 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:57:13 +00:00
timm
a3eab4b272 Lots of changes for 2step
git-svn-id: svn://10.0.0.236/trunk@440 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:56:36 +00:00
timm
b125254b26 Remove TABLE
git-svn-id: svn://10.0.0.236/trunk@439 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:56:11 +00:00
timm
65b41547df Add "RegRoot" entry
git-svn-id: svn://10.0.0.236/trunk@438 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:54:47 +00:00
timm
97b3719301 Changes to match changes on server side
git-svn-id: svn://10.0.0.236/trunk@437 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:53:38 +00:00
hshaw
9d19e3dacb Removed dependency on sun-java/config/rules.mak
git-svn-id: svn://10.0.0.236/trunk@436 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:49:20 +00:00
hshaw
b0d28a5761 Remove dependency on sun-java/config/rules.mak
git-svn-id: svn://10.0.0.236/trunk@435 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:48:41 +00:00
hshaw
b7eca65112 Applet is a private component and hence removed
git-svn-id: svn://10.0.0.236/trunk@434 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:48:15 +00:00
hshaw
cea6b4dbe9 Change JAVA ifdef's to OJI to distinguish between OJI and tightly integrated JAVA
git-svn-id: svn://10.0.0.236/trunk@433 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:47:20 +00:00
hshaw
2c9e7fcfdd Remove dependency on sun-java/config/rules.mak.
git-svn-id: svn://10.0.0.236/trunk@432 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:45:01 +00:00
hshaw
b9599cb12d Move library creation to libs phase, cause jpeg to depend on dist/public vs reaching into sun-java for headers
git-svn-id: svn://10.0.0.236/trunk@431 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:43:56 +00:00
hshaw
5bf2f64c6d Fix problem with dependency checking of AWT11 class files
git-svn-id: svn://10.0.0.236/trunk@430 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:42:48 +00:00
hshaw
d108d8cf64 Add NS_DEPTH to list of macros processed by mantomak
git-svn-id: svn://10.0.0.236/trunk@429 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:41:47 +00:00
hshaw
71d9cfe64d Make -DNO_SECURITY independent of MOZ_LITE/MEDIUM - hshaw/sudu
git-svn-id: svn://10.0.0.236/trunk@427 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 06:40:35 +00:00
brade
a1b5602717 minimize references to CStr255 class; fix some small memory leaks
git-svn-id: svn://10.0.0.236/trunk@426 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 04:47:44 +00:00
troy
227438369f Fixed column's incremental reflow function to properly handle margins
git-svn-id: svn://10.0.0.236/trunk@425 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 04:27:34 +00:00
brade
61d29b0ffe set pensize in drawing cell borders (if empty/zero-border and special selection or selected)
git-svn-id: svn://10.0.0.236/trunk@424 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 03:30:56 +00:00
troy
2658fcef80 Made sure pseudo frames get a top and bottom margin of 0
git-svn-id: svn://10.0.0.236/trunk@423 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 03:16:11 +00:00
ramiro
5d3257bb1d Un hard code /usr/lib/libm.a. Replace with -lm. (Linux)
git-svn-id: svn://10.0.0.236/trunk@421 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 00:52:35 +00:00
ramiro
b70b9be02d Update to 1998.
git-svn-id: svn://10.0.0.236/trunk@420 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 00:51:45 +00:00
peterl
2facdedae8 added spacing and border structs
git-svn-id: svn://10.0.0.236/trunk@419 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 00:02:44 +00:00
troy
e669c44ba0 Changed the space manager interface to return trapezoids instead
of rects


git-svn-id: svn://10.0.0.236/trunk@418 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 23:53:47 +00:00
montulli
164ebfb4a8 update cvpics.c to new streams API
git-svn-id: svn://10.0.0.236/trunk@417 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 22:50:15 +00:00
buster
530ef4a79a table performance and minor bug fixes.
git-svn-id: svn://10.0.0.236/trunk@416 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 22:49:15 +00:00
troy
097598d42c Fixed problem of hitting an assert when encountering an incomplete
frame when reflowing appended children


git-svn-id: svn://10.0.0.236/trunk@415 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 20:24:25 +00:00
troy
bec18bf03a Changed to using continuing frames for runaround of left/right floaters
git-svn-id: svn://10.0.0.236/trunk@414 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 19:56:35 +00:00
troy
d527779823 Changed to get nsIRunaround directly rather than use ReflowChild()
git-svn-id: svn://10.0.0.236/trunk@413 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 19:55:45 +00:00
wtc
99db30744f Eliminated compiler warnings. Fixed by Rick Osborne <rick@spacey.net>.
git-svn-id: svn://10.0.0.236/trunk@412 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 19:04:42 +00:00
wtc
73f5043417 Eliminated compiler warnings. Fixed by Rick Osborne <rick@stacey.net>.
git-svn-id: svn://10.0.0.236/trunk@411 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 18:58:25 +00:00
wtc
fb487199ca Declare PrintUsage() to return void. Fixed by Rick Osborne
<rick@spacey.net>.


git-svn-id: svn://10.0.0.236/trunk@410 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 18:55:32 +00:00
pinkerton
92017a85b5 Remove EstablishPort() override, another remaining vestage of Kelly.
git-svn-id: svn://10.0.0.236/trunk@409 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 16:18:24 +00:00
pinkerton
ef7ae56817 fix build bustage for guha.
git-svn-id: svn://10.0.0.236/trunk@408 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 16:08:47 +00:00
troy
c6bcea0c20 Made it so that continuing frames have a top margin of 0
git-svn-id: svn://10.0.0.236/trunk@407 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 04:37:49 +00:00
guha
c3a08849e5 More Sitemap related fixes
git-svn-id: svn://10.0.0.236/trunk@397 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-20 00:39:11 +00:00
ramiro
e6302e9ad0 Un hardcode XmINDICATOR_DONT_SHOW.
git-svn-id: svn://10.0.0.236/trunk@394 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-19 17:36:48 +00:00
ramiro
fdfce3c6c9 Fix typos.
git-svn-id: svn://10.0.0.236/trunk@393 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-19 16:15:00 +00:00
ramiro
8f728e3aaa Update for new XmNindicatorPosition resource.
git-svn-id: svn://10.0.0.236/trunk@392 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-19 16:14:30 +00:00
ramiro
3c578592a1 Add XmNindicatorPosition resource. For toolbar dropping fedback.
git-svn-id: svn://10.0.0.236/trunk@391 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-19 16:13:54 +00:00
ramiro
2003def889 Add XmNnumPrivateComponents resource.
git-svn-id: svn://10.0.0.236/trunk@390 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-19 16:12:26 +00:00
ramiro
522bc316af Fix a core dump on resizing the toolbox. The problem was a recursive geometry
call into PreferredGeometry().  Fixed by plugin in the trivial geomtry manager
instead of the one that does complicated things.


git-svn-id: svn://10.0.0.236/trunk@389 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-19 11:20:17 +00:00
ramiro
a6efe6a940 Add some geometry debugging assertions and comments.
git-svn-id: svn://10.0.0.236/trunk@388 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-19 11:16:43 +00:00
troy
b16f96084a Commented out the hack that explicitly set the P top margin since that's
now handled using CSS


git-svn-id: svn://10.0.0.236/trunk@381 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-19 05:06:41 +00:00
troy
ba24cf5205 Added code to handle CSS margin properties
git-svn-id: svn://10.0.0.236/trunk@374 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-18 22:16:37 +00:00
troy
a7dc1c48ab Fixed a problem where mLastContentIsComplete wasn't getting set right
for block-level elements


git-svn-id: svn://10.0.0.236/trunk@373 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-18 22:06:05 +00:00
troy
6579aae2d9 Fixed a bug I introduced in the previous checkin
git-svn-id: svn://10.0.0.236/trunk@370 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-18 05:03:04 +00:00
kmcclusk
fc11da3381 Changed SetBorderStyle to work with child windows only
git-svn-id: svn://10.0.0.236/trunk@369 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-18 00:27:48 +00:00
kmcclusk
00ad257db0 Added SetBorderStyle and SetTitle to nsIWidget
git-svn-id: svn://10.0.0.236/trunk@368 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 23:45:07 +00:00
troy
0246c9bb5c Changed IsSplittable to have three return values
git-svn-id: svn://10.0.0.236/trunk@367 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 23:08:20 +00:00
pinkerton
384524dbde Added CAutoCompleteURLEditField from Paul Chen. (rev sdagley, appr sdagely).
git-svn-id: svn://10.0.0.236/trunk@366 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 22:41:56 +00:00
pinkerton
87f5fe1107 Fix 2 const problems for Kathy (rev sdagley, appr sdagely).
git-svn-id: svn://10.0.0.236/trunk@365 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 22:41:09 +00:00
pinkerton
5d0fd32cd3 Remove 200K of icons that are no longer necessary.
git-svn-id: svn://10.0.0.236/trunk@364 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 22:40:52 +00:00
pinkerton
e062313359 When HTML area resizes, show arrow cursor in case it can take a while (like page with big tables).
git-svn-id: svn://10.0.0.236/trunk@363 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 22:40:30 +00:00
pinkerton
d416a91e4b No longer using extra icons for hilighted and disabled state, but drawing them with toolbox transform modes.
git-svn-id: svn://10.0.0.236/trunk@362 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 22:39:57 +00:00
pinkerton
050a3b89b3 change class_id of location bar's edit field to new autocomplete class (rev sdagley, appr sdagely).
git-svn-id: svn://10.0.0.236/trunk@361 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 22:39:12 +00:00
pinkerton
72bb2b261f register Paul's autoURLcompletion stuff. (rev sdagley, appr sdagely).
git-svn-id: svn://10.0.0.236/trunk@360 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 22:39:11 +00:00
pinkerton
35fe2787f3 For guha. Fixes crashes at startup.
git-svn-id: svn://10.0.0.236/trunk@359 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 22:33:56 +00:00
pinkerton
16734fb281 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@358 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 22:28:59 +00:00
cmanske
386e608fa2 Fixed problem with inserting at nIndex=0 in Growable array
git-svn-id: svn://10.0.0.236/trunk@357 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 21:49:18 +00:00
mlm
d6bfc7f264 Oops - back out checkin from wrong tree
git-svn-id: svn://10.0.0.236/trunk@356 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 21:42:16 +00:00
mlm
1eaf5924da Minor nit fixes that I intended to check in before, reviewed by Brendan
git-svn-id: svn://10.0.0.236/trunk@355 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 21:37:22 +00:00
cmanske
ccde004936 Fixed Table Editing bugs in Composer
git-svn-id: svn://10.0.0.236/trunk@351 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 21:34:20 +00:00
cmanske
84fb534d61 Fixed Table Editing bugs in Composer. Thanks to donwulff@iki.fi for finding a bug
git-svn-id: svn://10.0.0.236/trunk@350 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 21:32:18 +00:00
timm
eca6a1294c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@349 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 16:34:18 +00:00
ftang
281414b012 add big5 and gb2312 charset name for free font found at ifcss.org site
git-svn-id: svn://10.0.0.236/trunk@348 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 02:56:00 +00:00
troy
c394172a68 Cleaned up some logic
git-svn-id: svn://10.0.0.236/trunk@347 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 01:47:21 +00:00
troy
fd68898ebd Changed nsIFrame member functions to return a nsresult
git-svn-id: svn://10.0.0.236/trunk@346 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 01:41:24 +00:00
dario
318aac7f83 fixing global object finalization
git-svn-id: svn://10.0.0.236/trunk@345 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 01:35:54 +00:00
dario
63354f30cf fixing js capitalization and finalize methods
git-svn-id: svn://10.0.0.236/trunk@344 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 01:32:07 +00:00
dario
3ea56286d7 changing help menu text
git-svn-id: svn://10.0.0.236/trunk@343 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 01:29:45 +00:00
valeski
514d65e6fd patch from dkindred@cmu.edu. Parenthesis inclusion and a printf formatting snag. rev'd by gagan
git-svn-id: svn://10.0.0.236/trunk@342 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 00:33:25 +00:00
kmcclusk
766b20eb76 Added a tab widget
git-svn-id: svn://10.0.0.236/trunk@341 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-17 00:16:11 +00:00
wtc
0c00bf793f Ported to Linux/m68k. The patches were kindly provided by
Jes Sorensen <Jes.Sorensen@cern.ch>.


git-svn-id: svn://10.0.0.236/trunk@340 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:56:27 +00:00
pinkerton
edcb247141 Use UGAColorRamp instead of hardcoding colors. Added a lot of code for supporting drag feedback on the selector bar to indicate where new workspaces will be created. (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@339 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:29:00 +00:00
pinkerton
c309d9ed0e API changes and lots of work to try to get translucent dragging to work (still commented out, though). Did fix the solid gray drag areas to just be the outlines, though. (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@338 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:28:09 +00:00
pinkerton
65efea39cc API change in CIconTextSuite to use string instead of cstring. Also using UGAColorRamp instead of hardcoding colors. (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@337 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:27:13 +00:00
pinkerton
2b3958dd0a API change in CIconTextSuite to use string not cstring (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@336 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:26:44 +00:00
pinkerton
903b7549bd Fix 2 places where I was assuming the NavCenter was present when it wasn't. (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@335 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:26:12 +00:00
buster
369b61da86 removed noisy debug
git-svn-id: svn://10.0.0.236/trunk@334 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:25:09 +00:00
peterl
c868a04e01 added a style hack to get P align attributes to work again
git-svn-id: svn://10.0.0.236/trunk@333 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:21:45 +00:00
buster
b4bffd274b simple tables now paginate nicely. Some more complex tables
also paginate ok, though resizing in paginated mode doesn't work yet.
Captions still don't work.


git-svn-id: svn://10.0.0.236/trunk@332 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:21:32 +00:00
pinkerton
59899fad1d checked "merge into output" on non-debug targets for XMLPPCLib. (appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@331 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:18:33 +00:00
ftang
ce3851c572 Add cp1258 tables
git-svn-id: svn://10.0.0.236/trunk@330 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 21:57:10 +00:00
peterl
4ddb399190 clear web widget container before releasing it (fix leak)
git-svn-id: svn://10.0.0.236/trunk@329 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 21:51:59 +00:00
peterl
636d9f383e fix leaks
git-svn-id: svn://10.0.0.236/trunk@328 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 21:51:16 +00:00
peterl
f8e6ce5273 fix memory leaks
git-svn-id: svn://10.0.0.236/trunk@327 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 21:49:49 +00:00
peterl
c795eadf55 changed SetContentSink to do proper ref counting
git-svn-id: svn://10.0.0.236/trunk@326 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 21:48:02 +00:00
peterl
08c59feb52 fixed memory leaks in nsAutoString
git-svn-id: svn://10.0.0.236/trunk@325 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 21:47:17 +00:00
guha
5d714270af Fix sitemap bug reported by Pinkerton
git-svn-id: svn://10.0.0.236/trunk@324 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 21:29:27 +00:00
kostello
16a3417e18 Clean up (we were leaking the DocLoader -- dooh!)
git-svn-id: svn://10.0.0.236/trunk@323 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 21:23:48 +00:00
vidur
8c69e2b149 Fixed compiler warnings. Patch submitted by Rick Osborne (rick@spacey.net)
git-svn-id: svn://10.0.0.236/trunk@322 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 21:23:25 +00:00
kostello
d6e1df986c Added nsDocLoader and hooked it into the viewer's winmain.
If the MOZ_PURIFY_TEST environment variable is set, then when the
viewer is launched and all the test documents will be loaded.
After the test documents are loaded, the application will exit.


git-svn-id: svn://10.0.0.236/trunk@321 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 19:42:34 +00:00
pinkerton
e88b873b54 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@320 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 18:33:56 +00:00
rickg
04533b2f38 added 'marker-style' entities and fixed a few bugs
git-svn-id: svn://10.0.0.236/trunk@319 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 08:18:15 +00:00
rickg
b38724544f added runtime 'marker-style' entities and fixed a few bugs.
git-svn-id: svn://10.0.0.236/trunk@318 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 07:22:40 +00:00
briano
8b0c46947a Fixed the Emacs tags rules to recognize C++ sources as well. Thanks to Todd Larason (jtl@molehill.org).
git-svn-id: svn://10.0.0.236/trunk@317 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 23:56:45 +00:00
briano
2344b982ad Fixed the npglue.c screwup. Should've been npglue.cpp.
git-svn-id: svn://10.0.0.236/trunk@315 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 22:07:20 +00:00
kipp
f8027d3868 Added missing env doc
git-svn-id: svn://10.0.0.236/trunk@314 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 21:45:48 +00:00
michaelp
5449c08895 added docs.
git-svn-id: svn://10.0.0.236/trunk@313 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 20:25:02 +00:00
vidur
d168eb1a45 Documented timer interface
git-svn-id: svn://10.0.0.236/trunk@311 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 19:38:03 +00:00
vidur
732113b4c9 Documenting image library interfaces
git-svn-id: svn://10.0.0.236/trunk@310 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 19:37:44 +00:00
kostello
db8adf9761 Made the demo documents a little prettier
git-svn-id: svn://10.0.0.236/trunk@309 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 19:23:17 +00:00
blythe
19993640ed Fix some compile warnings. Thanks to Rick Osborne (rick@spacey.net)
git-svn-id: svn://10.0.0.236/trunk@308 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 18:59:47 +00:00
dario
7d9b7da232 doc
git-svn-id: svn://10.0.0.236/trunk@307 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 18:55:21 +00:00
kipp
0459378421 new
git-svn-id: svn://10.0.0.236/trunk@306 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 18:27:12 +00:00
kipp
caf6541a1a Updated tarball rules
git-svn-id: svn://10.0.0.236/trunk@305 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 18:14:33 +00:00
rickg
5205f5daea improved documentation in headers
git-svn-id: svn://10.0.0.236/trunk@304 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 17:27:56 +00:00
ramiro
5ef979d313 Add a makefile that actualy works. Update tree4.c for slamm's
XmLTreeDeleteChildren() improvement.
Coded by slamm@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@303 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 09:19:34 +00:00
ramiro
647799ff41 Fix problem in grid delete callback. It didn't set the row or column
position.  Plus, it updated the row/column count before making the callback,
so you could no longer access the userData with XtVaGetValues.

Also add XmLTreeDeleteChildren() to XmLTree.

This code written by Steve Lamm <slamm@netscape.com> and reviewed by
ramiro.


git-svn-id: svn://10.0.0.236/trunk@302 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 09:15:00 +00:00
ramiro
290d1ac464 fix name in comment
git-svn-id: svn://10.0.0.236/trunk@301 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 09:10:25 +00:00
ramiro
b20667bef6 first checked in
git-svn-id: svn://10.0.0.236/trunk@300 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 09:09:52 +00:00
ramiro
3c4997aaed Use DLL_SUFFIX from ns/config instead of random hack.
git-svn-id: svn://10.0.0.236/trunk@299 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 09:08:25 +00:00
rpotts
492f37556e Added netlib to the list of public directories to doc++
git-svn-id: svn://10.0.0.236/trunk@298 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 07:59:46 +00:00
nisheeth
2db6cf3ed9 Fix for text overflowing inside nested tables. Fix for background colors not
being inherited properly inside tables.


git-svn-id: svn://10.0.0.236/trunk@296 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 05:28:39 +00:00
nisheeth
6d0478a85d Fix for nested comments. Thanks to Jan Kroken (jankr@nntp.ifi.uio.no) for the
patch.


git-svn-id: svn://10.0.0.236/trunk@295 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 04:13:55 +00:00
nisheeth
e31dc91228 LO_UnlockLayout() was being called multiple times in LO_Reflow().
Thanks to Nicholas A. Ambrose (nicka@interdyn.com) for the patch.


git-svn-id: svn://10.0.0.236/trunk@294 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 04:01:00 +00:00
nisheeth
d5f9edd671 Documentation patch. Thanks to Pete Bevin (moose@bestiary.com) for submitting
it.


git-svn-id: svn://10.0.0.236/trunk@293 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 03:54:08 +00:00
ramiro
be8f9bec65 Remove unuised XfeToolBoxForm*() hackery. Chrome widget does all the
magic now.


git-svn-id: svn://10.0.0.236/trunk@292 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 02:08:30 +00:00
ramiro
5bc5ea684f The Great Chrome Rewrite of 1998. Use a chrome manager instead of
doAttachments().  Fixes numerous toolbox bugs and completely simplifies
the way xfe does chrome.  Reviewed by slamm.


git-svn-id: svn://10.0.0.236/trunk@291 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 02:06:22 +00:00
wtc
eab23cb735 In ConvertUnixPathToMacPath, removed the checks that disallow path names
that begin with /bin, /dev, and /etc.  These directories don't have
any special meaning on the Mac and should be allowed.  Thanks to
Mike Pinkerton <pinkerton@netscape.com> for reporting this bug and
providing the fix.


git-svn-id: svn://10.0.0.236/trunk@290 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 01:28:33 +00:00
kipp
b0d9aab4a8 fixed a few typos in the raptor rules
git-svn-id: svn://10.0.0.236/trunk@289 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 01:07:46 +00:00
kipp
75823b0beb Added raptor modules
git-svn-id: svn://10.0.0.236/trunk@288 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 01:05:29 +00:00
wtc
869c2f44aa Ported to HP-UX 9. We acknowledge Richard K. Lloyd <rkl@csc.liv.ac.uk>
for his help.

Files changed: HP-UX.mk, pr/src/Makefile, hpux.c, unix.c, and uxproces.c.
HP-UX.mk: Compare $(basename $(OS_RELEASE)) with A.09 to cover all HP-UX
9 revisions.  Define _PR_NEED_H_ERRNO for HP-UX 9.


git-svn-id: svn://10.0.0.236/trunk@287 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 01:02:00 +00:00
troy
8dd8213152 Removed previous hack, because the real problem with nsHTMLTokens.h was
discovered and fixed


git-svn-id: svn://10.0.0.236/trunk@286 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 00:35:41 +00:00
troy
ce68d1535f Moved inline code for CCommentToken::GetClassName to the .cpp file. This
makes doc++ happy


git-svn-id: svn://10.0.0.236/trunk@285 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 00:33:06 +00:00
pinkerton
5e2a2aeefa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@284 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 00:06:11 +00:00
pinkerton
056ec80331 Draw correctly when in a scroller. Fixed to use local coords correctly and set image size (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@283 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 00:05:39 +00:00
pinkerton
4c5fa0d90e Added CScrollerWithArrows.cp (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@282 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 00:04:52 +00:00
pinkerton
fe25a89339 Added CStandardFlexTable and CScrollerWithArrows CTYPs. (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@281 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 00:04:02 +00:00
pinkerton
a8e2a2dbf5 removed CTYP and CPPB's for CStandardFlexTable because it is no longer just a mail/news thing. It has been moved over to Mozilla_Custom_CPPBs. (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@280 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 00:03:33 +00:00
pinkerton
5409f24638 NavCenter selector view now a subview of a custom scroller (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@279 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 00:02:39 +00:00
pinkerton
0e3304d6b5 added registration of new CScrollerWithArrows classes. (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@278 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-15 00:01:56 +00:00
scullin
cab6b9f131 Put stuff back in that kipp callously destroyed, including our legal
documents.


git-svn-id: svn://10.0.0.236/trunk@277 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 23:50:51 +00:00
troy
7bc10ed2cf Changed doc_raptor to rm nsHTMLTokens.h before running doc++, because that
file is confusing doc++


git-svn-id: svn://10.0.0.236/trunk@276 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 23:27:31 +00:00
kmcclusk
7e317fe3f6 Added doc++ comments to ns/widget/src/windows
git-svn-id: svn://10.0.0.236/trunk@275 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 23:20:49 +00:00
briano
cf0953bd14 Minor addition of some platform-specific PATH info, and some rewording.
git-svn-id: svn://10.0.0.236/trunk@274 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 22:48:20 +00:00
michaelp
7d5df72783 fixed clip region state popping bug.
git-svn-id: svn://10.0.0.236/trunk@273 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 22:42:24 +00:00
dcone
ce477682f7 Added documentation
git-svn-id: svn://10.0.0.236/trunk@272 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 22:20:32 +00:00
kipp
853c1a68c6 one more cleanup of the tarball rules
git-svn-id: svn://10.0.0.236/trunk@271 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 21:54:00 +00:00
michaelp
c0608bc4dd fixed bug where we would double paint any frame that had a view.
git-svn-id: svn://10.0.0.236/trunk@270 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 21:49:29 +00:00
buster
cd9cbaa5c4 documentation changes
git-svn-id: svn://10.0.0.236/trunk@269 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 21:45:28 +00:00
kipp
3f101446d4 Updated tarball rules
git-svn-id: svn://10.0.0.236/trunk@268 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 21:44:21 +00:00
kipp
2b7a6addfa Updated tarball rules
git-svn-id: svn://10.0.0.236/trunk@267 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 21:43:59 +00:00
kipp
99f7bd2235 Updated tarball rules
git-svn-id: svn://10.0.0.236/trunk@266 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 21:43:16 +00:00
kipp
dd8cc4de86 snapshot for win95 test
git-svn-id: svn://10.0.0.236/trunk@265 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 21:38:20 +00:00
danm
8dbba5c5ae clear main frame's tab focus during layout only if laying out the active context r=blythe,hyatt
git-svn-id: svn://10.0.0.236/trunk@264 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 21:34:47 +00:00
kmcclusk
1d0febb8ee Made comments DOC++ compatible
git-svn-id: svn://10.0.0.236/trunk@263 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 21:33:43 +00:00
rods
cf4be90a5b fixed comments
git-svn-id: svn://10.0.0.236/trunk@262 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 20:59:07 +00:00
ftang
a8e7fd2214 Fix bug for FrontPage generated Chinese/Korean pages could not be view by non native system
git-svn-id: svn://10.0.0.236/trunk@261 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 20:49:47 +00:00
kmcclusk
dc0e16b2e8 Modified comments
git-svn-id: svn://10.0.0.236/trunk@260 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 20:49:25 +00:00
ftang
f014fcdab8 Fix bug for FrontPage generated Chinese/Korean page could not be view
on Non Native system


git-svn-id: svn://10.0.0.236/trunk@259 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 20:48:29 +00:00
rods
b376400ee3 fixed comment
git-svn-id: svn://10.0.0.236/trunk@258 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 20:48:14 +00:00
ftang
0afc16de94 Fix CP1250 and CP1253. Thanks Tomas Brodsky <brodsky@cfar.umd.edu> from the net
git-svn-id: svn://10.0.0.236/trunk@257 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 20:42:55 +00:00
dcone
2e165099a3 Added documentation
git-svn-id: svn://10.0.0.236/trunk@256 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 19:56:15 +00:00
rods
7481ae875e fixed comments
git-svn-id: svn://10.0.0.236/trunk@253 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 19:26:42 +00:00
ftang
c0235d8f5f fix feCharSetInfoArray warnning. Thanks djm@indirect.com (Dan McGuirk) from the net
git-svn-id: svn://10.0.0.236/trunk@252 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 19:24:53 +00:00
montulli
07e82980fa bump revision number
git-svn-id: svn://10.0.0.236/trunk@251 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 19:13:11 +00:00
montulli
7532eec4e9 bump rev number
git-svn-id: svn://10.0.0.236/trunk@250 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 19:12:57 +00:00
dario
8c0f85c945 fixing text to be proper terminated
git-svn-id: svn://10.0.0.236/trunk@249 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 19:05:09 +00:00
dario
2cd60a4c27 fixing the js console
git-svn-id: svn://10.0.0.236/trunk@248 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 19:04:25 +00:00
dario
ec37b06fe8 few fixes
git-svn-id: svn://10.0.0.236/trunk@247 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 19:03:54 +00:00
scullin
1436a8c063 Pulls LICENSE and LEGAL, now.
git-svn-id: svn://10.0.0.236/trunk@246 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 19:02:09 +00:00
montulli
f599ffb5d4 initial add of files for additional pics functionality
git-svn-id: svn://10.0.0.236/trunk@245 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 18:48:28 +00:00
ramiro
3466e08171 Mark the hardcoded geometry as HACKERY. We sill fix this later. Its
important that we get the new chrome mechanism out soon.


git-svn-id: svn://10.0.0.236/trunk@244 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 18:26:31 +00:00
dario
62a353f3c9 signing
git-svn-id: svn://10.0.0.236/trunk@243 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 18:24:53 +00:00
dario
406f1e60f7 adding NPL
git-svn-id: svn://10.0.0.236/trunk@242 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 18:16:23 +00:00
dario
85b6df8b9b another js example
git-svn-id: svn://10.0.0.236/trunk@241 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 18:14:55 +00:00
scullin
05329aa11d Pull XP_COM branch of libpref instead of trunk to match UNIX makefile.
git-svn-id: svn://10.0.0.236/trunk@240 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 17:48:47 +00:00
hardts
365c35265b added doc_raptor to makefile
git-svn-id: svn://10.0.0.236/trunk@239 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 17:29:44 +00:00
ramiro
8e3d8ad789 Make the frame shell dimensions something reasonable for the time being.
git-svn-id: svn://10.0.0.236/trunk@238 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 17:01:41 +00:00
karnaze
5e791d5a8a added doc++ comments
git-svn-id: svn://10.0.0.236/trunk@237 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 16:53:16 +00:00
slamm
492a2f3cbf Allocate memory for the url window target because we free it later. Fix from Dan McGuirk <djm@indirect.com>. a=ramiro.
git-svn-id: svn://10.0.0.236/trunk@236 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 16:49:20 +00:00
ramiro
68c20c6807 Update REQUIRES to properly include Microline and XfeWidgets.
git-svn-id: svn://10.0.0.236/trunk@235 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 15:03:50 +00:00
ramiro
2df2135816 Request geometry request when geom flag gets set in the ConstraintSetValues
operation.


git-svn-id: svn://10.0.0.236/trunk@234 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 14:59:44 +00:00
ramiro
e84b770526 XfeChrome is now a used widget.
git-svn-id: svn://10.0.0.236/trunk@233 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 14:58:51 +00:00
ramiro
b67236dcde Add a blurb for previous checkin.
git-svn-id: svn://10.0.0.236/trunk@232 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 14:45:39 +00:00
ramiro
006183c1ef Layout children/components on geometry management.
git-svn-id: svn://10.0.0.236/trunk@231 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 14:43:52 +00:00
ramiro
7a4cf23d4b Implement PreferredGeometry(). Add a good GeometryManager().
git-svn-id: svn://10.0.0.236/trunk@230 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 14:43:12 +00:00
ramiro
8b793bfe7c Add _XfeLiberalGeometryManager() and _XfeMakeGeometryRequest().
git-svn-id: svn://10.0.0.236/trunk@229 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 10:49:34 +00:00
scullin
c10fecc3bc clobber -> clobber_all
git-svn-id: svn://10.0.0.236/trunk@228 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 05:56:38 +00:00
scullin
8434312c2a Fix pref pull
git-svn-id: svn://10.0.0.236/trunk@227 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 02:57:21 +00:00
selmer
7ccd35ae17 Reworked to defeat LiveConnect unsatisfied link error
git-svn-id: svn://10.0.0.236/trunk@226 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 02:51:39 +00:00
scullin
b51bdc3146 Added standalone image lib define, mirrors one in config.mak. Approved
by briano.


git-svn-id: svn://10.0.0.236/trunk@225 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 02:01:29 +00:00
scullin
2c442cc28e IRIX build fixes.
git-svn-id: svn://10.0.0.236/trunk@224 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 01:58:11 +00:00
scullin
3300083588 Signed.
git-svn-id: svn://10.0.0.236/trunk@222 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 01:49:52 +00:00
scullin
054293fc6d UNIX version of raptor.mak
git-svn-id: svn://10.0.0.236/trunk@221 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 01:49:20 +00:00
rjc
31b9249a6d Appletalk is Mac only.
git-svn-id: svn://10.0.0.236/trunk@220 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 01:31:02 +00:00
rjc
886a1806eb (Mac) Appletalk data source.
git-svn-id: svn://10.0.0.236/trunk@219 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 01:26:35 +00:00
rjc
77014e9638 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@218 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 01:24:59 +00:00
rjc
f2d7ac5a6b Fix bugs with makeNewID().
git-svn-id: svn://10.0.0.236/trunk@217 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 01:24:06 +00:00
wtc
97add7e185 Deleted the unused variable 'count' in _PR_MD_INTERVAL_PER_SEC(). We
acknowledge Rick Osborne <rick@spacey.net> for reporting this problem
and suggesting a fix.


git-svn-id: svn://10.0.0.236/trunk@216 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 01:06:32 +00:00
kmcclusk
aeb4450f82 Added/Improved header file comments
git-svn-id: svn://10.0.0.236/trunk@215 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 00:31:59 +00:00
briano
ac0ed0fba1 Added support for M68k Linux. Thanks to Jes Sorensen (Jes.Sorensen@cern.ch) for the patch.
git-svn-id: svn://10.0.0.236/trunk@214 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 00:26:45 +00:00
briano
50d7e27245 Changed 'MACLINUX' back to 'MKLINUX' so the MkLinux builds will work.
Added support for M68k Linux.  Thanks to Jes Sorensen (Jes.Sorensen@cern.ch) for the patch.


git-svn-id: svn://10.0.0.236/trunk@213 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 00:24:56 +00:00
briano
2ab50be569 Changed the 'MACLINUX' macro reference to 'MKLINUX'. Again.
git-svn-id: svn://10.0.0.236/trunk@212 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 00:15:11 +00:00
relliott
69177801f3 Bumping revision number to 3.0
git-svn-id: svn://10.0.0.236/trunk@211 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 00:04:23 +00:00
briano
1a367fdb4e Changed the 'MACLINUX' macro reference to 'MKLINUX'.
git-svn-id: svn://10.0.0.236/trunk@210 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 00:00:42 +00:00
ftang
55366425af (This is for the previous checkin) Fix warnning. Thanks tenthumbs@cybernex.net
git-svn-id: svn://10.0.0.236/trunk@209 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 00:00:06 +00:00
ftang
ff934ff85d Fix one warning. Thanks for
git-svn-id: svn://10.0.0.236/trunk@208 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 23:58:48 +00:00
briano
08aac7ea86 Changed the 'MACLINUX' macro reference to 'MKLINUX'. Again.
git-svn-id: svn://10.0.0.236/trunk@207 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 23:56:35 +00:00
relliott
767fcda0dd First release of universal localization program kits
git-svn-id: svn://10.0.0.236/trunk@206 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 23:32:42 +00:00
cyeh
442958e53d add the README directory to all platforms by adding it to MozillaCommon
git-svn-id: svn://10.0.0.236/trunk@205 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 23:26:12 +00:00
cyeh
605596111c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@204 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 23:10:06 +00:00
cyeh
da3e5b6210 adding build documentation to tree
git-svn-id: svn://10.0.0.236/trunk@203 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 23:08:30 +00:00
pinkerton
91dd9f2a06 Draw menu separators in tree with icon, but no text (used to have text that said "<Separator>" and no icon). (rev sdagley, appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@202 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:55:56 +00:00
wtc
c0ff862b36 Got rid of compiler warnings. We acknowledge the help of Nathan
Torkington <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@201 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:55:27 +00:00
pinkerton
0f2d6fead4 Fix for dragging toolbar over the finder and releasing mouse, which before would crash the Finder. (rev sdagley, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@200 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:54:57 +00:00
wtc
95bc804e1c Got rid of compiler warnings. We acknoweldge the help of Nathan
Torkington <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@199 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:49:10 +00:00
wtc
0846173c2b localtime_r is declared on Solaris only if _REENTRANT is defined.
git-svn-id: svn://10.0.0.236/trunk@198 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:48:07 +00:00
wtc
faee9ac904 Got rid of compiler warnings. We acknowledge the help of Nathan
Torkington <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@197 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:46:48 +00:00
cyeh
a925c92350 checking in sources to customized version of gmake
git-svn-id: svn://10.0.0.236/trunk@196 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:35:47 +00:00
cyeh
ee9cb51517 adding source to shmsdos
git-svn-id: svn://10.0.0.236/trunk@195 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:30:34 +00:00
cyeh
ca95fefb7a adding in source for uname
git-svn-id: svn://10.0.0.236/trunk@194 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:29:30 +00:00
wtc
3bf56ac245 Fixed printf format mismatch problems. We acknowledge the help of
Nathan Torkington <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@193 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:26:32 +00:00
kipp
e92090ec86 made more robust by cd'ing into the correct top level dir before each build rule
git-svn-id: svn://10.0.0.236/trunk@192 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:25:36 +00:00
wtc
d701ff30a1 In PR_GetSpecialFD, cast the PRSpecialFD variable 'osfd' to int
because some compilers make the enum PRSpecialFD an unsigned int
type and complain that 'osfd' is always >= PR_StandardInput, which
has the value 0.


git-svn-id: svn://10.0.0.236/trunk@191 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:25:13 +00:00
wtc
213ccbabb3 Added function declarations to eliminate compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@190 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:22:43 +00:00
wtc
81662fa460 Added declaration of _MD_YIELD.
git-svn-id: svn://10.0.0.236/trunk@189 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:21:00 +00:00
wtc
e34d99abe7 Fixed compiler warnings, mostly by adding function declarations.
git-svn-id: svn://10.0.0.236/trunk@188 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:19:51 +00:00
wtc
cad5ce2d27 Fixed compiler warnings, mostly undeclared functions. We acknoweldge
the help of Nathan Torkington <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@187 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:04:19 +00:00
wtc
bc812c4978 Fixed printf format mismatches. Fixed are provided by Nathan Torkington
<gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@186 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:02:11 +00:00
wtc
6be980a494 Fixed compiler warnings, mostly in printf format mismatches. Most of
the fixes are supplied by Nathan Torkington <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@185 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:00:47 +00:00
hshaw
99904c2c02 Remainder of softupdt has been checked into the pub tree. Add the modules references back
git-svn-id: svn://10.0.0.236/trunk@184 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:57:19 +00:00
wtc
dd0343d6f1 Removed the -Wno-format compiler switch. We do want to get printf
format mismatch warnings.


git-svn-id: svn://10.0.0.236/trunk@180 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:44:55 +00:00
wtc
84996761f9 Do not build pr/tests by default. This shortens the default build
time.  Also, use 'rm -r -f' instead of 'rm -rf' because the 'rm'
command of tcsh.exe on Win32 does not understand clustered command
line options.


git-svn-id: svn://10.0.0.236/trunk@179 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:40:18 +00:00
kipp
18cc12f1cc signed
git-svn-id: svn://10.0.0.236/trunk@178 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:32:58 +00:00
kipp
5cc8a4677b Removed woofer
git-svn-id: svn://10.0.0.236/trunk@177 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:27:25 +00:00
kipp
f2f1dac566 nuked
git-svn-id: svn://10.0.0.236/trunk@176 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:27:12 +00:00
kipp
67a9893806 pubbed
git-svn-id: svn://10.0.0.236/trunk@175 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:23:46 +00:00
hshaw
dec4926da0 bump rev to 3.1
git-svn-id: svn://10.0.0.236/trunk@173 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:12:08 +00:00
kipp
3974563c5e another makefile tweak
git-svn-id: svn://10.0.0.236/trunk@172 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:08:14 +00:00
hshaw
ecfecf7a81 Free the lizard
git-svn-id: svn://10.0.0.236/trunk@171 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 21:07:10 +00:00
kipp
68ac3f39fe Repaired build problems w/ layout/base dependencies
git-svn-id: svn://10.0.0.236/trunk@170 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:56:42 +00:00
kipp
b821fd8fd2 more files to pull
git-svn-id: svn://10.0.0.236/trunk@168 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:50:21 +00:00
kipp
e742fdad6c bug fixed
git-svn-id: svn://10.0.0.236/trunk@167 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:39:27 +00:00
kipp
fb1503758e moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00
cyeh
964e345ac3 Add ns/cmd/dialup to Mac and Windows
git-svn-id: svn://10.0.0.236/trunk@164 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 19:18:52 +00:00
guha
3c72e5a9cd Fix the problem with sitemaps going away on page
transition


git-svn-id: svn://10.0.0.236/trunk@163 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 02:00:34 +00:00
ramiro
2e963b1145 Make the local file system browser work on unix. The 'file:///' url
prefix was missing.
Thanks to Dan McGuirk <djm@indirect.com>.


git-svn-id: svn://10.0.0.236/trunk@162 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 01:38:17 +00:00
ramiro
e6edb16eff Add editor back to the preferences and fix the editor startup problem.
Thanks to Dan McGuirk <djm@indirect.com>


git-svn-id: svn://10.0.0.236/trunk@161 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 01:30:26 +00:00
guha
bb88621ddd Sitemap bugfixes.
git-svn-id: svn://10.0.0.236/trunk@147 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-10 21:00:30 +00:00
wtc
3b8b53b99f Declare _MD_EarlyInit() to eliminate 'undeclared function' compiler warning.
Contributed by Nat <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@138 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 19:50:19 +00:00
wtc
be7a3234b7 Fixed 'unused variable' warning for the variable 'nfds' in select()
on local-threads-only platforms.  This is pointed out by many people,
including Nat <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@137 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 19:44:46 +00:00
wtc
e5a65835ea Fixed 'unused variable' compiler warning in prsocket.c. This is pointed
out by many people, including Nat <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@136 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 19:41:13 +00:00
selmer
d3c93b9f3f Add dialup to free source
git-svn-id: svn://10.0.0.236/trunk@131 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 04:22:42 +00:00
selmer
b4b851f192 add the ascii files
git-svn-id: svn://10.0.0.236/trunk@130 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 04:11:30 +00:00
selmer
91d277d401 add ascii files
git-svn-id: svn://10.0.0.236/trunk@129 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 04:07:52 +00:00
selmer
c630e46deb Add binaries with -kb
git-svn-id: svn://10.0.0.236/trunk@128 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 03:54:33 +00:00
ramiro
bafa1dd826 Dont change the cursor to a watch when space-ing through a document.
thanks to Darrell Kindred <dkindred@cmu.edu>
reviewed by djw@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@127 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 02:41:49 +00:00
cyeh
4d77375663 fix windows bustage removing libcnv compression.
git-svn-id: svn://10.0.0.236/trunk@126 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 02:02:37 +00:00
ramiro
8b6045b383 make sure XmNlist gets defined
git-svn-id: svn://10.0.0.236/trunk@125 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 01:47:59 +00:00
cyeh
b11c803590 change log, with proper . extension
git-svn-id: svn://10.0.0.236/trunk@124 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 01:18:48 +00:00
cyeh
1653020b32 change name to have .html extension
git-svn-id: svn://10.0.0.236/trunk@123 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 01:12:31 +00:00
cyeh
67c2ebfd7c add ns/CHANGELOG (history of changes to the repository to default build)
git-svn-id: svn://10.0.0.236/trunk@122 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 00:39:10 +00:00
cyeh
ff6653b3bb Remove for legal reasons.
git-svn-id: svn://10.0.0.236/trunk@120 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 00:33:14 +00:00
valeski
a885ac9a54 various null checks, fixes 107730, rev'd by malmer
git-svn-id: svn://10.0.0.236/trunk@117 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 00:07:08 +00:00
montulli
8612e7e168 fix really small pics bug by calling Illegal_to_underscore
Rev: gagan


git-svn-id: svn://10.0.0.236/trunk@109 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 21:23:19 +00:00
pinkerton
644f0dd2e1 Added public DoInlineEditing() (rev sdagley, appr don)
git-svn-id: svn://10.0.0.236/trunk@108 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 20:30:13 +00:00
pinkerton
213e41d92d added public DoInlineEdit for the node edit HT event and made RefreshCellRange public (it was protected, but is public in LTreeView). (rev sdagley, appr don)
git-svn-id: svn://10.0.0.236/trunk@107 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 20:29:54 +00:00
pinkerton
e942eae6ca Redid workspace selection/shelf notification to fix some bugs. Also now responds to HT's node edit event, though it is still commented out because of redraw problems. Added a slew of comments to make the class (and the messaging scheme) understandable and point out where redraw bugs are. (rev sdagley, appr don)
git-svn-id: svn://10.0.0.236/trunk@106 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 20:29:18 +00:00
pinkerton
9abf2be0fa now an LBroadcaster to tell the title area about a change to the current workspace so the name is always correct. (rev sdagley, appr don)
git-svn-id: svn://10.0.0.236/trunk@105 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 20:27:48 +00:00
pinkerton
57f4e78bd7 Now current with rewrite of FE/HT messages for opening/closing shelf and setting current workspace. (rev sdagley, appr don)
git-svn-id: svn://10.0.0.236/trunk@104 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 20:27:24 +00:00
pinkerton
ceef1596f7 The LCaption in the title area was not correctly bound to the left and the right so it did not grow when the window grew. (rev sdagley, appr don)
git-svn-id: svn://10.0.0.236/trunk@103 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 20:26:26 +00:00
pinkerton
1bb93b42df Added a stack-based class for setting/restoring the HT event notification mask (rev sdagley, appr don)
git-svn-id: svn://10.0.0.236/trunk@102 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 20:25:51 +00:00
guha
3dbdfee941 2.1 vs 3.1 lossage
git-svn-id: svn://10.0.0.236/trunk@100 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 05:34:52 +00:00
guha
2e7ea0fb68 makefile.win fix
git-svn-id: svn://10.0.0.236/trunk@99 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 05:06:33 +00:00
cyeh
df6db40c05 Add ns/modules/xml to MozillaAll. per dp. approved donm, ltabb.
git-svn-id: svn://10.0.0.236/trunk@98 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 04:59:56 +00:00
guha
17bf49c7a3 Spankage for new XML to build on Mac
git-svn-id: svn://10.0.0.236/trunk@97 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 04:48:26 +00:00
guha
107906a9eb Fix Mac bustage by adding required casts
git-svn-id: svn://10.0.0.236/trunk@96 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-08 04:44:28 +00:00
7194 changed files with 606118 additions and 1386788 deletions

View File

@@ -1,247 +0,0 @@
# Three different line formats are valid:
# key -a aliases...
# key [options] directory
# key [options] directory files...
#
# Where "options" are composed of:
# -i prog Run "prog" on "cvs commit" from top-level of module.
# -o prog Run "prog" on "cvs checkout" of module.
# -e prog Run "prog" on "cvs export" of module.
# -t prog Run "prog" on "cvs rtag" of module.
# -u prog Run "prog" on "cvs update" of module.
# -d dir Place module in directory "dir" instead of module name.
# -l Top-level directory only -- do not recurse.
#
# NOTE: If you change any of the "Run" options above, you'll have to
# release and re-checkout any working directories of these modules.
#
# And "directory" is a path to a directory relative to $CVSROOT.
#
# The "-a" option specifies an alias. An alias is interpreted as if
# everything on the right of the "-a" had been typed on the command line.
#
# You can encode a module within a module by using the special '&'
# character to interpose another module into the current module. This
# can be useful for creating a module that consists of many directories
# spread out over the entire source repository.
ClientSourceProduct -a \
ClientSourceProductWin \
ClientSourceProductMac \
ClientSourceProductUnix \
ClientSourceProductWin -a MozillaCommon MozillaWinOnly
ClientSourceProductMac -a MozillaCommon MozillaMacOnly
ClientSourceProductUnix -a MozillaCommon MozillaUnixOnly
MozillaCommon -a \
ns/LEGAL \
ns/LICENSE \
ns/build \
ns/include \
ns/jpeg \
ns/js \
ns/lib/htmldlgs \
ns/lib/layout \
ns/lib/libcnv \
ns/lib/libi18n \
ns/lib/liblayer \
ns/lib/libmisc \
ns/lib/libmime \
ns/lib/libmocha \
ns/lib/libnet \
ns/lib/libparse \
ns/lib/libpics \
ns/lib/libpwcac \
ns/lib/libstyle \
ns/lib/plugin \
ns/lib/xlate \
ns/lib/xp \
ns/modules/edtplug/classes \
ns/modules/edtplug/src \
ns/modules/edtplug/include \
ns/modules/libfont/classes \
ns/modules/libfont/public \
ns/modules/libfont/src \
ns/modules/libhook \
ns/modules/libimg \
ns/modules/libpref \
ns/modules/libreg \
ns/modules/libutil \
ns/modules/progress/src \
ns/modules/rdf \
ns/modules/schedulr \
ns/modules/security/freenav \
ns/modules/zlib/src \
ns/nav-java/stubs \
ns/nsprpub \
ns/xpcom \
ns/l10n \
ns/nsprpub \
ns/dbm \
ns/modules/schedulr
MozillaWinOnly -a \
ns/client.mak \
ns/cmd/makefile.win \
ns/cmd/wincom \
ns/cmd/winfe \
ns/config \
ns/lib/makefile.win \
ns/modules/coreincl \
ns/modules/edtplug/makefile.win \
ns/makefile.win \
ns/modules/libfont/jmcgen \
ns/modules/libfont/makefile.win \
ns/modules/libfont/producers/makefile.win \
ns/modules/libfont/producers/win \
ns/modules/libfont/producers/win/classes \
ns/modules/libfont/producers/win/classes/netscape \
ns/modules/libfont/producers/win/classes/netscape/fonts \
ns/modules/libfont/producers/win/src \
ns/modules/makefile.win \
ns/modules/progress/makefile.win \
ns/modules/progress/public \
ns/modules/security/makefile.win \
ns/modules/zlib/makefile.win \
ns/nav-java/makefile.win \
JavaStubWin
MozillaUnixOnly -a \
ns/cmd/Makefile \
ns/cmd/stubfe \
ns/cmd/xfe \
ns/config/.cvsignore \
ns/config/AIX.mk \
ns/config/BSD_OS.mk \
ns/config/bsdecho.c \
ns/config/bsdecho.c \
ns/config/clobber_miss.pl \
ns/config/clobber_miss.pl \
ns/config/common.mk \
ns/config/common.mk \
ns/config/config.guess \
ns/config/config.mk \
ns/config/coreconf.mk \
ns/config/coreconf.mk \
ns/config/cvsco.pl \
ns/config/cvsco.pl \
ns/config/fastcwd.pl \
ns/config/fastcwd.pl \
ns/config/FreeBSD.mk \
ns/config/gtscc.c \
ns/config/HP-UX.mk \
ns/config/IRIX.mk \
ns/config/Linux.mk \
ns/config/makecopy.c \
ns/config/makecopy.c \
ns/config/Makefile \
ns/config/Makefile \
ns/config/mangle.c \
ns/config/mangle.c \
ns/config/mantomak.c \
ns/config/mantomak.c \
ns/config/mkdepend \
ns/config/NCR.mk \
ns/config/NEC.mk \
ns/config/NEWS-OS.mk \
ns/config/NEXTSTEP.mk \
ns/config/nfspwd.pl \
ns/config/nfspwd.pl \
ns/config/nodl.pl \
ns/config/nodl.pl \
ns/config/nsinstall.c \
ns/config/nsinstall.c \
ns/config/OSF1.mk \
ns/config/outofdate.pl \
ns/config/outofdate.pl \
ns/config/pathsub.c \
ns/config/pathsub.c \
ns/config/pathsub.h \
ns/config/pathsub.h \
ns/config/pkg2dpth.pl \
ns/config/pkg2dpth.pl \
ns/config/ports \
ns/config/revdepth.pl \
ns/config/revdepth.pl \
ns/config/Rhapsody.mk \
ns/config/rules.mk \
ns/config/SCOOS.mk \
ns/config/SINIX.mk \
ns/config/sj.pl \
ns/config/sj.pl \
ns/config/SunOS.mk \
ns/config/SunOS4.mk \
ns/config/SunOS5.mk \
ns/config/UNIXWARE.mk \
ns/config/xmversion.sh \
ns/lib/Makefile \
ns/Makefile \
ns/modules/edtplug/Makefile \
ns/modules/libfont/jmcgen \
ns/modules/libfont/Makefile \
ns/modules/libfont/producers/Makefile \
ns/modules/Makefile \
ns/modules/progress/Makefile \
ns/modules/progress/public \
ns/modules/security/Makefile \
ns/modules/zlib/Makefile \
ns/nav-java/Makefile \
ns/lib/mariner \
JavaStubUnix
MozillaMacOnly -a \
ns/cmd/macfe \
ns/lib/mac/AutoAdmin \
ns/lib/mac/Includes \
ns/lib/mac/MacMemoryAllocator \
ns/lib/mac/Misc \
ns/lib/mac/MoreFiles \
ns/lib/mac/NSRuntime \
ns/lib/mac/NSStdLib \
ns/lib/mac/patches \
ns/lib/mac/PowerPlant \
ns/lib/mac/UserInterface \
ns/modules/coreincl \
ns/modules/edtplug/macbuild \
ns/modules/libfont/jmcgen/include \
ns/modules/libfont/jmcgen/src \
ns/modules/libfont/macbuild \
ns/modules/progress/macbuild \
ns/modules/progress/public \
ns/modules/zlib/macbuild \
ns/lib/mariner \
JavaStubMac
JavaStubAll -a \
JavaStubWin \
JavaStubMac \
JavaStubUnix
JavaStubCore -a \
ns/sun-java/stubs/include \
ns/sun-java/stubs/src
JavaStubMac -a \
JavaStubCore \
ns/sun-java/stubs/macbuild \
ns/sun-java/stubs/macjri
JavaStubUnix -a \
JavaStubCore \
ns/sun-java/Makefile \
ns/sun-java/stubs/jri \
ns/sun-java/stubs/Makefile
JavaStubWin -a \
JavaStubCore \
ns/sun-java/makefile.win \
ns/sun-java/stubs/jri \
ns/sun-java/stubs/makefile.win

View File

@@ -1,15 +1,18 @@
Please be apprised of the following Legal Notices:
A) Wang contends that its U.S. Patent No. 4, 751,669 ("the '669
Patent") disclosing a "video text" system, is infringed by the following
functionality in the Netscape Navigator code: 1) the animated logo and
status line indicators --See Claims 1,8 and 9; 2) the "File Save As"
function --See Claims 23-27; 3) Bookmarks and Rename Bookmarks in the
Properties window --See Claims 20-22; 4) storing HTML, GIF, and JPEG
files and adding filename extensions based on mime types (performed in
Windows OS) --See Claim 38. Netscape believes the '669 Patent is
invalid and non-infringed. Netscape is vigorously defending against
Wang's claims.
A) The U.S. District Court for the Eastern District of Virginia has
ruled that the Netscape Navigator code does not infringe Wang's U.S.
Patent No. 4,751,669 ("the '669 Patent") because: 1) HTML is not
Videotex as defined by the '669 patent; 2) web servers are not central
suppliers; and 3) Navigator does not "connect," as defined by the '669
Patent, to web servers on the Internet. Wang may appeal this decision to
the Federal Circuit. Wang contended that its Patent disclosing a
"Videotext" system, is infringed by the following functionality in the
Netscape Navigator code: 1) the animated logo and status line indicators
--See Claims 1,8 and 9; 2) the "File Save As" function --See Claims
23-27; 3) Bookmarks and Rename Bookmarks in the Properties window --See
Claims 20-22; 4) storing HTML, GIF, and JPEG files and adding filename
extensions --See Claim 38
B) Intermind owns pending U.S. patent applications on communications
systems which employ metadata ("channel objects") to define a control

View File

@@ -1,83 +0,0 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = .
NSPRDIR = nsprpub
NSPR20 = 1
MOZILLA_CLIENT = 1
ifndef NO_MOCHA
DIRS_JS = js
endif
DIRS = config coreconf $(NSPRDIR) jpeg dbm xpcom
ifdef MOZ_NETCAST
DIRS += netcast
endif
ifdef MOZ_JAVA
DIRS += sun-java ldap ifc $(DIRS_JS) nav-java ifc/tools js/jsd
else
DIRS += sun-java nav-java $(DIRS_JS)
endif
ifndef NO_SECURITY
DIRS += security
endif
DIRS += modules lib l10n cmd
ifeq ($(STAND_ALONE_JAVA),1)
DIRS = config lib/xp $(NSPRDIR) jpeg modules/zlib sun-java ifc js ifc/tools sun-java/java
endif
include $(DEPTH)/config/rules.mk
export:: $(OBJS)
# Running this rule assembles all the SDK source pieces into dist/sdk.
# You'll need to run this rule on every platform to get all the
# binaries (e.g. javah) copied there. You'll also have to do special
# magic on a Mac.
sdk-src::
$(SDKINSTALL) include/npapi.h $(SDK)/include/
$(SDKINSTALL) include/jri_md.h $(SDK)/include/
$(SDKINSTALL) include/jritypes.h $(SDK)/include/
$(SDKINSTALL) include/jri.h $(SDK)/include/
$(SDKINSTALL) lib/plugin/npupp.h $(SDK)/include/
$(SDKINSTALL) sdk/common/*.c* $(SDK)/common/
$(SDKINSTALL) sun-java/classsrc/$(ZIP_NAME).x $(SDK)/classes/$(ZIP_NAME)
$(SDKINSTALL) sdk/examples/simple/Source/*.c $(SDK)/examples/simple/Source/
$(SDKINSTALL) sdk/examples/simple/Source/*.java $(SDK)/examples/simple/Source/
$(SDKINSTALL) sdk/examples/simple/Source/*.class $(SDK)/examples/simple/Source/
$(SDKINSTALL) sdk/examples/simple/Source/_gen/*.h $(SDK)/examples/simple/Source/_gen/
$(SDKINSTALL) sdk/examples/simple/Source/_stubs/*.c $(SDK)/examples/simple/Source/_stubs/
$(SDKINSTALL) sdk/examples/simple/Unix/makefile.* $(SDK)/examples/simple/Unix/
$(SDKINSTALL) sdk/examples/simple/Testing/SimpleExample.html $(SDK)/examples/simple/Testing/
$(SDKINSTALL) sdk/examples/simple/readme.html $(SDK)/examples/simple/
$(SDKINSTALL) sdk/examples/UnixTemplate/Source/*.c $(SDK)/examples/UnixTemplate/Source/
$(SDKINSTALL) sdk/examples/UnixTemplate/Testing/Test.html $(SDK)/examples/UnixTemplate/Testing/
$(SDKINSTALL) sdk/examples/UnixTemplate/Unix/makefile.* $(SDK)/examples/UnixTemplate/Unix/
$(SDKINSTALL) sdk/examples/UnixTemplate/readme.html $(SDK)/examples/UnixTemplate/
sdk-bin::
cd sdk; $(MAKE); cd ..
$(SDKINSTALL) $(DIST)/bin/javah$(BIN_SUFFIX) $(SDK)/bin/$(OS_CONFIG)/
$(SDKINSTALL) sdk/examples/simple/Source/$(OBJDIR)/npsimple.$(DLL_SUFFIX) $(SDK)/bin/$(OS_CONFIG)/
$(SDKINSTALL) sdk/examples/UnixTemplate/Source/$(OBJDIR)/nptemplate.$(DLL_SUFFIX) $(SDK)/bin/$(OS_CONFIG)/

24
mozilla/base/Makefile Normal file
View File

@@ -0,0 +1,24 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ..
DIRS = public src tests
include $(DEPTH)/config/config.mk
include $(DEPTH)/config/rules.mk

Binary file not shown.

23
mozilla/base/makefile.win Normal file
View File

@@ -0,0 +1,23 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..
IGNORE_MANIFEST=1
DIRS=public src tests
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,5 @@
#
# This is a list of local files which get copied to the mozilla:dist:base directory
#
nsISizeOfHandler.h

View File

@@ -0,0 +1,30 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=../..
DEFINES = -D_IMPL_NS_BASE
EXPORTS = \
nsISizeOfHandler.h \
$(NULL)
MODULE = raptor
include $(DEPTH)/config/config.mk
include $(DEPTH)/config/rules.mk

View File

@@ -0,0 +1,30 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..
IGNORE_MANIFEST=1
DEFINES = -D_IMPL_NS_BASE
EXPORTS = \
nsISizeOfHandler.h \
$(NULL)
MODULE = raptor
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,66 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsISizeOfHandler_h___
#define nsISizeOfHandler_h___
#include "nscore.h"
#include "nsISupports.h"
/* c028d1f0-fc9e-11d1-89e4-006008911b81 */
#define NS_ISIZEOF_HANDLER_IID \
{ 0xc028d1f0, 0xfc9e, 0x11d1, {0x89, 0xe4, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81}}
/**
* An API to managing a sizeof computation of an arbitrary graph.
* The handler is responsible for remembering which objects have been
* seen before. Note that the handler doesn't hold references to
* nsISupport's objects; the assumption is that the objects being
* sized are stationary and will not be modified during the sizing
* computation and therefore do not need an extra reference count.
*/
class nsISizeOfHandler : public nsISupports {
public:
/**
* Add in a simple size value to the running total.
* Always returns NS_OK.
*/
NS_IMETHOD Add(size_t aSize) = 0;
/**
* Update aResult with PR_TRUE if the object has been traversed
* by the sizeof computation before. Otherwise aResult is set to
* PR_FALSE and the object is added to the internal database
* of objects that have been traversed. It's ok to pass a null
* pointer in; aResult will be set to PR_TRUE so you won't accidently
* try to traverse through null pointer.
*
* Note: This violates the COM API standard on purpose; so there!
*/
virtual PRBool HaveSeen(void* anObject) = 0;
/**
* Return the currently computed size.
* Always returns NS_OK.
*/
NS_IMETHOD GetSize(PRUint32& aResult) = 0;
};
extern NS_BASE nsresult
NS_NewSizeOfHandler(nsISizeOfHandler** aInstancePtrResult);
#endif /* nsISizeofHandler_h___ */

22
mozilla/base/src/MANIFEST Normal file
View File

@@ -0,0 +1,22 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
nscore.h
nsIArena.h
nsIAtom.h
nsIByteBuffer.h
nsBTree.h
nsCRT.h
nsDeque.h
nsITimer.h
nsITimerCallback.h
nsIUnicharBuffer.h
nsRBTree.h
nsIUnicharInputStream.h
nsString.h
nsVoidArray.h
nsUnitConversion.h
nsIBaseStream.h
nsIInputStream.h
nsIOutputStream.h

70
mozilla/base/src/Makefile Normal file
View File

@@ -0,0 +1,70 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=../..
DEFINES =-D_IMPL_NS_BASE
DIRS = unix
LIBRARY_NAME = raptorbase
CPPSRCS = \
nsArena.cpp \
nsAtomTable.cpp \
nsBTree.cpp \
nsByteBuffer.cpp \
nsCRT.cpp \
nsDeque.cpp \
nsRBTree.cpp \
nsSizeOfHandler.cpp \
nsString.cpp \
nsUnicharBuffer.cpp \
nsUnicharInputStream.cpp \
nsVoidArray.cpp \
$(NULL)
EXPORTS = \
nscore.h \
nsBTree.h \
nsCRT.h \
nsDeque.h \
nsIArena.h \
nsIAtom.h \
nsIByteBuffer.h \
nsIBaseStream.h \
nsIInputStream.h \
nsIOutputStream.h \
nsITimer.h \
nsITimerCallback.h \
nsIUnicharBuffer.h \
nsIUnicharInputStream.h \
nsRBTree.h \
nsString.h \
nsVoidArray.h \
nsUnitConversion.h \
$(NULL)
MODULE = raptor
REQUIRES = xpcom netlib raptor
include $(DEPTH)/config/config.mk
TARGET = $(LIBARY)
include $(DEPTH)/config/rules.mk

View File

@@ -0,0 +1,283 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
//
// Mac implementation of the nsITimer interface
//
// nsMacTimerPeriodical idles,
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include "prlog.h"
#include <LPeriodical.h>
#include <LArray.h>
#include <LArrayIterator.h>
#include <LComparator.h>
#pragma mark class TimerImpl
//
// TimerImpl implements nsITimer API
//
class TimerImpl : public nsITimer
{
private:
nsTimerCallbackFunc mCallbackFunc;
nsITimerCallback * mCallbackObject;
void * mClosure;
PRUint32 mDelay;
UInt32 mFireTime; // Timer should fire when TickCount >= this number
public:
// constructors
TimerImpl();
virtual ~TimerImpl(){};
NS_DECL_ISUPPORTS
UInt32 GetFireTime() { return mFireTime; }
void Fire();
// nsITimer overrides
virtual nsresult Init(nsTimerCallbackFunc aFunc,
void *aClosure,
PRUint32 aDelay);
virtual nsresult Init(nsITimerCallback *aCallback,
PRUint32 aDelay);
virtual void Cancel();
virtual PRUint32 GetDelay();
virtual void SetDelay(PRUint32 aDelay);
private:
// Calculates mFireTime too
void SetDelaySelf( PRUint32 aDelay );
};
#pragma mark class TimerPeriodical
//
// TimerPeriodical is a singleton LPeriodical subclass that fires
// off TimerImpl. The firing is done on idle
//
class TimerPeriodical : public LPeriodical
{
static TimerPeriodical * gPeriodical;
LArray * mTimers; // List of TimerImpl *
public:
// Returns the singleton instance
static TimerPeriodical * GetPeriodical();
TimerPeriodical();
virtual ~TimerPeriodical();
nsresult AddTimer( TimerImpl * aTimer);
nsresult RemoveTimer( TimerImpl * aTimer);
virtual void SpendTime( const EventRecord &inMacEvent);
};
#pragma mark class TimerImplComparator
//
// TimerImplComparator compares two TimerImpl
//
class TimerImplComparator : public LComparator
{
virtual Int32 Compare(
const void* inItemOne,
const void* inItemTwo,
Uint32 inSizeOne,
Uint32 inSizeTwo) const;
};
//
// TimerImpl implementation
//
static NS_DEFINE_IID(kITimerIID, NS_ITIMER_IID);
NS_IMPL_ISUPPORTS(TimerImpl, kITimerIID)
TimerImpl::TimerImpl()
{
NS_INIT_REFCNT();
mCallbackFunc = NULL;
mCallbackObject = NULL;
mClosure = NULL;
mDelay = 0;
mFireTime = 0;
}
nsresult TimerImpl::Init(nsTimerCallbackFunc aFunc,
void *aClosure,
PRUint32 aDelay)
{
mCallbackFunc = aFunc;
mClosure = aClosure;
SetDelaySelf(aDelay);
return TimerPeriodical::GetPeriodical()->AddTimer(this);
}
nsresult TimerImpl::Init(nsITimerCallback *aCallback,
PRUint32 aDelay)
{
mCallbackObject = aCallback;
SetDelaySelf(aDelay);
return TimerPeriodical::GetPeriodical()->AddTimer(this);
}
void TimerImpl::Cancel()
{
TimerPeriodical::GetPeriodical()->RemoveTimer(this);
}
PRUint32 TimerImpl::GetDelay()
{
return mDelay;
}
void TimerImpl::SetDelay(PRUint32 aDelay)
{
SetDelaySelf(aDelay);
// Make sure that timer was sorted
NS_ADDREF(this);
TimerPeriodical::GetPeriodical()->RemoveTimer(this);
TimerPeriodical::GetPeriodical()->AddTimer(this);
NS_RELEASE(this);
}
void TimerImpl::Fire()
{
if (mCallbackFunc != NULL) {
(*mCallbackFunc)(this, mClosure);
}
else if (mCallbackObject != NULL) {
mCallbackObject->Notify(this); // Fire the timer
}
}
void TimerImpl::SetDelaySelf( PRUint32 aDelay )
{
mDelay = aDelay;
mFireTime = TickCount() + mDelay / 100 * 6; // We need mFireTime in ticks, 1/60th of a second
}
TimerPeriodical * TimerPeriodical::gPeriodical = NULL;
TimerPeriodical * TimerPeriodical::GetPeriodical()
{
if (gPeriodical == NULL)
gPeriodical = new TimerPeriodical();
return gPeriodical;
}
TimerPeriodical::TimerPeriodical()
{
mTimers = new LArray( sizeof(TimerImpl*));
mTimers->SetComparator( new TimerImplComparator());
mTimers->SetKeepSorted( true );
}
TimerPeriodical::~TimerPeriodical()
{
PR_ASSERT(mTimers->GetCount() == 0);
delete mTimers;
}
nsresult TimerPeriodical::AddTimer( TimerImpl * aTimer)
{
try
{
NS_ADDREF(aTimer);
mTimers->AddItem( aTimer );
StartRepeating();
}
catch(...)
{
return NS_ERROR_UNEXPECTED;
}
return NS_OK;
}
nsresult TimerPeriodical::RemoveTimer( TimerImpl * aTimer)
{
mTimers->Remove( aTimer );
NS_RELEASE( aTimer );
if ( mTimers->GetCount() == 0 )
StopRepeating();
return NS_OK;
}
// Called through every event loop
// Loops through the list of available timers, and
// fires off the available ones
void TimerPeriodical::SpendTime( const EventRecord &inMacEvent)
{
LArrayIterator iter( *mTimers, LArrayIterator::from_Start);
TimerImpl * timer;
while (iter.Next( &timer))
{
if ( timer->GetFireTime() <= inMacEvent.when )
{
NS_ADDREF(timer);
RemoveTimer(timer);
timer->Fire();
NS_RELEASE(timer);
}
else
break; // Items are sorted, so we do not need to iterate until the end
}
}
//
// class TimerImplComparator implementation
//
Int32 TimerImplComparator::Compare(
const void* inItemOne,
const void* inItemTwo,
Uint32 inSizeOne,
Uint32 inSizeTwo) const
{
return (( TimerImpl *) inItemOne)->GetFireTime() - (( TimerImpl *) inItemTwo)->GetFireTime();
}
NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult)
{
NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
if (nsnull == aInstancePtrResult) {
return NS_ERROR_NULL_POINTER;
}
TimerImpl *timer = new TimerImpl();
if (nsnull == timer) {
return NS_ERROR_OUT_OF_MEMORY;
}
return timer->QueryInterface(kITimerIID, (void **) aInstancePtrResult);
}

View File

@@ -0,0 +1,99 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..
IGNORE_MANIFEST=1
DIRS = windows
DEFINES=-D_IMPL_NS_BASE -DWIN32_LEAN_AND_MEAN
LIBRARY_NAME=raptorbase
CPPSRCS = \
nsArena.cpp \
nsAtomTable.cpp \
nsBTree.cpp \
nsByteBuffer.cpp \
nsCRT.cpp \
nsDeque.cpp \
nsRBTree.cpp \
nsSizeOfHandler.cpp \
nsString.cpp \
nsUnicharBuffer.cpp \
nsUnicharInputStream.cpp \
nsVoidArray.cpp \
$(NULL)
CPP_OBJS = \
.\$(OBJDIR)\nsArena.obj \
.\$(OBJDIR)\nsAtomTable.obj \
.\$(OBJDIR)\nsBTree.obj \
.\$(OBJDIR)\nsByteBuffer.obj \
.\$(OBJDIR)\nsCRT.obj \
.\$(OBJDIR)\nsDeque.obj \
.\$(OBJDIR)\nsRBTree.obj \
.\$(OBJDIR)\nsSizeOfHandler.obj \
.\$(OBJDIR)\nsString.obj \
.\$(OBJDIR)\nsUnicharBuffer.obj \
.\$(OBJDIR)\nsUnicharInputStream.obj \
.\$(OBJDIR)\nsVoidArray.obj \
$(NULL)
EXPORTS=nscore.h nsIArena.h nsIAtom.h nsIByteBuffer.h \
nsBTree.h nsCRT.h nsDeque.h nsITimer.h \
nsITimerCallback.h nsIUnicharBuffer.h nsRBTree.h \
nsIUnicharInputStream.h nsString.h nsVoidArray.h \
nsUnitConversion.h \
nsIBaseStream.h nsIInputStream.h nsIOutputStream.h
MODULE=raptor
REQUIRES=xpcom netlib raptor
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\netlib \
-I$(PUBLIC)\raptor
MAKE_OBJ_TYPE = DLL
DLLNAME = raptorbase
DLL=.\$(OBJDIR)\$(DLLNAME).dll
OBJS = $(OBJS) .\$(OBJDIR)\nsTimer.obj
LCFLAGS = \
$(LCFLAGS) \
$(DEFINES) \
$(NULL)
# These are the libraries we need to link with to create the dll
LLIBS= \
$(DIST)\lib\xpcom32.lib \
$(DIST)\lib\libplc21.lib \
$(LIBNSPR)
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib
!endif
include <$(DEPTH)\config\rules.mak>
libs:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
clobber::
rm -f $(DIST)\bin\$(DLLNAME).dll
rm -f $(DIST)\lib\$(DLLNAME).lib

View File

@@ -0,0 +1,80 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIArena.h"
#include "nsCRT.h"
#define PL_ARENA_CONST_ALIGN_MASK 7
#include "plarena.h"
static NS_DEFINE_IID(kArenaIID, NS_IARENA_IID);
// Simple arena implementation layered on plarena
class ArenaImpl : public nsIArena {
public:
ArenaImpl(PRInt32 aBlockSize);
NS_DECL_ISUPPORTS
virtual void* Alloc(PRInt32 aSize);
protected:
~ArenaImpl();
PLArenaPool mPool;
PRInt32 mBlockSize;
};
ArenaImpl::ArenaImpl(PRInt32 aBlockSize)
{
NS_INIT_REFCNT();
if (aBlockSize < NS_MIN_ARENA_BLOCK_SIZE) {
aBlockSize = NS_DEFAULT_ARENA_BLOCK_SIZE;
}
PL_INIT_ARENA_POOL(&mPool, "nsIArena", aBlockSize);
mBlockSize = aBlockSize;
}
NS_IMPL_ISUPPORTS(ArenaImpl,kArenaIID)
ArenaImpl::~ArenaImpl()
{
PL_FinishArenaPool(&mPool);
}
void* ArenaImpl::Alloc(PRInt32 size)
{
// Adjust size so that it's a multiple of sizeof(double)
PRInt32 align = size & (sizeof(double) - 1);
if (0 != align) {
size += sizeof(double) - align;
}
void* p;
PL_ARENA_ALLOCATE(p, &mPool, size);
return p;
}
NS_BASE nsresult NS_NewHeapArena(nsIArena** aInstancePtrResult,
PRInt32 aArenaBlockSize)
{
ArenaImpl* it = new ArenaImpl(aArenaBlockSize);
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kArenaIID, (void **) aInstancePtrResult);
}

View File

@@ -0,0 +1,154 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIAtom.h"
#include "nsString.h"
#include "nsCRT.h"
#include "plhash.h"
#include "nsISizeOfHandler.h"
/**
* The shared hash table for atom lookups.
*/
static nsrefcnt gAtoms;
static struct PLHashTable* gAtomHashTable;
class AtomImpl : public nsIAtom {
public:
AtomImpl();
~AtomImpl();
NS_DECL_ISUPPORTS
void* operator new(size_t size, const PRUnichar* us, PRInt32 uslen);
virtual void ToString(nsString& aBuf) const;
virtual const PRUnichar* GetUnicode() const;
NS_IMETHOD SizeOf(nsISizeOfHandler* aHandler) const;
// Actually more; 0 terminated. This slot is reserved for the
// terminating zero.
PRUnichar mString[1];
};
AtomImpl::AtomImpl()
{
NS_INIT_REFCNT();
// Every live atom holds a reference on the atom hashtable
gAtoms++;
}
AtomImpl::~AtomImpl()
{
NS_PRECONDITION(nsnull != gAtomHashTable, "null atom hashtable");
if (nsnull != gAtomHashTable) {
PL_HashTableRemove(gAtomHashTable, mString);
nsrefcnt cnt = --gAtoms;
if (0 == cnt) {
// When the last atom is destroyed, the atom arena is destroyed
NS_ASSERTION(0 == gAtomHashTable->nentries, "bad atom table");
PL_HashTableDestroy(gAtomHashTable);
gAtomHashTable = nsnull;
}
}
}
static NS_DEFINE_IID(kIAtomIID, NS_IATOM_IID);
NS_IMPL_ISUPPORTS(AtomImpl, kIAtomIID);
void* AtomImpl::operator new(size_t size, const PRUnichar* us, PRInt32 uslen)
{
size = size + uslen * sizeof(PRUnichar);
AtomImpl* ii = (AtomImpl*) new char[size];
nsCRT::memcpy(ii->mString, us, uslen * sizeof(PRUnichar));
ii->mString[uslen] = 0;
return ii;
}
void AtomImpl::ToString(nsString& aBuf) const
{
aBuf.SetLength(0);
aBuf.Append(mString, nsCRT::strlen(mString));
}
const PRUnichar* AtomImpl::GetUnicode() const
{
return mString;
}
NS_IMETHODIMP
AtomImpl::SizeOf(nsISizeOfHandler* aHandler) const
{
aHandler->Add(sizeof(*this) + nsCRT::strlen(mString) * sizeof(PRUnichar));
return NS_OK;
}
//----------------------------------------------------------------------
static PLHashNumber HashKey(const PRUnichar* k)
{
return (PLHashNumber) nsCRT::HashCode(k);
}
static PRIntn CompareKeys(const PRUnichar* k1, const PRUnichar* k2)
{
return nsCRT::strcmp(k1, k2) == 0;
}
NS_BASE nsIAtom* NS_NewAtom(const char* isolatin1)
{
nsAutoString tmp(isolatin1);
return NS_NewAtom(tmp.GetUnicode());
}
NS_BASE nsIAtom* NS_NewAtom(const nsString& aString)
{
return NS_NewAtom(aString.GetUnicode());
}
NS_BASE nsIAtom* NS_NewAtom(const PRUnichar* us)
{
if (nsnull == gAtomHashTable) {
gAtomHashTable = PL_NewHashTable(8, (PLHashFunction) HashKey,
(PLHashComparator) CompareKeys,
(PLHashComparator) nsnull,
nsnull, nsnull);
}
PRInt32 uslen;
PRInt32 hashCode = nsCRT::HashCode(us, &uslen);
PLHashEntry** hep = PL_HashTableRawLookup(gAtomHashTable, hashCode, us);
PLHashEntry* he = *hep;
if (nsnull != he) {
nsIAtom* id = (nsIAtom*) he->value;
NS_ADDREF(id);
return id;
}
AtomImpl* id = new(us, uslen) AtomImpl();
PL_HashTableRawAdd(gAtomHashTable, hep, hashCode, id->mString, id);
NS_ADDREF(id);
return id;
}
NS_BASE nsrefcnt NS_GetNumberOfAtoms(void)
{
if (nsnull != gAtomHashTable) {
NS_PRECONDITION(nsrefcnt(gAtomHashTable->nentries) == gAtoms, "bad atom table");
}
return gAtoms;
}

View File

@@ -0,0 +1,402 @@
/**
* This file defines the binary tree class and it
* nsNode child class.
*
* This simple version stores nodes, and the
* nodes store void* ptrs.
*
* @update gess 4/11/98
* @param
* @return
*/
#include "nsBTree.h"
/**
* default constructor
*
* @update gess 4/11/98
*/
nsNode::nsNode(){
mLeft=0;
mRight=0;
mParent=0;
mColor=eBlack;
}
/**
* Copy constructor
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode::nsNode(const nsNode& aNode){
mLeft=aNode.mLeft;
mRight=aNode.mRight;
mParent=aNode.mParent;
mColor=aNode.mColor;
}
/**
* destructor
*
* @update gess 4/11/98
*/
nsNode::~nsNode(){
}
/**
* Retrive ptr to parent node
*
* @update gess 4/11/98
* @return ptr to parent node
*/
nsNode* nsNode::GetParentNode(void) const{
return mParent;
}
/**
* Retrieve ptr to left (less) node
*
* @update gess 4/11/98
* @return ptr to left (may be NULL)
*/
nsNode* nsNode::GetLeftNode(void) const{
return mLeft;
}
/**
* Retrieve ptr to right (more) node
*
* @update gess 4/11/98
* @return ptr to right node (may be NULL)
*/
nsNode* nsNode::GetRightNode(void) const{
return mRight;
}
/**
*
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode& nsNode::operator=(const nsNode& aNode){
if(this!=&aNode){
mLeft=aNode.mLeft;
mRight=aNode.mRight;
mParent=aNode.mParent;
mColor=aNode.mColor;
}
return *this;
}
/********************************************************
* Here comes the BTREE class...
********************************************************/
/**
* nsBTree constructor
*
* @update gess 4/11/98
*/
nsBTree::nsBTree(){
mRoot=0;
}
/**
* destructor
*
* @update gess 4/11/98
*/
nsBTree::~nsBTree(){
if(mRoot){
//walk the tree and destroy the children.
}
}
/**
* Given a node, we're supposed to add it into
* our tree.
*
* @update gess 4/11/98
* @param aNode to be added to tree
* @return ptr to added node or NULL
*/
nsNode* nsBTree::Add(nsNode& aNode){
nsNode* node1=mRoot; //x
nsNode* node2=0; //y
while(node1) {
node2=node1;
if(aNode<*node1)
node1=node1->mLeft;
else node1=node1->mRight;
}
aNode.mParent=node2;
if(!node2){
mRoot=&aNode;
}
else{
if(aNode<*node2)
node2->mLeft=&aNode;
else node2->mRight=&aNode;
}
return &aNode;
}
/**
* Removes given node from tree if present.
*
* @update gess 4/11/98
* @param aNode to be found and removed
* @return ptr to remove node, or NULL
*/
nsNode* nsBTree::Remove(nsNode& aNode){
nsNode* result=0;
nsNode* node3=Find(aNode);
if(node3) {
nsNode* node1;
nsNode* node2;
if((!node3->mLeft) || (!node3->mRight))
node2=node3;
else node2=After(*node3);
if(node2->mLeft)
node1=node2->mLeft;
else node1=node2->mRight;
if(node1)
node1->mParent=node2->mParent;
if(node2->mParent) {
if(node2==node2->mParent->mLeft)
node2->mParent->mLeft=node1;
else node2->mParent->mRight=node1;
}
else mRoot=node1;
if(node2!=node3)
(*node3)==(*node2);
if(node2->mColor == nsNode::eBlack)
ReBalance(*node1);
delete node2;
result=&aNode;
}
return result;
}
/**
* Clears the tree of any data.
* Be careful here if your objects are heap based!
* This method doesn't free the objects, so if you
* don't have your own pointers, they will become
* orphaned.
*
* @update gess 4/11/98
* @param
* @return this
*/
nsBTree& nsBTree::Empty(nsNode* aNode) {
mRoot=0;
return *this;
}
/**
* This method destroys all the objects in the tree.
* WARNING: Never call this method on stored objects
* that are stack-based!
*
* @update gess 4/11/98
* @param
* @return this
*/
nsBTree& nsBTree::Erase(nsNode* aNode){
// nsNode* node1 =(aNode) ? aNode : mRoot;
if(aNode) {
Erase(aNode->mLeft); //begin by walking left side
Erase(aNode->mRight); //then search right side
delete aNode; //until a leaf, then delete
}
return *this;
}
/**
* Retrieve ptr to first node in tree
*
* @update gess 4/11/98
* @return
*/
nsNode* nsBTree::First(void) const{
if(mRoot)
return First(*mRoot);
return 0;
}
/**
* Retrive ptr to first node rel to given node
*
* @update gess 4/11/98
* @param node to begin scan from
* @return ptr to first node from given node or NULL
*/
nsNode* nsBTree::First(const nsNode& aNode) const{
nsNode* result=0;
if(mRoot) {
result=mRoot;
while(result->GetLeftNode()) {
result=result->GetLeftNode();
}
}
return result;
}
/**
* Retrive ptr to last node
*
* @update gess 4/11/98
* @return ptr to last node rel to root or NULL
*/
nsNode* nsBTree::Last(void) const{
if(mRoot)
return Last(*mRoot);
return 0;
}
/**
* Retrive ptr to last node rel to given node
*
* @update gess 4/11/98
* @param node to begin scan from
* @return ptr to first node from given node or NULL
*/
nsNode* nsBTree::Last(const nsNode& aNode) const{
nsNode* result=0;
if(mRoot) {
result=mRoot;
while(result->GetRightNode()) {
result=result->GetRightNode();
}
}
return result;
}
/**
* Retrive ptr to prior node rel to given node
*
* @update gess 4/11/98
* @param node to begin scan from
* @return ptr to prior node from given node or NULL
*/
nsNode* nsBTree::Before(const nsNode& aNode) const{
if(aNode.GetLeftNode())
return Last(*aNode.GetLeftNode());
//otherwise...
nsNode* node1=(nsNode*)&aNode;
nsNode* node2=aNode.GetParentNode();
while((node2) && (node1==node2->GetLeftNode())) {
node1=node2;
node2=node2->GetParentNode();
}
return node2;
}
/**
* Retrive ptr to next node rel to given node
*
* @update gess 4/11/98
* @param node to begin scan from
* @return ptr to next node from given node or NULL
*/
nsNode* nsBTree::After(const nsNode& aNode) const{
if(aNode.GetRightNode())
return First(*aNode.GetRightNode());
//otherwise...
nsNode* node1=(nsNode*)&aNode;
nsNode* node2=aNode.GetParentNode();
while((node2) && (node1==node2->GetRightNode())) {
node1=node2;
node2=node2->GetParentNode();
}
return node2;
}
/**
* Scan for given node
*
* @update gess 4/11/98
* @param node to find
* @return ptr to given node, or NULL
*/
nsNode* nsBTree::Find(const nsNode& aNode) const{
nsNode* result=mRoot;
while((result) && (!(aNode==(*result)))) {
if(aNode<*result)
result=result->mLeft;
else result=result->mRight;
}
return (nsNode*)result;
}
/**
* Rebalances tree around the given node. This only
* needs to be called after a node is deleted.
* This method does nothing for btrees, but is
* needed for RBTrees.
*
* @update gess 4/11/98
* @param aNode -- node to balance around
* @return this
*/
nsBTree& nsBTree::ReBalance(nsNode& aNode){
return *this;
}
/**
*
*
* @update gess 4/11/98
* @param
* @return
*/
const nsBTree& nsBTree::ForEach(nsNodeFunctor& aFunctor,nsNode* aNode) const{
nsNode* node1 =(aNode) ? aNode : mRoot;
if(node1) {
if(node1->mLeft)
ForEach(aFunctor,node1->mLeft); //begin by walking left side
aFunctor(*node1);
if(node1->mRight)
ForEach(aFunctor,node1->mRight); //then search right side
}
return *this;
}

283
mozilla/base/src/nsBTree.h Normal file
View File

@@ -0,0 +1,283 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/**
* This file defines the binary tree class and it
* nsNode child class. Note that like all nsBTree
* containers, this one does not automatically balance.
* (Find for random data, bad for pre-ordered data).
*
* This simple version stores nodes, and the
* nodes store void* ptrs.
*
* @update gess 4/11/98
*/
/**
* nsNode
*
* @update gess 4/11/98
* @param
* @return
*/
#ifndef _BTREE_H
#define _BTREE_H
#include "nscore.h"
struct NS_BASE nsNode {
/**
*
* @update gess4/20/98
* @param
* @return
*/
nsNode();
/**
* Copy constructor
* @update gess 4/11/98
*/
nsNode(const nsNode& aNode);
/**
* destructor
* @update gess 4/11/98
*/
virtual ~nsNode();
/**
* Retrieve parent node
*
* @update gess 4/11/98
* @return
*/
nsNode* GetParentNode(void) const;
/**
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* GetLeftNode() const;
/**
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* GetRightNode() const;
/**
*
* @update gess 4/11/98
* @param
* @return
*/
virtual nsNode& operator=(const nsNode& aNode);
/**
* This method gets called to determine which of
* two nodes is less. When you create your own
* subclass of nsNode, this is the most important
* method for you to overload.
*
* @update gess 4/11/98
* @param
* @return
*/
virtual PRBool operator<(const nsNode& aNode) const=0;
/**
* This method gets called to determine which of
* two nodes is less. When you create your own
* subclass of nsNode, this is the most important
* method for you to overload.
*
* @update gess 4/11/98
* @param
* @return
*/
virtual PRBool operator==(const nsNode& aNode) const=0;
enum eRBColor {eRed,eBlack};
nsNode* mParent;
nsNode* mLeft;
nsNode* mRight;
eRBColor mColor;
};
/**
* The Nodefunctor class is used when you want to create
* callbacks between the nsRBTree and your generic code.
*
* @update gess4/20/98
*/
class NS_BASE nsNodeFunctor {
public:
virtual nsNodeFunctor& operator()(nsNode& aNode)=0;
};
/****************************************************
* Here comes the nsBTree class...
****************************************************/
class NS_BASE nsBTree {
public:
friend class nsBTreeIterator;
nsBTree();
virtual ~nsBTree();
/**
* Add given node reference into our tree.
*
* @update gess 4/11/98
* @param aNode is a ref to a node to be added
* @return newly added node
*/
nsNode* Add(nsNode& aNode);
/**
* Remove given node reference into our tree.
*
* @update gess 4/11/98
* @param aNode is a ref to a node to be removed
* @return Ptr to node if found (and removed) or NULL
*/
nsNode* Remove(nsNode& aNode);
/**
* Clears the tree of any data.
* Be careful here if your objects are heap based!
* This method doesn't free the objects, so if you
* don't have your own pointers, they will become
* orphaned.
*
* @update gess 4/11/98
* @param
* @return this
*/
nsBTree& Empty(nsNode* aNode=0);
/**
* This method destroys all the objects in the tree.
* WARNING: Never call this method on stored objects
* that are stack-based!
*
* @update gess 4/11/98
* @param
* @return this
*/
nsBTree& Erase(nsNode* aNode=0);
/**
* Retrieve ptr to 1st node in tree (starting at root)
*
* @update gess 4/11/98
* @return ptr to 1st node, possible to be NULL
*/
nsNode* First(void) const;
/**
* Find first node in tree starting at given node
*
* @update gess 4/11/98
* @param aNode node to begin 1st search from
* @return ptr to 1st node below given node
*/
nsNode* First(const nsNode& aNode) const;
/**
* Retrieve ptr to last node in tree relative to root.
*
* @update gess 4/11/98
* @return ptr to last node or NULL
*/
nsNode* Last(void) const;
/**
* Retrieve ptr to last node in tree relative to given node.
*
* @update gess 4/11/98
* @param node to find last node from
* @return ptr to last node or NULL
*/
nsNode* Last(const nsNode& aNode) const;
/**
* Retrieve a ptr to the node that preceeds given node
*
* @update gess 4/11/98
* @param aNode used as reference to find prev.
* @return ptr to prev node or NULL
*/
nsNode* Before(const nsNode& aNode) const;
/**
* Retrieve a ptr to the node after given node
*
* @update gess 4/11/98
* @param aNode used as reference to find next.
* @return ptr to next node or NULL
*/
nsNode* After(const nsNode& aNode) const;
/**
* Find given node in tree.
* (Why would you want to find a node you already have?)
*
* @update gess 4/11/98
* @param aNode is the node you're searching for
* @return ptr to node if found, or NULL
*/
nsNode* Find(const nsNode& aNode) const;
/**
* Walks the tree, starting with root.
*
* @update gess 4/11/98
*/
virtual const nsBTree& ForEach(nsNodeFunctor& aFunctor,nsNode* aNode=0) const;
protected:
/**
* Rebalances tree around the given node. This only
* needs to be called after a node is deleted.
*
* @update gess 4/11/98
* @param aNode -- node to balance around
* @return this
*/
virtual nsBTree& ReBalance(nsNode& aNode);
nsNode* mRoot;
};
#endif

View File

@@ -0,0 +1,138 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIByteBuffer.h"
#include "nsIInputStream.h"
#include "nsCRT.h"
#define MIN_BUFFER_SIZE 32
class ByteBufferImpl : public nsIByteBuffer {
public:
ByteBufferImpl(PRInt32 aBufferSize);
~ByteBufferImpl();
NS_DECL_ISUPPORTS
virtual PRInt32 GetLength() const;
virtual PRInt32 GetBufferSize() const;
virtual char* GetBuffer() const;
virtual PRBool Grow(PRInt32 aNewSize);
virtual PRInt32 Fill(nsresult* aErrorCode, nsIInputStream* aStream,
PRInt32 aKeep);
char* mBuffer;
PRInt32 mSpace;
PRInt32 mLength;
};
ByteBufferImpl::ByteBufferImpl(PRInt32 aBufferSize)
{
if (PRUint32(aBufferSize) < MIN_BUFFER_SIZE) {
aBufferSize = MIN_BUFFER_SIZE;
}
mSpace = aBufferSize;
mBuffer = new char[aBufferSize];
mLength = 0;
NS_INIT_REFCNT();
}
NS_DEFINE_IID(kByteBufferIID,NS_IBYTE_BUFFER_IID);
NS_IMPL_ISUPPORTS(ByteBufferImpl,kByteBufferIID)
ByteBufferImpl::~ByteBufferImpl()
{
if (nsnull != mBuffer) {
delete mBuffer;
mBuffer = nsnull;
}
mLength = 0;
}
PRInt32 ByteBufferImpl::GetLength() const
{
return mLength;
}
PRInt32 ByteBufferImpl::GetBufferSize() const
{
return mSpace;
}
char* ByteBufferImpl::GetBuffer() const
{
return mBuffer;
}
PRBool ByteBufferImpl::Grow(PRInt32 aNewSize)
{
if (PRUint32(aNewSize) < MIN_BUFFER_SIZE) {
aNewSize = MIN_BUFFER_SIZE;
}
char* newbuf = new char[aNewSize];
if (nsnull != newbuf) {
if (0 != mLength) {
nsCRT::memcpy(newbuf, mBuffer, mLength);
}
delete mBuffer;
mBuffer = newbuf;
return PR_TRUE;
}
return PR_FALSE;
}
PRInt32 ByteBufferImpl::Fill(nsresult* aErrorCode, nsIInputStream* aStream,
PRInt32 aKeep)
{
NS_PRECONDITION(nsnull != aStream, "null stream");
NS_PRECONDITION(PRUint32(aKeep) <= PRUint32(mLength), "illegal keep count");
if ((nsnull == aStream) || (PRUint32(aKeep) > PRUint32(mLength))) {
// whoops
*aErrorCode = NS_BASE_STREAM_ILLEGAL_ARGS;
return -1;
}
if (0 != aKeep) {
// Slide over kept data
nsCRT::memmove(mBuffer, mBuffer + (mLength - aKeep), aKeep);
}
// Read in some new data
mLength = aKeep;
PRInt32 amount = mSpace - aKeep;
PRInt32 nb;
*aErrorCode = aStream->Read(mBuffer, aKeep, amount, &nb);
if (NS_SUCCEEDED(*aErrorCode)) {
mLength += nb;
}
else
nb = 0;
return nb;
}
NS_BASE nsresult NS_NewByteBuffer(nsIByteBuffer** aInstancePtrResult,
nsISupports* aOuter,
PRInt32 aBufferSize)
{
if (nsnull != aOuter) {
return NS_ERROR_NO_AGGREGATION;
}
ByteBufferImpl* it = new ByteBufferImpl(aBufferSize);
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kByteBufferIID, (void **) aInstancePtrResult);
}

400
mozilla/base/src/nsCRT.cpp Normal file
View File

@@ -0,0 +1,400 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/**
* MODULE NOTES:
* @update gess7/30/98
*
* Much as I hate to do it, we were using string compares wrong.
* Often, programmers call functions like strcmp(s1,s2), and pass
* one or more null strings. Rather than blow up on these, I've
* added quick checks to ensure that cases like this don't cause
* us to fail.
*
* In general, if you pass a null into any of these string compare
* routines, we simply return 0.
*/
#include "nsCRT.h"
// XXX Bug: These tables don't lowercase the upper 128 characters properly
// This table maps uppercase characters to lower case characters;
// characters that are neither upper nor lower case are unaffected.
static const unsigned char kUpper2Lower[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64,
// upper band mapped to lower [A-Z] => [a-z]
97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,
112,113,114,115,116,117,118,119,120,121,122,
91, 92, 93, 94, 95,
96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,
112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,
128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,
144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,
160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,
176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,
192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,
208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,
224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,
240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255
};
static const unsigned char kLower2Upper[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
96,
// lower band mapped to upper [a-z] => [A-Z]
65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
123,124,125,126,127,
128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,
144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,
160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,
176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,
192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,
208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,
224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,
240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255
};
static const PRUnichar kIsoLatin1ToUCS2[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,
112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,
128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,
144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,
160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,
176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,
192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,
208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,
224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,
240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255
};
//----------------------------------------------------------------------
#define TOLOWER(_ucs2) \
(((_ucs2) < 256) ? PRUnichar(kUpper2Lower[_ucs2]) : _ToLower(_ucs2))
#define TOUPPER(_ucs2) \
(((_ucs2) < 256) ? PRUnichar(kLower2Upper[_ucs2]) : _ToUpper(_ucs2))
static PRUnichar _ToLower(PRUnichar aChar)
{
// XXX need i18n code here
return aChar;
}
static PRUnichar _ToUpper(PRUnichar aChar)
{
// XXX need i18n code here
return aChar;
}
//----------------------------------------------------------------------
PRUnichar nsCRT::ToUpper(PRUnichar aChar)
{
return TOUPPER(aChar);
}
PRUnichar nsCRT::ToLower(PRUnichar aChar)
{
return TOLOWER(aChar);
}
PRInt32 nsCRT::strlen(const PRUnichar* s)
{
PRInt32 len = 0;
if(s) {
while (*s++ != 0) {
len++;
}
}
return len;
}
/**
* Compare unichar string ptrs, stopping at the 1st null
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 and s2 both point to unichar strings
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strcmp(const PRUnichar* s1, const PRUnichar* s2)
{
if(s1 && s2) {
for (;;) {
PRUnichar c1 = *s1++;
PRUnichar c2 = *s2++;
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
if ((0==c1) || (0==c2)) break;
}
}
return 0;
}
/**
* Compare unichar string ptrs, stopping at the 1st null or nth char.
* NOTE: If either is null, we return 0.
* @update gess7/30/98
* @param s1 and s2 both point to unichar strings
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strncmp(const PRUnichar* s1, const PRUnichar* s2, PRInt32 n)
{
if(s1 && s2) {
if(0<n) {
while (--n >= 0) {
PRUnichar c1 = *s1++;
PRUnichar c2 = *s2++;
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
if ((0==c1) || (0==c2)) break;
}
}
else return 1;
}
return 0;
}
/**
* Compare unichar string ptrs without regard to case
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 and s2 both point to unichar strings
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strcasecmp(const PRUnichar* s1, const PRUnichar* s2)
{
if(s1 && s2) {
for (;;) {
PRUnichar c1 = *s1++;
PRUnichar c2 = *s2++;
if (c1 != c2) {
c1 = TOLOWER(c1);
c2 = TOLOWER(c2);
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
}
if ((0==c1) || (0==c2)) break;
}
}
return 0;
}
/**
* Compare unichar string ptrs, stopping at the 1st null or nth char;
* also ignoring the case of characters.
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 and s2 both point to unichar strings
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strncasecmp(const PRUnichar* s1, const PRUnichar* s2, PRInt32 n)
{
if(s1 && s2) {
if(0<n){
while (--n >= 0) {
PRUnichar c1 = *s1++;
PRUnichar c2 = *s2++;
if (c1 != c2) {
c1 = TOLOWER(c1);
c2 = TOLOWER(c2);
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
}
if ((0==c1) || (0==c2)) break;
}
} else return 1;
}
return 0;
}
/**
* Compare a unichar string ptr to cstring.
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 points to unichar string
* @param s2 points to cstring
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strcmp(const PRUnichar* s1, const char* s2)
{
if(s1 && s2) {
for (;;) {
PRUnichar c1 = *s1++;
PRUnichar c2 = kIsoLatin1ToUCS2[*(const unsigned char*)s2++];
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
if ((0==c1) || (0==c2)) break;
}
}
return 0;
}
/**
* Compare a unichar string ptr to cstring, up to N chars.
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 points to unichar string
* @param s2 points to cstring
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strncmp(const PRUnichar* s1, const char* s2, PRInt32 n)
{
if(s1 && s2) {
if(0<n){
while (--n >= 0) {
PRUnichar c1 = *s1++;
PRUnichar c2 = kIsoLatin1ToUCS2[*(const unsigned char*)s2++];
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
if ((0==c1) || (0==c2)) break;
}
} else return 1;
}
return 0;
}
/**
* Compare a unichar string ptr to cstring without regard to case
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 points to unichar string
* @param s2 points to cstring
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strcasecmp(const PRUnichar* s1, const char* s2)
{
if(s1 && s2) {
for (;;) {
PRUnichar c1 = *s1++;
PRUnichar c2 = kIsoLatin1ToUCS2[*(const unsigned char*)s2++];
if (c1 != c2) {
c1 = TOLOWER(c1);
c2 = TOLOWER(c2);
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
}
if ((0==c1) || (0==c2)) break;
}
}
return 0;
}
/**
* Caseless compare up to N chars between unichar string ptr to cstring.
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 points to unichar string
* @param s2 points to cstring
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strncasecmp(const PRUnichar* s1, const char* s2, PRInt32 n)
{
if(s1 && s2){
if(0<n){
while (--n >= 0) {
PRUnichar c1 = *s1++;
PRUnichar c2 = kIsoLatin1ToUCS2[*(const unsigned char*)s2++];
if (c1 != c2) {
c1 = TOLOWER(c1);
c2 = TOLOWER(c2);
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
}
if (c1 == 0) break;
}
} else return 1;
}
return 0;
}
PRInt32 nsCRT::HashCode(const PRUnichar* us)
{
PRInt32 rv = 0;
if(us) {
PRUnichar ch;
while ((ch = *us++) != 0) {
// FYI: rv = rv*37 + ch
rv = ((rv << 5) + (rv << 2) + rv) + ch;
}
}
return rv;
}
PRInt32 nsCRT::HashCode(const PRUnichar* us, PRInt32* uslenp)
{
PRInt32 rv = 0;
PRInt32 len = 0;
PRUnichar ch;
while ((ch = *us++) != 0) {
// FYI: rv = rv*37 + ch
rv = ((rv << 5) + (rv << 2) + rv) + ch;
len++;
}
*uslenp = len;
return rv;
}
PRInt32 nsCRT::atoi( const PRUnichar *string )
{
return atoi(string);
}

115
mozilla/base/src/nsCRT.h Normal file
View File

@@ -0,0 +1,115 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCRT_h___
#define nsCRT_h___
#include <stdlib.h>
#include <string.h>
#include "plstr.h"
#include "nscore.h"
/// This is a wrapper class around all the C runtime functions.
class NS_BASE nsCRT {
public:
/** Copy bytes from aSrc to aDest.
@param aDest the destination address
@param aSrc the source address
@param aCount the number of bytes to copy
*/
static void memcpy(void* aDest, const void* aSrc, PRInt32 aCount) {
::memcpy(aDest, aSrc, (size_t)aCount);
}
static void memmove(void* aDest, const void* aSrc, PRInt32 aCount) {
::memmove(aDest, aSrc, (size_t)aCount);
}
static void memset(void* aDest, PRUint8 aByte, PRInt32 aCount) {
::memset(aDest, aByte, aCount);
}
static void zero(void* aDest, PRInt32 aCount) {
::memset(aDest, 0, (size_t)aCount);
}
/** Compute the string length of s
@param s the string in question
@return the length of s
*/
static PRInt32 strlen(const char* s) {
return PRInt32(::strlen(s));
}
/// Compare s1 and s2.
static PRInt32 strcmp(const char* s1, const char* s2) {
return PRInt32(PL_strcmp(s1, s2));
}
/// Case-insensitive string comparison.
static PRInt32 strcasecmp(const char* s1, const char* s2) {
return PRInt32(PL_strcasecmp(s1, s2));
}
/// Case-insensitive string comparison with length
static PRInt32 strncasecmp(const char* s1, const char* s2, PRInt32 aMaxLen) {
return PRInt32(PL_strncasecmp(s1, s2, aMaxLen));
}
/// Like strlen except for ucs2 strings
static PRInt32 strlen(const PRUnichar* s);
/// Like strcmp except for ucs2 strings
static PRInt32 strcmp(const PRUnichar* s1, const PRUnichar* s2);
/// Like strcmp except for ucs2 strings
static PRInt32 strncmp(const PRUnichar* s1, const PRUnichar* s2,
PRInt32 aMaxLen);
/// Like strcasecmp except for ucs2 strings
static PRInt32 strcasecmp(const PRUnichar* s1, const PRUnichar* s2);
/// Like strncasecmp except for ucs2 strings
static PRInt32 strncasecmp(const PRUnichar* s1, const PRUnichar* s2,
PRInt32 aMaxLen);
/// Like strcmp with a char* and a ucs2 string
static PRInt32 strcmp(const PRUnichar* s1, const char* s2);
/// Like strncmp with a char* and a ucs2 string
static PRInt32 strncmp(const PRUnichar* s1, const char* s2,
PRInt32 aMaxLen);
/// Like strcasecmp with a char* and a ucs2 string
static PRInt32 strcasecmp(const PRUnichar* s1, const char* s2);
/// Like strncasecmp with a char* and a ucs2 string
static PRInt32 strncasecmp(const PRUnichar* s1, const char* s2,
PRInt32 aMaxLen);
/// Compute a hashcode for a ucs2 string
static PRInt32 HashCode(const PRUnichar* s1);
/// Same as above except that we return the length in s1len
static PRInt32 HashCode(const PRUnichar* s1, PRInt32* s1len);
/// String to integer.
static PRInt32 atoi( const PRUnichar *string );
static PRUnichar ToUpper(PRUnichar aChar);
static PRUnichar ToLower(PRUnichar aChar);
};
#endif /* nsCRT_h___ */

View File

@@ -0,0 +1,477 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsDeque.h"
#include "nsCRT.h"
/**
* Standard constructor
* @update gess4/18/98
* @return new deque
*/
nsDeque::nsDeque(nsDequeFunctor& aMemDestroyer) : mMemDestroyer(aMemDestroyer) {
mMemDestroyer=aMemDestroyer;
mCapacity=eGrowthDelta;
mOrigin=mSize=0;
mData=new void*[mCapacity];
}
/**
* Destructor
* @update gess4/18/98
*/
nsDeque::~nsDeque() {
Erase();
delete [] mData;
mData=0;
}
/**
* Returns the number of elements currently stored in
* this deque.
*
* @update gess4/18/98
* @param
* @return int contains element count
*/
PRInt32 nsDeque::GetSize(void) const {
return mSize;
}
/**
* Remove all items from container without destroying them.
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque& nsDeque::Empty() {
nsCRT::zero(mData,mCapacity*sizeof(mData));
mSize=0;
mOrigin=0;
return *this;
}
/**
* Remove and delete all items from container
*
* @update gess4/18/98
* @return this
*/
nsDeque& nsDeque::Erase() {
ForEach(mMemDestroyer);
return Empty();
}
/**
* This method adds an item to the end of the queue.
* This operation has the potential to cause the
* underlying buffer to resize.
*
* @update gess4/18/98
* @param anItem: new item to be added to queue
* @return nada
*/
nsDeque& nsDeque::Push(void* anItem) {
if(mSize==mCapacity) {
void** temp=new void*[mCapacity+eGrowthDelta];
//Here's the interesting part: You can't just move the elements
//directy (in situ) from the old buffer to the new one.
//Since capacity has changed, the old origin doesn't make
//sense anymore. It's better to resequence the elements now.
int tempi=0;
int i=0;
int j=0;
for(i=mOrigin;i<mCapacity;i++) temp[tempi++]=mData[i]; //copy the leading elements...
for(j=0;j<mOrigin;j++) temp[tempi++]=mData[j]; //copy the trailing elements...
mCapacity+=eGrowthDelta;
mOrigin=0; //now realign the origin...
delete[]mData;
mData=temp;
}
int offset=mOrigin+mSize;
if(offset<mCapacity)
mData[offset]=anItem;
else mData[offset-mCapacity]=anItem;
mSize++;
return *this;
}
/**
* This method gets called you want to remove and return
* the first member in the container.
*
* @update gess4/18/98
* @param nada
* @return last item in container
*/
void* nsDeque::Pop() {
void* result=0;
if(mSize>0) {
result=mData[mOrigin];
mData[mOrigin++]=0; //zero it out for debugging purposes.
mSize--;
if(0==mSize)
mOrigin=0;
}
return result;
}
/**
* This method gets called you want to peek at the topmost
* member without removing it.
*
* @update gess4/18/98
* @param nada
* @return last item in container
*/
void* nsDeque::Peek() {
void* result=0;
if(mSize>0) {
result=mData[mOrigin];
}
return result;
}
/**
* Remove and return the last item in the container.
*
* @update gess4/18/98
* @param none
* @return ptr to last item in container
*/
void* nsDeque::PopBack(void) {
void* result=0;
if(mSize>0) {
int offset=mOrigin+mSize;
if(offset>=mCapacity)
offset-=mCapacity;
result=mData[offset-1];
mData[offset-1]=0;
mSize--;
if(0==mSize)
mOrigin=0;
}
return result;
}
/**
* Call this to retrieve the ith element from this container.
* Keep in mind that accessing the underlying elements is
* done in a relative fashion. Object 0 is not necessarily
* the first element (the first element is at mOrigin).
*
* @update gess4/18/98
* @param anIndex : 0 relative offset of item you want
* @return void* or null
*/
void* nsDeque::ObjectAt(PRInt32 anIndex) const {
void* result=0;
if((anIndex>=0) && (anIndex<mSize))
{
if(anIndex<(mCapacity-mOrigin)) {
result=mData[mOrigin+anIndex];
}
else {
result=mData[anIndex-(mCapacity-mOrigin)];
}
}
return result;
}
/**
* Create and return an iterator pointing to
* the beginning of the queue. Note that this
* takes the circular buffer semantics into account.
*
* @update gess4/18/98
* @return new deque iterator, init'ed to 1st item
*/
nsDequeIterator nsDeque::Begin(void) const{
return nsDequeIterator(*this,0);
}
/**
* Create and return an iterator pointing to
* the last of the queue. Note that this
* takes the circular buffer semantics into account.
*
* @update gess4/18/98
* @return new deque iterator, init'ed to last item
*/
nsDequeIterator nsDeque::End(void) const{
return nsDequeIterator(*this,mSize);
}
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void nsDeque::ForEach(nsDequeFunctor& aFunctor) const{
int i=0;
for(i=0;i<mSize;i++){
void* obj=ObjectAt(i);
obj=aFunctor(obj);
}
}
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code. Iteration continues until your
* functor returns a non-null.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void* nsDeque::FirstThat(nsDequeFunctor& aFunctor) const{
int i=0;
for(i=0;i<mSize;i++){
void* obj=ObjectAt(i);
obj=aFunctor(obj);
if(obj)
return obj;
}
return 0;
}
/******************************************************
* Here comes the nsDequeIterator class...
******************************************************/
/**
* DequeIterator is an object that knows how to iterate (forward and backward)
* a Deque. Normally, you don't need to do this, but there are some special
* cases where it is pretty handy, so here you go.
*
* This is a standard dequeiterator constructor
*
* @update gess4/18/98
* @param aQueue is the deque object to be iterated
* @param anIndex is the starting position for your iteration
*/
nsDequeIterator::nsDequeIterator(const nsDeque& aQueue,int anIndex): mIndex(anIndex), mDeque(aQueue) {
}
/**
* Copy construct a new iterator beginning with given
*
* @update gess4/20/98
* @param aCopy is another iterator to copy from
* @return
*/
nsDequeIterator::nsDequeIterator(const nsDequeIterator& aCopy) : mIndex(aCopy.mIndex), mDeque(aCopy.mDeque) {
}
/**
* Standard assignment operator for dequeiterator
*
* @update gess4/18/98
* @param aCopy is an iterator to be copied from
* @return *this
*/
nsDequeIterator& nsDequeIterator::operator=(const nsDequeIterator& aCopy) {
//queue's are already equal.
mIndex=aCopy.mIndex;
return *this;
}
/**
* preform ! operation against to iterators to test for equivalence
* (or lack thereof)!
*
* @update gess4/18/98
* @param anIter is the object to be compared to
* @return TRUE if NOT equal.
*/
PRBool nsDequeIterator::operator!=(nsDequeIterator& anIter) {
return PRBool(!this->operator==(anIter));
}
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool nsDequeIterator::operator<(nsDequeIterator& anIter) {
return PRBool(((mIndex<anIter.mIndex) && (&mDeque==&anIter.mDeque)));
}
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool nsDequeIterator::operator==(nsDequeIterator& anIter) {
return PRBool(((mIndex==anIter.mIndex) && (&mDeque==&anIter.mDeque)));
}
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool nsDequeIterator::operator>=(nsDequeIterator& anIter) {
return PRBool(((mIndex>=anIter.mIndex) && (&mDeque==&anIter.mDeque)));
}
/**
* Pre-increment operator
*
* @update gess4/18/98
* @return object at preincremented index
*/
void* nsDequeIterator::operator++() {
return mDeque.ObjectAt(++mIndex);
}
/**
* Post-increment operator
*
* @update gess4/18/98
* @param param is ignored
* @return object at post-incremented index
*/
void* nsDequeIterator::operator++(int) {
return mDeque.ObjectAt(mIndex++);
}
/**
* Pre-decrement operator
*
* @update gess4/18/98
* @return object at pre-decremented index
*/
void* nsDequeIterator::operator--() {
return mDeque.ObjectAt(--mIndex);
}
/**
* Post-decrement operator
*
* @update gess4/18/98
* @param param is ignored
* @return object at post-decremented index
*/
void* nsDequeIterator::operator--(int) {
return mDeque.ObjectAt(mIndex--);
}
/**
* Dereference operator
*
* @update gess4/18/98
* @return object at ith index
*/
void* nsDequeIterator::GetCurrent(void) {
return mDeque.ObjectAt(mIndex);
}
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void nsDequeIterator::ForEach(nsDequeFunctor& aFunctor) const{
mDeque.ForEach(aFunctor);
}
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void* nsDequeIterator::FirstThat(nsDequeFunctor& aFunctor) const{
return mDeque.FirstThat(aFunctor);
}
/**
* conduct automated self test for this class
*
* @update gess4/18/98
* @param
* @return
*/
void nsDeque::SelfTest(void) {
#undef _SELFTEST_DEQUE
#ifdef _SELFTEST_DEQUE
#include <iostream.h>
{
nsDeque theDeque(PR_FALSE); //construct a simple one...
int ints[10]={100,200,300,400,500,600,700,800,900,1000};
int count=sizeof(ints)/sizeof(int);
int i=0;
for(i=0;i<count;i++){
theDeque.Push(&ints[i]);
}
int* temp1=(int*)theDeque.Pop(); //should have popped 100
int* temp2=(int*)theDeque.Pop(); //should have popped 200
theDeque.Push(temp1); //these should now become
theDeque.Push(temp2); //the last 2 items in deque.
nsDequeIterator iter1=theDeque.Begin();
nsDequeIterator iter2=theDeque.End();
while(iter1!=iter2) {
temp1=(int*)(iter1++);
cout << *temp1 << endl;
}
//now, afll thru and watch the deque dtor run...
cout << "done" << endl;
}
int x;
x=10;
#endif
}

389
mozilla/base/src/nsDeque.h Normal file
View File

@@ -0,0 +1,389 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/**
* MODULE NOTES:
* @update gess 4/15/98 (tax day)
*
* The Deque is a very small, very efficient container object
* than can hold elements of type void*, offering the following features:
* It's interface supports pushing and poping of children.
* It can iterate (via an interator class) it's children.
* When full, it can efficently resize dynamically.
*
*
* NOTE: The only bit of trickery here is that this deque is
* built upon a ring-buffer. Like all ring buffers, the first
* element may not be at index[0]. The mOrigin member determines
* where the first child is. This point is quietly hidden from
* customers of this class.
*
*/
#ifndef _NSDEQUE
#define _NSDEQUE
#include "nscore.h"
/**
* The nsDequefunctor class is used when you want to create
* callbacks between the deque and your generic code.
* Use these objects in a call to ForEach();
*
* @update gess4/20/98
*/
class NS_BASE nsDequeFunctor{
public:
virtual void* operator()(void* anObject)=0;
};
/******************************************************
* Here comes the nsDeque class itself...
******************************************************/
/**
* The deque (double-ended queue) class is a common container type,
* whose behavior mimics a line in your favorite checkout stand.
* Classic CS describes the common behavior of a queue as FIFO.
* A Deque allows items to be added and removed from either end of
* the queue.
*
* @update gess4/20/98
*/
class NS_BASE nsDeque {
friend class nsDequeIterator;
public:
nsDeque(nsDequeFunctor& aMemDestroyer);
~nsDeque();
/**
* Returns the number of elements currently stored in
* this deque.
*
* @update gess4/18/98
* @param
* @return int contains element count
*/
PRInt32 GetSize() const;
/**
* Pushes new member onto the end of the deque
*
* @update gess4/18/98
* @param ptr to object to store
* @return *this
*/
nsDeque& Push(void* anItem);
/**
* Remove and return the first item in the container.
*
* @update gess4/18/98
* @param none
* @return ptr to first item in container
*/
void* Pop(void);
/**
* Return topmost item without removing it.
*
* @update gess4/18/98
* @param none
* @return ptr to first item in container
*/
void* Peek(void);
/**
* Remove and return the last item in the container.
*
* @update gess4/18/98
* @param none
* @return ptr to first item in container
*/
void* PopBack(void);
/**
* Remove all items from container without destroying them
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque& Empty();
/**
* Remove and delete all items from container
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque& Erase();
/**
* Creates a new iterator, init'ed to start of container
*
* @update gess4/18/98
* @return new dequeIterator
*/
nsDequeIterator Begin() const;
/**
* Creates a new iterator, init'ed to end of container
*
* @update gess4/18/98
* @return new dequeIterator
*/
nsDequeIterator End() const;
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void ForEach(nsDequeFunctor& aFunctor) const;
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code. This process will interupt if
* your function returns a null to this iterator.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void* FirstThat(nsDequeFunctor& aFunctor) const;
/**
* Perform automated selftest on the deque
*
* @update gess4/18/98
* @param
* @return
*/
static void SelfTest();
protected:
PRInt32 mSize;
PRInt32 mCapacity;
PRInt32 mOrigin;
nsDequeFunctor& mMemDestroyer;
void** mData;
private:
enum {eGrowthDelta=64};
/**
* Simple default constructor (PRIVATE)
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque();
/**
* Copy constructor (PRIVATE)
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque(const nsDeque& other);
/**
* Deque assignment operator (PRIVATE)
*
* @update gess4/18/98
* @param another deque
* @return *this
*/
nsDeque& operator=(const nsDeque& anOther);
/**
* PRIVATE method used to retrieve ptr to
* ith member in container. DOesn't remove
* that item.
*
* @update gess4/18/98
* @param index of desired item
* @return ptr to ith element in list
*/
void* ObjectAt(int anIndex) const;
};
/******************************************************
* Here comes the nsDequeIterator class...
******************************************************/
class NS_BASE nsDequeIterator {
public:
/**
* DequeIterator is an object that knows how to iterate (forward and backward)
* a Deque. Normally, you don't need to do this, but there are some special
* cases where it is pretty handy, so here you go.
*
* @update gess4/18/98
* @param aQueue is the deque object to be iterated
* @param anIndex is the starting position for your iteration
*/
nsDequeIterator(const nsDeque& aQueue,int anIndex=0);
/**
* DequeIterator is an object that knows how to iterate (forward and backward)
* a Deque. Normally, you don't need to do this, but there are some special
* cases where it is pretty handy, so here you go.
*
* @update gess4/18/98
* @param aQueue is the deque object to be iterated
* @param anIndex is the starting position for your iteration
*/
nsDequeIterator(const nsDequeIterator& aCopy);
/**
* Standard assignment operator for deque
* @update gess4/18/98
* @param
* @return
*/
nsDequeIterator& operator=(const nsDequeIterator& aCopy);
/**
* preform ! operation against to iterators to test for equivalence
* (or lack thereof)!
*
* @update gess4/18/98
* @param anIter is the object to be compared to
* @return TRUE if NOT equal.
*/
PRBool operator!=(nsDequeIterator& anIter);
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool operator<(nsDequeIterator& anIter);
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool operator==(nsDequeIterator& anIter);
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool operator>=(nsDequeIterator& anIter);
/**
* Pre-increment operator
*
* @update gess4/18/98
* @return object at preincremented index
*/
void* operator++();
/**
* Post-increment operator
*
* @update gess4/18/98
* @param param is ignored
* @return object at post-incremented index
*/
void* operator++(int);
/**
* Pre-decrement operator
*
* @update gess4/18/98
* @return object at pre-decremented index
*/
void* operator--();
/**
* Post-decrement operator
*
* @update gess4/18/98
* @param param is ignored
* @return object at post-decremented index
*/
void* operator--(int);
/**
* Retrieve the ptr to the iterators notion of current node
*
* @update gess4/18/98
* @return object at ith index
*/
void* GetCurrent(void);
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void ForEach(nsDequeFunctor& aFunctor) const;
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void* FirstThat(nsDequeFunctor& aFunctor) const;
protected:
PRInt32 mIndex;
const nsDeque& mDeque;
};
#endif

View File

@@ -0,0 +1,51 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIArena_h___
#define nsIArena_h___
#include "nscore.h"
#include "nsISupports.h"
#define NS_MIN_ARENA_BLOCK_SIZE 64
#define NS_DEFAULT_ARENA_BLOCK_SIZE 4096
/// Interface IID for nsIArena
#define NS_IARENA_IID \
{ 0xa24fdad0, 0x93b4, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/** Interface to a memory arena abstraction. Arena's use large blocks
* of memory to allocate smaller objects. Arena's provide no free
* operator; instead, all of the objects in the arena are deallocated
* by deallocating the arena (e.g. when it's reference count goes to
* zero)
*/
class nsIArena : public nsISupports {
public:
virtual void* Alloc(PRInt32 size) = 0;
};
/**
* Create a new arena using the desired block size for allocating the
* underlying memory blocks. The underlying memory blocks are allocated
* using the PR heap.
*/
extern NS_BASE nsresult NS_NewHeapArena(nsIArena** aInstancePtrResult,
PRInt32 aArenaBlockSize = 0);
#endif /* nsIArena_h___ */

View File

@@ -0,0 +1,77 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIAtom_h___
#define nsIAtom_h___
#include "nscore.h"
#include "nsISupports.h"
class nsString;
class nsISizeOfHandler;
#define NS_IATOM_IID \
{ 0x3d1b15b0, 0x93b4, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/**
* A globally unique identfier. nsIAtom's can be compared for
* equality by using operator '=='. These objects are reference
* counted like other nsISupports objects. When you are done with
* the atom, NS_RELEASE it.
*/
class nsIAtom : public nsISupports {
public:
/**
* Translate the unicode string into the stringbuf.
*/
virtual void ToString(nsString& aString) const = 0;
/**
* Return a pointer to a zero terminated unicode string.
*/
virtual const PRUnichar* GetUnicode() const = 0;
/**
* Add the size, in bytes, of the atom to the handler.
*/
NS_IMETHOD SizeOf(nsISizeOfHandler* aHandler) const = 0;
};
/**
* Find an atom that matches the given iso-latin1 C string. The
* C string is translated into it's unicode equivalent.
*/
extern NS_BASE nsIAtom* NS_NewAtom(const char* isolatin1);
/**
* Find an atom that matches the given unicode string. The string is assumed
* to be zero terminated.
*/
extern NS_BASE nsIAtom* NS_NewAtom(const PRUnichar* unicode);
/**
* Find an atom that matches the given string.
*/
extern NS_BASE nsIAtom* NS_NewAtom(const nsString& aString);
/**
* Return a count of the total number of atoms currently
* alive in the system.
*/
extern NS_BASE nsrefcnt NS_GetNumberOfAtoms(void);
#endif /* nsIAtom_h___ */

View File

@@ -0,0 +1,57 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIBaseStream_h___
#define nsIBaseStream_h___
#include "nscore.h"
#include "nsISupports.h"
/* 6ccb17a0-e95e-11d1-beae-00805f8a66dc */
#define NS_IBASESTREAM_IID \
{ 0x6ccb17a0, 0xe95e, 0x11d1, \
{0xbe, 0xae, 0x00, 0x80, 0x5f, 0x8a, 0x66, 0xdc} }
/** Abstract stream */
class nsIBaseStream : public nsISupports {
public:
/** Close the stream. */
NS_IMETHOD
Close(void) = 0;
};
/** Error codes */
//@{
// XXX fix up the values so they are not total hacks... MMP
/// End of file
#define NS_BASE_STREAM_EOF 0x80001001
/// Stream closed
#define NS_BASE_STREAM_CLOSED 0x80001002
/// Error from the operating system
#define NS_BASE_STREAM_OSERROR 0x80001003
/// Illegal arguments
#define NS_BASE_STREAM_ILLEGAL_ARGS 0x80001004
/// For unichar streams
#define NS_BASE_STREAM_NO_CONVERTER 0x80001005
/// For unichar streams
#define NS_BASE_STREAM_BAD_CONVERSION 0x80001006
//@}
#endif /* nsInputStream_h___ */

View File

@@ -0,0 +1,56 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIByteBuffer_h___
#define nsIByteBuffer_h___
#include "nscore.h"
#include "nsISupports.h"
class nsIInputStream;
#define NS_IBYTE_BUFFER_IID \
{ 0xe4a6e4b0, 0x93b4, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/** Interface to a buffer that holds bytes */
class nsIByteBuffer : public nsISupports {
public:
/** @return length of buffer, i.e. how many bytes are currently in it. */
virtual PRInt32 GetLength() const = 0;
/** @return number of bytes allocated in the buffer */
virtual PRInt32 GetBufferSize() const = 0;
/** @return the buffer */
virtual char* GetBuffer() const = 0;
/** Grow buffer to aNewSize bytes. */
virtual PRBool Grow(PRInt32 aNewSize) = 0;
/** Fill the buffer with data from aStream. Don't grow the buffer, only
* read until length of buffer equals buffer size. */
virtual PRInt32 Fill(nsresult* aErrorCode, nsIInputStream* aStream,
PRInt32 aKeep) = 0;
};
/** Create a new byte buffer using the given buffer size. */
extern NS_BASE nsresult NS_NewByteBuffer(nsIByteBuffer** aInstancePtrResult,
nsISupports* aOuter,
PRInt32 aBufferSize = 0);
#endif /* nsIByteBuffer_h___ */

View File

@@ -0,0 +1,54 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIInputStream_h___
#define nsIInputStream_h___
#include "nsIBaseStream.h"
#define NS_IINPUTSTREAM_IID \
{ 0x022396f0, 0x93b5, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/** Abstract byte input stream */
class nsIInputStream : public nsIBaseStream {
public:
/** Return the number of bytes in the stream
* @param aLength out parameter to hold the length
* of the stream. if an error occurs, the length
* will be undefined
* @return error status
*/
NS_IMETHOD
GetLength(PRInt32 *aLength) = 0;
/** Read data from the stream.
* @param aErrorCode the error code if an error occurs
* @param aBuf the buffer into which the data is read
* @param aOffset the start offset of the data
* @param aCount the maximum number of bytes to read
* @param aReadCount out parameter to hold the number of
* bytes read, eof if 0. if an error occurs, the
* read count will be undefined
* @return error status
*/
NS_IMETHOD
Read(char* aBuf, PRInt32 aOffset, PRInt32 aCount, PRInt32 *aReadCount) = 0;
};
#endif /* nsInputStream_h___ */

View File

@@ -0,0 +1,46 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIOutputStream_h___
#define nsIOutputStream_h___
#include "nsIBaseStream.h"
/* 7f13b870-e95f-11d1-beae-00805f8a66dc */
#define NS_IOUTPUTSTREAM_IID \
{ 0x7f13b870, 0xe95f, 0x11d1, \
{0xbe, 0xae, 0x00, 0x80, 0x5f, 0x8a, 0x66, 0xdc} }
/** Abstract byte output stream */
class nsIOutputStream : public nsIBaseStream {
public:
/** Write data into the stream.
* @param aBuf the buffer into which the data is read
* @param aOffset the start offset of the data
* @param aCount the maximum number of bytes to read
* @param aWriteCount out parameter to hold the number of
* bytes written. if an error occurs, the writecount
* is undefined
* @return error status
*/
NS_IMETHOD
Write(const char* aBuf, PRInt32 aOffset, PRInt32 aCount, PRInt32 *aWriteCount) = 0;
};
#endif /* nsOutputStream_h___ */

View File

@@ -0,0 +1,86 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsITimer_h___
#define nsITimer_h___
#include "nscore.h"
#include "nsISupports.h"
class nsITimer;
class nsITimerCallback;
/// Signature of timer callback function
typedef void
(*nsTimerCallbackFunc) (nsITimer *aTimer, void *aClosure);
/// Interface IID for nsITimer
#define NS_ITIMER_IID \
{ 0x497eed20, 0xb740, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
/**
* Timer class, used to invoke a function or method after a fixed
* millisecond interval. <B>Note that this interface is subject to
* change!</B>
*/
class nsITimer : public nsISupports {
public:
/**
* Initialize a timer to fire after the given millisecond interval.
* This version takes a function to call and a closure to pass to
* that function.
*
* @param aFunc - The function to invoke
* @param aClosure - an opaque pointer to pass to that function
* @param aRepeat - (Not yet implemented) One-shot or repeating
* @param aDelay - The millisecond interval
* @result - NS_OK if this operation was successful
*/
virtual nsresult Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay)=0;
/**
* Initialize a timer to fire after the given millisecond interval.
* This version takes an interface of type <code>nsITimerCallback</code>.
* The <code>Notify</code> method of this method is invoked.
*
* @param aCallback - The interface to notify
* @param aRepeat - (Not yet implemented) One-shot or repeating
* @param aDelay - The millisecond interval
* @result - NS_OK if this operation was successful
*/
virtual nsresult Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay)=0;
/// Cancels the timeout
virtual void Cancel()=0;
/// @return the millisecond delay of the timeout
virtual PRUint32 GetDelay()=0;
/// Change the millisecond interval for the timeout
virtual void SetDelay(PRUint32 aDelay)=0;
};
/** Factory method for creating an nsITimer */
extern NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult);
#endif

View File

@@ -0,0 +1,41 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsITimerCallback_h___
#define nsITimerCallback_h___
#include "nscore.h"
#include "nsISupports.h"
class nsITimer;
/// Interface IID for nsITimerCallback
#define NS_ITIMERCALLBACK_IID \
{ 0x5079b3a0, 0xb743, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
/**
* Interface implemented by users of the nsITimer class. An instance
* of this interface is passed in when creating a timer. The Notify()
* method of that instance is invoked after the specified delay.
*/
class nsITimerCallback : public nsISupports {
public:
virtual void Notify(nsITimer *timer)=0;
};
#endif

View File

@@ -0,0 +1,46 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIUnicharBuffer_h___
#define nsIUnicharBuffer_h___
#include "nscore.h"
#include "nsISupports.h"
class nsIUnicharInputStream;
#define NS_IUNICHAR_BUFFER_IID \
{ 0x14cf6970, 0x93b5, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/// Interface to a buffer that holds unicode characters
class nsIUnicharBuffer : public nsISupports {
public:
virtual PRInt32 GetLength() const = 0;
virtual PRInt32 GetBufferSize() const = 0;
virtual PRUnichar* GetBuffer() const = 0;
virtual PRBool Grow(PRInt32 aNewSize) = 0;
virtual PRInt32 Fill(nsresult* aErrorCode, nsIUnicharInputStream* aStream,
PRInt32 aKeep) = 0;
};
/// Factory method for nsIUnicharBuffer.
extern NS_BASE nsresult
NS_NewUnicharBuffer(nsIUnicharBuffer** aInstancePtrResult,
nsISupports* aOuter,
PRInt32 aBufferSize = 0);
#endif /* nsIUnicharBuffer_h___ */

View File

@@ -0,0 +1,98 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIUnicharInputStream_h___
#define nsIUnicharInputStream_h___
#include "nsIInputStream.h"
class nsString;
#define NS_IUNICHAR_INPUT_STREAM_IID \
{ 0x2d97fbf0, 0x93b5, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
#define NS_IB2UCONVERTER_IID \
{ 0x35e40290, 0x93b5, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/// Enumeration of character set ids.
enum nsCharSetID {
eCharSetID_IsoLatin1 = 0,
eCharSetID_UTF8,
eCharSetID_ShiftJis
// XXX more i'm sure...
};
/** Abstract unicode character input stream
* @see nsIInputStream
*/
class nsIUnicharInputStream : public nsISupports {
public:
NS_IMETHOD Read(PRUnichar* aBuf,
PRInt32 aOffset,
PRInt32 aCount,
PRInt32 *aReadCount) = 0;
NS_IMETHOD Close() = 0;
};
/**
* Create a nsIUnicharInputStream that wraps up a string. Data is fed
* from the string out until the done. When this object is destroyed
* it destroyes the string (so make a copy if you don't want it doing
* that)
*/
extern NS_BASE nsresult
NS_NewStringUnicharInputStream(nsIUnicharInputStream** aInstancePtrResult,
nsString* aString);
/// Abstract interface for converting from bytes to unicode characters
class nsIB2UConverter : public nsISupports {
public:
/** aDstLen is updated to indicate how much data was translated into
* aDst; aSrcLen is updated to indicate how much data was used in
* the source buffer.
*/
virtual PRInt32 Convert(PRUnichar* aDst,
PRInt32 aDstOffset,
PRInt32& aDstLen,
const char* aSrc,
PRInt32 aSrcOffset,
PRInt32& aSrcLen) = 0;
};
/** Create a new nsUnicharInputStream that provides a converter for the
* byte input stream aStreamToWrap. If no converter can be found then
* nsnull is returned and the error code is set to
* NS_INPUTSTREAM_NO_CONVERTER.
*/
extern NS_BASE nsresult
NS_NewConverterStream(nsIUnicharInputStream** aInstancePtrResult,
nsISupports* aOuter,
nsIInputStream* aStreamToWrap,
PRInt32 aBufferSize = 0,
nsCharSetID aCharSet = eCharSetID_IsoLatin1);
/** Create a new nsB2UConverter for the given character set. When given
* nsnull, the converter for iso-latin1 to unicode is provided. If no
* converter can be found, nsnull is returned.
*/
extern NS_BASE nsresult
NS_NewB2UConverter(nsIB2UConverter** aInstancePtrResult,
nsISupports* aOuter,
nsCharSetID aCharSet = eCharSetID_IsoLatin1);
#endif /* nsUnicharInputStream_h___ */

View File

@@ -0,0 +1,423 @@
/**
* This file defines the binary tree class and it
* nsNode child class.
*
* This simple version stores nodes, and the
* nodes store void* ptrs.
*
* @update gess 4/11/98
* @param
* @return
*/
#include "nsRBTree.h"
/**************************************************
Here comes the nsRBTree class...
*************************************************/
/**
* nsRBTree constructor
*
* @update gess 4/11/98
*/
nsRBTree::nsRBTree() : nsBTree() {
mRoot=0;
}
/**
* nsRBTree constructor
*
* @update gess 4/11/98
*/
nsRBTree::nsRBTree(const nsRBTree& aCopy) : nsBTree(aCopy) {
mRoot=aCopy.mRoot;
}
/**
* nsRBTree destructor
*
* @update gess 4/11/98
* @param
* @return
*/
nsRBTree::~nsRBTree(){
if(mRoot){
//walk the tree and destroy the children.
}
}
/**
* Given a node, we're supposed to add it into
* our tree.
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* nsRBTree::Add(nsNode& aNode){
nsBTree::Add(aNode);
nsNode* node1=&aNode;
nsNode* node2=0;
node1->mColor=nsNode::eRed;
while((node1!=mRoot) && (node1->mParent->mColor==nsNode::eRed)) {
if(node1->mParent==node1->mParent->mParent->mLeft) {
node2=node1->mParent->mParent->mLeft;
if(node2->mColor==nsNode::eRed) {
node1->mParent->mColor=nsNode::eBlack;
node2->mColor=nsNode::eBlack;
node1->mParent->mParent->mColor=nsNode::eRed;
node1=node1->mParent->mParent;
}
else {
if(node1==node1->mParent->mRight) {
node1=node1->mParent;
ShiftLeft(*node1);
}
node1->mParent->mColor=nsNode::eBlack;
node1->mParent->mParent->mColor=nsNode::eRed;
ShiftRight(*node1->mParent->mParent);
}
}
else {
node2=node1->mParent->mParent->mRight;
if (node2->mColor==nsNode::eRed){
node1->mParent->mColor=nsNode::eBlack;
node2->mColor=nsNode::eBlack;
node1->mParent->mParent->mColor=nsNode::eRed;
node1=node1->mParent->mParent;
}
else {
if (node1==node1->mParent->mLeft) {
node1=node1->mParent;
ShiftRight(*node1);
}
node1->mParent->mColor=nsNode::eBlack;
node1->mParent->mParent->mColor=nsNode::eRed;
ShiftLeft(*node1->mParent->mParent);
}
}
}
mRoot->mColor=nsNode::eBlack;
return &aNode;
}
/**
* Retrive the first node in the tree
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* nsRBTree::First(){
nsNode* result=First(*mRoot);
return result;
}
/**
* Retrieve the first node given a starting node
*
* @update gess 4/11/98
* @param aNode --
* @return node ptr or null
*/
nsNode* nsRBTree::First(nsNode& aNode){
nsNode* result=0;
if(mRoot) {
result=mRoot;
while(result->GetLeftNode()) {
result=result->GetLeftNode();
}
}
return result;
}
/**
* Find the last node in the tree
*
* @update gess 4/11/98
* @param
* @return node ptr or null
*/
nsNode* nsRBTree::Last(){
nsNode* result=Last(*mRoot);
return result;
}
/**
* Find the last node from a given node
*
* @update gess 4/11/98
* @param aNode -- node ptr to start from
* @return node ptr or null
*/
nsNode* nsRBTree::Last(nsNode& aNode){
nsNode* result=0;
if(mRoot) {
result=mRoot;
while(result->GetRightNode()) {
result=result->GetRightNode();
}
}
return result;
}
/**
* Retrieve the node that preceeds the given node
*
* @update gess 4/11/98
* @param aNode -- node to find precedent of
* @return preceeding node ptr, or null
*/
nsNode* nsRBTree::Before(nsNode& aNode){
if(aNode.GetLeftNode())
return Last(*aNode.GetLeftNode());
//otherwise...
nsNode* node1=&aNode;
nsNode* node2=aNode.GetParentNode();
while((node2) && (node1==node2->GetLeftNode())) {
node1=node2;
node2=node2->GetParentNode();
}
return node2;
}
/**
* Retrieve a ptr to the node following the given node
*
* @update gess 4/11/98
* @param aNode -- node to find successor node from
* @return node ptr or null
*/
nsNode* nsRBTree::After(nsNode& aNode){
if(aNode.GetRightNode())
return First(*aNode.GetRightNode());
//otherwise...
nsNode* node1=&aNode;
nsNode* node2=aNode.GetParentNode();
while((node2) && (node1==node2->GetRightNode())) {
node1=node2;
node2=node2->GetParentNode();
}
return node2;
}
/**
* Find a (given) node in the tree
*
* @update gess 4/11/98
* @param node to find in the tree
* @return node ptr (if found) or null
*/
nsNode* nsRBTree::Find(nsNode& aNode){
nsNode* result=mRoot;
while((result) && (!((*result)==aNode))) {
if(aNode<*result)
result=result->mLeft;
else result=result->mRight;
}
return result;
}
/**
* Causes a shift to the left, to keep the
* underlying RB data in balance
*
* @update gess 4/11/98
* @param
* @return this
*/
nsRBTree& nsRBTree::ShiftLeft(nsNode& aNode){
nsNode* temp= aNode.mRight;
aNode.mRight=temp->mLeft;
if(temp->mLeft)
temp->mRight->mParent=&aNode;
temp->mParent= aNode.mParent;
if (aNode.mParent) {
if (&aNode==aNode.mParent->mLeft)
aNode.mParent->mLeft=temp;
else aNode.mParent->mRight=temp;
}
else mRoot=temp;
temp->mLeft=&aNode;;
aNode.mParent=temp;
return *this;
}
/**
* Causes a shift right to occur, to keep the
* underlying RB data in balance
*
* @update gess 4/11/98
* @param aNode -- node at which to perform shift
* @return this
*/
nsRBTree& nsRBTree::ShiftRight(nsNode& aNode){
nsNode* temp=aNode.mLeft;
aNode.mLeft=temp->mRight;
if(temp->mRight)
temp->mRight->mParent=&aNode;
temp->mParent=aNode.mParent;
if(aNode.mParent){
if(&aNode==aNode.mParent->mRight)
aNode.mParent->mRight=temp;
else aNode.mParent->mLeft=temp;
}
else mRoot=temp;
temp->mRight=&aNode;
aNode.mParent=temp;
return *this;
}
/**
* Rebalances tree around the given node. This only
* needs to be called after a node is deleted.
*
* @update gess 4/11/98
* @param aNode -- node to balance around
* @return this
*/
nsBTree& nsRBTree::ReBalance(nsNode& aNode){
nsNode* node1=&aNode;
nsNode* node2=0;
while ((node1!=mRoot) && (node1->mColor==nsNode::eBlack)) {
if(node1==node1->mParent->mLeft) {
node2=node1->mParent->mRight;
if(node2->mColor==nsNode::eRed) {
node2->mColor=nsNode::eBlack;
node1->mParent->mColor=nsNode::eRed;
ShiftLeft(*node1->mParent);
node2=node1->mParent->mRight;
}
if((node2->mLeft->mColor == nsNode::eBlack) &&
(node2->mRight->mColor == nsNode::eBlack)) {
node2->mColor=nsNode::eRed;
node1=node1->mParent;
}
else {
if(node2->mRight->mColor == nsNode::eBlack) {
node2->mLeft->mColor=nsNode::eBlack;
node2->mColor=nsNode::eRed;
ShiftRight(*node2);
node2=node1->mParent->mRight;
}
node2->mColor=node1->mParent->mColor;
node1->mParent->mColor=nsNode::eBlack;
node2->mRight->mColor=nsNode::eBlack;
ShiftLeft(*node1->mParent);
node1=mRoot;
} //else
}
else {
node2=node1->mParent->mLeft;
if(node2->mColor==nsNode::eRed) {
node2->mColor=nsNode::eBlack;
node1->mParent->mColor=nsNode::eRed;
ShiftRight(*node1->mParent);
node2=node1->mParent->mLeft;
}
if((node2->mRight->mColor == nsNode::eBlack) &&
(node2->mLeft->mColor == nsNode::eBlack)) {
node2->mColor=nsNode::eRed;
node1=node1->mParent;
}
else {
if(node2->mLeft->mColor == nsNode::eBlack){
node2->mRight->mColor=nsNode::eBlack;
node2->mColor=nsNode::eRed;
ShiftLeft(*node2);
node2=node1->mParent->mLeft;
}
node2->mColor=node1->mParent->mColor;
node1->mParent->mColor=nsNode::eBlack;
node2->mLeft->mColor=nsNode::eBlack;
ShiftRight(*node1->mParent);
node1=mRoot;
} //else
} //if
} //while
node1->mColor=nsNode::eBlack;
return *this;
}
/**************************************************
Here comes the nsRBTreeIterator class...
*************************************************/
/**
*
*
* @update gess 4/11/98
* @param
* @return
*/
nsRBTreeIterator::nsRBTreeIterator(const nsRBTree& aTree) : mTree(aTree) {
}
/**
* copy constructor
*
* @update gess 4/11/98
* @param aCopy is the object you want to copy from
* @return newly constructed object
*/
nsRBTreeIterator::nsRBTreeIterator(const nsRBTreeIterator& aCopy) : mTree(aCopy.mTree) {
}
/**
* Destructor method
*
* @update gess 4/11/98
*/
nsRBTreeIterator::~nsRBTreeIterator(){
}
/**
* This method iterates over the tree, calling
* aFunctor for each node.
*
* @update gess 4/11/98
* @param aFunctor -- object to call for each node
* @param aNode -- node at which to start iteration
* @return this
*/
const nsRBTreeIterator& nsRBTreeIterator::ForEach(nsNodeFunctor& aFunctor) const{
mTree.ForEach(aFunctor);
return *this;
}

223
mozilla/base/src/nsRBTree.h Normal file
View File

@@ -0,0 +1,223 @@
/**
* This file defines the binary tree class and its
* nsNode child class.
*
* This simple version stores nodes, and the
* nodes store void* ptrs.
*
* @update gess 4/11/98
* @param
* @return
*/
/**
* MODULE NOTES
* @update gess 4/11/98
*
* This file declares the nsRBTree (red/black tree).
* Red/black trees are auto-balancing binary trees.
*
* To use this class, define a subclass of nsNode
* which stores your data type. It's important that
* you overload the following methods:
*
* virtual PRBool operator<()
* virtual PRBool operator==()
*
*/
#ifndef _nsRBTree
#define _nsRBTree
#include "nsBTree.h"
/**
* Here comes the main event: our nsRBTree (red/black tree).
* Red/Black trees are autobalancing binary trees.
*
* @update gess4/20/98
*/
class NS_BASE nsRBTree : public nsBTree {
public:
friend class NS_BASE nsRBTreeIterator;
/**
* nsRBTree constructor
*
* @update gess 4/11/98
*/
nsRBTree();
/**
* nsRBTree constructor
*
* @update gess 4/11/98
*/
nsRBTree(const nsRBTree& aCopy);
/**
* nsRBTree destructor
*
* @update gess 4/11/98
*/
virtual ~nsRBTree();
/**
* Given a node, we're supposed to add it into
* our tree.
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* Add(nsNode& aNode);
/**
* Retrive the first node in the tree
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* First(void);
/**
* Retrieve the first node given a starting node
*
* @update gess 4/11/98
* @param aNode --
* @return node ptr or null
*/
nsNode* First(nsNode& aNode);
/**
* Find the last node in the tree
*
* @update gess 4/11/98
* @param
* @return node ptr or null
*/
nsNode* Last(void);
/**
* Find the last node from a given node
*
* @update gess 4/11/98
* @param aNode -- node ptr to start from
* @return node ptr or null
*/
nsNode* Last(nsNode& aNode);
/**
* Retrieve the node that preceeds the given node
*
* @update gess 4/11/98
* @param aNode -- node to find precedent of
* @return preceeding node ptr, or null
*/
nsNode* Before(nsNode& aNode);
/**
* Retrieve a ptr to the node following the given node
*
* @update gess 4/11/98
* @param aNode -- node to find successor node from
* @return node ptr or null
*/
nsNode* After(nsNode& aNode);
/**
* Find a (given) node in the tree
*
* @update gess 4/11/98
* @param node to find in the tree
* @return node ptr (if found) or null
*/
nsNode* Find(nsNode& aNode);
private:
/**
* Causes a shift to the left, to keep the
* underlying RB data in balance
*
* @update gess 4/11/98
* @param
* @return this
*/
nsRBTree& ShiftLeft(nsNode& aNode);
/**
* Causes a shift right to occur, to keep the
* underlying RB data in balance
*
* @update gess 4/11/98
* @param aNode -- node at which to perform shift
* @return this
*/
nsRBTree& ShiftRight(nsNode& aNode);
/**
* Rebalances tree around the given node. This only
* needs to be called after a node is deleted.
*
* @update gess 4/11/98
* @param aNode -- node to balance around
* @return this
*/
virtual nsBTree& ReBalance(nsNode& aNode);
};
class NS_BASE nsRBTreeIterator {
public:
/**
* TreeIterator constructor
*
* @update gess 4/11/98
* @param
* @return
*/
nsRBTreeIterator(const nsRBTree& aTree);
/**
* TreeIterator constructor
*
* @update gess 4/11/98
* @param
* @return
*/
nsRBTreeIterator(const nsRBTreeIterator& aCopy);
/**
* tree iterator destructor
*
* @update gess 4/11/98
* @param
* @return
*/
~nsRBTreeIterator();
/**
* This method iterates over the tree, calling
* aFunctor for each node.
*
* @update gess 4/11/98
* @param aFunctor -- object to call for each node
* @param aNode -- node at which to start iteration
* @return this
*/
const nsRBTreeIterator& ForEach(nsNodeFunctor& aFunctor) const;
protected:
const nsRBTree& mTree;
};
#endif

View File

@@ -0,0 +1,121 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISizeOfHandler.h"
#include "plhash.h"
static NS_DEFINE_IID(kISizeOfHandlerIID, NS_ISIZEOF_HANDLER_IID);
class nsSizeOfHandler : public nsISizeOfHandler {
public:
nsSizeOfHandler();
~nsSizeOfHandler();
// nsISupports
NS_DECL_ISUPPORTS
// nsISizeOfHandler
NS_IMETHOD Add(size_t aSize);
virtual PRBool HaveSeen(void* anObject);
NS_IMETHOD GetSize(PRUint32& aResult);
protected:
PRUint32 mTotalSize;
PLHashTable* mTable;
};
static PLHashNumber
HashKey(void* key)
{
return (PLHashNumber) key;
}
static PRIntn
CompareKeys(void* key1, void* key2)
{
return key1 == key2;
}
nsSizeOfHandler::nsSizeOfHandler()
{
NS_INIT_REFCNT();
mTotalSize = 0;
mTable = PL_NewHashTable(8, (PLHashFunction) HashKey,
(PLHashComparator) CompareKeys,
(PLHashComparator) nsnull,
nsnull, nsnull);
}
nsSizeOfHandler::~nsSizeOfHandler()
{
if (nsnull != mTable) {
PL_HashTableDestroy(mTable);
}
}
NS_IMPL_ISUPPORTS(nsSizeOfHandler, kISizeOfHandlerIID)
NS_IMETHODIMP
nsSizeOfHandler::Add(size_t aSize)
{
mTotalSize += aSize;
return NS_OK;
}
PRBool
nsSizeOfHandler::HaveSeen(void* anObject)
{
if (nsnull == mTable) {
// When we run out of memory, HaveSeen returns PR_TRUE to stop
// wasting time.
return PR_TRUE;
}
if (nsnull != anObject) {
PRInt32 hashCode = (PRInt32) anObject;
PLHashEntry** hep = PL_HashTableRawLookup(mTable, hashCode, anObject);
PLHashEntry* he = *hep;
if (nsnull != he) {
return PR_TRUE;
}
he = PL_HashTableRawAdd(mTable, hep, hashCode, anObject, anObject);
if (nsnull == he) {
// When we run out of memory, HaveSeen returns PR_TRUE to stop
// wasting time.
return PR_TRUE;
}
return PR_FALSE;
}
return PR_TRUE;
}
NS_IMETHODIMP
nsSizeOfHandler::GetSize(PRUint32& aResult)
{
aResult = mTotalSize;
return NS_OK;
}
NS_BASE nsresult
NS_NewSizeOfHandler(nsISizeOfHandler** aInstancePtrResult)
{
nsISizeOfHandler *it = new nsSizeOfHandler();
if (it == nsnull) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kISizeOfHandlerIID, (void **) aInstancePtrResult);
}

File diff suppressed because it is too large Load Diff

240
mozilla/base/src/nsString.h Normal file
View File

@@ -0,0 +1,240 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/**
* MODULE NOTES:
* LAST MODS: gess 28Feb98
*
* This very simple string class that knows how to do
* efficient (dynamic) resizing. It offers almost no
* i18n support, and will undoubtedly have to be replaced.
*
*/
#ifndef _NSSTRING
#define _NSSTRING
#include "prtypes.h"
#include "nscore.h"
#include "nsIAtom.h"
#include <iostream.h>
#include <stdio.h>
class nsISizeOfHandler;
class NS_BASE nsString {
public:
nsString();
nsString(const char* anISOLatin1);
nsString(const nsString&);
nsString(const PRUnichar* aUnicode);
public:
virtual ~nsString();
PRInt32 Length() const { return mLength; }
void SetLength(PRInt32 aLength);
void Truncate(PRInt32 anIndex=0);
virtual void EnsureCapacityFor(PRInt32 aNewLength);
virtual void SizeOf(nsISizeOfHandler* aHandler) const;
///accessor methods
//@{
const PRUnichar* GetUnicode(void) const;
operator PRUnichar*() const;
PRUnichar operator()(PRInt32 i) const;
PRUnichar& operator[](PRInt32 i) const;
PRUnichar& CharAt(PRInt32 anIndex) const;
PRUnichar& First() const;
PRUnichar& Last() const;
//string creation methods...
nsString operator+(const nsString& aString);
nsString operator+(const char* anISOLatin1);
nsString operator+(char aChar);
nsString operator+(const PRUnichar* aBuffer);
nsString operator+(PRUnichar aChar);
void ToLowerCase();
void ToLowerCase(nsString& aString) const;
void ToUpperCase();
void ToUpperCase(nsString& aString) const;
nsString* ToNewString() const;
char* ToNewCString() const;
char* ToCString(char* aBuf,PRInt32 aBufLength) const;
void Copy(nsString& aString) const;
PRUnichar* ToNewUnicode() const;
float ToFloat(PRInt32* aErrorCode) const;
PRInt32 ToInteger(PRInt32* aErrorCode) const;
//@}
///string manipulation methods...
//@{
nsString& SetString(const PRUnichar* aStr,PRInt32 aLength=-1);
nsString& SetString(const char* anISOLatin1,PRInt32 aLength=-1);
nsString& operator=(const nsString& aString);
nsString& operator=(const char* anISOLatin1);
nsString& operator=(char aChar);
nsString& operator=(const PRUnichar* aBuffer);
nsString& operator=(PRUnichar aChar);
nsString& operator+=(const nsString& aString);
nsString& operator+=(const char* anISOLatin1);
nsString& operator+=(const PRUnichar* aBuffer);
nsString& operator+=(PRUnichar aChar);
nsString& Append(const nsString& aString,PRInt32 aLength=-1);
nsString& Append(const char* anISOLatin1,PRInt32 aLength=-1);
nsString& Append(char aChar);
nsString& Append(const PRUnichar* aBuffer,PRInt32 aLength=-1);
nsString& Append(PRUnichar aChar);
nsString& Append(PRInt32 aInteger,PRInt32 aRadix); //radix=8,10 or 16
nsString& Append(float aFloat);
PRInt32 Left(nsString& aCopy,PRInt32 aCount);
PRInt32 Mid(nsString& aCopy,PRInt32 anOffset,PRInt32 aCount);
PRInt32 Right(nsString& aCopy,PRInt32 aCount);
PRInt32 Insert(nsString& aCopy,PRInt32 anOffset,PRInt32 aCount=-1);
PRInt32 Insert(PRUnichar aChar,PRInt32 anOffset);
nsString& Cut(PRInt32 anOffset,PRInt32 aCount);
nsString& StripChars(const char* aSet);
nsString& StripWhitespace();
nsString& Trim( const char* aSet,
PRBool aEliminateLeading=PR_TRUE,
PRBool aEliminateTrailing=PR_TRUE);
nsString& CompressWhitespace( PRBool aEliminateLeading=PR_TRUE,
PRBool aEliminateTrailing=PR_TRUE);
static PRBool IsSpace(PRUnichar ch);
static PRBool IsAlpha(PRUnichar ch);
static PRBool IsDigit(PRUnichar ch);
//@}
///searching methods...
//@{
PRInt32 Find(const char* anISOLatin1) const;
PRInt32 Find(const PRUnichar* aString) const;
PRInt32 Find(PRUnichar aChar,PRInt32 offset=0) const;
PRInt32 Find(const nsString& aString) const;
PRInt32 FindFirstCharInSet(const char* anISOLatin1Set,PRInt32 offset=0) const;
PRInt32 FindFirstCharInSet(nsString& aString,PRInt32 offset=0) const;
PRInt32 FindLastCharInSet(const char* anISOLatin1Set,PRInt32 offset=0) const;
PRInt32 FindLastCharInSet(nsString& aString,PRInt32 offset=0) const;
PRInt32 RFind(const char* anISOLatin1,PRBool aIgnoreCase=PR_FALSE) const;
PRInt32 RFind(const PRUnichar* aString,PRBool aIgnoreCase=PR_FALSE) const;
PRInt32 RFind(const nsString& aString,PRBool aIgnoreCase=PR_FALSE) const;
PRInt32 RFind(PRUnichar aChar,PRBool aIgnoreCase=PR_FALSE) const;
//@}
///comparision methods...
//@{
virtual PRInt32 Compare(const nsString &S,PRBool aIgnoreCase=PR_FALSE) const;
virtual PRInt32 Compare(const char *anISOLatin1,PRBool aIgnoreCase=PR_FALSE,PRInt32 aLength=-1) const;
virtual PRInt32 Compare(const PRUnichar *aString,PRBool aIgnoreCase=PR_FALSE,PRInt32 aLength=-1) const;
PRBool operator==(const nsString &S) const;
PRBool operator==(const char *anISOLatin1) const;
PRBool operator==(const PRUnichar* aString) const;
PRBool operator!=(const nsString &S) const;
PRBool operator!=(const char *anISOLatin1) const;
PRBool operator!=(const PRUnichar* aString) const;
PRBool operator<(const nsString &S) const;
PRBool operator<(const char *anISOLatin1) const;
PRBool operator<(const PRUnichar* aString) const;
PRBool operator>(const nsString &S) const;
PRBool operator>(const char *anISOLatin1) const;
PRBool operator>(const PRUnichar* aString) const;
PRBool operator<=(const nsString &S) const;
PRBool operator<=(const char *anISOLatin1) const;
PRBool operator<=(const PRUnichar* aString) const;
PRBool operator>=(const nsString &S) const;
PRBool operator>=(const char *anISOLatin1) const;
PRBool operator>=(const PRUnichar* aString) const;
PRBool Equals(const nsString& aString) const;
PRBool Equals(const char* anISOLatin1,PRInt32 aLength=-1) const;
PRBool Equals(const nsIAtom *aAtom) const;
PRBool Equals(const PRUnichar* s1, const PRUnichar* s2) const;
PRBool EqualsIgnoreCase(const nsString& aString) const;
PRBool EqualsIgnoreCase(const char* anISOLatin1,PRInt32 aLength=-1) const;
PRBool EqualsIgnoreCase(const nsIAtom *aAtom) const;
PRBool EqualsIgnoreCase(const PRUnichar* s1, const PRUnichar* s2) const;
//@}
static void SelfTest();
virtual void DebugDump(ostream& aStream) const;
protected:
typedef PRUnichar chartype;
chartype* mStr;
PRInt32 mLength;
PRInt32 mCapacity;
static PRBool mSelfTested;
};
extern NS_BASE int fputs(const nsString& aString, FILE* out);
//----------------------------------------------------------------------
/**
* A version of nsString which is designed to be used as an automatic
* variable. It attempts to operate out of a fixed size internal
* buffer until too much data is added; then a dynamic buffer is
* allocated and grown as necessary.
*/
// XXX template this with a parameter for the size of the buffer?
class NS_BASE nsAutoString : public nsString {
public:
nsAutoString();
nsAutoString(const nsString& other);
nsAutoString(const nsAutoString& other);
nsAutoString(PRUnichar aChar);
nsAutoString(const char* isolatin1);
nsAutoString(const PRUnichar* us, PRInt32 uslen = -1);
virtual ~nsAutoString();
nsAutoString& operator=(const nsString& aString) {nsString::operator=(aString); return *this;}
nsAutoString& operator=(const char* anISOLatin1) {nsString::operator=(anISOLatin1); return *this;}
nsAutoString& operator=(char aChar) {nsString::operator=(aChar); return *this;}
nsAutoString& operator=(const PRUnichar* aBuffer) {nsString::operator=(aBuffer); return *this;}
nsAutoString& operator=(PRUnichar aChar) {nsString::operator=(aChar); return *this;}
virtual void SizeOf(nsISizeOfHandler* aHandler) const;
static void SelfTest();
protected:
virtual void EnsureCapacityFor(PRInt32 aNewLength);
PRUnichar mBuf[32];
};
#endif

View File

@@ -0,0 +1,140 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIUnicharBuffer.h"
#include "nsIUnicharInputStream.h"
#include "nsCRT.h"
#define MIN_BUFFER_SIZE 32
class UnicharBufferImpl : public nsIUnicharBuffer {
public:
UnicharBufferImpl(PRInt32 aBufferSize);
~UnicharBufferImpl();
NS_DECL_ISUPPORTS
virtual PRInt32 GetLength() const;
virtual PRInt32 GetBufferSize() const;
virtual PRUnichar* GetBuffer() const;
virtual PRBool Grow(PRInt32 aNewSize);
virtual PRInt32 Fill(nsresult* aErrorCode, nsIUnicharInputStream* aStream,
PRInt32 aKeep);
PRUnichar* mBuffer;
PRInt32 mSpace;
PRInt32 mLength;
};
UnicharBufferImpl::UnicharBufferImpl(PRInt32 aBufferSize)
{
if (PRUint32(aBufferSize) < MIN_BUFFER_SIZE) {
aBufferSize = MIN_BUFFER_SIZE;
}
mSpace = aBufferSize;
mBuffer = new PRUnichar[aBufferSize];
mLength = 0;
NS_INIT_REFCNT();
}
NS_DEFINE_IID(kUnicharBufferIID, NS_IUNICHAR_BUFFER_IID);
NS_IMPL_ISUPPORTS(UnicharBufferImpl,kUnicharBufferIID)
UnicharBufferImpl::~UnicharBufferImpl()
{
if (nsnull != mBuffer) {
delete mBuffer;
mBuffer = nsnull;
}
mLength = 0;
}
PRInt32 UnicharBufferImpl::GetLength() const
{
return mLength;
}
PRInt32 UnicharBufferImpl::GetBufferSize() const
{
return mSpace;
}
PRUnichar* UnicharBufferImpl::GetBuffer() const
{
return mBuffer;
}
PRBool UnicharBufferImpl::Grow(PRInt32 aNewSize)
{
if (PRUint32(aNewSize) < MIN_BUFFER_SIZE) {
aNewSize = MIN_BUFFER_SIZE;
}
PRUnichar* newbuf = new PRUnichar[aNewSize];
if (nsnull != newbuf) {
if (0 != mLength) {
nsCRT::memcpy(newbuf, mBuffer, mLength * sizeof(PRUnichar));
}
delete mBuffer;
mBuffer = newbuf;
return PR_TRUE;
}
return PR_FALSE;
}
PRInt32 UnicharBufferImpl::Fill(nsresult* aErrorCode,
nsIUnicharInputStream* aStream,
PRInt32 aKeep)
{
NS_PRECONDITION(nsnull != aStream, "null stream");
NS_PRECONDITION(PRUint32(aKeep) < PRUint32(mLength), "illegal keep count");
if ((nsnull == aStream) || (PRUint32(aKeep) >= PRUint32(mLength))) {
// whoops
*aErrorCode = NS_BASE_STREAM_ILLEGAL_ARGS;
return -1;
}
if (0 != aKeep) {
// Slide over kept data
nsCRT::memmove(mBuffer, mBuffer + (mLength - aKeep),
aKeep * sizeof(PRUnichar));
}
// Read in some new data
mLength = aKeep;
PRInt32 amount = mSpace - aKeep;
PRInt32 nb;
*aErrorCode = aStream->Read(mBuffer, aKeep, amount, &nb);
if (NS_SUCCEEDED(*aErrorCode)) {
mLength += nb;
}
else
nb = 0;
return nb;
}
NS_BASE nsresult NS_NewUnicharBuffer(nsIUnicharBuffer** aInstancePtrResult,
nsISupports* aOuter,
PRInt32 aBufferSize)
{
if (nsnull != aOuter) {
return NS_ERROR_NO_AGGREGATION;
}
UnicharBufferImpl* it = new UnicharBufferImpl(aBufferSize);
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kUnicharBufferIID, (void **) aInstancePtrResult);
}

View File

@@ -0,0 +1,337 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIUnicharInputStream.h"
#include "nsIByteBuffer.h"
#include "nsIUnicharBuffer.h"
#include "nsString.h"
#include "nsCRT.h"
#include <fcntl.h>
#ifdef NS_WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
static NS_DEFINE_IID(kIUnicharInputStreamIID, NS_IUNICHAR_INPUT_STREAM_IID);
class StringUnicharInputStream : public nsIUnicharInputStream {
public:
StringUnicharInputStream(nsString* aString);
~StringUnicharInputStream();
NS_DECL_ISUPPORTS
NS_IMETHOD Read(PRUnichar* aBuf,
PRInt32 aOffset,
PRInt32 aCount,
PRInt32 *aReadCount);
NS_IMETHOD Close();
nsString* mString;
PRInt32 mPos;
PRInt32 mLen;
};
StringUnicharInputStream::StringUnicharInputStream(nsString* aString)
{
NS_INIT_REFCNT();
mString = aString;
mPos = 0;
mLen = aString->Length();
}
StringUnicharInputStream::~StringUnicharInputStream()
{
if (nsnull != mString) {
delete mString;
}
}
nsresult StringUnicharInputStream::Read(PRUnichar* aBuf,
PRInt32 aOffset,
PRInt32 aCount,
PRInt32 *aReadCount)
{
if (mPos >= mLen) {
*aReadCount = 0;
return (nsresult)-1;
}
const PRUnichar* us = mString->GetUnicode();
PRInt32 amount = mLen - mPos;
if (amount > aCount) {
amount = aCount;
}
nsCRT::memcpy(aBuf + aOffset, us + mPos, sizeof(PRUnichar) * amount);
mPos += amount;
*aReadCount = amount;
return NS_OK;
}
nsresult StringUnicharInputStream::Close()
{
mPos = mLen;
if (nsnull != mString) {
delete mString;
}
return NS_OK;
}
NS_IMPL_ISUPPORTS(StringUnicharInputStream, kIUnicharInputStreamIID);
NS_BASE nsresult
NS_NewStringUnicharInputStream(nsIUnicharInputStream** aInstancePtrResult,
nsString* aString)
{
NS_PRECONDITION(nsnull != aString, "null ptr");
NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
if ((nsnull == aString) || (nsnull == aInstancePtrResult)) {
return NS_ERROR_NULL_POINTER;
}
StringUnicharInputStream* it = new StringUnicharInputStream(aString);
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kIUnicharInputStreamIID,
(void**) aInstancePtrResult);
}
//----------------------------------------------------------------------
class IsoLatin1Converter : public nsIB2UConverter {
public:
IsoLatin1Converter();
NS_DECL_ISUPPORTS
virtual PRInt32 Convert(PRUnichar* aDst,
PRInt32 aDstOffset,
PRInt32& aDstLen,
const char* aSrc,
PRInt32 aSrcOffset,
PRInt32& aSrcLen);
};
IsoLatin1Converter::IsoLatin1Converter()
{
NS_INIT_REFCNT();
}
NS_DEFINE_IID(kIB2UConverterIID, NS_IB2UCONVERTER_IID);
NS_IMPL_ISUPPORTS(IsoLatin1Converter,kIB2UConverterIID);
PRInt32 IsoLatin1Converter::Convert(PRUnichar* aDst,
PRInt32 aDstOffset,
PRInt32& aDstLen,
const char* aSrc,
PRInt32 aSrcOffset,
PRInt32& aSrcLen)
{
PRInt32 amount = aSrcLen;
if (aSrcLen > aDstLen) {
amount = aDstLen;
}
const char* end = aSrc + amount;
while (aSrc < end) {
PRUint8 isoLatin1 = PRUint8(*aSrc++);
/* XXX insert table based lookup converter here */
*aDst++ = isoLatin1;
}
aDstLen = amount;
aSrcLen = amount;
return NS_OK;
}
NS_BASE nsresult
NS_NewB2UConverter(nsIB2UConverter** aInstancePtrResult,
nsISupports* aOuter,
nsCharSetID aCharSet)
{
if (nsnull != aOuter) {
return NS_ERROR_NO_AGGREGATION;
}
if (eCharSetID_IsoLatin1 != aCharSet) {
return NS_BASE_STREAM_NO_CONVERTER;
}
IsoLatin1Converter* it = new IsoLatin1Converter();
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kIB2UConverterIID, (void**)aInstancePtrResult);
}
//----------------------------------------------------------------------
class ConverterInputStream : public nsIUnicharInputStream {
public:
ConverterInputStream(nsIInputStream* aStream,
nsIB2UConverter* aConverter,
PRInt32 aBufSize);
~ConverterInputStream();
NS_DECL_ISUPPORTS
NS_IMETHOD Read(PRUnichar* aBuf,
PRInt32 aOffset,
PRInt32 aCount,
PRInt32 *aReadCount);
NS_IMETHOD Close();
protected:
PRInt32 Fill(nsresult * aErrorCode);
nsIInputStream* mInput;
nsIB2UConverter* mConverter;
nsIByteBuffer* mByteData;
PRInt32 mByteDataOffset;
nsIUnicharBuffer* mUnicharData;
PRInt32 mUnicharDataOffset;
PRInt32 mUnicharDataLength;
};
ConverterInputStream::ConverterInputStream(nsIInputStream* aStream,
nsIB2UConverter* aConverter,
PRInt32 aBufferSize)
{
NS_INIT_REFCNT();
mInput = aStream; aStream->AddRef();
mConverter = aConverter; aConverter->AddRef();
if (aBufferSize == 0) {
aBufferSize = 8192;
}
nsresult rv1 = NS_NewByteBuffer(&mByteData, nsnull, aBufferSize);
nsresult rv2 = NS_NewUnicharBuffer(&mUnicharData, nsnull, aBufferSize);
mByteDataOffset = 0;
mUnicharDataOffset = 0;
mUnicharDataLength = 0;
}
NS_IMPL_ISUPPORTS(ConverterInputStream,kIUnicharInputStreamIID);
ConverterInputStream::~ConverterInputStream()
{
Close();
}
nsresult ConverterInputStream::Close()
{
if (nsnull != mInput) {
mInput->Release();
mInput = nsnull;
}
if (nsnull != mConverter) {
mConverter->Release();
mConverter = nsnull;
}
if (nsnull != mByteData) {
mByteData->Release();
mByteData = nsnull;
}
if (nsnull != mUnicharData) {
mUnicharData->Release();
mUnicharData = nsnull;
}
return NS_OK;
}
nsresult ConverterInputStream::Read(PRUnichar* aBuf,
PRInt32 aOffset,
PRInt32 aCount,
PRInt32 *aReadCount)
{
PRInt32 rv = mUnicharDataLength - mUnicharDataOffset;
nsresult errorCode;
if (0 == rv) {
// Fill the unichar buffer
rv = Fill(&errorCode);
if (rv <= 0) {
*aReadCount = 0;
return errorCode;
}
}
if (rv > aCount) {
rv = aCount;
}
nsCRT::memcpy(aBuf + aOffset, mUnicharData->GetBuffer() + mUnicharDataOffset,
rv * sizeof(PRUnichar));
mUnicharDataOffset += rv;
*aReadCount = rv;
return NS_OK;
}
PRInt32 ConverterInputStream::Fill(nsresult * aErrorCode)
{
if (nsnull == mInput) {
// We already closed the stream!
*aErrorCode = NS_BASE_STREAM_CLOSED;
return -1;
}
PRInt32 remainder = mByteData->GetLength() - mByteDataOffset;
mByteDataOffset = remainder;
PRInt32 nb = mByteData->Fill(aErrorCode, mInput, remainder);
if (nb <= 0) {
// Because we assume a many to one conversion, the lingering data
// in the byte buffer must be a partial conversion
// fragment. Because we know that we have recieved no more new
// data to add to it, we can't convert it. Therefore, we discard
// it.
return nb;
}
NS_ASSERTION(remainder + nb == mByteData->GetLength(), "bad nb");
// Now convert as much of the byte buffer to unicode as possible
PRInt32 dstLen = mUnicharData->GetBufferSize();
PRInt32 srcLen = remainder + nb;
*aErrorCode = mConverter->Convert(mUnicharData->GetBuffer(), 0, dstLen,
mByteData->GetBuffer(), 0, srcLen);
mUnicharDataOffset = 0;
mUnicharDataLength = dstLen;
mByteDataOffset += srcLen;
return dstLen;
}
// XXX hook up auto-detect here (do we need more info, like the url?)
NS_BASE nsresult
NS_NewConverterStream(nsIUnicharInputStream** aInstancePtrResult,
nsISupports* aOuter,
nsIInputStream* aStreamToWrap,
PRInt32 aBufferSize,
nsCharSetID aCharSet)
{
if (nsnull != aOuter) {
return NS_ERROR_NO_AGGREGATION;
}
// Create converter
nsIB2UConverter* converter;
nsresult rv = NS_NewB2UConverter(&converter, nsnull, aCharSet);
if (NS_OK != rv) {
return rv;
}
// Create converter input stream
ConverterInputStream* it =
new ConverterInputStream(aStreamToWrap, converter, aBufferSize);
converter->Release();
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kIUnicharInputStreamIID,
(void **) aInstancePtrResult);
}

View File

@@ -0,0 +1,182 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsUnitConversion_h__
#define nsUnitConversion_h__
#include "nscore.h"
#include <math.h>
/// handy constants
#define TWIPS_PER_POINT_INT 20
#define TWIPS_PER_POINT_FLOAT 20.0f
#define ROUND_EXCLUSIVE_CONST_FLOAT 0.4999999999999999f // XXX this should be derived from platform FLOAT_MIN
#define ROUND_CONST_FLOAT 0.5f
#define CEIL_CONST_FLOAT 0.9999999999999999f // XXX this should be derived from platform FLOAT_MIN
/*
* Coord Rounding Functions
*/
inline nscoord NSToCoordFloor(float aValue)
{
return ((0.0f <= aValue) ? nscoord(aValue) : nscoord(aValue - CEIL_CONST_FLOAT));
}
inline nscoord NSToCoordCeil(float aValue)
{
return ((0.0f <= aValue) ? nscoord(aValue + CEIL_CONST_FLOAT) : nscoord(aValue));
}
inline nscoord NSToCoordRound(float aValue)
{
return ((0.0f <= aValue) ? nscoord(aValue + ROUND_CONST_FLOAT) : nscoord(aValue - ROUND_CONST_FLOAT));
}
inline nscoord NSToCoordRoundExclusive(float aValue)
{
return ((0.0f <= aValue) ? nscoord(aValue + ROUND_EXCLUSIVE_CONST_FLOAT) :
nscoord(aValue - ROUND_EXCLUSIVE_CONST_FLOAT));
}
/*
* Int Rounding Functions
*/
inline PRInt32 NSToIntFloor(float aValue)
{
return ((0.0f <= aValue) ? PRInt32(aValue) : PRInt32(aValue - CEIL_CONST_FLOAT));
}
inline PRInt32 NSToIntCeil(float aValue)
{
return ((0.0f <= aValue) ? PRInt32(aValue + CEIL_CONST_FLOAT) : PRInt32(aValue));
}
inline PRInt32 NSToIntRound(float aValue)
{
return ((0.0f <= aValue) ? PRInt32(aValue + ROUND_CONST_FLOAT) : PRInt32(aValue - ROUND_CONST_FLOAT));
}
inline PRInt32 NSToIntRoundExclusive(float aValue)
{
return ((0.0f <= aValue) ? PRInt32(aValue + ROUND_EXCLUSIVE_CONST_FLOAT) :
PRInt32(aValue - ROUND_EXCLUSIVE_CONST_FLOAT));
}
/*
* Twips/Points conversions
*/
inline nscoord NSFloatPointsToTwips(float aPoints)
{
return NSToCoordRound(aPoints * TWIPS_PER_POINT_FLOAT);
}
inline nscoord NSIntPointsToTwips(PRInt32 aPoints)
{
return nscoord(aPoints * TWIPS_PER_POINT_INT);
}
inline PRInt32 NSTwipsToIntPoints(nscoord aTwips)
{
return NSToIntRound(aTwips / TWIPS_PER_POINT_FLOAT);
}
inline PRInt32 NSTwipsToFloorIntPoints(nscoord aTwips)
{
return NSToIntFloor(aTwips / TWIPS_PER_POINT_FLOAT);
}
inline PRInt32 NSTwipsToCeilIntPoints(nscoord aTwips)
{
return NSToIntCeil(aTwips / TWIPS_PER_POINT_FLOAT);
}
inline float NSTwipsToFloatPoints(nscoord aTwips)
{
return (float(aTwips) / TWIPS_PER_POINT_FLOAT);
}
/*
* Twips/Pixel conversions
*/
inline nscoord NSFloatPixelsToTwips(float aPixels, float aTwipsPerPixel)
{
return NSToCoordRound(aPixels * aTwipsPerPixel);
}
inline nscoord NSIntPixelsToTwips(PRInt32 aPixels, float aTwipsPerPixel)
{
return NSToCoordRound(float(aPixels) * aTwipsPerPixel);
}
inline float NSTwipsToFloatPixels(nscoord aTwips, float aPixelsPerTwip)
{
return (float(aTwips) * aPixelsPerTwip);
}
inline PRInt32 NSTwipsToIntPixels(nscoord aTwips, float aPixelsPerTwip)
{
return NSToIntRound(float(aTwips) * aPixelsPerTwip);
}
/*
* Twips/unit conversions
*/
inline nscoord NSUnitsToTwips(float aValue, float aPointsPerUnit)
{
return NSToCoordRound(aValue * aPointsPerUnit * TWIPS_PER_POINT_FLOAT);
}
inline float NSTwipsToUnits(nscoord aTwips, float aUnitsPerPoint)
{
return (aTwips * (aUnitsPerPoint / TWIPS_PER_POINT_FLOAT));
}
/// Unit conversion macros
//@{
#define NS_INCHES_TO_TWIPS(x) NSUnitsToTwips((x), 72.0f) // 72 points per inch
#define NS_FEET_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 12.0f)) // 12 inches per foot
#define NS_MILES_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 12.0f * 5280.0f)) // 5280 feet per mile
#define NS_MILLIMETERS_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 0.03937f))
#define NS_CENTIMETERS_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 0.3937f))
#define NS_METERS_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 39.37f))
#define NS_KILOMETERS_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 39370.0f))
#define NS_PICAS_TO_TWIPS(x) NSUnitsToTwips((x), 12.0f) // 12 points per pica
#define NS_DIDOTS_TO_TWIPS(x) NSUnitsToTwips((x), (16.0f / 15.0f)) // 15 didots per 16 points
#define NS_CICEROS_TO_TWIPS(x) NSUnitsToTwips((x), (12.0f * (16.0f / 15.0f))) // 12 didots per cicero
#define NS_TWIPS_TO_INCHES(x) NSTwipsToUnits((x), 1.0f / 72.0f)
#define NS_TWIPS_TO_FEET(x) NSTwipsToUnits((x), 1.0f / (72.0f * 12.0f))
#define NS_TWIPS_TO_MILES(x) NSTwipsToUnits((x), 1.0f / (72.0f * 12.0f * 5280.0f))
#define NS_TWIPS_TO_MILLIMETERS(x) NSTwipsToUnits((x), 1.0f / (72.0f * 0.03937f))
#define NS_TWIPS_TO_CENTIMETERS(x) NSTwipsToUnits((x), 1.0f / (72.0f * 0.3937f))
#define NS_TWIPS_TO_METERS(x) NSTwipsToUnits((x), 1.0f / (72.0f * 39.37f))
#define NS_TWIPS_TO_KILOMETERS(x) NSTwipsToUnits((x), 1.0f / (72.0f * 39370.0f))
#define NS_TWIPS_TO_PICAS(x) NSTwipsToUnits((x), 1.0f / 12.0f)
#define NS_TWIPS_TO_DIDOTS(x) NSTwipsToUnits((x), 1.0f / (16.0f / 15.0f))
#define NS_TWIPS_TO_CICEROS(x) NSTwipsToUnits((x), 1.0f / (12.0f * (16.0f / 15.0f)))
//@}
#endif

View File

@@ -0,0 +1,227 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsVoidArray.h"
#include "nsCRT.h"
#include "nsISizeOfHandler.h"
static PRInt32 kGrowArrayBy = 8;
nsVoidArray::nsVoidArray()
{
mArray = nsnull;
mArraySize = 0;
mCount = 0;
}
nsVoidArray::nsVoidArray(PRInt32 aCount)
{
NS_PRECONDITION(aCount > 0, "bad count");
mCount = mArraySize = aCount;
mArray = new void*[mCount];
nsCRT::memset(mArray, 0, mCount * sizeof(void*));
}
nsVoidArray& nsVoidArray::operator=(const nsVoidArray& other)
{
if (nsnull != mArray) {
delete mArray;
}
PRInt32 otherCount = other.mCount;
mArraySize = otherCount;
mCount = otherCount;
if (otherCount != 0) {
mArray = new void*[otherCount];
nsCRT::memcpy(mArray, other.mArray, otherCount * sizeof(void*));
} else {
mArray = nsnull;
}
return *this;
}
nsVoidArray::~nsVoidArray()
{
if (nsnull != mArray) {
delete [] mArray;
}
}
void
nsVoidArray::SizeOf(nsISizeOfHandler* aHandler) const
{
aHandler->Add(sizeof(*this));
aHandler->Add(sizeof(void*) * mArraySize);
}
void* nsVoidArray::ElementAt(PRInt32 aIndex) const
{
if (PRUint32(aIndex) >= PRUint32(mCount)) {
return nsnull;
}
return mArray[aIndex];
}
PRInt32 nsVoidArray::IndexOf(void* aPossibleElement) const
{
void** ap = mArray;
void** end = ap + mCount;
while (ap < end) {
if (*ap == aPossibleElement) {
return ap - mArray;
}
ap++;
}
return -1;
}
PRBool nsVoidArray::InsertElementAt(void* aElement, PRInt32 aIndex)
{
PRInt32 oldCount = mCount;
if (PRUint32(aIndex) > PRUint32(oldCount)) {
// An invalid index causes the insertion to fail
return PR_FALSE;
}
if (oldCount + 1 > mArraySize) {
// We have to grow the array
PRInt32 newCount = oldCount + kGrowArrayBy;
void** newArray = new void*[newCount];
if (mArray != nsnull && aIndex != 0)
nsCRT::memcpy(newArray, mArray, aIndex * sizeof(void*));
PRInt32 slide = oldCount - aIndex;
if (0 != slide) {
// Slide data over to make room for the insertion
nsCRT::memcpy(newArray + aIndex + 1, mArray + aIndex,
slide * sizeof(void*));
}
if (mArray != nsnull)
delete [] mArray;
mArray = newArray;
mArraySize = newCount;
} else {
// The array is already large enough
PRInt32 slide = oldCount - aIndex;
if (0 != slide) {
// Slide data over to make room for the insertion
nsCRT::memmove(mArray + aIndex + 1, mArray + aIndex,
slide * sizeof(void*));
}
}
mArray[aIndex] = aElement;
mCount++;
return PR_TRUE;
}
PRBool nsVoidArray::ReplaceElementAt(void* aElement, PRInt32 aIndex)
{
if (PRUint32(aIndex) >= PRUint32(mArraySize)) {
PRInt32 requestedCount = aIndex + 1;
PRInt32 growDelta = requestedCount - mCount;
PRInt32 newCount = mCount + (growDelta > kGrowArrayBy ? growDelta : kGrowArrayBy);
void** newArray = new void*[newCount];
nsCRT::memset(newArray, 0, newCount * sizeof(void*));
if (newArray==nsnull)
return PR_FALSE;
if (mArray != nsnull && aIndex != 0) {
nsCRT::memcpy(newArray, mArray, mCount * sizeof(void*));
if (mArray != nsnull)
delete [] mArray;
}
mArray = newArray;
mArraySize = newCount;
}
mArray[aIndex] = aElement;
if (aIndex >= mCount)
mCount = aIndex+1;
return PR_TRUE;
}
PRBool nsVoidArray::RemoveElementAt(PRInt32 aIndex)
{
PRInt32 oldCount = mCount;
if (PRUint32(aIndex) >= PRUint32(oldCount)) {
// An invalid index causes the replace to fail
return PR_FALSE;
}
// We don't need to move any elements if we're removing the
// last element in the array
if (aIndex < (oldCount - 1)) {
nsCRT::memmove(mArray + aIndex, mArray + aIndex + 1,
(oldCount - 1 - aIndex) * sizeof(void*));
}
mCount--;
return PR_TRUE;
}
PRBool nsVoidArray::RemoveElement(void* aElement)
{
void** ep = mArray;
void** end = ep + mCount;
while (ep < end) {
void* e = *ep++;
if (e == aElement) {
ep--;
return RemoveElementAt(PRInt32(ep - mArray));
}
}
return PR_FALSE;
}
void nsVoidArray::Clear()
{
mCount = 0;
}
void nsVoidArray::Compact()
{
PRInt32 count = mCount;
if (mArraySize != count) {
void** newArray = new void*[count];
if (nsnull != newArray) {
nsCRT::memcpy(newArray, mArray, count * sizeof(void*));
delete [] mArray;
mArray = newArray;
mArraySize = count;
}
}
}
PRBool nsVoidArray::EnumerateForwards(nsVoidArrayEnumFunc aFunc, void* aData)
{
PRInt32 index = -1;
PRBool running = PR_TRUE;
while (running && (++index < mCount)) {
running = (*aFunc)(mArray[index], aData);
}
return running;
}
PRBool nsVoidArray::EnumerateBackwards(nsVoidArrayEnumFunc aFunc, void* aData)
{
PRInt32 index = mCount;
PRBool running = PR_TRUE;
while (running && (0 <= --index)) {
running = (*aFunc)(mArray[index], aData);
}
return running;
}

View File

@@ -0,0 +1,74 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsVoidArray_h___
#define nsVoidArray_h___
#include "nscore.h"
class nsISizeOfHandler;
// Enumerator callback function. Return PR_FALSE to stop
typedef PRBool (*nsVoidArrayEnumFunc)(void* aElement, void *aData);
/// A basic zero-based array of void*'s that manages its own memory
class NS_BASE nsVoidArray {
public:
nsVoidArray();
nsVoidArray(PRInt32 aCount); // initial count of aCount elements set to nsnull
~nsVoidArray();
nsVoidArray& operator=(const nsVoidArray& other);
void SizeOf(nsISizeOfHandler* aHandler) const;
PRInt32 Count() const {
return mCount;
}
void* ElementAt(PRInt32 aIndex) const;
void* operator[](PRInt32 aIndex) const { return ElementAt(aIndex); }
PRInt32 IndexOf(void* aPossibleElement) const;
PRBool InsertElementAt(void* aElement, PRInt32 aIndex);
PRBool ReplaceElementAt(void* aElement, PRInt32 aIndex);
PRBool AppendElement(void* aElement) {
return InsertElementAt(aElement, mCount);
}
PRBool RemoveElement(void* aElement);
PRBool RemoveElementAt(PRInt32 aIndex);
void Clear();
void Compact();
PRBool EnumerateForwards(nsVoidArrayEnumFunc aFunc, void* aData);
PRBool EnumerateBackwards(nsVoidArrayEnumFunc aFunc, void* aData);
protected:
void** mArray;
PRInt32 mArraySize;
PRInt32 mCount;
private:
/// Copy constructors are not allowed
nsVoidArray(const nsVoidArray& other);
};
#endif /* nsVoidArray_h___ */

127
mozilla/base/src/nscore.h Normal file
View File

@@ -0,0 +1,127 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nscore_h___
#define nscore_h___
#ifdef _WIN32
#define NS_WIN32 1
#endif
#if defined(__unix)
#define NS_UNIX 1
#endif
#include "prtypes.h"
#include "nsDebug.h"
/** ucs2 datatype for 2 byte unicode characters */
typedef PRUint16 PRUcs2;
/** ucs4 datatype for 4 byte unicode characters */
typedef PRUint32 PRUcs4;
#ifdef NS_UCS4
typedef PRUcs4 PRUnichar;
#else
typedef PRUcs2 PRUnichar;
#endif
/// The preferred symbol for null.
#define nsnull 0
/* Define brackets for protecting C code from C++ */
#ifdef __cplusplus
#define NS_BEGIN_EXTERN_C extern "C" {
#define NS_END_EXTERN_C }
#else
#define NS_BEGIN_EXTERN_C
#define NS_END_EXTERN_C
#endif
/*----------------------------------------------------------------------*/
/* Import/export defines */
#ifdef NS_WIN32
#define NS_IMPORT _declspec(dllimport)
#define NS_IMPORT_(type) type _declspec(dllimport) __stdcall
#define NS_EXPORT _declspec(dllexport)
// XXX NS_EXPORT_ defined in nsCOm.h (xpcom) differs in where the __declspec
// is placed. It needs to be done this way to make the 4.x compiler happy...
#undef NS_EXPORT_
#define NS_EXPORT_(type) type _declspec(dllexport) __stdcall
#else
/* XXX do something useful? */
#define NS_IMPORT
#define NS_IMPORT_(type) type
#define NS_EXPORT
#define NS_EXPORT_(type) type
#endif
#ifdef _IMPL_NS_BASE
#define NS_BASE NS_EXPORT
#else
#define NS_BASE NS_IMPORT
#endif
#ifdef _IMPL_NS_NET
#define NS_NET NS_EXPORT
#else
#define NS_NET NS_IMPORT
#endif
#ifdef _IMPL_NS_DOM
#define NS_DOM NS_EXPORT
#else
#define NS_DOM NS_IMPORT
#endif
#ifdef _IMPL_NS_WIDGET
#define NS_WIDGET NS_EXPORT
#else
#define NS_WIDGET NS_IMPORT
#endif
#ifdef _IMPL_NS_VIEW
#define NS_VIEW NS_EXPORT
#else
#define NS_VIEW NS_IMPORT
#endif
#ifdef _IMPL_NS_GFXNONXP
#define NS_GFXNONXP NS_EXPORT
#define NS_GFXNONXP_(type) NS_EXPORT_(type)
#else
#define NS_GFXNONXP NS_IMPORT
#define NS_GFXNONXP_(type) NS_IMPORT_(type)
#endif
#ifdef _IMPL_NS_GFX
#define NS_GFX NS_EXPORT
#define NS_GFX_(type) NS_EXPORT_(type)
#else
#define NS_GFX NS_IMPORT
#define NS_GFX_(type) NS_IMPORT_(type)
#endif
#ifdef _IMPL_NS_PLUGIN
#define NS_PLUGIN NS_EXPORT
#else
#define NS_PLUGIN NS_IMPORT
#endif
#endif /* nscore_h___ */

View File

@@ -0,0 +1,43 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
LIBRARY_NAME = gmbaseunix
MODULE=raptor
REQUIRES=xpcom raptor
DEFINES = -D_IMPL_NS_WIDGET
CPPSRCS= \
nsTimer.cpp
CPP_OBJS= \
./$(OBJDIR)/nsTimer.o \
$(NULL)
include $(DEPTH)/config/config.mk
TARGETS = $(LIBRARY)
include $(DEPTH)/config/rules.mk

View File

@@ -0,0 +1,171 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include "nsCRT.h"
#include "prlog.h"
#include <stdio.h>
#include <limits.h>
#include "Xm/Xm.h"
static NS_DEFINE_IID(kITimerIID, NS_ITIMER_IID);
// Hack for now. This is Bad because it creates a dependency between the widget
// library and this library. This needs to be replaced with having code
// to pass an interface which can be queried for the app context.
extern XtAppContext gAppContext;
extern void nsTimerExpired(XtPointer aCallData);
/*
* Implementation of timers using Xt timer facility
*/
class TimerImpl : public nsITimer {
public:
public:
TimerImpl();
virtual ~TimerImpl();
virtual nsresult Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay);
virtual nsresult Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay);
NS_DECL_ISUPPORTS
virtual void Cancel();
virtual PRUint32 GetDelay() { return mDelay; }
virtual void SetDelay(PRUint32 aDelay) { mDelay=aDelay; };
void FireTimeout();
private:
nsresult Init(PRUint32 aDelay);
PRUint32 mDelay;
nsTimerCallbackFunc mFunc;
void *mClosure;
nsITimerCallback *mCallback;
// PRBool mRepeat;
TimerImpl *mNext;
XtIntervalId mTimerId;
};
void TimerImpl::FireTimeout()
{
if (mFunc != NULL) {
(*mFunc)(this, mClosure);
}
else if (mCallback != NULL) {
mCallback->Notify(this); // Fire the timer
}
// Always repeating here
// if (mRepeat)
// mTimerId = XtAppAddTimeOut(gAppContext, GetDelay(),(XtTimerCallbackProc)nsTimerExpired, this);
}
TimerImpl::TimerImpl()
{
NS_INIT_REFCNT();
mFunc = NULL;
mCallback = NULL;
mNext = NULL;
mTimerId = 0;
mDelay = 0;
}
TimerImpl::~TimerImpl()
{
}
nsresult
TimerImpl::Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay)
{
mFunc = aFunc;
mClosure = aClosure;
// mRepeat = aRepeat;
mTimerId = XtAppAddTimeOut(gAppContext, aDelay,(XtTimerCallbackProc)nsTimerExpired, this);
return Init(aDelay);
}
nsresult
TimerImpl::Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay)
{
mCallback = aCallback;
// mRepeat = aRepeat;
mTimerId = XtAppAddTimeOut(gAppContext, aDelay, (XtTimerCallbackProc)nsTimerExpired, this);
return Init(aDelay);
}
nsresult
TimerImpl::Init(PRUint32 aDelay)
{
mDelay = aDelay;
NS_ADDREF(this);
return NS_OK;
}
NS_IMPL_ISUPPORTS(TimerImpl, kITimerIID)
void
TimerImpl::Cancel()
{
XtRemoveTimeOut(mTimerId);
}
NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult)
{
NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
if (nsnull == aInstancePtrResult) {
return NS_ERROR_NULL_POINTER;
}
TimerImpl *timer = new TimerImpl();
if (nsnull == timer) {
return NS_ERROR_OUT_OF_MEMORY;
}
return timer->QueryInterface(kITimerIID, (void **) aInstancePtrResult);
}
void nsTimerExpired(XtPointer aCallData)
{
TimerImpl* timer = (TimerImpl *)aCallData;
timer->FireTimeout();
}

View File

@@ -0,0 +1,40 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..
IGNORE_MANIFEST=1
DEFINES=-D_IMPL_NS_BASE
LIBRARY_NAME=gmbase
MODULE=raptor
REQUIRES=xpcom raptor
CPPSRCS=nsTimer.cpp
CPP_OBJS=.\$(OBJDIR)\nsTimer.obj
LINCS=-I$(XPDIST)\public\xpcom -I$(XPDIST)\public\raptor
LCFLAGS = \
$(LCFLAGS) \
-D_IMPL_NS_BASE \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(OBJS)
$(MAKE_INSTALL) $(OBJDIR)\nsTimer.obj ..\$(OBJDIR)

View File

@@ -0,0 +1,373 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include "nsCRT.h"
#include "prlog.h"
#include <stdio.h>
#include <windows.h>
#include <limits.h>
static NS_DEFINE_IID(kITimerIID, NS_ITIMER_IID);
/*
* Implementation of timers lifted from Windows front-end file timer.cpp
*/
class TimerImpl : public nsITimer {
public:
static TimerImpl *gTimerList;
static UINT gWindowsTimer;
static DWORD gNextFire;
static DWORD gSyncHack;
static void ProcessTimeouts(DWORD aNow);
static void SyncTimeoutPeriod(DWORD aTickCount);
public:
TimerImpl();
virtual ~TimerImpl();
virtual nsresult Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay);
virtual nsresult Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay);
NS_DECL_ISUPPORTS
virtual void Cancel();
void Fire(DWORD aNow);
virtual PRUint32 GetDelay() { return mDelay; }
virtual void SetDelay(PRUint32 aDelay) {};
private:
nsresult Init(PRUint32 aDelay);
PRUint32 mDelay;
nsTimerCallbackFunc mFunc;
void *mClosure;
nsITimerCallback *mCallback;
DWORD mFireTime;
// PRBool mRepeat;
TimerImpl *mNext;
};
TimerImpl *TimerImpl::gTimerList = NULL;
UINT TimerImpl::gWindowsTimer = 0;
DWORD TimerImpl::gNextFire = (DWORD)-1;
DWORD TimerImpl::gSyncHack = 0;
void CALLBACK FireTimeout(HWND aWindow,
UINT aMessage,
UINT aTimerID,
DWORD aTime)
{
static BOOL bCanEnter = TRUE;
// Don't allow old timer messages in here.
if(aMessage != WM_TIMER) {
PR_ASSERT(0);
return;
}
if(aTimerID != TimerImpl::gWindowsTimer) {
return;
}
// Block only one entry into this function, or else.
if(bCanEnter) {
bCanEnter = FALSE;
// see if we need to fork off any timeout functions
if(TimerImpl::gTimerList) {
TimerImpl::ProcessTimeouts(aTime);
}
bCanEnter = TRUE;
}
}
// Function to correctly have the timer be set.
void
TimerImpl::SyncTimeoutPeriod(DWORD aTickCount)
{
// May want us to set tick count ourselves.
if(aTickCount == 0) {
if(gSyncHack == 0) {
aTickCount = ::GetTickCount();
}
else {
aTickCount = gSyncHack;
}
}
// If there's no list, we should clear the timer.
if(!gTimerList) {
if(gWindowsTimer) {
::KillTimer(NULL, gWindowsTimer);
gWindowsTimer = 0;
gNextFire = (DWORD)-1;
}
}
else {
// See if we need to clear the current timer.
// Curcumstances are that if the timer will not
// fire on time for the next timeout.
BOOL bSetTimer = FALSE;
TimerImpl *pTimeout = gTimerList;
if(gWindowsTimer) {
if(pTimeout->mFireTime != gNextFire) {
::KillTimer(NULL, gWindowsTimer);
gWindowsTimer = 0;
gNextFire = (DWORD)-1;
// Set the timer.
bSetTimer = TRUE;
}
}
else {
// No timer set, attempt.
bSetTimer = TRUE;
}
if(bSetTimer) {
DWORD dwFireWhen = pTimeout->mFireTime > aTickCount ?
pTimeout->mFireTime - aTickCount : 0;
if(dwFireWhen > UINT_MAX) {
dwFireWhen = UINT_MAX;
}
UINT uFireWhen = (UINT)dwFireWhen;
PR_ASSERT(gWindowsTimer == 0);
gWindowsTimer = ::SetTimer(NULL, 0, uFireWhen, (TIMERPROC)FireTimeout);
if(gWindowsTimer) {
// Set the fire time.
gNextFire = pTimeout->mFireTime;
}
}
}
}
// Walk down the timeout list and launch anyone appropriate
void
TimerImpl::ProcessTimeouts(DWORD aNow)
{
TimerImpl *p = gTimerList;
if(aNow == 0) {
aNow = ::GetTickCount();
}
BOOL bCalledSync = FALSE;
// Set the hack, such that when FE_ClearTimeout
// calls SyncTimeoutPeriod, that GetTickCount()
// overhead is not incurred.
gSyncHack = aNow;
// loop over all entries
while(p) {
// send it
if(p->mFireTime < aNow) {
// Make sure that the timer cannot be deleted during the
// Fire(...) call which may release *all* other references
// to p...
NS_ADDREF(p);
p->Fire(aNow);
// Clear the timer.
// Period synced.
p->Cancel();
bCalledSync = TRUE;
NS_RELEASE(p);
// Reset the loop (can't look at p->pNext now, and called
// code may have added/cleared timers).
// (could do this by going recursive and returning).
p = gTimerList;
} else {
// Make sure we fire an timer.
// Also, we need to check to see if things are backing up (they
// may be asking to be fired long before we ever get to them,
// and we don't want to pass in negative values to the real
// timer code, or it takes days to fire....
if(bCalledSync == FALSE) {
SyncTimeoutPeriod(aNow);
bCalledSync = TRUE;
}
// Get next timer.
p = p->mNext;
}
}
gSyncHack = 0;
}
TimerImpl::TimerImpl()
{
NS_INIT_REFCNT();
mFunc = NULL;
mCallback = NULL;
mNext = NULL;
mClosure = nsnull;
}
TimerImpl::~TimerImpl()
{
Cancel();
NS_IF_RELEASE(mCallback);
}
nsresult
TimerImpl::Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay)
{
mFunc = aFunc;
mClosure = aClosure;
// mRepeat = aRepeat;
return Init(aDelay);
}
nsresult
TimerImpl::Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay)
{
mCallback = aCallback;
NS_ADDREF(mCallback);
// mRepeat = aRepeat;
return Init(aDelay);
}
nsresult
TimerImpl::Init(PRUint32 aDelay)
{
DWORD dwNow = ::GetTickCount();
mDelay = aDelay;
mFireTime = (DWORD) aDelay + dwNow;
mNext = NULL;
// add it to the list
if(!gTimerList) {
// no list add it
gTimerList = this;
}
else {
// is it before everything else on the list?
if(mFireTime < gTimerList->mFireTime) {
mNext = gTimerList;
gTimerList = this;
} else {
TimerImpl * pPrev = gTimerList;
TimerImpl * pCurrent = gTimerList;
while(pCurrent && (pCurrent->mFireTime <= mFireTime)) {
pPrev = pCurrent;
pCurrent = pCurrent->mNext;
}
PR_ASSERT(pPrev);
// insert it after pPrev (this could be at the end of the list)
mNext = pPrev->mNext;
pPrev->mNext = this;
}
}
NS_ADDREF(this);
// Sync the timer fire period.
SyncTimeoutPeriod(dwNow);
return NS_OK;
}
NS_IMPL_ISUPPORTS(TimerImpl, kITimerIID)
void
TimerImpl::Fire(DWORD aNow)
{
if (mFunc != NULL) {
(*mFunc)(this, mClosure);
}
else if (mCallback != NULL) {
mCallback->Notify(this);
}
}
void
TimerImpl::Cancel()
{
TimerImpl *me = this;
if(gTimerList == this) {
// first element in the list lossage
gTimerList = mNext;
} else {
// walk until no next pointer
for(TimerImpl * p = gTimerList; p && p->mNext && (p->mNext != this); p = p->mNext)
;
// if we found something valid pull it out of the list
if(p && p->mNext && p->mNext == this) {
p->mNext = mNext;
} else {
// get out before we delete something that looks bogus
return;
}
}
// if we got here it must have been a valid element so trash it
NS_RELEASE(me);
// If there's now no be sure to clear the timer.
SyncTimeoutPeriod(0);
}
NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult)
{
NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
if (nsnull == aInstancePtrResult) {
return NS_ERROR_NULL_POINTER;
}
TimerImpl *timer = new TimerImpl();
if (nsnull == timer) {
return NS_ERROR_OUT_OF_MEMORY;
}
return timer->QueryInterface(kITimerIID, (void **) aInstancePtrResult);
}

View File

@@ -0,0 +1,105 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include <stdio.h>
#include "nsIUnicharInputStream.h"
#include "nsIURL.h"
#include "nsCRT.h"
#include "nsString.h"
#include "prprf.h"
#include "prtime.h"
static nsCharSetID ConvertCharacterSetName(const char* aName)
{
if (nsCRT::strcasecmp(aName, "iso-latin-1") == 0) {
return eCharSetID_IsoLatin1;
}
return (nsCharSetID) -1;
}
int main(int argc, char** argv)
{
if (3 != argc) {
printf("usage: CvtURL url character-set-name\n");
return -1;
}
char* characterSetName = argv[2];
nsCharSetID cset = ConvertCharacterSetName(characterSetName);
if (PRInt32(cset) < 0) {
printf("illegal character set name: '%s'\n", characterSetName);
return -1;
}
// Create url object
char* urlName = argv[1];
nsIURL* url;
nsresult rv = NS_NewURL(&url, urlName);
if (NS_OK != rv) {
printf("invalid URL: '%s'\n", urlName);
return -1;
}
// Get an input stream from the url
PRInt32 ec;
nsIInputStream* in = url->Open(&ec);
if (nsnull == in) {
printf("open of url('%s') failed: error=%x\n", urlName, ec);
return -1;
}
// Translate the input using the argument character set id into unicode
nsIUnicharInputStream* uin;
rv = NS_NewConverterStream(&uin, nsnull, in, 0, cset);
if (NS_OK != rv) {
printf("can't create converter input stream: %d\n", rv);
return -1;
}
// Read the input and write some output
PRTime start = PR_Now();
PRInt32 count = 0;
for (;;) {
PRUnichar buf[1000];
PRInt32 nb;
ec = uin->Read(buf, 0, 1000, &nb);
if (ec < 0) {
if (ec != NS_BASE_STREAM_EOF) {
printf("i/o error: %d\n", ec);
}
break;
}
count += nb;
}
PRTime end = PR_Now();
PRTime conversion, ustoms;
LL_I2L(ustoms, 1000);
LL_SUB(conversion, end, start);
LL_DIV(conversion, conversion, ustoms);
char buf[500];
PR_snprintf(buf, sizeof(buf),
"converting and discarding %d bytes took %lldms",
count, conversion);
puts(buf);
// Release the objects
in->Release();
uin->Release();
url->Release();
return 0;
}

View File

@@ -0,0 +1,62 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=../..
REQUIRES=xpcom netlib
include $(DEPTH)/config/config.mk
CPPSRCS = \
TestAtoms.cpp \
TestCRT.cpp \
$(NULL)
INCLUDES+=-I../src
OBJS = $(CPPSRCS:.cpp=.o)
EX_LIBS = \
$(DIST)/lib/libraptorbase.a \
$(DIST)/lib/libxpcom.a \
$(DIST)/lib/libplc21.a \
$(DIST)/lib/libplds21.a \
$(DIST)/lib/libnspr21.a \
$(NULL)
PROGS = $(addprefix $(OBJDIR)/, $(CPPSRCS:.cpp=))
TARGETS = $(PROGS)
include $(DEPTH)/config/rules.mk
# needed for mac linux
ifeq (linux,$(ARCH))
OS_LIBS += /usr/lib/libdl.so
endif
$(OBJDIR)/%.o: %.cpp
@$(MAKE_OBJDIR)
$(CCC) -o $@ $(CFLAGS) -c $*.cpp
$(PROGS):$(OBJDIR)/%: $(OBJDIR)/%.o $(EX_LIBS)
@$(MAKE_OBJDIR)
$(CCC) -o $@ $@.o $(LDFLAGS) $(EX_LIBS) $(OS_LIBS)
install:: $(TARGETS)
$(INSTALL) $(PROGS) $(DIST)/bin

View File

@@ -0,0 +1,108 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIAtom.h"
#include "nsString.h"
#include "prprf.h"
#include "prtime.h"
#include <stdio.h>
extern "C" int _CrtSetDbgFlag(int);
int main(int argc, char** argv)
{
FILE* fp = fopen("words.txt", "r");
if (nsnull == fp) {
printf("can't open words.txt\n");
return -1;
}
PRInt32 count = 0;
PRUnichar** strings = new PRUnichar*[60000];
nsIAtom** ids = new nsIAtom*[60000];
nsAutoString s1, s2;
PRTime start = PR_Now();
for (PRInt32 i = 0; i < 60000; i++) {
char buf[1000];
char* s = fgets(buf, sizeof(buf), fp);
if (nsnull == s) {
break;
}
nsAutoString sb(buf);
strings[count++] = sb.ToNewUnicode();
sb.ToUpperCase();
strings[count++] = sb.ToNewUnicode();
}
PRTime end0 = PR_Now();
// Find and create idents
for (i = 0; i < count; i++) {
ids[i] = NS_NewAtom(strings[i]);
}
PRUnichar qqs[1]; qqs[0] = 0;
nsIAtom* qq = NS_NewAtom(qqs);
PRTime end1 = PR_Now();
// Now make sure we can find all the idents we just made
for (i = 0; i < count; i++) {
nsIAtom* id = NS_NewAtom(ids[i]->GetUnicode());
if (id != ids[i]) {
id->ToString(s1);
ids[i]->ToString(s2);
printf("find failed: id='%s' ids[%d]='%s'\n",
s1.ToNewCString(), i, s2.ToNewCString());
return -1;
}
NS_RELEASE(id);
}
PRTime end2 = PR_Now();
// Destroy all the atoms we just made
NS_RELEASE(qq);
for (i = 0; i < count; i++) {
NS_RELEASE(ids[i]);
}
// Print out timings
PRTime end3 = PR_Now();
PRTime creates, finds, lookups, dtor, ustoms;
LL_I2L(ustoms, 1000);
LL_SUB(creates, end0, start);
LL_DIV(creates, creates, ustoms);
LL_SUB(finds, end1, end0);
LL_DIV(finds, finds, ustoms);
LL_SUB(lookups, end2, end1);
LL_DIV(lookups, lookups, ustoms);
LL_SUB(dtor, end3, end2);
char buf[500];
PR_snprintf(buf, sizeof(buf), "making %d ident strings took %lldms",
count, creates);
puts(buf);
PR_snprintf(buf, sizeof(buf), "%d new idents took %lldms",
count, finds);
puts(buf);
PR_snprintf(buf, sizeof(buf), "%d ident lookups took %lldms",
count, lookups);
puts(buf);
PR_snprintf(buf, sizeof(buf), "dtor took %lldusec", dtor);
puts(buf);
printf("%d live atoms\n", NS_GetNumberOfAtoms());
NS_POSTCONDITION(0 == NS_GetNumberOfAtoms(), "dangling atoms");
return 0;
}

View File

@@ -0,0 +1,89 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsCRT.h"
#include "nsString.h"
#include "plstr.h"
#include <stdlib.h>
// Verify that nsCRT versions of string comparison routines get the
// same answers as the native non-unicode versions. We only pass in
// iso-latin-1 strings, so the comparision must be valid.
static void Check(const char* s1, const char* s2, PRIntn n)
{
PRIntn clib = PL_strcmp(s1, s2);
PRIntn clib_n = PL_strncmp(s1, s2, n);
PRIntn clib_case = PL_strcasecmp(s1, s2);
PRIntn clib_case_n = PL_strncasecmp(s1, s2, n);
nsAutoString t1(s1), t2(s2);
const PRUnichar* us1 = t1.GetUnicode();
const PRUnichar* us2 = t2.GetUnicode();
PRIntn u = nsCRT::strcmp(us1, s2);
PRIntn u_n = nsCRT::strncmp(us1, s2, n);
PRIntn u_case = nsCRT::strcasecmp(us1, s2);
PRIntn u_case_n = nsCRT::strncasecmp(us1, s2, n);
PRIntn u2 = nsCRT::strcmp(us1, us2);
PRIntn u2_n = nsCRT::strncmp(us1, us2, n);
PRIntn u2_case = nsCRT::strcasecmp(us1, us2);
PRIntn u2_case_n = nsCRT::strncasecmp(us1, us2, n);
NS_ASSERTION(clib == u, "strcmp");
NS_ASSERTION(clib_n == u_n, "strncmp");
NS_ASSERTION(clib_case == u_case, "strcasecmp");
NS_ASSERTION(clib_case_n == u_case_n, "strncasecmp");
NS_ASSERTION(clib == u2, "strcmp");
NS_ASSERTION(clib_n == u2_n, "strncmp");
NS_ASSERTION(clib_case == u2_case, "strcasecmp");
NS_ASSERTION(clib_case_n == u2_case_n, "strncasecmp");
}
struct Test {
const char* s1;
const char* s2;
PRIntn n;
};
static Test tests[] = {
{ "foo", "foo", 3 },
{ "foo", "fo", 3 },
{ "foo", "bar", 3 },
{ "foo", "ba", 3 },
{ "foo", "zap", 3 },
{ "foo", "za", 3 },
{ "bar", "foo", 3 },
{ "bar", "fo", 3 },
{ "bar", "foo", 3 },
{ "bar", "fo", 3 },
};
#define NUM_TESTS (sizeof(tests) / sizeof(tests[0]))
void main()
{
Test* tp = tests;
for (PRIntn i = 0; i < NUM_TESTS; i++, tp++) {
Check(tp->s1, tp->s2, tp->n);
}
}

View File

@@ -0,0 +1,202 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "prtypes.h"
#include "nsVoidArray.h"
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include <stdio.h>
#include <stdlib.h>
#include "resources.h"
#include <windows.h>
static char* class1Name = "TimerTest";
static HINSTANCE gInstance, gPrevInstance;
static nsVoidArray *gTimeouts = NULL;
static void CreateRepeat(PRUint32 aDelay);
void
MyCallback (nsITimer *aTimer, void *aClosure)
{
printf("Timer executed with delay %d\n", (int)aClosure);
if (gTimeouts->RemoveElement(aTimer) == PR_TRUE) {
NS_RELEASE(aTimer);
}
}
void
MyRepeatCallback (nsITimer *aTimer, void *aClosure)
{
printf("Timer executed with delay %d\n", (int)aClosure);
if (gTimeouts->RemoveElement(aTimer) == PR_TRUE) {
NS_RELEASE(aTimer);
}
CreateRepeat((PRUint32)aClosure);
}
static void
CreateOneShot(PRUint32 aDelay)
{
nsITimer *timer;
NS_NewTimer(&timer);
timer->Init(MyCallback, (void *)aDelay, aDelay);
gTimeouts->AppendElement(timer);
}
static void
CreateRepeat(PRUint32 aDelay)
{
nsITimer *timer;
NS_NewTimer(&timer);
timer->Init(MyRepeatCallback, (void *)aDelay, aDelay);
gTimeouts->AppendElement(timer);
}
static void
CancelAll()
{
int i, count = gTimeouts->Count();
for (i=0; i < count; i++) {
nsITimer *timer = (nsITimer *)gTimeouts->ElementAt(i);
if (timer != NULL) {
timer->Cancel();
NS_RELEASE(timer);
}
}
gTimeouts->Clear();
}
long PASCAL
WndProc(HWND hWnd, UINT msg, WPARAM param, LPARAM lparam)
{
HMENU hMenu;
switch (msg) {
case WM_COMMAND:
hMenu = GetMenu(hWnd);
switch (LOWORD(param)) {
case TIMER_EXIT:
::DestroyWindow(hWnd);
exit(0);
case TIMER_1SECOND:
CreateOneShot(1000);
break;
case TIMER_5SECOND:
CreateOneShot(5000);
break;
case TIMER_10SECOND:
CreateOneShot(10000);
break;
case TIMER_1REPEAT:
CreateRepeat(1000);
break;
case TIMER_5REPEAT:
CreateRepeat(5000);
break;
case TIMER_10REPEAT:
CreateRepeat(10000);
break;
case TIMER_CANCEL:
CancelAll();
break;
default:
break;
}
default:
break;
}
return DefWindowProc(hWnd, msg, param, lparam);
}
static HWND CreateTopLevel(const char* clazz, const char* title,
int aWidth, int aHeight)
{
// Create a simple top level window
HWND window = ::CreateWindowEx(WS_EX_CLIENTEDGE,
clazz, title,
WS_OVERLAPPEDWINDOW|WS_CLIPCHILDREN,
CW_USEDEFAULT, CW_USEDEFAULT,
aWidth, aHeight,
HWND_DESKTOP,
NULL,
gInstance,
NULL);
::ShowWindow(window, SW_SHOW);
::UpdateWindow(window);
return window;
}
int PASCAL
WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR cmdParam, int nCmdShow)
{
gInstance = instance;
if (!prevInstance) {
WNDCLASS wndClass;
wndClass.style = 0;
wndClass.lpfnWndProc = WndProc;
wndClass.cbClsExtra = 0;
wndClass.cbWndExtra = 0;
wndClass.hInstance = gInstance;
wndClass.hIcon = LoadIcon(NULL, IDI_APPLICATION);
wndClass.hCursor = LoadCursor(NULL, IDC_ARROW);
wndClass.hbrBackground = (HBRUSH) GetStockObject(LTGRAY_BRUSH);
wndClass.lpszMenuName = class1Name;
wndClass.lpszClassName = class1Name;
RegisterClass(&wndClass);
}
// Create our first top level window
HWND window = CreateTopLevel(class1Name, "Raptor HTML Viewer", 620, 400);
gTimeouts = new nsVoidArray();
// Process messages
MSG msg;
while (GetMessage(&msg, NULL, 0, 0)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return msg.wParam;
}
void main(int argc, char **argv)
{
WinMain(GetModuleHandle(NULL), NULL, 0, SW_SHOW);
}

View File

@@ -0,0 +1,90 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..
MAKE_OBJ_TYPE = EXE
PROG0 = .\$(OBJDIR)\TimerTest.exe
PROG1 = .\$(OBJDIR)\TestAtoms.exe
PROG2 = .\$(OBJDIR)\CvtURL.exe
PROG3 = .\$(OBJDIR)\TestCRT.exe
RESFILE = timer.res
PROGRAMS = $(PROG0) $(PROG1) \
!ifdef MODULAR_NETLIB
$(PROG2) \
$(PROG3) \
!endif
$(NULL)
LINCS=-I..\src -I$(PUBLIC)\xpcom -I$(PUBLIC)\netlib
LLIBS= \
$(DIST)\lib\xpcom32.lib \
$(DIST)\lib\raptorbase.lib \
!ifdef MODULAR_NETLIB
$(DIST)\lib\netlib.lib \
!endif
$(LIBNSPR) \
$(DIST)\lib\libplc21.lib \
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
$(GLOWDIR)\glowcode.lib \
!endif
$(RESFILE)
include <$(DEPTH)\config\rules.mak>
install:: $(PROGRAMS)
$(MAKE_INSTALL) $(PROG0) $(DIST)\bin
$(MAKE_INSTALL) $(PROG1) $(DIST)\bin
!ifdef MODULAR_NETLIB
$(MAKE_INSTALL) $(PROG2) $(DIST)\bin
$(MAKE_INSTALL) $(PROG3) $(DIST)\bin
!endif
clobber::
rm -f $(DIST)\bin\TimerTest.exe
rm -f $(DIST)\bin\TestAtoms.exe
!ifdef MODULAR_NETLIB
rm -f $(DIST)\bin\CvtURL.exe
rm -f $(DIST)\bin\TestCRT.exe
!endif
# Move this into config/obj.inc when it's allowed
.cpp{.\$(OBJDIR)\}.exe:
$(CC) @<<$(CFGFILE)
$(CFLAGS)
$(LCFLAGS)
$(LINCS)
$(LINCS_1)
$(INCS)
$(LLIBS)
$(OS_LIBS)
-Fd$(PBDFILE)
-Fe.\$(OBJDIR)\
-Fo.\$(OBJDIR)\
$(CURDIR)$(*B).cpp
<<KEEP
$(PROG0): $(OBJDIR) TimerTest.cpp $(RESFILE)
$(PROG1): $(OBJDIR) TestAtoms.cpp
!ifdef MODULAR_NETLIB
$(PROG2): $(OBJDIR) CvtURL.cpp
$(PROG3): $(OBJDIR) TestCRT.cpp
!endif

View File

@@ -0,0 +1,32 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef resources_h___
#define resources_h___
#define TIMER_1SECOND 40000
#define TIMER_5SECOND 40001
#define TIMER_10SECOND 40002
#define TIMER_1REPEAT 40003
#define TIMER_5REPEAT 40004
#define TIMER_10REPEAT 40005
#define TIMER_CANCEL 40006
#define TIMER_EXIT 40010
#endif /* resources_h___ */

View File

@@ -0,0 +1,38 @@
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "resources.h"
TIMERTEST MENU DISCARDABLE
{
POPUP "Debug"
{
POPUP "One Shot"
{
MENUITEM "1 second", TIMER_1SECOND
MENUITEM "5 second", TIMER_5SECOND
MENUITEM "10 second", TIMER_10SECOND
}
POPUP "Repeated"
{
MENUITEM "1 second", TIMER_1REPEAT
MENUITEM "5 second", TIMER_5REPEAT
MENUITEM "10 second", TIMER_10REPEAT
}
MENUITEM "Cancel All", TIMER_CANCEL
MENUITEM "Exit", TIMER_EXIT
}
}

View File

@@ -1 +1 @@
5009808600
5009821211

View File

@@ -0,0 +1,345 @@
#!perl
package BuildList;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildMozilla DistMozilla);
=head1 NAME
BuildList - build the [ordered] set of projects needed to construct Mozilla
=head1 SYNOPSIS
...
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
=cut
use Moz;
use File::Path;
sub BuildMozilla()
{
if ( $main::DEBUG )
{
$D = "Debug";
$dist_dir = ":mozilla:dist:client_debug:";
}
else
{
$D = "";
$dist_dir = ":mozilla:dist:client:";
}
#
# Build the appropriate target of each project
#
BuildProjectClean(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stubs");
BuildProjectClean(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "Stubs");
BuildProjectClean(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stubs");
BuildProjectClean(":mozilla:cmd:macfe:projects:client:NavigatorStubs.mcp", "Stubs");
BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "NSRuntime$D.shlb");
MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb", "$dist_dir");
BuildProject(":mozilla:cmd:macfe:restext:StringLib.mcp", "Strings$D.shlb");
MakeAlias(":mozilla:cmd:macfe:restext:Strings$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.mcp", "MoreFiles$D.shlb");
MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb", "$dist_dir");
BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp", "NSPR20$D.shlb");
MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb", "$dist_dir");
BuildProject(":mozilla:dbm:macbuild:DBMPPC.mcp", "DBM$D.shlb");
MakeAlias(":mozilla:dbm:macbuild:DBM$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "MemAllocator$D.shlb");
MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "NSStdLib$D.shlb");
MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb", "$dist_dir");
BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp", "xpcom$D.shlb");
MakeAlias(":mozilla:xpcom:macbuild:xpcom$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:PowerPlant:PowerPlant.mcp", "PowerPlant$D.shlb");
MakeAlias(":mozilla:lib:mac:PowerPlant:PowerPlant$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:progress:macbuild:ProgressPPC.mcp", "Progress$D.shlb");
MakeAlias(":mozilla:modules:progress:macbuild:Progress$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "zlib$D.shlb");
MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb", "$dist_dir");
BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "JPEG$D.shlb");
MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb", "$dist_dir");
BuildProject(":mozilla:sun-java:stubs:macbuild:JavaStubs.mcp", "JavaRuntime$D.shlb");
MakeAlias(":mozilla:sun-java:stubs:macbuild:JavaRuntime$D.shlb", "$dist_dir");
BuildProject(":mozilla:js:jsj:macbuild:JSJ_PPC.mcp", "JSJ$D.o");
BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp", "JavaScript$D.shlb");
MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb", "$dist_dir");
BuildProject(":mozilla:js:macbuild:LiveConnect.mcp", "LiveConnect$D.shlb");
MakeAlias(":mozilla:js:macbuild:LiveConnect$D.shlb", "$dist_dir");
BuildProject(":mozilla:nav-java:stubs:macbuild:NavJavaStubs.mcp", "NavJava$D.shlb");
MakeAlias(":mozilla:nav-java:stubs:macbuild:NavJava$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "RDF$D.shlb");
MakeAlias(":mozilla:modules:rdf:macbuild:RDF$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:xml:macbuild:XML.mcp", "XML$D.shlb");
MakeAlias(":mozilla:modules:xml:macbuild:XML$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:schedulr:macbuild:Schedulr.mcp", "Scheduler$D.shlb");
MakeAlias(":mozilla:modules:schedulr:macbuild:Scheduler$D.shlb", "$dist_dir");
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomLib$D.shlb");
MakeAlias(":mozilla:build:mac:CustomLib:CustomLib$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "Security.o");
BuildProject(":mozilla:modules:libfont:macbuild:FontBroker.mcp", "FontBroker$D.o");
BuildProject(":mozilla:modules:oji:macbuild:oji.mcp", "oji$D.o");
BuildProject(":mozilla:lib:libmocha:macbuild:LibMocha.mcp", "LibMocha$D.o");
if ( $main::MOZ_DARK == 1 )
{
BuildProject(":mozilla:network:macbuild:network.mcp", "Network$D.o (mailnews)");
}
else
{
BuildProject(":mozilla:network:macbuild:network.mcp", "Network$D.o");
}
BuildProject(":mozilla:caps:macbuild:Caps.mcp", "Caps$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:png.mcp", "png$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:libimg.mcp", "libimg$D.o");
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomStaticLib$D.o");
if ( $main::MOZ_LITE == 1 )
{
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "Composer$D.o");
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Nav_Resources");
}
else
{
if ( $main::MOZ_MEDIUM == 1 )
{
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "Composer$D.o");
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Moz_Resources");
}
else
{
if ( $main::MOZ_DARK == 1 )
{
BuildProject(":ns:lib:libneo:mac:macbuild:NeoLib.mcp", "NeoLib$D.o");
MakeAlias( ":ns:lib:libneo:mac:macbuild:NeoLib$D.o", "$dist_dir");
BuildProject(":mozilla:lib:libmsg:macbuild:MsgLib.mcp", "MsgLib$D.o (secure)");
MakeAlias( ":mozilla:lib:libmsg:macbuild:MsgLib$D.o", "$dist_dir");
BuildProject(":mozilla:directory:c-sdk:ldap:libraries:macintosh:LDAPClient.mcp","LDAPClient$D.o");
MakeAlias( ":mozilla:directory:c-sdk:ldap:libraries:macintosh:LDAPClient$D.o", "$dist_dir");
BuildProject(":mozilla:cmd:macfe:MailNews:build:MailNews.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "Composer$D.o");
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "MozDark_Resources");
}
}
}
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Client$D");
}
sub DistMozilla()
{
mkpath([ ":mozilla:dist:", ":mozilla:dist:client:", ":mozilla:dist:client_debug:", ":mozilla:dist:client_stubs:" ]);
#CONFIG
InstallFromManifest(":mozilla:config:mac:MANIFEST", ":mozilla:dist:config:");
InstallFromManifest(":mozilla:config:mac:MANIFEST_config", ":mozilla:dist:config:");
#INCLUDE
InstallFromManifest(":mozilla:include:MANIFEST", ":mozilla:dist:include:");
InstallFromManifest(":mozilla:cmd:macfe:pch:MANIFEST", ":mozilla:dist:include:");
#MAC_COMMON
InstallFromManifest(":mozilla:build:mac:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:NSStdLib:include:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:MacMemoryAllocator:include:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:Misc:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:MoreFiles:MANIFEST", ":mozilla:dist:mac:common:morefiles:");
InstallFromManifest(":mozilla:cmd:macfe:MANIFEST", ":mozilla:dist:mac:macfe:");
#NSPR
InstallFromManifest(":mozilla:nsprpub:pr:include:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:pr:src:md:mac:MANIFEST", ":mozilla:dist:nspr:mac:");
InstallFromManifest(":mozilla:nsprpub:lib:ds:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:lib:libc:include:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:lib:msgc:include:MANIFEST", ":mozilla:dist:nspr:");
#DBM
InstallFromManifest(":mozilla:dbm:include:MANIFEST", ":mozilla:dist:dbm:");
#LIBIMAGE
InstallFromManifest(":mozilla:modules:libimg:png:MANIFEST", ":mozilla:dist:libimg:");
InstallFromManifest(":mozilla:modules:libimg:src:MANIFEST", ":mozilla:dist:libimg:");
InstallFromManifest(":mozilla:modules:libimg:public:MANIFEST", ":mozilla:dist:libimg:");
#SECURITY_freenav
InstallFromManifest(":mozilla:modules:security:freenav:MANIFEST", ":mozilla:dist:security:");
#XPCOM
InstallFromManifest(":mozilla:xpcom:src:MANIFEST", ":mozilla:dist:xpcom:");
#ZLIB
InstallFromManifest(":mozilla:modules:zlib:src:MANIFEST", ":mozilla:dist:zlib:");
#JPEG
InstallFromManifest(":mozilla:jpeg:MANIFEST", ":mozilla:dist:jpeg:");
#JSJ
# beard: this conflicts with LiveConnect's jsjava.h.
#InstallFromManifest(":mozilla:js:jsj:MANIFEST", ":mozilla:dist:jsj:");
#JSDEBUG
InstallFromManifest(":mozilla:js:jsd:MANIFEST", ":mozilla:dist:jsdebug:");
#JS
InstallFromManifest(":mozilla:js:src:MANIFEST", ":mozilla:dist:js:");
#LIVECONNECT
InstallFromManifest(":mozilla:js:src:liveconnect:MANIFEST", ":mozilla:dist:liveconnect:");
#RDF
InstallFromManifest(":mozilla:modules:rdf:include:MANIFEST", ":mozilla:dist:rdf:");
#XML
InstallFromManifest(":mozilla:modules:xml:glue:MANIFEST", ":mozilla:dist:xml:");
InstallFromManifest(":mozilla:modules:xml:expat:xmlparse:MANIFEST", ":mozilla:dist:xml:");
#LIBFONT
InstallFromManifest(":mozilla:modules:libfont:MANIFEST", ":mozilla:dist:libfont:");
InstallFromManifest(":mozilla:modules:libfont:src:MANIFEST", ":mozilla:dist:libfont:");
#LDAP
if ( $main::MOZ_LDAP || $main::MOZ_DARK )
{
InstallFromManifest(":mozilla:directory:c-sdk:ldap:include:MANIFEST", ":mozilla:dist:ldap:");
}
#PRIVACY
InstallFromManifest(":mozilla:privacy:public:MANIFEST", ":mozilla:dist:privacy:");
#SCHEDULER
InstallFromManifest(":mozilla:modules:schedulr:public:MANIFEST", ":mozilla:dist:schedulr:");
#NETWORK
InstallFromManifest(":mozilla:network:cache:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:client:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:cnvts:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:cstream:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:main:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:mimetype:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:util:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:about:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:certld:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:dataurl:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:file:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:ftp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:gopher:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:http:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:imap4:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:js:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:ldap:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:mailbox:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:marimba:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:nntp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:pop3:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:remote:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:smtp:MANIFEST", ":mozilla:dist:network:");
#HTML_DIALOGS
InstallFromManifest(":mozilla:lib:htmldlgs:MANIFEST", ":mozilla:dist:htmldlgs:");
#LAYOUT
InstallFromManifest(":mozilla:lib:layout:MANIFEST", ":mozilla:dist:layout:");
#LAYERS
InstallFromManifest(":mozilla:lib:liblayer:include:MANIFEST", ":mozilla:dist:layers:");
#PARSE
InstallFromManifest(":mozilla:lib:libparse:MANIFEST", ":mozilla:dist:libparse:");
#STYLE
InstallFromManifest(":mozilla:lib:libstyle:MANIFEST", ":mozilla:dist:libstyle:");
#PLUGIN
InstallFromManifest(":mozilla:modules:plugin:public:MANIFEST", ":mozilla:dist:plugin:");
InstallFromManifest(":mozilla:modules:plugin:src:MANIFEST", ":mozilla:dist:plugin:");
#LIBHOOK
InstallFromManifest(":mozilla:modules:libhook:public:MANIFEST", ":mozilla:dist:libhook:");
#LIBPREF
InstallFromManifest(":mozilla:modules:libpref:public:MANIFEST", ":mozilla:dist:libpref:");
#LIBREG
InstallFromManifest(":mozilla:modules:libreg:include:MANIFEST", ":mozilla:dist:libreg:");
#LIBUTIL
InstallFromManifest(":mozilla:modules:libutil:public:MANIFEST", ":mozilla:dist:libutil:");
#PROGRESS
InstallFromManifest(":mozilla:modules:progress:public:MANIFEST", ":mozilla:dist:progress:");
#EDTPLUG
InstallFromManifest(":mozilla:modules:edtplug:include:MANIFEST", ":mozilla:dist:edtplug:");
#NAV_JAVA
InstallFromManifest(":mozilla:nav-java:stubs:include:MANIFEST", ":mozilla:dist:nav-java:");
InstallFromManifest(":mozilla:nav-java:stubs:macjri:MANIFEST", ":mozilla:dist:nav-java:");
#SUN_JAVA
InstallFromManifest(":mozilla:sun-java:stubs:include:MANIFEST", ":mozilla:dist:sun-java:");
InstallFromManifest(":mozilla:sun-java:stubs:macjri:MANIFEST", ":mozilla:dist:sun-java:");
#OJI
InstallFromManifest(":mozilla:modules:oji:public:MANIFEST", ":mozilla:dist:oji:");
InstallFromManifest(":mozilla:modules:oji:src:MANIFEST", ":mozilla:dist:oji:");
#CAPS
InstallFromManifest(":mozilla:caps:include:MANIFEST", ":mozilla:dist:caps:");
#BASE
InstallFromManifest(":mozilla:base:public:MANIFEST", ":mozilla:dist:base:");
InstallFromManifest(":mozilla:base:src:MANIFEST", ":mozilla:dist:base:");
}
1;

View File

@@ -0,0 +1,143 @@
#!perl
package BuildListObsolete;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildMozilla);
=head1 NAME
BuildList - build the [ordered] set of projects needed to construct Mozilla
=head1 SYNOPSIS
...
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
=cut
sub BuildMozilla()
{
use Moz;
chdir(":::"); # assuming this script is in "...:mozilla:build:mac:", change dir to just inside "mozilla"
if ( $main::DEBUG )
{
$D = " (Debug)";
$LibD = "Debug";
$dist_dir = ":dist:client_debug:";
}
else
{
$D = "";
$LibD = "";
$dist_dir = ":dist:client:";
}
#
# Build the appropriate target of each project
#
BuildProjectClean(":lib:mac:NSStdLib:NSStdLib.mcp", "Stub Library");
BuildProjectClean(":lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stub Library");
BuildProjectClean(":cmd:macfe:projects:client:Navigator.mcp", "Stub Library");
BuildProject(":lib:mac:NSRuntime:NSRuntime.mcp");
MakeAlias(":lib:mac:NSRuntime:NSRuntimePPCLib", "$dist_dir");
BuildProject(":cmd:macfe:restext:NavStringLibPPC.mcp");
MakeAlias(":cmd:macfe:restext:StringsPPCLib", "$dist_dir");
BuildProject(":lib:mac:MoreFiles:build:MoreFilesPPC.prj");
MakeAlias(":lib:mac:MoreFiles:build:MoreFilesPPC.lib", "$dist_dir");
BuildProject(":nsprpub:macbuild:NSPR20PPC".$LibD.".mcp");
MakeAlias(":nsprpub:macbuild:NSPR20PPC".$LibD."Lib", "$dist_dir");
BuildProject(":dbm:macbuild:DBMPPC".$LibD.".mcp");
MakeAlias(":dbm:macbuild:DBMPPC".$LibD."Lib", "${dist_dir}");
BuildProject(":lib:mac:MacMemoryAllocator:MemAllocator.mcp", "PPC Shared Library$D");
MakeAlias(":lib:mac:MacMemoryAllocator:MemAllocatorPPC".$LibD."Lib", "$dist_dir");
BuildProject(":lib:mac:NSStdLib:NSStdLib.mcp", "PPC Shared Library");
MakeAlias(":lib:mac:NSStdLib:NSStdLibPPCLib", "$dist_dir");
BuildProject(":modules:security:freenav:macbuild:NoSecurity.mcp", "PPC Shared Library$D");
MakeAlias(":modules:security:freenav:macbuild:NoSecurity".$LibD."Lib", "$dist_dir");
BuildProject(":xpcom:macbuild:xpcomPPC".$LibD.".mcp");
MakeAlias(":xpcom:macbuild:xpcomPPC".$LibD."Lib", "$dist_dir");
BuildProject(":lib:mac:PowerPlant:PowerPlant.mcp");
MakeAlias(":lib:mac:PowerPlant:PowerPlantPPC".$LibD."Lib", "$dist_dir");
BuildProject(":modules:zlib:macbuild:zlib.mcp", "PPC Shared Library$D");
MakeAlias(":modules:zlib:macbuild:zlibPPC".$LibD."Lib", "$dist_dir");
BuildProject(":jpeg:macbuild:JPEG.mcp", "PPC Shared Library$D");
MakeAlias(":jpeg:macbuild:JPEGPPC".$LibD."Lib", "$dist_dir");
BuildProject(":sun-java:stubs:macbuild:JavaStubs.mcp", "PPC Shared Library$D");
MakeAlias(":sun-java:stubs:macbuild:JavaRuntimePPC".$LibD."Lib", "$dist_dir");
BuildProject(":js:jsj:macbuild:JSJ_PPC".$LibD.".mcp");
BuildProject(":js:macbuild:JavaScriptPPC".$LibD.".mcp");
MakeAlias(":js:macbuild:JavaScriptPPC".$LibD."Lib", "$dist_dir");
BuildProject(":nav-java:stubs:macbuild:NavJavaStubs.mcp", "PPC Shared Library$D");
MakeAlias(":nav-java:stubs:macbuild:NavJavaPPC".$LibD."Lib", "$dist_dir");
if ( $main::DEBUG )
{
BuildProject(":modules:rdf:macbuild:RDF.mcp", "PPC Shared Library +D -LDAP");
MakeAlias(":modules:rdf:macbuild:RDFPPCDebugLib", "${dist_dir}");
}
else
{
Moz::BuildProject(":modules:rdf:macbuild:RDF.mcp", "PPC Shared Library -LDAP");
MakeAlias(":modules:rdf:macbuild:RDFPPCLib", "${dist_dir}");
}
BuildProject(":modules:xml:macbuild:XML.mcp", "PPC Shared Library$D");
MakeAlias(":modules:xml:macbuild:XMLPPC".$LibD."Lib", "$dist_dir");
BuildProject(":modules:libfont:macbuild:FontBroker.mcp", "PPC Library$D");
BuildProject(":modules:schedulr:macbuild:Schedulr.mcp", "PPC Shared Library$D");
MakeAlias(":modules:schedulr:macbuild:Schedulr".$LibD."PPCLib", "$dist_dir");
BuildProject(":network:macbuild:network.mcp", "PPC Library (Debug Moz)");
if ( $main::MOZ_LITE == 0 )
{
BuildProject(":cmd:macfe:Composer:build:Composer.mcp", "PPC Library$D");
}
BuildProject(":cmd:macfe:projects:client:Navigator.mcp", "Moz PPC App$D");
}
1;

View File

@@ -0,0 +1,40 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
use Moz;
use BuildList;
$DEBUG = 0;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,124 @@
#!perl
package BuildMozilla;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildMozilla);
=head1 NAME
BuildMozilla - build the [ordered] set of projects needed to construct Mozilla
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
=cut
sub BuildMozilla()
{
use Moz;
chdir("::::"); # assuming this script is in "...:mozilla:build:mac:", change dir to just above "mozilla"
# Ideally, we would set the target name like so:
# $target = $main::DEBUG ? "debug" : "optimized";
# ...and all projects would have corresponding targets
$D = $main::DEBUG ? " (Debug)" : ""; # $D becomes a suffix to target names for selecting either the debug or non-debug target of a project
#
# Build the appropriate target of each project
#
Moz::BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stub Library");
Moz::BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stub Library");
Moz::BuildProject(":mozilla:cmd:macfe:projects:client:Navigator.mcp", "Stub Library");
Moz::BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp");
Moz::BuildProject(":mozilla:cmd:macfe:restext:NavStringLibPPC.mcp");
Moz::BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.prj");
if ( $main::DEBUG )
{
Moz::BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPCDebug.mcp");
Moz::BuildProject(":mozilla:dbm:macbuild:DBMPPCDebug.mcp");
}
else
{
Moz::BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp");
Moz::BuildProject(":mozilla:dbm:macbuild:DBMPPC.mcp");
}
Moz::BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "PPC Shared Library");
Moz::BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "PPC Shared Library$D");
if ( $main::DEBUG )
{
Moz::BuildProject(":mozilla:xpcom:macbuild:xpcomPPCDebug.mcp");
}
else
{
Moz::BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp");
}
Moz::BuildProject(":mozilla:lib:mac:PowerPlant:PowerPlant.mcp");
Moz::BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:sun-java:stubs:macbuild:JavaStubs.mcp", "PPC Shared Library$D");
if ( $main::DEBUG )
{
Moz::BuildProject(":mozilla:js:jsj:macbuild:JSJ_PPCDebug.mcp");
Moz::BuildProject(":mozilla:js:macbuild:JavaScriptPPCDebug.mcp");
}
else
{
Moz::BuildProject(":mozilla:js:jsj:macbuild:JSJ_PPC.mcp");
Moz::BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp");
}
Moz::BuildProject(":mozilla:nav-java:stubs:macbuild:NavJavaStubs.mcp", "PPC Shared Library$D");
# the following `if' can be fixed when we either rename the debug target of the RDF project, or of all the other projects
if ( $main::DEBUG )
{
Moz::BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "PPC Shared Library +D -LDAP");
}
else
{
Moz::BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "PPC Shared Library -LDAP");
}
Moz::BuildProject(":mozilla:modules:xml:macbuild:XML.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:modules:libfont:macbuild:FontBroker.mcp", "PPC Library$D");
Moz::BuildProject(":mozilla:modules:schedulr:macbuild:Schedulr.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:network:macbuild:network.mcp", "PPC Library (Debug Moz)");
Moz::BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "PPC Library$D");
Moz::BuildProject(":mozilla:cmd:macfe:projects:client:Navigator.mcp", "Moz PPC App$D");
}
1;

View File

@@ -0,0 +1,40 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
use Moz;
use BuildList;
$DEBUG = 1;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,134 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# nglayout build script (debug)
#
use NGLayoutBuildList;
use Cwd;
use Moz;
# configuration variables
$DEBUG = 1;
$pull{all} = 0;
$pull{lizard} = 0;
$pull{xpcom} = 0;
$pull{imglib} = 0;
$pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
$build{all} = 0;
$build{dist} = 0;
$build{common}= 0;
$build{nglayout}= 0;
#
# UI
#
@choices = ("pull_and_build_all",
"pull_all",
"build_all",
"pull_nglayout",
"build_dist",
"build_projects");
#damn, this does not work on
if (0)
{
while (GetFrontProcess () != GetCurrentProcess())
{
SetFrontProcess( GetCurrentProcess() );
}
@pick = MacPerl::Pick("What would you like to do?", @choices);
$pull{all} = 0;
$build{all} = 1;
foreach $i (@pick)
{
if ($i eq "pull_and_build_all")
{
$pull{all} = 1;
$build{all} = 1;
}
elsif ($i eq "pull_all")
{
$pull{all} = 1;
}
elsif ($i eq "build_all")
{
$build{all} = 1;
}
elsif ($i eq "build_dist")
{
$build{dist} = 1;
}
elsif ($i eq "build_projects")
{
$build{projects} = 1;
}
}
}
else
{
$pull{all} = 1;
$build{all} = 1;
# $pull{netlib} = 1;
# $pull{nglayout} = 1;
# $build{common} = 1;
# $build{nglayout} = 1;
# $build{dist} = 1;
# $pull{nglayout} = 1;
}
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
# do the work
# you should not have to edit anything bellow
chdir("::::");
$MOZ_SRC = cwd();
Moz::StopForErrors();
#Moz::DontStopForErrors();
#OpenErrorLog("::NGLayoutBuildLog");
OpenErrorLog(":::Mozilla.BuildLog"); # Tinderbox requires that name
Checkout();
chdir($MOZ_SRC);
BuildDist();
chdir($MOZ_SRC);
BuildProjects();
print "Build layout complete\n";

Binary file not shown.

View File

@@ -0,0 +1,374 @@
#!perl
package CodeWarriorLib;
=pod
=head1 NAME
CodeWarriorLib - supply interface to CodeWarrior
=head1 SYNOPSIS
#!perl
use CodeWarriorLib;
CodeWarriorLib::activate();
$had_errors = CodeWarriorLib::build_project(
$project_path, $target_name, $recent_errors_file, $clean_build
);
=head1 DESCRIPTION
Replaces the AppleScript library I<CodeWarriorLib>.
=over 4
=cut
use strict;
use Mac::AppleEvents::Simple;
use Mac::AppleEvents;
use Mac::Processes;
use Mac::MoreFiles;
use Mac::Types;
use File::Basename;
use vars qw($VERSION);
$VERSION = '1.01';
my($app) = 'CWIE';
# 0 == don't switch CWIE to front app in do_event(), 1 == do switch
# note: activate() still switches when called
$Mac::AppleEvents::Simple::SWITCH = 0;
# supply your own path to the source here
#_test('PowerPudgeIV:mozilla:mozilla:');
=pod
=item _get_project($full_path)
A private routine returning a reference to the open project with the given name,
or else the empty string (when that project is not open)
full_path is a string identifying the project to be built and is of the form,
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
=cut
sub _get_project ($) {
my(
$full_path, $candidate_projects
) = @_;
$candidate_projects = _doc_named(basename($full_path, '*'));
if ($candidate_projects) {
my($cps) = _get_dobj($candidate_projects);
my($num) = AECountItems($cps);
if ($num) { # is a list
foreach (1 .. AECountItems($cps)) {
my($cp) = AEGetNthDesc($cps, $_);
if ($full_path eq _full_path($cp)) {
return($cp);
}
}
} else { # is only one, not a list
if ($full_path eq _full_path($cps)) {
return($cps);
}
}
}
return;
}
=pod
=item build_project
Build a selected target of a project, saving any errors to a file, if supplied.
full_path is a string identifying the project to be built and is of the form,
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
If target_name is the empty string, the current target of the selected project
will be built, else, target_name should be a string matching a target name in
the selected project.
If error_path is the empty string, errors will not be saved to a file,
else, error_path should be the full path of a file to save error messages into.
=cut
sub build_project ($;$$$) {
my(
$full_path, $target_name, $error_path,
$remove_object, $p, $project_was_closed, $had_errors
) = @_;
_close_errors_window();
while (1) {
$p = _get_project($full_path);
if (!$p) {
return if ($project_was_closed);
$project_was_closed = 1;
_open_file($full_path);
} else {
last;
}
}
$had_errors = 0;
if ($target_name eq '') {
if ($remove_object) {_remove_object($p)}
_build($p);
} else {
if ($remove_object) {_remove_object($p, $target_name)}
_build($p, $target_name);
}
if ($error_path ne '') {
_save_errors_window($error_path);
}
$had_errors = _close_errors_window();
if ($project_was_closed) {
$p = _get_project($full_path);
_close($p);
}
return($had_errors);
}
=pod
=item activate()
Launches CodeWarrior and brings it to the front.
Once found, path will be saved in ':idepath.txt' for future reference.
Edit or delete this file to change the location of the IDE. If app is
moved, C<activate()> will prompt for a new location.
First looks for an open CodeWarrior app. Second, tries to open previously
saved location in ':idepath.txt'. Third, tries to find it and allow user
to choose it with Navigation Services (if present). Fourth, uses good old
GUSI routines built-in to MacPerl for a Choose Directory dialog box.
=cut
sub activate () {
local(*F);
my($filepath, $appath, $psi) = (':idepath.txt');
foreach $psi (values(%Process)) {
if ($psi->processSignature() eq $app) {
$appath = $psi->processAppSpec(), "\n";
}
_save_appath($filepath, $appath);
}
if ((!$appath || ! -x $appath) && open(F, $filepath)) {
$appath = <F>;
close(F);
}
if (!$appath || ! -x $appath) {
if (eval {require Mac::Navigation}) {
my($options, $nav);
Mac::Navigation->import();
$options = NavGetDefaultDialogOptions();
$options->message('Where is CodeWarrior IDE?');
$options->windowTitle('Find CodeWarrior IDE');
$nav = NavChooseObject($Application{$app}, $options);
die "CodeWarrior IDE not found.\n" if (!$nav || !$nav->file(1));
$appath = $nav->file(1);
} else {
local(*D);
my $cwd = `pwd`;
$appath = _get_folder(
'Where is the folder containing CodeWarrior IDE?',
dirname($Application{$app})
) . ':';
die "CodeWarrior IDE not found.\n" if !$appath;
opendir(D, $appath) or die $!;
chdir($appath);
foreach my $file (sort readdir (D)) {
my(@app) = MacPerl::GetFileInfo($file);
if ($app[0] && $app[1] &&
$app[1] eq 'APPL' && $app[0] eq $app
) {
$appath .= $file;
last;
}
}
chomp($cwd);
chdir($cwd);
}
_save_appath($filepath, $appath);
}
my($lp) = LaunchParam->new(
launchAppSpec => $appath,
launchControlFlags => launchContinue() + launchNoFileFlags()
);
LaunchApplication($lp) or die $^E;
}
sub _build ($;$) {
my($evt);
if ($_[1]) {
my($prm) =
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
AEPrint($_[0]) . '}';
$evt = do_event(qw/CWIE MAKE/, $app, $prm, $_[1]);
} else {
my($prm) = q"'----':" . AEPrint($_[0]);
$evt = do_event(qw/CWIE MAKE/, $app, $prm);
}
}
sub _remove_object ($;$) {
my($evt);
if ($_[1]) {
my($prm) =
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
AEPrint($_[0]) . '}';
$evt = do_event(qw/CWIE RMOB/, $app, $prm, $_[1]);
} else {
my($prm) = q"'----':" . AEPrint($_[0]);
$evt = do_event(qw/CWIE RMOB/, $app, $prm);
}
}
sub _open_file ($) {
my($prm) =
q"'----':obj {form:name, want:type(alis), " .
q"seld:TEXT(@), from:'null'()}";
do_event(qw/aevt odoc/, $app, $prm, $_[0]);
}
sub _doc_named ($) {
my($prm) =
q"'----':obj {form:test, want:type(docu), from:'null'(), " .
q"seld:cmpd{relo:'= ', 'obj1':obj {form:prop, want:type" .
q"(prop), seld:type(pnam), from:'exmn'()}, 'obj2':TEXT(@)}}";
my($evt) = do_event(qw/core getd/, $app, $prm, $_[0]);
return($evt->{REPLY} eq 'aevt\ansr{}' ? undef : $evt);
}
sub _full_path ($) {
my($obj) = $_[0];
my($prm) =
q"'----':obj {form:prop, want:type(prop), seld:type(FILE), " .
q"from:" . AEPrint($_[0]) . q"}, rtyp:type(TEXT)";
my($evt) = do_event(qw/core getd/, $app, $prm);
return MacPerl::MakePath(
MacUnpack('fss ', (
AEGetParamDesc($evt->{REP}, keyDirectObject()))->data()->get()
)
);
}
sub _save_errors_window ($) {
my($prm) =
q"'----':obj {form:name, want:type(alis), seld:TEXT(@), from:'null'()}";
do_event(qw/MMPR SvMs/, $app, $prm, $_[0]);
}
sub _close_errors_window () {
my($prm) =
q"'----':obj {form:name, want:type(cwin), " .
q"seld:TEXT(@), from:'null'()}";
my($evt) = do_event(qw/core clos/, $app, $prm, 'Errors & Warnings');
return($evt->{REPLY} eq 'aevt\ansr{}' ? 1 : 0);
}
sub _close () {
my($prm) = q"'----':" . AEPrint($_[0]);
do_event(qw/core clos/, $app, $prm);
}
sub _get_dobj ($) {
return(AEGetParamDesc($_[0]->{REP}, keyDirectObject()));
}
sub _get_folder ($$) {
require 'GUSI.ph';
my($prompt, $default) = @_;
MacPerl::Choose(
GUSI::AF_FILE(), 0, $prompt, '',
GUSI::CHOOSE_DIR() + ($default ? &GUSI::CHOOSE_DEFAULT : 0),
$default
);
}
sub _save_appath ($$) {
open(F, '>' . $_[0]) or die $!;
print F $_[1];
close(F);
}
sub _test ($) {
activate();
my($path) = $_[0];
build_project(
"${path}modules:xml:macbuild:XML.mcp", '',
"${path}build:mac:Mozilla.BuildLog.part"
);
}
1;
=pod
=back
=head1 HISTORY
=over 4
=item v1.01, June 1, 1998
Made fixes to C<chdir()> in C<activate()>, made C<activate()> more robust
in finding CodeWarrior IDE, added global variable to NOT switch to IDE
for each sent event, a few other fixes.
=item v1.00, May 30, 1998
First shot
=back
=head1 AUTHORS
Chris Nandor F<E<lt>pudge@pobox.comE<gt>>, and the author of the
original I<CodeWarriorLib>, Scott Collins F<E<lt>scc@netscape.comE<gt>>.
=head1 SEE ALSO
BuildProject L<Moz>.
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
=cut

View File

@@ -0,0 +1,78 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
if {#} != 1
echo "CopyExports requires 1 parameters:"
echo "Parameter 1: path relative to {SourceRootDir} of the file which contains"
echo " the list of files to be copied, one per line. This path"
echo " may not begin with a colon"
echo
Exit 1
end if
Set SourceList "{SourceRootDir}{1}"
Set ScriptsDir "{SourceRootDir}mozilla:build:mac:"
#set sourceList "{SourceRootDir}mozilla:{1}"
if {verbose}
echo "Source list is in file ¶"{SourceList}¶""
echo "Scripts directory is ¶"{ScriptsDir}¶""
end if
# for each line in the source file, remove it if it starts with #, otherwise quote it
for curLine in `streamedit "{sourceList}" -e '/¥#Å/ Delete; /¥/ Replace /(Å)¨1/ "¶""¨1"¶""'`
echo "{curLine}"
# ignore empty lines
if `evaluate "{{curLine}}" != ""`
echo "{curLine}"
# strip out trailing comments
if `evaluate "{curLine}" =~ /(Å)¨1[ ¶t]+(#Å)¨2/`
set sourceLine "{¨1}"
# echo "Discarding comment {¨2}"
else
set sourceLine "{curLine}"
end if
if `evaluate "{sourceLine}" =~ /([Â ¶t]+)¨1[ ¶t]+[:]*(Å)¨2/`
if {verbose}
echo "Cur line is {sourceLine}"
end if
set exportFile "{¨1}"
set theTarget "{¨2}"
if {verbose}
echo "Export file name is {exportFile}"
echo "Target directory is {theTarget}"
end if
"{ScriptsDir}CopyList.script" "{exportFile}" "{theTarget}"
end if
end if
end for

View File

@@ -0,0 +1,81 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is the controlling script for a set of scripts that copy public
# header files in one or more source trees into a single, "dist" directory.
#
# It relies on the two accompanying scripts, ÒCopyList.scriptÓ and
# ÒCopyExports.scriptÓ, which must be in the same directory.
#
# To execute this script, select everything from "# Get the..." to
# " the end" and hit the Enter key.
#
# Known bugs:
# Header files are always copied if the export.mac file contains
# non-local paths.
# Spurious output is produced even when verbose is off.
#
# Uncomment this to get some progress information
# set -e verbose 1
# Get the root of everything
set magicfilepath "{systempfolder}filepath" # Temporary items folder, "filepath"
if !`Exists "{{magicFilePath}}"`
Echo "No file path file seems to have been created in the temporary items folder."
Echo "Was this script executed from the perl script? That's the way it was designed."
Exit 1
end if
set myDirectory "`catenate "{{magicFilePath}}"`"
delete -i "{{magicFilePath}}"
Set SourceList "{myDirectory}{1}"
(Evaluate "{myDirectory}" =~ /(Å:)¨1[Â:]+:[Â:]+:[Â:]+/) #·· dev:null
Set -e mozillaDir "{¨1}"
if !`Exists "{{mozillaDir}}"`
Echo "A file path was passed, but it doesn't seem to be the mozilla directory."
Exit 1
end if
echo "Mozilla directory found at {mozillaDir}"
#Calculate the root directory by stripping off the leaf name.
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2/) #·· dev:null
Set -e SourceRootDir "{¨1}"
Set -e DestRootDir "{mozillaDir}dist:"
# Ensure the build and stubs folders exist
if !`exists -d "{mozillaDir}dist"`
newfolder "{mozillaDir}dist"
end if
if !`exists -d "{mozillaDir}dist:client"`
newfolder "{mozillaDir}dist:client"
end if
if !`exists -d "{mozillaDir}dist:client_debug"`
newfolder "{mozillaDir}dist:client_debug"
end if
if !`exists -d "{mozillaDir}dist:client_stubs"`
newfolder "{mozillaDir}dist:client_stubs"
end if
"{SourceRootDir}mozilla:build:mac:CopyExports.script" "mozilla:build:mac:MacExportListPublic"
# the end

View File

@@ -0,0 +1,97 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
if {#} != 2
echo "CopyList requires 2 parameters:"
echo "Parameter 1: path relative to {SourceRootDir} of the file which contains"
echo " the list of files to be copied, one per line. This path"
echo " may not begin with a colon"
echo
echo "Parameter 2: path relative to {DestRootDir} of the directory where all the"
echo " files are to be copied. No initial colons!"
echo
Exit 1
end if
set debugEcho "" # This setting will actually duplicate the files
#set debugEcho "echo" # This setting will merely print the "duplicate" commands.
set sourceList "{SourceRootDir}{1}"
set targetDir "{DestRootDir}{2}"
# targetDir may not end in a colon for this script to work.
if `Evaluate "{targetDir}" =~ /(Å)¨1:/`
#echo "Removed a colon"
set targetDir "{¨1}"
end if
#Ensure the target hierarchy exists
# Volume name
(Evaluate "{TargetDir}" =~ /([Â:]+)¨1:Å/) ·· dev:null
Set PartialPath "{¨1}"
Loop
(Evaluate "{TargetDir}" =~ /("{PartialPath}":[Â:]+)¨1([:]*)¨2Å/) ·· dev:null
Set PartialPath "{¨1}"
Set Exit 0
(NewFolder "{PartialPath}") ·· dev:null
Set Exit 1
break if "{¨2}" == ""
End Loop
#Calculate the source directory by stripping off the leaf name.
(Evaluate "{SourceList}" =~ /(Å:)¨1([Â:]+)¨2/) #·· dev:null
Set SourceDir "{¨1}"
if {verbose}
echo "Source list is in file ¶"{sourceList}¶""
echo "Source directory is ¶"{SourceDir}¶""
echo "Target directory is ¶"{targetDir}¶""
end if
# Strip all comment lines, pipe the stripped lines into the "for" loop.
# We quote each whole line here so that we deal with a line at a time in the
# for loop. Don't ya just love MPW quoting rulesÉ
for f in `streamedit "{sourceList}" -e '/¥#Å/ Delete; /¥/ Replace /(Å)¨1/ "¶""¨1"¶""'`
if `evaluate "{{f}}" != ""`
# strip out trailing comments (in fact, anything following whitespace)
if `evaluate "{f}" =~ /([Â ¶t]+)¨1[ ¶t]+([#]*Å)¨2/`
set sourceFile "{¨1}"
# echo "Discarding comment {¨2}"
else
set sourceFile "{f}"
end if
# sourceFile can be a relative path, so need to get the file name for date comparisons
if `evaluate "{sourceFile}" =~ /Å:([Â:]+)¨1/`
set filename "{¨1}"
else
set filename "{sourceFile}"
end if
# now copy the file if newer
if "`Newer "{sourceDir}{sourceFile}" "{targetDir}:{filename}"`" #|| !`Exists "{targetDir}:{filename}"`
if {verbose} ; echo "{sourceDir}{sourceFile} is newer than {targetDir}:{filename}" ; end if
#{debugEcho} duplicate -y "{sourceDir}{sourceFile}" "{targetDir}"
{debugEcho} newalias "{sourceDir}{sourceFile}" "{targetDir}:{filename}"
end if
end if
end for

View File

@@ -0,0 +1,4 @@
/* This library only exists to provide a dummy library for the final project */
/* There is nothing to do here. */

Binary file not shown.

View File

@@ -0,0 +1,69 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is the controlling script for a set of scripts that copy public
# header files in one or more source trees into a single, "dist" directory.
#
# It relies on the two accompanying scripts, ÒCopyList.scriptÓ and
# ÒCopyExports.scriptÓ, which must be in the same directory.
#
# To execute this script, select everything from "# Get the..." to
# " the end" and hit the Enter key.
#
# Known bugs:
# Spurious output is produced even when verbose is off.
#
# Uncomment this to get some progress information
# set -e verbose 1
# Get the root of everything
set moz ""
loop
set mozillaDir `GetFileName -d -m "Please select the ÒmozillaÓ directory"`
#set SourceRootDir
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2:/) #·· dev:null
set moz "{¨2}"
break if "{moz}" == "mozilla"
Alert "Sorry, this only works if you select the folder called ÒmozillaÓ."
end loop
#Calculate the root directory by stripping off the leaf name.
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2/) #·· dev:null
Set -e SourceRootDir "{¨1}"
Set -e DestRootDir "{mozillaDir}dist:"
# Ensure the build and stubs folders exist
if !`exists -d "{mozillaDir}dist"`
newfolder "{mozillaDir}dist"
end if
if !`exists -d "{mozillaDir}dist:client"`
newfolder "{mozillaDir}dist:client"
end if
if !`exists -d "{mozillaDir}dist:client_debug"`
newfolder "{mozillaDir}dist:client_debug"
end if
if !`exists -d "{mozillaDir}dist:client_stubs"`
newfolder "{mozillaDir}dist:client_stubs"
end if
"{SourceRootDir}mozilla:build:mac:CopyExports.script" "mozilla:build:mac:MacExportListPublic"
# the end

View File

@@ -26,63 +26,69 @@
*/
/* warning pragmas */
#pragma warn_hidevirtual on
#pragma warn_hidevirtual on
#pragma warn_emptydecl on
#pragma warn_unusedvar on
#pragma warn_extracomma on
#pragma warn_illpragma on
#pragma warn_possunwant on
#pragma warn_unusedarg off /* turned off to reduce warnings */
#pragma check_header_flags on
#pragma check_header_flags on
/* Language features that must be the same across libraries... */
#pragma enumsalwaysint on
#pragma unsigned_char off
#pragma exceptions on
#pragma bool on
#pragma enumsalwaysint on
#pragma unsigned_char off
#pragma exceptions on
#pragma bool on
/* Save as much space as possible with strings... */
#pragma pool_strings on
#pragma dont_reuse_strings off
#pragma dont_reuse_strings off
#pragma options align=native
#pragma sym on /* Takes no memory. OK in non-debug. */
#pragma sym on /* Takes no memory. OK in non-debug. */
#ifdef powerc /* ...generating PowerPC */
#pragma toc_data on
#pragma fp_contract on
#pragma readonly_strings on
#pragma toc_data on
#pragma fp_contract on
#pragma readonly_strings on
#ifdef DEBUG
#pragma traceback on
#pragma global_optimizer off
#pragma scheduling off
#pragma peephole off
#pragma optimize_for_size off
#pragma traceback on
#pragma global_optimizer off
#pragma scheduling off
#pragma peephole off
#pragma optimize_for_size off
#else
#pragma traceback off
#pragma global_optimizer on
#pragma optimization_level 4
#pragma scheduling 604
#pragma peephole on
#pragma optimize_for_size on
#pragma traceback off
#pragma global_optimizer on
#pragma optimization_level 4
#pragma scheduling 604
#pragma peephole on
#pragma optimize_for_size on
#endif
#else /* ...generating 68k */
#pragma code68020 on
#pragma code68881 off
#pragma code68020 on
#pragma code68881 off
/* Far everything... */
#pragma far_code
#pragma far_data on
#pragma far_strings on
#pragma far_vtables on
#pragma far_data on
#pragma far_strings on
#pragma far_vtables on
#pragma fourbyteints on /* 4-byte ints */
#pragma IEEEdoubles on /* 8-byte doubles (as required by Java and NSPR) */
#pragma fourbyteints on /* 4-byte ints */
#pragma IEEEdoubles on /* 8-byte doubles (as required by Java and NSPR) */
#ifdef DEBUG
#pragma macsbug on
#pragma macsbug on
#pragma oldstyle_symbols off
#else
#pragma macsbug off
#pragma macsbug off
#endif
#endif

View File

@@ -0,0 +1,5 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
IDE_Options.h

198
mozilla/build/mac/MacCVS.pm Normal file
View File

@@ -0,0 +1,198 @@
#!perl -w
package MacCVS;
# package Mac::Apps::MacCVS; this should really be the name of the package
# but due to our directory hierarchy in mozilla, I am not doing it
require 5.004;
require Exporter;
use strict;
use vars qw($VERSION @ISA @EXPORT $MacCVSLib);
use Mac::StandardFile;
use Moz;
use Cwd;
use Exporter;
use File::Basename;
@ISA = qw(Exporter);
@EXPORT = qw( new print checkout);
$VERSION = "1.00";
# Architecture:
# cvs session object:
# name - session name
# session_file - session file
#
# globals
# $MacCVSLib - location of MacCVS applescript library
#
#
#
# utility routines
#
# just like Mac::DoAppleScript, 1 is success, 0 is failure
sub _myDoAppleScript($)
{
my($script) = @_;
my $asresult = MacPerl::DoAppleScript($script);
if ($asresult eq "0")
{
return 1;
}
else
{
print STDERR "AppleScript error: $asresult\n";
print STDERR "AppleScript was: \n $script \n";
return 0;
}
}
# _useMacCVSLib
# returns 1 on success
# Search the include path for the file called MacCVSLib
sub _useMacCVSLib()
{
unless ( defined($MacCVSLib) )
{
my($libname) = "MacCVSLib";
# try the directory we were run from
my($c) = dirname($0) . ":" . $libname;
if ( -e $c)
{
$MacCVSLib = $c;
}
else
{
# now search the include directories
foreach (@INC)
{
unless ( m/^Dev:Pseudo/ ) # This is some bizarre MacPerl special-case directory
{
$c = $_ . $libname;
if (-e $c)
{
$MacCVSLib = $c;
last;
}
}
}
}
if (! (-e $MacCVSLib))
{
print STDERR "MacCVS lib could not be found! $MacCVSLib";
return 0;
}
}
return 1;
}
#
# Session object methods
#
sub new {
my ( $proto, $session_file) = @_;
my $class = ref($proto) || $proto;
my $self = {};
if ( defined($session_file) && ( -e $session_file) )
{
$self->{"name"} = basename( $session_file );
$self->{"session_file"} = $session_file;
bless $self, $class;
return $self;
}
else
{
print STDERR "MacCVS->new cvs file < $session_file > does not exist\n";
return;
}
}
# makes sure that the session is open
# assertSessionOpen()
# returns 1 on failure
sub assertSessionOpen() {
my ($self) = shift;
_useMacCVSLib() || die "Could not load MacCVSLib\n";
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MacCVSLib") to OpenSession("$self->{session_file}")
END_OF_APPLESCRIPT
return _myDoAppleScript($script);
}
# prints the cvs object, used mostly for debugging
sub print {
my($self) = shift;
print "MacCVS:: name: ", $self->{name}, " session file: ", $self->{session_file}, "\n";
}
# checkout( self, module, revision, date)
# MacCVS checkout command
# returns 1 on failure
sub checkout {
my($self, $module, $revision, $date ) = @_;
unless( defined ($module) ) { $module = ""; } # get rid of the pesky undefined warnings
unless( defined ($revision) ) { $revision = ""; }
unless( defined ($date) ) { $date = ""; }
$self->assertSessionOpen() || return 1;
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MacCVSLib") to Checkout given sessionName:"$self->{name}", module:"$module", revision:"$revision", date:"$date"
END_OF_APPLESCRIPT
return _myDoAppleScript($script);
}
1;
=pod
=head1 NAME
MacCVS - Interface to MacCVS
=head1 SYNOPSIS
use MacCVS;
$session = MacCVS->new( <session_file_path>) || die "cannot create session";
$session->checkout([module] [revision] [date]) || die "Could not check out";
=head1 DESCRIPTION
This is a MacCVS interface for talking to MacCVS Pro client.
MacCVSSession is the class used to manipulate the session
=item new
MacCVS->new( <cvs session file path>);
Creates a new session. Returns undef on failure.
=item checkout( <module> [revision] [date] )
cvs checkout command. Revision and date are optional
returns 0 on failure
=cut
=head1 SEE ALSO
=over
=item MacCVS Home Page
http://www.maccvs.org/
=back
=head1 AUTHORS
Aleks Totic atotic@netscape.com
=cut
__END__

BIN
mozilla/build/mac/MacCVSLib Normal file

Binary file not shown.

View File

@@ -0,0 +1,159 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is a list of paths to export.mac files, and destination
# directories for the copied headers. Destinations are relative
# to "mozilla:dist".
###################
# PUBLIC TREE
###################
# LDAP
mozilla:directory:c-sdk:ldap:include:MANIFEST :ldap
#INCLUDE
mozilla:config:mac:export.mac :config
mozilla:include:export.mac :include
mozilla:cmd:macfe:pch:export.mac :include
#MAC_COMMON
mozilla:build:mac:export.mac :mac:common
mozilla:lib:mac:NSStdLib:include:export.mac :mac:common
mozilla:lib:mac:MacMemoryAllocator:include:export.mac :mac:common
mozilla:lib:mac:Misc:export.mac :mac:common
mozilla:lib:mac:MoreFiles:export.mac :mac:common:morefiles
mozilla:cmd:macfe:export.mac :mac:macfe
#NSPR
mozilla:nsprpub:pr:include:export.mac :nspr
mozilla:nsprpub:pr:src:md:mac:export.mac :nspr:mac
mozilla:nsprpub:lib:ds:export.mac :nspr
mozilla:nsprpub:lib:libc:include:export.mac :nspr
mozilla:nsprpub:lib:msgc:include:export.mac :nspr
#DBM
mozilla:dbm:include:export.mac :dbm
#LIBIMAGE
mozilla:modules:libimg:png:export.mac :libimg
mozilla:modules:libimg:src:export.mac :libimg
mozilla:modules:libimg:public:export.mac :libimg
#SECURITY_freenav
mozilla:modules:security:freenav:export.mac :security
#XPCOM
mozilla:xpcom:src:export.mac :xpcom
#ZLIB
mozilla:modules:zlib:src:export.mac :zlib
#JPEG
mozilla:jpeg:export.mac :jpeg
#JSJ
mozilla:js:jsj:export.mac :jsj
#JSDEBUG
mozilla:js:jsd:export.mac :jsdebug
#JS
mozilla:js:src:export.mac :js
#RDF
mozilla:modules:rdf:include:export.mac :rdf
#XML
mozilla:modules:xml:glue:export.mac :xml
mozilla:modules:xml:expat:xmlparse:export.mac :xml
#LIBFONT
mozilla:modules:libfont:public:export.mac :libfont
mozilla:modules:libfont:src:export.mac :libfont
#SCHEDULER
mozilla:modules:schedulr:public:export.mac :schedulr
#NETWORK
#This stuff is all in libnet on the branch.
#mozilla:network:cache:export.mac :network
#mozilla:network:client:export.mac :network
#mozilla:network:cnvts:export.mac :network
#mozilla:network:cstream:export.mac :network
#mozilla:network:main:export.mac :network
#ozilla:network:protocol:about:export.mac :network
#mozilla:network:protocol:certld:export.mac :network
#mozilla:network:protocol:dataurl:export.mac :network
#mozilla:network:protocol:file:export.mac :network
#mozilla:network:protocol:ftp:export.mac :network
#mozilla:network:protocol:gopher:export.mac :network
#mozilla:network:protocol:http:export.mac :network
#mozilla:network:protocol:js:export.mac :network
#mozilla:network:protocol:mailbox:export.mac :network
#mozilla:network:protocol:marimba:export.mac :network
#mozilla:network:protocol:nntp:export.mac :network
#mozilla:network:protocol:pop3:export.mac :network
#mozilla:network:protocol:remote:export.mac :network
#mozilla:network:protocol:smtp:export.mac :network
#NORMANDY_BRANCH only
mozilla:lib:libnet:export.mac :libnet
#HTML_DIALOGS
mozilla:lib:htmldlgs:export.mac :htmldlgs
#LAYOUT
mozilla:lib:layout:export.mac :layout
#LAYERS
mozilla:lib:liblayer:include:export.mac :layers
#PARSE
mozilla:lib:libparse:export.mac :libparse
#STYLE
mozilla:lib:libstyle:export.mac :libstyle
#LIBHOOK
mozilla:modules:libhook:public:export.mac :libhook
#LIBPREF
mozilla:modules:libpref:public:export.mac :libpref
#LIBREG
mozilla:modules:libreg:include:export.mac :libreg
#LIBUTIL
mozilla:modules:libutil:public:export.mac :libutil
#OJI
mozilla:modules:oji:src:export.mac :oji
#PROGRESS
mozilla:modules:progress:public:export.mac :progress
#SOFTUPDATE
mozilla:modules:softupdt:include:export.mac :softupdate
#NAV_JAVA
mozilla:nav-java:stubs:macjri:export.mac :nav-java:macjri
mozilla:nav-java:stubs:include:export.mac :nav-java
#SUN_JAVA
mozilla:sun-java:stubs:include:export.mac :sun-java:include
mozilla:sun-java:stubs:macjri:export.mac :sun-java:macjri

Binary file not shown.

389
mozilla/build/mac/Moz.pm Normal file
View File

@@ -0,0 +1,389 @@
=head1 NAME
B<Moz> - routines for automating CodeWarrior builds, and some extra-curricular activities related to building Mozilla
=head1 SYNOPSIS
use Moz;
OpenErrorLog(":::BuildLog");
StopForErrors();
$Moz::QUIET = 1;
InstallFromManifest(":projects:MANIFEST", $dist_dir);
BuildProjectClean(":projects:SomeProject.mcp", "SomeTarget");
MakeAlias(":projects:SomeProject.shlb", $dist_dir);
DontStopForErrors();
BuildProject(":projects:SomeOtherProject.mcp", "SomeTarget");
=head1 DESCRIPTION
B<Moz> comprises the routines needed to slap CodeWarrior around, force it to build a sequence of projects, report the results, and a few other things.
=cut
package Moz;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildProject BuildProjectClean OpenErrorLog MakeAlias StopForErrors DontStopForErrors InstallFromManifest);
@EXPORT_OK = qw(CloseErrorLog UseCodeWarriorLib QUIET);
use Cwd;
use File::Path;
use ExtUtils::Manifest 'maniread';
use CodeWarriorLib;
sub current_directory()
{
my $current_directory = cwd();
chop($current_directory) if ( $current_directory =~ m/:$/ );
return $current_directory;
}
sub full_path_to($)
{
my ($path) = @_;
if ( $path =~ m/^[^:]+$/ )
{
$path = ":" . $path;
}
if ( $path =~ m/^:/ )
{
$path = current_directory() . $path;
}
return $path;
}
=head2 Setup
Pretty much, everything is taken care of for you.
However, B<Moz> does use a little compiled AppleScript library (the file CodeWarriorLib) for some of its communcication with CodeWarrior.
If this library isn't in the same directory as "Moz.pm", then you need to tell B<Moz> where to find it.
Call C<UseCodeWarriorLib($path_to_CodeWarriorLib)>.
This routine is not exported by default, nor are you likely to need it.
=cut
sub UseCodeWarriorLib($)
{
# ($CodeWarriorLib) = @_;
# $CodeWarriorLib = full_path_to($CodeWarriorLib);
}
sub activate_CodeWarrior()
{
#MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
# tell (load script file "$CodeWarriorLib") to ActivateCodeWarrior()
#END_OF_APPLESCRIPT
}
BEGIN
{
# UseCodeWarriorLib(":CodeWarriorLib");
# activate_CodeWarrior();
CodeWarriorLib::activate();
}
$logging = 0;
$recent_errors_file = "";
$stop_on_1st_error = 1;
$QUIET = 0;
=head2 Logging all the errors and warnings - C<OpenErrorLog($log_file)>, C<CloseErrorLog()>
The warnings and errors generated in the course of building projects can be logged to a file.
Tinderbox uses this facility to show why a remote build failed.
Logging is off by default.
Start logging at any point in your build process with C<OpenErrorLog($log_file)>.
Stop with C<CloseErrorLog()>.
You never need to close the log explicitly, unless you want to just log a couple of projects in the middle of a big list.
C<CloseErrorLog()> is not exported by default.
=cut
sub CloseErrorLog()
{
if ( $logging )
{
close(ERROR_LOG);
$logging = 0;
StopForErrors() if $stop_on_1st_error;
}
}
sub OpenErrorLog($)
{
my ($log_file) = @_;
CloseErrorLog();
if ( $log_file )
{
$log_file = full_path_to($log_file);
open(ERROR_LOG, ">$log_file");
$log_file =~ m/.+:(.+)/;
$recent_errors_file = full_path_to("$1.part");
$logging = 1;
}
}
=head2 Stopping before it's too late - C<StopForErrors()>, C<DontStopForErrors()>
When building a long list of projects, you decide whether to continue building subsequent projects when one fails.
By default, your build script will C<die> after the first project that generates an error while building.
Change this behavior with C<DontStopForErrors()>.
Re-enable it with C<StopForErrors()>.
=cut
sub StopForErrors()
{
$stop_on_1st_error = 1;
# Can't stop for errors unless we notice them.
# Can't notice them unless we are logging.
# If the user didn't explicitly request logging, log to a temporary file.
if ( ! $recent_errors_file )
{
OpenErrorLog("${TMPDIR}BuildResults");
}
}
sub DontStopForErrors()
{
$stop_on_1st_error = 0;
}
sub log_message($)
{
if ( $logging )
{
my ($message) = @_;
print ERROR_LOG $message;
}
}
sub log_message_with_time($)
{
if ( $logging )
{
my ($message) = @_;
my $time_stamp = localtime();
log_message("$message ($time_stamp)\n");
}
}
sub log_recent_errors($)
{
my ($project_name) = @_;
my $found_errors = 0;
if ( $logging )
{
open(RECENT_ERRORS, "<$recent_errors_file");
while( <RECENT_ERRORS> )
{
if ( /^Error/ || /^CouldnÕt find project file/ )
{
$found_errors = 1;
}
print ERROR_LOG $_;
}
close(RECENT_ERRORS);
unlink("$recent_errors_file");
}
if ( $stop_on_1st_error && $found_errors )
{
print ERROR_LOG "### Build failed.\n";
die "### Errors encountered building \"$project_name\".\n";
}
}
sub build_project($$$)
{
my ($project_path, $target_name, $clean_build) = @_;
$project_path = full_path_to($project_path);
# $project_path =~ m/.+:(.+)/;
# my $project_name = $1;
log_message_with_time("### Building \"$project_path\"");
# Check that the given project exists
if (! -e $project_path)
{
print ERROR_LOG "### Build failed.\n";
die "### Can't find project file \"$project_path\".\n";
}
print "Building \"$project_path\"\n";
$had_errors = CodeWarriorLib::build_project(
$project_path, $target_name, $recent_errors_file, $clean_build
);
# $had_errors =
#MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
# tell (load script file "$CodeWarriorLib") to BuildProject("$project_path", "$project_name", "$target_name", "$recent_errors_file", $clean_build)
#END_OF_APPLESCRIPT
# Append any errors to the globally accumulated log file
if ( $had_errors )
{
log_recent_errors($project_path);
}
}
=head2 Getting CodeWarrior to build projects - C<BuildProject($project, $opt_target)>, C<BuildProjectClean($project, $opt_target)>
C<BuildProject()> and C<BuildProjectClean()> are identical, except that the latter first removes object code.
In both, CodeWarrior opens the project if it wasn't already open; builds the given (or else current) target; and finally closes
the project, if it wasn't already open.
=cut
sub BuildProject($;$)
{
my ($project_path, $target_name) = @_;
build_project($project_path, $target_name, 0);
}
sub BuildProjectClean($;$)
{
my ($project_path, $target_name) = @_;
build_project($project_path, $target_name, 1);
}
=head2 Miscellaneous
C<MakeAlias($old_file, $new_file)> functions like C<symlink()>, except with better argument defaulting and more explicit error messages.
=cut
sub MakeAlias($$)
{
my ($old_file, $new_file) = @_;
# if the directory to hold $new_file doesn't exist, create it
if ( ($new_file =~ m/(.+:)/) && !-d $1 )
{
mkpath($1);
}
# if a leaf name wasn't specified for $new_file, use the leaf from $old_file
if ( ($new_file =~ m/:$/) && ($old_file =~ m/.+:(.+)/) )
{
$new_file .= $1;
}
my $message = "Can't create a Finder alias (at \"$new_file\")\n for \"$old_file\"; because ";
die "$message \"$old_file\" doesn't exist.\n" unless -e $old_file;
die "$message I won't replace an existing (non-alias) file with an alias.\n" if ( -e $new_file && ! -l $new_file );
# now: $old_file exists; $new_file doesn't (or else, is an alias already)
if ( -l $new_file )
{
# ...then see if it already points to $old_file
my $current_target = full_path_to(readlink($new_file));
my $new_target = full_path_to($old_file);
return if ( $current_target eq $new_target );
# if the desired alias already exists and points to the right thing, then we're done
unlink $new_file;
}
symlink($old_file, $new_file) || die "$message symlink returned an unexpected error.\n";
}
=pod
C<InstallFromManifest()>
=cut
sub InstallFromManifest($;$)
{
my ($manifest_file, $dest_dir) = @_;
$dest_dir ||= ":";
$manifest_file =~ m/(.+):/;
my $source_dir = $1;
chop($dest_dir) if $dest_dir =~ m/:$/;
print "Doing manifest on \"$manifest_file\"\n" unless $QUIET;
my $read = maniread(full_path_to($manifest_file));
foreach $file (keys %$read)
{
next unless $file;
$subdir = ":";
if ( $file =~ /:.+:/ )
{
$subdir = $&;
}
$file = ":$file" unless $file =~ m/^:/;
MakeAlias("$source_dir$file", "$dest_dir$subdir");
}
}
1;
=head1 AUTHORS
Scott Collins <scc@netscape.com>, Simon Fraser <sfraser@netscape.com>
=head1 SEE ALSO
BuildMozillaDebug.pl (et al), BuildList.pm, CodeWarriorLib (an AppleScript library)
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
=cut

View File

@@ -0,0 +1,403 @@
#!perl -w
package NGLayoutBuildList;
require 5.004;
require Exporter;
use strict;
use vars qw( @ISA @EXPORT );
# perl includes
use Mac::StandardFile;
use Mac::Processes;
use Cwd;
use File::Path;
# homegrown
use Moz;
use MacCVS;
@ISA = qw(Exporter);
@EXPORT = qw( Checkout BuildDist BuildProjects BuildCommonProjects BuildLayoutProjects);
# NGLayoutBuildList builds the nglayout project
# it is configured by setting the following variables in the caller:
# Usage:
# caller variables that affect behaviour:
# DEBUG : 1 if we are building a debug version
# 3-part build process: checkout, dist, and build_projects
# Hack alert:
# NGLayout defines are located in :mozilla:config:mac:NGLayoutConfigInclude.h
# An alias "MacConfigInclude.h" to this file is created inside dist:config
# Note that the name of alias is different than the name of the file. This
# is to trick CW into including NGLayout defines
#
# Utility routines
#
# pickWithMemoryFile stores the information about the user pick inside
# the file $session_storage
sub _pickWithMemoryFile($)
{
my ($sessionStorage) = @_;
my $cvsfile;
if (( -e $sessionStorage) &&
open( SESSIONFILE, $sessionStorage ))
{
# Read in the path if available
$cvsfile = <SESSIONFILE>;
chomp $cvsfile;
close SESSIONFILE;
if ( ! -e $cvsfile )
{
print STDERR "$cvsfile has disappeared\n";
undef $cvsfile;
}
}
unless (defined ($cvsfile))
{
print "Choose a CVS session file in file dialog box:\n"; # no way to display a prompt?
# make sure that MacPerl is a front process
while (GetFrontProcess () != GetCurrentProcess())
{
SetFrontProcess( GetCurrentProcess() );
}
# prompt user for the file name, and store it
my $macFile = StandardGetFile( 0, "McvD");
if ( $macFile->sfGood() )
{
$cvsfile = $macFile->sfFile();
# save the choice if we can
if ( open (SESSIONFILE, ">" . $sessionStorage))
{
printf SESSIONFILE $cvsfile, "\n";
close SESSIONFILE;
}
else
{
print STDERR "Could not open storage file\n";
}
}
}
return $cvsfile;
}
# assert that we are in the correct directory for the build
sub _assertRightDirectory()
{
unless (-e ":mozilla")
{
my($dir) = cwd();
print STDERR "NGLayoutBuildList called from incorrect directory: $dir";
}
}
sub _getDistDirectory()
{
return $main::DEBUG ? ":mozilla:dist:viewer_debug:" : ":mozilla:dist:viewer:";
}
#
# MAIN ROUTINES
#
sub Checkout()
{
_assertRightDirectory();
my($cvsfile) = _pickWithMemoryFile("::nglayout.cvsloc");
my($session) = MacCVS->new( $cvsfile );
unless (defined($session)) { die "Checkout aborted. Cannot create session file: $session" }
my($LIBPREF_BRANCH) = "XPCOM_BRANCH";
my($IMGLIB_BRANCH) = "MODULAR_IMGLIB_BRANCH"; #// compile the "(standalone)" targets when pulling the tips
my($PLUGIN_BRANCH) = "OJI_19980618_BRANCH";
if ($main::pull{lizard})
{
$session->checkout("mozilla/LICENSE") || die "checkout failure";
$session->checkout("mozilla/LEGAL") || die "checkout failure";
$session->checkout("mozilla/config") || die "checkout failure";
$session->checkout("mozilla/dbm") || die "checkout failure";
$session->checkout("mozilla/lib/liblayer") || die "checkout failure";
$session->checkout("mozilla/modules/zlib") || die "checkout failure";
$session->checkout("mozilla/modules/libutil") || die "checkout failure";
$session->checkout("mozilla/nsprpub") || die "checkout failure";
$session->checkout("mozilla/sun-java") || die "checkout failure";
$session->checkout("mozilla/nav-java") || die "checkout failure";
$session->checkout("mozilla/js") || die "checkout failure";
$session->checkout("mozilla/modules/security/freenav") || die "checkout failure";
#//$session->checkout("mozilla/lib/libparse") || die "checkout failure";
#//$session->checkout("mozilla/lib/layout") || die "checkout failure";
#//$session->checkout("mozilla/lib/libstyle") || die "checkout failure";
#//$session->checkout("mozilla/lib/libpwcac") || die "checkout failure";
$session->checkout("mozilla/modules/libpref",$LIBPREF_BRANCH) || die "checkout failure";
#//$session->checkout("mozilla/modules/plugin",$PLUGIN_BRANCH) || die "checkout failure";
$session->checkout("mozilla/modules/plugin") || die "checkout failure";
}
if ($main::pull{xpcom})
{
$session->checkout("mozilla/modules/libreg") || die "checkout failure";
$session->checkout("mozilla/xpcom") || die "checkout failure";
}
if ($main::pull{imglib})
{
$session->checkout("mozilla/jpeg", $IMGLIB_BRANCH) || die "checkout failure";
$session->checkout("mozilla/modules/libutil", $IMGLIB_BRANCH) || die "checkout failure";
$session->checkout("mozilla/modules/libimg", $IMGLIB_BRANCH) || die "checkout failure";
}
if ($main::pull{netlib})
{
$session->checkout("mozilla/lib/xp") || die "checkout failure";
$session->checkout("mozilla/lib/libpwcac") || die "checkout failure";
$session->checkout("mozilla/network") || die "checkout failure";
$session->checkout("mozilla/include") || die "checkout failure";
}
if ($main::pull{nglayout})
{
$session->checkout("mozilla/base") || die "checkout failure";
$session->checkout("mozilla/dom") || die "checkout failure";
$session->checkout("mozilla/gfx") || die "checkout failure";
$session->checkout("mozilla/htmlparser") || die "checkout failure";
$session->checkout("mozilla/layout") || die "checkout failure";
$session->checkout("mozilla/view") || die "checkout failure";
$session->checkout("mozilla/webshell") || die "checkout failure";
$session->checkout("mozilla/widget") || die "checkout failure";
}
if ($main::pull{mac})
{
$session->checkout("mozilla/build/mac") || die "checkout failure";
$session->checkout("mozilla/cmd/macfe") || die "checkout failure";
$session->checkout("mozilla/lib/mac/MacMemoryAllocator") || die "checkout failure";
$session->checkout("mozilla/lib/mac/NSStdLib") || die "checkout failure";
$session->checkout("mozilla/lib/mac/MoreFiles") || die "checkout failure";
$session->checkout("mozilla/lib/mac/NSRuntime") || die "checkout failure";
$session->checkout("mozilla/lib/mac/Misc") || die "checkout failure";
}
}
# builds the dist directory
sub BuildDist()
{
unless ( $main::build{dist} ) { return;}
_assertRightDirectory();
# we really do not need all these paths, but many client projects include them
mkpath([ ":mozilla:dist:", ":mozilla:dist:client:", ":mozilla:dist:client_debug:", ":mozilla:dist:client_stubs:" ]);
mkpath([ ":mozilla:dist:viewer:", ":mozilla:dist:viewer_debug:" ]);
my($distdirectory) = ":mozilla:dist";
my($distlist) = [
#MAC_COMMON
[":mozilla:build:mac:MANIFEST", "$distdirectory:mac:common:"],
[":mozilla:lib:mac:NSStdLib:include:MANIFEST", "$distdirectory:mac:common:"],
[":mozilla:lib:mac:MacMemoryAllocator:include:MANIFEST", "$distdirectory:mac:common:"],
[":mozilla:lib:mac:Misc:MANIFEST", "$distdirectory:mac:common:"],
[":mozilla:lib:mac:MoreFiles:MANIFEST", "$distdirectory:mac:common:morefiles:"],
#INCLUDE
[":mozilla:config:mac:MANIFEST", "$distdirectory:config:"],
[":mozilla:config:mac:MANIFEST_config", "$distdirectory:config:"],
[":mozilla:include:MANIFEST", "$distdirectory:include:"],
[":mozilla:cmd:macfe:pch:MANIFEST", "$distdirectory:include:"],
#NSPR
[":mozilla:nsprpub:pr:include:MANIFEST", "$distdirectory:nspr:"],
[":mozilla:nsprpub:pr:src:md:mac:MANIFEST", "$distdirectory:nspr:mac:"],
[":mozilla:nsprpub:lib:ds:MANIFEST", "$distdirectory:nspr:"],
[":mozilla:nsprpub:lib:libc:include:MANIFEST", "$distdirectory:nspr:"],
[":mozilla:nsprpub:lib:msgc:include:MANIFEST", "$distdirectory:nspr:"],
#JPEG
[":mozilla:jpeg:MANIFEST", "$distdirectory:jpeg:"],
#LIBREG
[":mozilla:modules:libreg:include:MANIFEST", "$distdirectory:libreg:"],
#XPCOM
[":mozilla:xpcom:src:MANIFEST", "$distdirectory:xpcom:"],
#ZLIB
[":mozilla:modules:zlib:src:MANIFEST", "$distdirectory:zlib:"],
#LIBUTIL
[":mozilla:modules:libutil:public:MANIFEST", "$distdirectory:libutil:"],
#SUN_JAVA
[":mozilla:sun-java:stubs:include:MANIFEST", "$distdirectory:sun-java:"],
[":mozilla:sun-java:stubs:macjri:MANIFEST", "$distdirectory:sun-java:"],
#NAV_JAVA
[":mozilla:nav-java:stubs:include:MANIFEST", "$distdirectory:nav-java:"],
[":mozilla:nav-java:stubs:macjri:MANIFEST", "$distdirectory:nav-java:"],
#JS
[":mozilla:js:src:MANIFEST", "$distdirectory:js:"],
#SECURITY_freenav
[":mozilla:modules:security:freenav:MANIFEST", "$distdirectory:security:"],
#LIBPREF
[":mozilla:modules:libpref:public:MANIFEST", "$distdirectory:libpref:"],
#LIBIMAGE
[":mozilla:modules:libimg:png:MANIFEST", "$distdirectory:libimg:"],
[":mozilla:modules:libimg:src:MANIFEST", "$distdirectory:libimg:"],
[":mozilla:modules:libimg:public:MANIFEST", "$distdirectory:libimg:"],
#PLUGIN
[":mozilla:modules:plugin:nglsrc:MANIFEST", "$distdirectory:plugin:"],
[":mozilla:modules:plugin:public:MANIFEST", "$distdirectory:plugin:"],
[":mozilla:modules:plugin:src:MANIFEST", "$distdirectory:plugin:"],
#//PARSE
#// [":mozilla:lib:libparse:MANIFEST", "$distdirectory:libparse:"],
#//OLD LAYOUT
#// [":mozilla:lib:layout:MANIFEST", "$distdirectory:layout:"],
#//STYLE
#// [":mozilla:lib:libstyle:MANIFEST", "$distdirectory:libstyle:"],
#LAYERS
[":mozilla:lib:liblayer:include:MANIFEST", "$distdirectory:layers:"],
#NETWORK
[":mozilla:network:cache:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:client:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:cnvts:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:cstream:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:main:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:mimetype:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:util:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:about:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:certld:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:dataurl:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:file:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:ftp:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:gopher:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:http:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:js:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:mailbox:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:marimba:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:nntp:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:pop3:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:remote:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:smtp:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:module:MANIFEST","$distdirectory:network:module"],
#BASE
[":mozilla:base:src:MANIFEST", "$distdirectory:base:"],
[":mozilla:base:public:MANIFEST", "$distdirectory:base:"],
#WEBSHELL
[":mozilla:webshell:public:MANIFEST", "$distdirectory:webshell:"],
#LAYOUT
[":mozilla:layout:base:public:MANIFEST", "$distdirectory:layout:"],
[":mozilla:layout:html:style:public:MANIFEST", "$distdirectory:layout:"],
[":mozilla:layout:html:base:src:MANIFEST", "$distdirectory:layout:"],
[":mozilla:layout:html:document:public:MANIFEST", "$distdirectory:layout:"],
[":mozilla:layout:base:src:MANIFEST", "$distdirectory:layout:"],
[":mozilla:layout:events:public:MANIFEST", "$distdirectory:layout:"],
[":mozilla:layout:events:src:MANIFEST", "$distdirectory:layout:"],
#WIDGET
[":mozilla:widget:public:MANIFEST", "$distdirectory:widget:"],
#GFX
[":mozilla:gfx:src:MANIFEST", "$distdirectory:gfx:"],
#VIEW
[":mozilla:view:public:MANIFEST", "$distdirectory:view:"],
#DOM
[":mozilla:dom:public:MANIFEST", "$distdirectory:dom:"],
[":mozilla:dom:public:coreDom:MANIFEST", "$distdirectory:dom:"],
[":mozilla:dom:public:coreEvents:MANIFEST", "$distdirectory:dom:"],
[":mozilla:dom:public:events:MANIFEST", "$distdirectory:dom:"],
[":mozilla:dom:public:html:MANIFEST", "$distdirectory:dom:"],
#HTMLPARSER
[":mozilla:htmlparser:src:MANIFEST", "$distdirectory:htmlparser:"],
];
foreach $a (@$distlist)
{
InstallFromManifest( $a->[0], $a->[1]);
}
# To get out defines in all the project, dummy alias NGLayoutConfigInclude.h into MacConfigInclude.h
MakeAlias(":mozilla:config:mac:NGLayoutConfigInclude.h", ":mozilla:dist:config:MacConfigInclude.h");
}
# builds all projects
# different targets controlled by $main::build
sub BuildCommonProjects()
{
unless( $main::build{common} ) { return; }
_assertRightDirectory();
# $D becomes a suffix to target names for selecting either the debug or non-debug target of a project
my($D) = $main::DEBUG ? "Debug" : "";
my($dist_dir) = _getDistDirectory();
# clean projects
Moz::BuildProjectClean(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stubs");
Moz::BuildProjectClean(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stubs");
Moz::BuildProjectClean(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "Stubs");
Moz::BuildProjectClean(":mozilla:cmd:macfe:projects:client:Navigator.mcp", "Stub Library");
# shared
Moz::BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp");
MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb.xSYM", "$dist_dir") : 0;
Moz::BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.mcp", "MoreFiles$D.shlb");
MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp", "NSPR20$D.shlb");
MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "MemAllocator$D.shlb");
MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "NSStdLib$D.shlb");
MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "JPEG$D.shlb");
MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp", "JavaScriptNoJSJ$D.shlb");
MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "zlib$D.shlb");
MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb.xSYM", "$dist_dir") : 0;
# static
BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp", "xpcom$D.o");
BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "Security.o");
BuildProject(":mozilla:modules:libimg:macbuild:png.mcp", "png$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:libimg.mcp", "libimg$D.o");
#//BuildProject(":mozilla:modules:libimg:macbuild:libimg.mcp", "libimg$D.o (standalone)");
BuildProject(":mozilla:network:macbuild:network.mcp", "NetworkModular$D.o");
}
sub BuildLayoutProjects()
{
unless( $main::build{nglayout} ) { return; }
_assertRightDirectory();
# $D becomes a suffix to target names for selecting either the debug or non-debug target of a project
my($D) = $main::DEBUG ? "Debug" : "";
my($dist_dir) = _getDistDirectory();
BuildProject(":mozilla:base:macbuild:base.mcp", "base$D.o");
BuildProject(":mozilla:htmlparser:macbuild:htmlparser.mcp", "htmlparser$D.o");
BuildProject(":mozilla:dom:macbuild:dom.mcp", "dom$D.o");
BuildProject(":mozilla:gfx:macbuild:gfx.mcp", "gfx$D.o");
BuildProject(":mozilla:layout:macbuild:layout.mcp", "layout$D.o");
BuildProject(":mozilla:webshell:macbuild:webshell.mcp", "webshell$D.o");
BuildProject(":mozilla:webshell:tests:viewer:mac:viewer.mcp", "viewer$D");
}
sub BuildProjects()
{
BuildCommonProjects();
BuildLayoutProjects();
}

View File

@@ -16,6 +16,8 @@
* Reserved.
*/
#error "DonÕt use me!"
#define OLDROUTINELOCATIONS 0
#define XP_MAC 1
#ifndef NSPR20
@@ -27,6 +29,9 @@
#define NETSCAPE 1
#define OTUNIXERRORS 1 /* We want OpenTransport error codes */
#define OJI 1
#define MOCHA 1
/*
This compiles in heap dumping utilities and other good stuff
for developers -- maybe we only want it in for a special SDK

View File

@@ -0,0 +1,40 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
use Moz;
use BuildList;
$DEBUG = 1;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog("::::Mozilla.BuildLog");
#Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,5 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
IDE_Options.h

View File

@@ -0,0 +1,26 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
The only job of this file is for make dependencies:
include files here that you want to cause MakeDist
to happen again when they change.
*/
#include "MacExportListPublic"

View File

@@ -0,0 +1,76 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is the controlling script for a set of scripts that copy public
# header files in one or more source trees into a single, "dist" directory.
#
# It relies on the two accompanying scripts, ÒCopyList.scriptÓ and
# ÒCopyExports.scriptÓ, which must be in the same directory.
#
#
# Known bugs:
# Header files are always copied if the export.mac file contains
# non-local paths.
# Spurious output is produced even when verbose is off.
#
set echo 0
Evaluate % = ("{{SourceFile}}" =~ /(Å:)¨0Å/)
Directory "{{¨0}}"
set mozillaDir "{¨0}"
if `evaluate "{mozillaDir}" =~ /(Å:)¨1[Â:]+:[Â:]+:/`
set -e mozillaDir "{¨1}"
else
echo "Failed to find mozilla directory. Exitting"
exit 1;
end if
# Sanity check for mozilla
if !`exists -d "{mozillaDir}"`
echo "Failed to find mozilla directory. Exitting"
exit 1;
end if
# Calculate the root directory by stripping off the leaf name.
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2:/)
Set -e SourceRootDir "{¨1}"
Set -e DestRootDir "{mozillaDir}dist:"
# Ensure the build and stubs folders exist
if !`exists -d "{mozillaDir}dist"`
newfolder "{mozillaDir}dist"
end if
if !`exists -d "{mozillaDir}dist:client"`
newfolder "{mozillaDir}dist:client"
end if
if !`exists -d "{mozillaDir}dist:client_debug"`
newfolder "{mozillaDir}dist:client_debug"
end if
if !`exists -d "{mozillaDir}dist:client_stubs"`
newfolder "{mozillaDir}dist:client_stubs"
end if
# Now do the grunt work of copying headers. This can take some time
"{SourceRootDir}mozilla:build:mac:CopyExports.script" "mozilla:build:mac:MacExportListPublic"

View File

@@ -1,246 +0,0 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#//------------------------------------------------------------------------
#// Figure out how to do the pull.
#//------------------------------------------------------------------------
!if "$(MOZ_BRANCH)" != ""
CVS_BRANCH=-r $(MOZ_BRANCH)
HAVE_BRANCH=1
!else
HAVE_BRANCH=0
!endif
#//
#// Temporary hardcode (while we figure out how to do this)
#// to support the Core modularity efforts...
#//
!ifndef MOZ_JAVAVER
!ifdef MOZ_MEDIUM
MOZ_JAVAVER =-r JAVA_STUB_RELEASE_19980319
!else
MOZ_JAVAVER =-r JAVA_RELEASE_19980304
!endif
!endif
NSPR20_BRANCH =-r NSPR20_RELEASE_19980304_BRANCH
SECURITY_BRANCH=-r SECURITY_RELEASE_19980210
CORECONF_BRANCH=-r CFG_1_6
DBM_BRANCH =-r DBM_RELEASE_19980319
!if "$(MOZ_DATE)" != ""
CVS_BRANCH=-D "$(MOZ_DATE)"
HAVE_DATE=1
!else
HAVE_DATE=0
!endif
!if $(HAVE_DATE) && $(HAVE_BRANCH)
ERR_MESSAGE=$(ERR_MESSAGE)^
Cannot specify both MOZ_BRANCH and MOZ_DATE
!endif
NMAKE=@nmake -nologo -$(MAKEFLAGS)
#//------------------------------------------------------------------------
#//
#// Stuff a do complete pull and build
#//
#//------------------------------------------------------------------------
default:: build_all
pull_and_build_all:: pull_all \
build_all
#// Do this when you pull a new tree, or else you will often get bugs
#// when replaceing an old dist with a new dist.
pull_clobber_build_all:: pull_all \
clobber_all \
build_all
clobber_build_all:: clobber_all \
build_all
# In theory, we should use some symbol in ns/config/liteness.mak,
# but we haven't pulled the file yet. So, refer to MOZ_LITE and
# MOZ_MEDIUM explicitly .
!if defined(MOZ_LITE) || defined(MOZ_MEDIUM)
pull_all:: pull_client_source_product
!else
pull_all:: pull_client
!endif
!ifndef NO_SECURITY
pull_security:
-cvs -q co $(CORECONF_BRANCH) ns/coreconf
-cvs -q co $(SECURITY_BRANCH) CoreSecurity
!else
pull_security:
!endif
pull_client: pull_security
@echo +++ client.mak: checking out the client with "$(CVS_BRANCH)"
cd $(MOZ_SRC)\.
-cvs -q co $(DBM_BRANCH) ns/dbm
-cvs -q co $(CVS_BRANCH) Client50Win
-cvs -q co $(MOZ_JAVAVER) JavaWin
-cvs -q co $(NSPR20_BRANCH) CoreNSPR20
pull_client_source_product:
@echo +++ client.mak: checking out the client with "$(CVS_BRANCH)"
cd $(MOZ_SRC)\.
-cvs -q co $(DBM_BRANCH) ns/dbm
-cvs -q co $(CVS_BRANCH) ClientSourceProductWin
-cvs -q co $(MOZ_JAVAVER) JavaStubWin
build_all: build_ldap \
build_dist \
build_client
build_dist:
@echo +++ client.mak: building dist
cd $(MOZ_SRC)\ns
$(NMAKE) -f makefile.win
!if defined(MOZ_LITE) || defined(MOZ_MEDIUM)
build_ldap:
!else
build_ldap:
@echo +++ client.mak: building ldap
cd $(MOZ_SRC)\ns\netsite\ldap\libraries\msdos\winsock
$(NMAKE) -f nsldap.mak DEPEND=1
$(NMAKE) -f nsldap.mak
$(NMAKE) -f nsldap.mak EXPORT=1
!endif
build_client:
@echo +++ client.mak: building client
cd $(MOZ_SRC)\ns\cmd\winfe\mkfiles32
!if "$(MOZ_BITS)" == "16"
$(NMAKE) -f mozilla.mak exports
!endif
$(NMAKE) -f mozilla.mak DEPEND=1
$(NMAKE) -f mozilla.mak
#
# remove all source files from the tree and print a report of what was missed
#
clobber_all:
cd $(MOZ_SRC)\ns
$(NMAKE) -f makefile.win clobber_all
cd $(MOZ_SRC)\ns\cmd\winfe\mkfiles32
$(NMAKE) -f mozilla.mak clobber_all
!if !defined(MOZ_MEDIUM)
cd $(MOZ_SRC)\ns\netsite\ldap\libraries\msdos\winsock
$(NMAKE) -f nsldap.mak clobber_all
!endif
depend:
-del /s /q make.dep
$(NMAKE) -f makefile.win depend
quick:
@cd $(MOZ_SRC)\.
@cvs -q co ns/quickup
@cd $(MOZ_SRC)\ns\quickup
@$(MOZ_TOOLS)\perl5\perl doupdate.pl
#//------------------------------------------------------------------------
#// Utility stuff...
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
# Verify that MOZ_SRC is set correctly
#//------------------------------------------------------------------------
# Check to see if it is set at all
!if "$(MOZ_SRC)"!=""
#
# create a temp file at the root and make sure it is visible from MOZ_SRC
#
!if [copy $(MAKEDIR)\client.mak $(MAKEDIR)\xyzzy.tmp > NUL] == 0
!endif
!if !EXIST( $(MOZ_SRC)\ns\xyzzy.tmp )
ERR_MESSAGE=$(ERR_MESSAGE)^
MOZ_SRC isn't set correctly: [$(MOZ_SRC)\ns]!=[$(MAKEDIR)]
!endif
!if [del $(MAKEDIR)\xyzzy.tmp]
!endif
!else
# MOZ_SRC isn't set at all
ERR_MESSAGE=$(ERR_MESSAGE)^
Environment variable MOZ_SRC isn't set.
!endif
#//------------------------------------------------------------------------
# Verify that MOZ_BITS is set
#//------------------------------------------------------------------------
!if !defined(MOZ_BITS)
ERR_MESSAGE=$(ERR_MESSAGE)^
Environment variable MOZ_BITS isn't set.
!endif
!if !defined(MOZ_TOOLS)
ERR_MESSAGE=$(ERR_MESSAGE)^
Environment variable MOZ_TOOLS isn't set.
!endif
#//------------------------------------------------------------------------
#// Display error
#//------------------------------------------------------------------------
!if "$(ERR_MESSAGE)" != ""
ERR_MESSAGE = ^
client.mak: ^
$(ERR_MESSAGE) ^
^
client.mak: usage^
^
nmake -f client.mak [MOZ_BRANCH=<cvs_branch_name>] ^
[MOZ_DATE=<cvs_date>]^
[pull_and_build_all]^
[pull_all]^
[pull_dist]^
[pull_client]^
[build_all]^
[build_dist]^
[build_ldap]^
[build_client]^
^
Environment variables:^
^
MOZ_BITS set to either 32 or 16 ^
MOZ_SRC set to the directory above ns or "$(MAKEDIR)\.."^
MOZ_TOOLS set to the directory containing the java compiler see ^
http://warp/tools/nt^
JAVA_HOME set to the same thing as MOZ_TOOLS^
!ERROR $(ERR_MESSAGE)
!endif

View File

@@ -1,21 +0,0 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ..
DIRS = xfe patcher
include $(DEPTH)/config/rules.mk

View File

@@ -1,788 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// ===========================================================================
// CColorPopup.cp
// ===========================================================================
#include "CColorPopup.h"
#include "UGraphicGizmos.h"
#include "UGraphicsUtilities.h"
#include "CTargetedUpdateMenuRegistry.h"
#include "CEditView.h" // constant for menu string resource
#include "edt.h" // EDT calls
#include "prefapi.h"
#include "StSetBroadcasting.h"
#include "CBrowserContext.h" // MWContext
// prototypes
pascal void
colorPopupMDEFProc( short message, MenuHandle theMenu,
Rect *menuRect, Point hitPt, short *whichItem );
// functionality
static
void
colorPopupGetBox( Rect *menuRect, Rect *itemBox, short numItems, short theItem )
{
Rect box;
SetRect( itemBox, 0, 0, 0, 0 );
if ( theItem <= numItems )
{
if ( theItem == CColorPopup::CURRENT_COLOR_ITEM )
{
box.bottom = menuRect->bottom - CColorPopup::COLOR_FRAME_BORDER;
box.top = box.bottom - CColorPopup::COLOR_BOX_HEIGHT;
box.left = menuRect->left + CColorPopup::COLOR_FRAME_BORDER;
box.right = box.left + CColorPopup::COLOR_BOX_HEIGHT;
}
else if ( theItem == CColorPopup::DEFAULT_COLOR_ITEM )
{
box.bottom = menuRect->bottom - CColorPopup::COLOR_FRAME_BORDER
- CColorPopup::COLOR_BOX_HEIGHT;
box.top = box.bottom - CColorPopup::COLOR_BOX_HEIGHT;
box.left = menuRect->left + CColorPopup::COLOR_FRAME_BORDER;
box.right = box.left + CColorPopup::COLOR_BOX_HEIGHT;
}
else if ( theItem == CColorPopup::LAST_COLOR_PICKED_ITEM )
{
box.top = menuRect->top + CColorPopup::COLOR_FRAME_BORDER;
box.bottom = box.top + CColorPopup::COLOR_BOX_HEIGHT;
box.left = menuRect->left + CColorPopup::COLOR_FRAME_BORDER;
box.right = box.left + CColorPopup::COLOR_BOX_HEIGHT;
}
else
{
box.top = menuRect->top /* + CColorPopup::COLOR_FRAME_BORDER */ + CColorPopup::COLOR_HEX_DISPLAY_SIZE;
box.left = menuRect->left + CColorPopup::COLOR_FRAME_BORDER;
box.bottom = box.top + CColorPopup::COLOR_BOX_HEIGHT;
box.right = box.left + CColorPopup::COLOR_BOX_WIDTH;
while ( --theItem > 1 ) // 1 is # menuItems preceding color chip matrix
{
OffsetRect( &box, CColorPopup::COLOR_BOX_WIDTH, 0 );
if ( box.left >= menuRect->right - CColorPopup::COLOR_FRAME_BORDER )
{
box.left = menuRect->left + CColorPopup::COLOR_FRAME_BORDER;
box.right = box.left + CColorPopup::COLOR_BOX_WIDTH;
OffsetRect( &box, 0, CColorPopup::COLOR_BOX_HEIGHT );
}
}
}
*itemBox = box;
}
}
static
Boolean
colorPopupParseColor( Str255 menuStr, RGBColor *theColor )
{
Boolean foundColorFlag = false;
unsigned short part;
short loop;
theColor->red = theColor->green = theColor->blue = 0;
for ( loop = 1; loop <= (unsigned)menuStr[ 0 ] - 6; ++loop )
{
if ( menuStr[0] > 1
&& ( menuStr[ loop ] == CColorPopup::COLOR_CHIP_CHAR
|| menuStr[ loop ] == CColorPopup::LAST_COLOR_PICKED_CHAR
|| menuStr[ loop ] == CColorPopup::DEFAULT_COLOR_CHAR
|| menuStr[ loop ] == CColorPopup::CURRENT_COLOR_CHAR ) )
{
// Converting from ASCII to Hex
// This is BAD code...
part = menuStr[ loop + 1 ] - '0';
if ( part > 9 )
part = menuStr[ loop + 1 ] - 'A' + 10;
theColor->red = part << 4;
part = menuStr[ loop + 2 ] - '0';
if ( part > 9 )
part = menuStr[ loop + 2 ] - 'A' + 10;
theColor->red |= part;
theColor->red = theColor->red << 8;
part = menuStr[ loop + 3 ] - '0';
if ( part > 9 )
part = menuStr[ loop + 3 ] - 'A' + 10;
theColor->green = part << 4;
part = menuStr[ loop + 4 ] - '0';
if ( part > 9 )
part = menuStr[ loop + 4 ] - 'A' + 10;
theColor->green |= part;
theColor->green = theColor->green << 8;
part = menuStr[ loop + 5 ] - '0';
if ( part > 9 )
part = menuStr[ loop + 5 ] - 'A' + 10;
theColor->blue = part << 4;
part = menuStr[ loop + 6 ] - '0';
if ( part > 9 )
part = menuStr[ loop + 6 ] - 'A' + 10;
theColor->blue |= part;
theColor->blue = theColor->blue << 8;
foundColorFlag = true;
break;
}
}
return foundColorFlag;
}
static
void
colorPopupDrawBox( MenuHandle theMenu, Rect *menuRect, short numItems )
{
Boolean wildcardFlag;
CIconHandle cicnHandle;
RGBColor theColor;
const RGBColor black = {0,0,0}, white = {0xFFFF,0xFFFF,0xFFFF};
Rect box;
Str255 menuStr;
short theItem;
for ( theItem = 1; theItem <= numItems; ++theItem )
{
menuStr[ 0 ] = 0;
GetMenuItemText( theMenu, theItem, menuStr );
wildcardFlag = ((menuStr[0] == 0x01 && menuStr[1] == CColorPopup::COLOR_PICKER_CHAR)) ? true : false;
colorPopupGetBox( menuRect, &box, numItems, theItem );
// text (if any)
int stringNum;
switch ( menuStr[1] )
{
default: stringNum = 0; break;
case CColorPopup::LAST_COLOR_PICKED_CHAR: stringNum = 20; break;
case CColorPopup::DEFAULT_COLOR_CHAR: stringNum = 21; break;
case CColorPopup::CURRENT_COLOR_CHAR: stringNum = 22; break;
}
if ( stringNum )
{
Point baseLinePoint;
baseLinePoint.v = box.top + CColorPopup::COLOR_BOX_HEIGHT - 4;
baseLinePoint.h = box.right + CColorPopup::COLOR_FRAME_BORDER;
Str255 menuItemStr;
menuItemStr[ 0 ] = 0;
::GetIndString( menuItemStr, CEditView::STRPOUND_EDITOR_MENUS, stringNum );
::RGBBackColor( &white );
::RGBForeColor( &black );
::MoveTo( baseLinePoint.h, baseLinePoint.v );
::DrawString( menuItemStr );
}
// draw color chip
if ( (true == wildcardFlag ) || (colorPopupParseColor( menuStr, &theColor ) == true))
{
::InsetRect( &box, 1, 1 );
::RGBForeColor( &black );
::MoveTo( box.left, box.bottom - 1 );
::LineTo( box.left, box.top );
::LineTo( box.right - 1, box.top );
#ifdef THREE_D_EFFECT_ON_COLOR_POPUP
::RGBForeColor( &white );
#endif
::LineTo( box.right - 1, box.bottom - 1 );
::LineTo( box.left, box.bottom - 1 );
if ( true == wildcardFlag )
{
RGBForeColor( &black );
if ( (cicnHandle = GetCIcon(11685)) != NULL )
{
// don't scale, plot into same size rect
Rect r = (**cicnHandle).iconPMap.bounds;
box.bottom = box.top + r.bottom - r.top;
box.right = box.left + r.right - r.left;
::PlotCIcon( &box, cicnHandle );
::DisposeCIcon( cicnHandle );
}
}
else
{
InsetRect( &box, 1, 1 );
RGBForeColor( &theColor );
PaintRect( &box );
::RGBForeColor( &black );
box.left += ( box.right-box.left ) / 2;
box.right = box.left;
box.top += ( box.bottom - box.top ) / 2;
box.bottom = box.top;
InsetRect( &box, -4, -4 );
}
}
}
}
static
void
colorPopupChooseColor( Rect *menuRect, Point hitPt,
short *whichItem, short numItems, RGBColor *backColor )
{
RGBColor aColor;
Rect box, oldBox;
short newItem = 0, loop;
colorPopupGetBox( menuRect, &oldBox, numItems, *whichItem );
if ( PtInRect( hitPt, menuRect ) )
{
for ( loop = 1; loop <= numItems; loop++ )
{
colorPopupGetBox( menuRect, &box, numItems, loop );
if ( PtInRect( hitPt, &box ) )
{
newItem = loop;
break;
}
}
if ( *whichItem != newItem )
{
// deselect old menu item, select new menu item
if ( *whichItem > 0 )
{
RGBForeColor( backColor );
FrameRect( &oldBox );
}
if ( newItem > 0 )
{
aColor.red = aColor.blue = aColor.green = 0;
RGBForeColor( &aColor );
FrameRect( &box );
}
#if COLOR_DISPLAY_TEXT
box = *menuRect;
box.top = box.bottom - COLOR_HEX_DISPLAY_SIZE;
EraseRect( &box );
if ( newItem > 0 )
{
menuStr[ 0 ] = 0;
GetMenuItemText( theMenu, newItem, menuStr );
if ( colorPopupParseColor( menuStr, &aColor ) == true )
{
if ( menuStr[ 0 ] )
{
// XXX should save/restore current font info, and set a particular (system?) font
MoveTo( box.left + ((box.right-box.left) / 2) - ( ::StringWidth(menuStr) / 2),
box.bottom - 4);
DrawString( menuStr );
}
}
}
#endif
*whichItem = newItem;
}
}
else if ( *whichItem > 0 )
{
// deselect old menu item
RGBForeColor( backColor );
FrameRect( &oldBox );
#if COLOR_DISPLAY_TEXT
box = *menuRect;
box.top = box.bottom - COLOR_HEX_DISPLAY_SIZE;
EraseRect( &box );
#endif
*whichItem = 0; // clear old item
}
}
pascal void
colorPopupMDEFProc(short message, MenuHandle theMenu,
Rect *menuRect, Point hitPt, short *whichItem)
{
if ( theMenu == NULL )
return;
PenState pnState;
RGBColor foreColor, backColor;
#if 0
Boolean growRowsFlag = false;
#endif
short numItems, numCols, numRows;
numItems = ::CountMItems( theMenu );
::GetPenState( &pnState );
::GetForeColor( &foreColor );
::PenNormal();
switch( message )
{
case mDrawMsg:
colorPopupDrawBox( theMenu, menuRect, numItems );
break;
case mChooseMsg:
::GetBackColor( &backColor );
colorPopupChooseColor( menuRect, hitPt, whichItem, numItems, &backColor );
::RGBBackColor( &backColor );
break;
case mSizeMsg:
// determine # of rows/cols needed
#if 0
if ( numItems > 0 )
{
numRows = numCols = 1;
while( numItems > (numRows * numCols) )
{
if ( growRowsFlag )
++numRows;
else
++numCols;
growRowsFlag = (!growRowsFlag);
}
}
#endif
#if 1
// hard code these for now
numRows = 10;
numCols = 10;
#endif
// why are the width and height backwards? If they are switched, the menu is wrong shape
(**theMenu).menuHeight = (numRows * CColorPopup::COLOR_BOX_HEIGHT) + (2 * CColorPopup::COLOR_FRAME_BORDER);
(**theMenu).menuWidth = (numCols * CColorPopup::COLOR_BOX_WIDTH) + CColorPopup::COLOR_FRAME_BORDER;
#if COLOR_DISPLAY_TEXT
(**theMenu).menuWidth += CColorPopup::COLOR_HEX_DISPLAY_SIZE;
#endif
break;
case mPopUpMsg:
::SetRect( menuRect, hitPt.v, hitPt.h,
hitPt.v + (**theMenu).menuWidth, hitPt.h + (**theMenu).menuHeight );
break;
/*
case mDrawItemMsg:
break;
case mCalcItemMsg:
break;
*/
}
::RGBForeColor( &foreColor );
SetPenState( &pnState );
}
// This class overrides CPatternButtonPopup to provide a popup menu which
// changes the descriptor based on the menu selection
// assumes left-justified text in DrawButtonTitle()
// ---------------------------------------------------------------------------
// ¥ CColorPopup
// ---------------------------------------------------------------------------
// Stream-based ctor
CColorPopup::CColorPopup(LStream* inStream)
: CPatternButtonPopupText(inStream)
{
}
void CColorPopup::FinishCreateSelf()
{
LView *superview = NULL, *view = GetSuperView();
while ( view )
{
view = view->GetSuperView();
if ( view )
superview = view;
}
mEditView = (CEditView *)superview->FindPaneByID( CEditView::pane_ID );
mDoSetLastPickedPreference = false;
// need to Finish FinishCreateSelf to get menus set for retrieval
super::FinishCreateSelf();
// set the control by adjusting the menu and then getting the current color
// unfortunately, when this is called, the editView doesn't have an mwcontext
// so we can't query to find out what the current color is to set it properly
}
void
CColorPopup::InitializeCurrentColor()
{
MenuHandle menuh;
menuh = GetMenu()->GetMacMenuH();
MWContext *mwcontext;
if ( mEditView )
mwcontext = mEditView->GetNSContext()
? mEditView->GetNSContext()->operator MWContext*()
: NULL;
else
mwcontext = NULL;
char colorstr[9];
LO_Color color;
Boolean isColorFound = false;
// first try to get the color out of the character data
EDT_CharacterData* chardata;
chardata = EDT_GetCharacterData( mwcontext );
if ( chardata && chardata->pColor )
{
isColorFound = true;
color = *chardata->pColor;
XP_SPRINTF( &colorstr[2], "%02X%02X%02X", color.red, color.green, color.blue);
}
if ( chardata )
EDT_FreeCharacterData( chardata );
// if we still haven't found it, let's try the page data
if ( !isColorFound )
{
EDT_PageData *pagedata = EDT_GetPageData( mwcontext );
if ( pagedata && pagedata->pColorText )
{
isColorFound = true;
color = *pagedata->pColorText;
XP_SPRINTF( &colorstr[2], "%02X%02X%02X", color.red, color.green, color.blue);
}
if ( pagedata )
EDT_FreePageData( pagedata );
}
// if we still haven't found the color, get the browser preference
if ( !isColorFound )
{
// editor.text_color
int iSize = 9;
int result = PREF_GetCharPref( "browser.foreground_color", &colorstr[1], &iSize );
if ( result != PREF_NOERROR )
colorstr[1] = 0; // zero string if error is encountered
}
colorstr[1] = CURRENT_COLOR_CHAR; // put in leading character
colorstr[0] = strlen( &colorstr[1] );
::SetMenuItemText( menuh, CURRENT_COLOR_ITEM, (unsigned char *)&colorstr );
// set descriptor of control
if ( GetValue() == CURRENT_COLOR_ITEM )
{
SetDescriptor( (const unsigned char *)colorstr );
Refresh(); // inval the control's visible pane area
}
}
// ---------------------------------------------------------------------------
// ¥ AdjustMenuContents
// ---------------------------------------------------------------------------
// Set last color picked (first item).
void
CColorPopup::AdjustMenuContents()
{
MenuHandle menuh;
menuh = GetMenu()->GetMacMenuH();
// initialize last color picked
char colorstr[9];
int iSize = 9;
int result;
// note hack to avoid converting c-string to p-string
result = PREF_GetCharPref( "editor.last_color_used", &colorstr[1], &iSize );
if ( result == PREF_NOERROR )
{
colorstr[1] = LAST_COLOR_PICKED_CHAR; // replace '#' with '<'
colorstr[0] = strlen( &colorstr[1] );
::SetMenuItemText( menuh, LAST_COLOR_PICKED_ITEM, (unsigned char *)&colorstr );
}
// initialize the default color
result = PREF_GetCharPref( "browser.foreground_color", &colorstr[1], &iSize );
if ( result == PREF_NOERROR )
{
colorstr[1] = DEFAULT_COLOR_CHAR; // replace '#' with '<'
colorstr[0] = strlen( &colorstr[1] );
::SetMenuItemText( menuh, DEFAULT_COLOR_ITEM, (unsigned char *)&colorstr );
}
// initialize the current color
InitializeCurrentColor();
}
void CColorPopup::HandlePopupMenuSelect( Point inPopupLoc, Int16 inCurrentItem,
Int16& outMenuID, Int16& outMenuItem )
{
super::HandlePopupMenuSelect( inPopupLoc, inCurrentItem, outMenuID, outMenuItem );
// check if we need to set the preference here...
mDoSetLastPickedPreference = ( outMenuID && outMenuItem != DEFAULT_COLOR_ITEM );
}
void CColorPopup::SetValue(Int32 inValue)
{
if ( inValue == 0 )
inValue = CURRENT_COLOR_ITEM;
Boolean shouldBroadcast;
// Handle color picker item special
if ( inValue == COLOR_PICKER_ITEM )
{
mValue = inValue; // Store new value to broadcast it
BroadcastValueMessage(); // Inform Listeners of value change
inValue = CURRENT_COLOR_ITEM; // Reset value to current color
shouldBroadcast = false; // Already broadcast above; don't do again
}
else
shouldBroadcast = IsBroadcasting();
// broadcast only if it's not a color picker item (handled above)
StSetBroadcasting setBroadcasting( this, shouldBroadcast );
super::SetValue( inValue );
}
// ---------------------------------------------------------------------------
// ¥ HandleNewValue
// ---------------------------------------------------------------------------
// Hook for handling value changes. Called by SetValue.
// Note that the setting of the new value is done by CPatternButtonPopup::SetValue.
// Therefore, GetValue() will still return the old value here, so the old value is
// still available in this method.
Boolean
CColorPopup::HandleNewValue(Int32 inNewValue)
{
Str255 str;
MenuHandle menuh;
menuh = GetMenu()->GetMacMenuH();
::GetMenuItemText ( menuh, inNewValue, str );
if ( str[1] != COLOR_PICKER_CHAR )
SetDescriptor( str );
if ( mDoSetLastPickedPreference
&& str[1] != LAST_COLOR_PICKED_CHAR && str[1] != COLOR_PICKER_CHAR )
{
mDoSetLastPickedPreference = false;
// skip over any text which might preceed color
int index;
for ( index = 1; index <= str[0]
&& str[index] != LAST_COLOR_PICKED_CHAR
&& str[index] != COLOR_CHIP_CHAR
&& str[index] != COLOR_PICKER_CHAR
&& str[index] != DEFAULT_COLOR_CHAR
&& str[index] != CURRENT_COLOR_CHAR; ++index )
;
if ( index + 7 < str[0] )
str[index + 7] = 0; // null terminate after symbol + 6chars of color
str[ index ] = COLOR_CHIP_CHAR; // prefs assume #-format color
p2cstr( str );
int result;
result = PREF_SetCharPref( "editor.last_color_used", (char *)&str[index-1] );
// skip past initial symbol; index-1 since now c-string
}
return false;
}
const Int16 cPopupArrowHeight = 5; // height of the arrow
const Int16 cPopupArrowWidth = 9; // widest width of the arrow
void
CColorPopup::DrawButtonContent(void)
{
CPatternButtonPopupText::DrawButtonContent();
DrawPopupArrow();
}
void
CColorPopup::DrawButtonTitle(void)
{
}
void
CColorPopup::DrawButtonGraphic(void)
{
ResIDT theSaveID = GetGraphicID();
ResIDT theNewID = theSaveID;
RGBColor foreColor, theColor;
const RGBColor black={0,0,0};
Int32 theValue = GetValue();
if (theValue > 0)
{
if ( theValue == COLOR_PICKER_ITEM )
theValue = CURRENT_COLOR_ITEM;
if (GetMenuItemRGBColor((short)theValue, &theColor) == true)
{
CButton::CalcGraphicFrame();
InsetRect(&mCachedGraphicFrame, (mCachedGraphicFrame.right-mCachedGraphicFrame.left-12)/2,
(mCachedGraphicFrame.bottom-mCachedGraphicFrame.top-12)/2);
::GetForeColor(&foreColor);
::RGBForeColor(&black);
::FrameRect(&mCachedGraphicFrame);
::RGBForeColor(&foreColor);
::InsetRect(&mCachedGraphicFrame,1,1);
::RGBForeColor(&theColor);
::PaintRect(&mCachedGraphicFrame);
}
else
theValue = CURRENT_COLOR_ITEM; // not sure this is the right thing;
// it'd be nice if GetMenuItemRGBColor always returned true
}
}
void
CColorPopup::DrawPopupArrow(void)
{
Rect theFrame;
CalcLocalFrameRect(theFrame);
Int16 width = theFrame.right - theFrame.left;
Int16 height = theFrame.bottom - theFrame.top;
theFrame.top += ((height - cPopupArrowHeight) / 2);
theFrame.left = theFrame.right - cPopupArrowWidth - 7;
theFrame.right = theFrame.left + cPopupArrowWidth - 1;
theFrame.bottom = theFrame.top + cPopupArrowHeight - 1;
// check if we have moved past the right edge of the button
// if so, adjust it back to the right edge of the button
if ( theFrame.right > mCachedButtonFrame.right - 4 )
{
theFrame.right = mCachedButtonFrame.right - 4;
theFrame.left = theFrame.right - cPopupArrowWidth - 1;
}
UGraphicGizmos::DrawPopupArrow(
theFrame,
IsEnabled(),
IsActive(),
IsTrackInside());
}
#pragma mark -
// always call ProcessCommandStatus for popup menus which can change values
void
CColorPopup::HandleEnablingPolicy()
{
LCommander* theTarget = LCommander::GetTarget();
MessageT buttonCommand = GetValueMessage();
Boolean enabled = false;
Boolean usesMark = false;
Str255 outName;
Char16 outMark;
if (!CTargetedUpdateMenuRegistry::UseRegistryToUpdateMenus() ||
CTargetedUpdateMenuRegistry::CommandInRegistry(buttonCommand))
{
if (!IsActive() || !IsVisible())
return;
if (!theTarget)
return;
CPatternButtonPopup::HandleEnablingPolicy();
if (buttonCommand)
theTarget->ProcessCommandStatus(buttonCommand, enabled, usesMark, outMark, outName);
}
CPatternButtonPopup::Enable();
}
Boolean
CColorPopup::GetMenuItemRGBColor(short menuItem, RGBColor *theColor)
{
Str255 str;
MenuHandle menuh;
Boolean colorFoundFlag;
menuh = GetMenu()->GetMacMenuH();
::GetMenuItemText( menuh, menuItem, str );
colorFoundFlag = colorPopupParseColor( str, theColor );
return colorFoundFlag;
}
short
CColorPopup::GetMenuItemFromRGBColor(RGBColor *theColor)
{
MenuHandle menuh;
RGBColor tempColor;
Str255 str;
short loop,numItems,retVal=CURRENT_COLOR_ITEM; // return current color if not found
if ((menuh = GetMenu()->GetMacMenuH()) != NULL)
{
numItems = ::CountMItems(menuh);
for (loop=1; loop<= numItems; loop++)
{
::GetMenuItemText( menuh, loop, str);
if (colorPopupParseColor(str, &tempColor) == true)
{
if ((tempColor.red == theColor->red) && (tempColor.blue == theColor->blue) && (tempColor.green == theColor->green))
{
retVal = loop;
break;
}
}
}
}
return retVal;
}

View File

@@ -1,74 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "CPatternButtonPopupText.h"
class CEditView;
class CColorPopup : public CPatternButtonPopupText
{
public:
enum { class_ID = 'Cpop' };
enum { COLOR_DISPLAY_TEXT = 0, // need to fix "*" bug before turning on (among other things)
COLOR_FRAME_BORDER = 2,
COLOR_BOX_WIDTH = 14,
COLOR_BOX_HEIGHT = 14,
COLOR_HEX_DISPLAY_SIZE = 16
};
enum {
LAST_COLOR_PICKED_CHAR = '<',
LAST_COLOR_PICKED_ITEM = 1,
COLOR_CHIP_CHAR = '#',
COLOR_PICKER_CHAR = '*',
COLOR_PICKER_ITEM = 62,
DEFAULT_COLOR_CHAR = '@',
DEFAULT_COLOR_ITEM = 72,
CURRENT_COLOR_CHAR = '.',
CURRENT_COLOR_ITEM = 73
};
typedef CPatternButtonPopupText super;
static void* CreateCColorPopupStream( LStream *inStream ) {return( new CColorPopup (inStream ));};
CColorPopup( LStream *inStream ); // ¥ Constructor
virtual void FinishCreateSelf();
// ¥ drawing
void DrawButtonContent(void);
void DrawButtonTitle(void);
void DrawPopupArrow(void);
void DrawButtonGraphic(void);
// ¥ hooks
virtual void SetValue( Int32 inValue );
virtual void AdjustMenuContents();
virtual void HandlePopupMenuSelect( Point inPopupLoc, Int16 inCurrentItem,
Int16& outMenuID, Int16& outMenuItem );
virtual Boolean HandleNewValue(Int32 inNewValue);
virtual Boolean GetMenuItemRGBColor(short menuItem, RGBColor *theColor);
virtual short GetMenuItemFromRGBColor(RGBColor *theColor);
void InitializeCurrentColor();
protected:
virtual void HandleEnablingPolicy();
CEditView *mEditView;
Boolean mDoSetLastPickedPreference;
};

View File

@@ -1,71 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// ===========================================================================
// CComposerDragTask.cp
// ===========================================================================
#include "CComposerDragTask.h"
// ---------------------------------------------------------------------------
// ¥ CComposerDragTask
// ---------------------------------------------------------------------------
CComposerDragTask::CComposerDragTask(
const EventRecord& inEventRecord,
const Rect& inGlobalFrame,
CHTMLView& inHTMLView)
: mGlobalFrame(inGlobalFrame),
mHTMLView(inHTMLView),
super(inEventRecord)
{
}
// ---------------------------------------------------------------------------
// ¥ ~CComposerDragTask
// ---------------------------------------------------------------------------
CComposerDragTask::~CComposerDragTask()
{
}
// ---------------------------------------------------------------------------
// ¥ AddFlavors
// ---------------------------------------------------------------------------
void
CComposerDragTask::AddFlavors( DragReference /* inDragRef */ )
{
OSErr theErr;
theErr = ::AddDragItemFlavor( mDragRef, (ItemReference)this, emComposerNativeDrag,
nil, 0, flavorNotSaved | flavorSenderTranslated );
ThrowIfOSErr_(theErr);
}
void
CComposerDragTask::MakeDragRegion( DragReference /* inDragRef */, RgnHandle /* inDragRegion */ )
{
AddRectDragItem((ItemReference)&mHTMLView, mGlobalFrame);
}

View File

@@ -1,56 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// ===========================================================================
// CComposerDragTask.h
// ===========================================================================
#ifndef CComposerDragTask_H
#define CComposerDragTask_H
#pragma once
// Includes
#include <LDragTask.h>
class CHTMLView;
#define emComposerNativeDrag 'CNDr' // others defined in "resgui.h"
// Class declaration
class CComposerDragTask : public LDragTask
{
public:
typedef LDragTask super;
CComposerDragTask( const EventRecord& inEventRecord,
const Rect& inGlobalFrame, CHTMLView& inHTMLView );
virtual ~CComposerDragTask();
protected:
virtual void AddFlavors( DragReference inDragRef );
virtual void MakeDragRegion( DragReference inDragRef, RgnHandle inDragRegion );
Rect mGlobalFrame;
CHTMLView& mHTMLView;
};
#endif

View File

@@ -1,320 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "CEditDictionary.h"
#include "CLargeEditField.h" // msg_EditField2
#include "LGAPushButton.h"
#include "resgui.h" // msg_Help
#include "macutil.h" // ShowHelp
#include "CSpellChecker.h" // ISpellChecker
// need to include "ntypes.h" before "xp_help.h" because
// "xp_help.h" doesn't include definition of MWContext though it should
#include "ntypes.h"
#include "xp_help.h" // HELP_SPELL_CHECK
// If user has changed the word field, figure out the length and enable/disable appropriately
void CEditDictionary::ListenToMessage ( MessageT inMessage,
void* ioParam ) {
Assert_(mWordNameField);
Assert_(mAddButton);
// This happens when user types
if (inMessage == msg_EditField2) {
if ((**(mWordNameField->GetMacTEH())).teLength) {
mAddButton->Enable();
} else {
mAddButton->Disable();
}
// User clicked in words table
} else if (inMessage == WordsTableID) {
Boolean atleastoneselected = false;
// Must have at least one cell selected for remove to be valid
STableCell selchecker(0,0);
if (mWordsView->GetNextSelectedCell(selchecker)) {
atleastoneselected = true;
mRemoveButton->Enable();
} else {
mRemoveButton->Disable();
}
// Replace is enabled if there is a valid word in New Word Edit Field
// And exactly one word is selected
if ((**(mWordNameField->GetMacTEH())).teLength && atleastoneselected &&
!mWordsView->GetNextSelectedCell(selchecker) ) {
mReplaceButton->Enable();
} else {
mReplaceButton->Disable();
}
// User left words table
} else if (inMessage == msg_LeaveDictionaryTable) {
mRemoveButton->Disable();
mReplaceButton->Disable();
// If user clicks on Remove Button
} else if (inMessage == RemoveButtonID) {
RemoveSelectedWords();
// If user clicks on Replace Button
} else if (inMessage == ReplaceButtonID) {
ReplaceSelectedWord();
// If user clicks on OK Button
} else if (inMessage == msg_OK) {
MakeDictionaryChangesPermanent();
AttemptClose();
// If user clicks on Cancel Button
} else if (inMessage == msg_Cancel) {
AttemptClose();
// User clicks on Help Button
} else if (inMessage == msg_Help) {
ShowHelp(HELP_SPELL_CHECK);
// This is the case when something important happens (selection, deselection, etc.)
// to the New Word edit field. Check status of word
} else if (inMessage == WordID) {
if ((**(mWordNameField->GetMacTEH())).teLength) {
mAddButton->Enable();
} else {
mAddButton->Disable();
}
// Add word to dictionary
} else if (inMessage == AddButtonID) {
AddNewWord();
} else {
LGADialogBox::ListenToMessage(inMessage, ioParam);
}
}
//-------------------------------------------------------------------------------------
// CEditDictionary::MakeDictionaryChangesPermanent
// Take words in view and set in dictionary
//-------------------------------------------------------------------------------------
void CEditDictionary::MakeDictionaryChangesPermanent() {
STableCell currCellLoc(1,1);
Str255 currCellData;
int maxsize = 255;
mISpellChecker->ResetPersonalDictionary();
for (currCellLoc.row = 1; currCellLoc.row <= mNumWords; currCellLoc.row++) {
maxsize = 255;
mWordsView->GetCellData(currCellLoc, currCellData, maxsize);
mISpellChecker->AddWordToPersonalDictionary(p2cstr(currCellData));
}
}
//-------------------------------------------------------------------------------------
// CEditDictionary::RemoveSelectedWord
// Remove words that are currently selected
//-------------------------------------------------------------------------------------
void CEditDictionary::RemoveSelectedWords() {
STableCell currCellLoc(0,0);
int rowstodelete = 0;
while (mWordsView->GetNextSelectedCell(currCellLoc)) {
rowstodelete++;
}
currCellLoc = mWordsView->GetFirstSelectedCell();
mWordsView->RemoveRows(rowstodelete, currCellLoc.row, true);
mNumWords-=rowstodelete;
}
//-------------------------------------------------------------------------------------
// CEditDictionary::ReplaceSelectedWord
// Remove currently selected word with word in New Word box
//-------------------------------------------------------------------------------------
void CEditDictionary::ReplaceSelectedWord() {
STableCell currCellLoc;
Str255 theWord;
mWordNameField->GetDescriptor(theWord);
currCellLoc = mWordsView->GetFirstSelectedCell();
if (mWordsView->IsValidCell(currCellLoc)) {
mWordsView->SetCellData(currCellLoc, theWord, theWord[0] + 1);
mWordsView->RefreshCell(currCellLoc);
}
}
//-------------------------------------------------------------------------------------
// CEditDictionary::AddNewWord
// Add the word in "New Word" edit field to personal dictionary
//-------------------------------------------------------------------------------------
void CEditDictionary::AddNewWord() {
Str255 theWord;
Str255 currWord;
Assert_(mWordNameField);
Assert_(mISpellChecker);
STableCell cell(1,1);
Uint32 maxbytes;
mWordNameField->GetDescriptor(theWord);
/*
Check to make sure word is not already in the list. If it is, then highlight that word
and return so we don't insert.
*/
for (cell.row = 1; cell.row <= mNumWords; cell.row++) {
maxbytes = 255;
mWordsView->GetCellData(cell, currWord, maxbytes);
if (currWord[0] == theWord[0] &&
!strncmp(reinterpret_cast<const char *>(&(currWord[1])), reinterpret_cast<const char *>(&(theWord[1])), theWord[0]) ) { // If word already exists exit
mWordsView->UnselectAllCells();
mWordsView->SelectCell(cell);
return;
}
}
mWordsView->InsertRows(1, mNumWords, theWord, theWord[0] + 1, Refresh_Yes);
mNumWords++;
cell.row = mNumWords;
mWordsView->UnselectAllCells();
mWordsView->SelectCell(cell);
}
//-------------------------------------------------------------------------------------
// CEditDictionary::FinishCreateSelf
// Setup object references
//-------------------------------------------------------------------------------------
void CEditDictionary::FinishCreateSelf () {
mAddButton = dynamic_cast<LGAPushButton *>(FindPaneByID(AddButtonID));
mReplaceButton = dynamic_cast<LGAPushButton *>(FindPaneByID(ReplaceButtonID));
mRemoveButton = dynamic_cast<LGAPushButton *>(FindPaneByID(RemoveButtonID));
mHelpButton = dynamic_cast<LGAPushButton *>(FindPaneByID(HelpButtonID));
mWordNameField = dynamic_cast<CLargeEditFieldBroadcast *>(FindPaneByID(WordID));
mWordsView = dynamic_cast<CTextTable *>(FindPaneByID( WordsTableID ));
ThrowIfNil_(mAddButton);
ThrowIfNil_(mReplaceButton);
ThrowIfNil_(mRemoveButton);
ThrowIfNil_(mHelpButton);
ThrowIfNil_(mWordNameField);
ThrowIfNil_(mWordsView);
LGADialogBox::FinishCreateSelf();
PenState penState;
::GetPenState( &penState );
mWordsView->AddAttachment( new LColorEraseAttachment( &penState, NULL, NULL, true ) );
mAddButton->Disable(); // Add button should be originally disabled
mReplaceButton->Disable();
mRemoveButton->Disable();
mAddButton->AddListener( this );
mReplaceButton->AddListener( this );
mRemoveButton->AddListener( this );
mWordNameField->AddListener( this );
mWordsView->AddListener( this );
mHelpButton->AddListener( this );
}
// Constructor
CEditDictionary::CEditDictionary(LStream *inStream) : mNumWords(0),
mWordNameField(NULL), mISpellChecker(NULL), mAddButton(NULL), mWordsView(NULL),
mHelpButton(NULL), LGADialogBox (inStream) {
}
//-------------------------------------------------------------------------------------
// CEditDictionary::SetISPellChecker
// Sets personal dictionary and inserts into GUI
//-------------------------------------------------------------------------------------
void CEditDictionary::SetISpellChecker(ISpellChecker *i) {
STableCell cell(0, 1);
int unusedNumber;
char word_buffer[max_word_length];
int curr_word_length;
mISpellChecker = i;
cell.row = 0;
if ((mISpellChecker->GetFirstPersonalDictionaryWord(word_buffer, max_word_length) >= 0) && mWordsView) {
mWordsView->FocusDraw();
do {
mNumWords++;
cell.row++;
curr_word_length = strlen(word_buffer);
CStr255 pascalstring( word_buffer );
mWordsView->InsertRows(1, cell.row-1, NULL ,0, Refresh_Yes);
mWordsView->SetCellData(cell, pascalstring, curr_word_length + 1);
// Insert the words into dialog box here!
} while (mISpellChecker->GetNextPersonalDictionaryWord(word_buffer, max_word_length) >= 0);
}
mWordsView->GetTableSize(mNumWords, unusedNumber);
}
//-------------------------------------------------------------------------------------
// CEditDictionary::GetISPellChecker
// Get the Personal Dictionary
//-------------------------------------------------------------------------------------
ISpellChecker *CEditDictionary::GetISpellChecker() {
return mISpellChecker;
}
//-------------------------------------------------------------------------------------
// CEditDictionaryTable::BeTarget()
// Broadcast messages when we become target so we can setup buttons
//-------------------------------------------------------------------------------------
void CEditDictionaryTable::BeTarget() {
CTextTable::BeTarget();
BroadcastMessage(CEditDictionary::WordsTableID, NULL);
}
//-------------------------------------------------------------------------------------
// CEditDictionaryTable::DontBeTarget()
// Broadcast messages when we lose target so we can setup buttons
//-------------------------------------------------------------------------------------
void CEditDictionaryTable::DontBeTarget() {
CTextTable::DontBeTarget();
BroadcastMessage(CEditDictionary::msg_LeaveDictionaryTable, NULL);
}
//-------------------------------------------------------------------------------------
// HiliteSelection
// Setup back/front colors. Otherwise we sometimes get the de-highlighting
// wrong when switching selection
//-------------------------------------------------------------------------------------
void CEditDictionaryTable::HiliteSelection( Boolean inActively, Boolean inHilite )
{
if (inActively) {
StColorPenState::Normalize();
}
LTableView::HiliteSelection( inActively, inHilite );
}

View File

@@ -1,76 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#pragma once
#include "CTextTable.h"
#include <LGADialogBox.h>
class LGAPushButton;
class CLargeEditFieldBroadcast;
class ISpellChecker;
class CEditDictionary : public LGADialogBox {
public:
virtual void ListenToMessage ( MessageT inMessage,
void* ioParam );
virtual void FinishCreateSelf();
CEditDictionary(LStream *inStream);
void SetISpellChecker(ISpellChecker *i);
ISpellChecker *GetISpellChecker();
enum { class_ID = 'CEdD', res_ID = 5298 };
enum { AddButtonID = 201 , WordID = 200, WordsTableID = 202, ReplaceButtonID = 203,
RemoveButtonID = 204, HelpButtonID = 205, msg_LeaveDictionaryTable = 208 };
enum { max_word_length = 50 }; // Max length of a word
protected:
void MakeDictionaryChangesPermanent();
virtual void AddNewWord();
virtual void RemoveSelectedWords();
virtual void ReplaceSelectedWord();
CLargeEditFieldBroadcast *mWordNameField; // The field where user edits word
LGAPushButton *mAddButton; // Add new word button
LGAPushButton *mReplaceButton;
LGAPushButton *mRemoveButton;
LGAPushButton *mHelpButton;
CTextTable *mWordsView; // The Personal Dictionary view
int mNumWords;
ISpellChecker *mISpellChecker;
};
class CEditDictionaryTable : public CTextTable {
public:
enum {class_ID = 'CEDT' };
virtual void BeTarget();
virtual void DontBeTarget();
CEditDictionaryTable(LStream *inStream) : CTextTable(inStream) { }
void HiliteSelection( Boolean inActively, Boolean inHilite );
};

File diff suppressed because it is too large Load Diff

View File

@@ -1,272 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#pragma once
#include <TextServices.h>
#include "CHTMLView.h"
// dangling prototype
Boolean GetCaretPosition(MWContext *context, LO_Element * element, int32 caretPos,
int32* caretX, int32* caretYLow, int32* caretYHigh );
class LGAPopup;
class CPatternButtonPopup;
class CColorPopup;
class CComposeSession;
class CFontMenuPopup;
class HTMLInlineTSMProxy;
class HoldUpdatesProxy;
class CEditView: public CHTMLView
{
#if !defined(__MWERKS__) || (__MWERKS__ >= 0x2000)
typedef CHTMLView inherited;
#endif
public:
enum { pane_ID = 'html', class_ID = 'Edtp', dashMark = '-' };
enum {
STRPOUND_EDITOR_MENUS = 5101,
EDITOR_MENU_SHOW_PARA_SYMBOLS = 1,
EDITOR_MENU_HIDE_PARA_SYMBOLS = 2,
EDITOR_MENU_UNDO = 3,
EDITOR_MENU_REDO = 4,
EDITOR_MENU_SHOW_COMP_TOOLBAR = 5,
EDITOR_MENU_HIDE_COMP_TOOLBAR = 6,
EDITOR_MENU_SHOW_FORMAT_TOOLBAR = 7,
EDITOR_MENU_HIDE_FORMAT_TOOLBAR = 8,
EDITOR_MENU_SHOW_TABLE_BORDERS = 9,
EDITOR_MENU_HIDE_TABLE_BORDERS = 10,
EDITOR_MENU_CHARACTER_ATTRIBS = 11,
EDITOR_MENU_IMAGE_ATTRIBUTES = 12,
EDITOR_MENU_LINK_ATTRIBUTES = 13,
EDITOR_MENU_LINE_ATTRIBUTES = 14,
EDITOR_MENU_TABLE_ATTRIBUTES = 15,
EDITOR_MENU_UNKNOWN_ATTRIBUTES = 16,
EDITOR_MENU_TARGET_ATTRIBUTES = 17
};
enum {
eMouseHysteresis = 6,
eSelectionBorder = 3
};
// ¥¥ Constructors
CEditView(LStream * inStream);
~CEditView();
virtual void FinishCreateSelf(void);
// ¥¥ Command handling
virtual Boolean ObeyCommand( CommandT inCommand, void *ioParam );
virtual void ListenToMessage( MessageT inMessage, void* ioParam );
virtual void FindCommandStatus( CommandT inCommand,
Boolean& outEnabled, Boolean& outUsesMark,
Char16& outMark,Str255 outName );
Boolean FindCommandStatusForContextMenu( CommandT inCommand,
Boolean &outEnabled, Boolean &outUsesMark,
Char16 &outMark, Str255 outName );
Boolean IsPastable(Char16 theChar);
int FindQueuedKeys( char *keys_in_q );
virtual Boolean HandleKeyPress( const EventRecord& inKeyEvent );
virtual void AdaptToSuperFrameSize( Int32 inSurrWidthDelta,
Int32 inSurrHeightDelta, Boolean inRefresh );
virtual void BeTarget();
virtual void DontBeTarget();
void HandleCut();
void HandleCopy();
void HandlePaste();
TSMDocumentID midocID;
virtual void CreateFindWindow();
virtual void SetContext( CBrowserContext* inNewContext );
virtual URL_Struct *GetURLForPrinting( Boolean& outSuppressURLCaption, MWContext *printingContext );
void TakeOffDuty();
virtual void PutOnDuty(LCommander*);
Bool PtInSelectedRegion(SPoint32 cpPoint );
virtual void DrawSelf( void );
virtual Boolean EstablishPort();
virtual void ActivateSelf();
virtual void DeactivateSelf();
Bool SaveDocument();
Bool SaveDocumentAs();
Bool VerifySaveUpToDate();
// ¥¥ cursor calls and caret functionality
virtual void AdjustCursorSelf( Point inPortPt, const EventRecord& inMacEvent );
virtual void SpendTime( const EventRecord& inMacEvent );
void DrawCaret( Boolean doErase );
void EraseCaret();
void HideCaret( Boolean mhide ) { EraseCaret(); mHideCaret = mhide; }
void PlaceCaret(int32 caretX, int32 caretYLow, int32 caretYHigh);
void RemoveCaret();
void DisplayGenericCaret( MWContext *context, LO_Element * pLoAny,
ED_CaretObjectPosition caretPos );
// ¥¥ Drag and Drop
virtual Boolean ItemIsAcceptable (DragReference dragRef, ItemReference itemRef);
virtual void ReceiveDragItem( DragReference inDragRef, DragAttributes inDragAttr,
ItemReference inItemRef, Rect& inItemBounds );
virtual void DoDragSendData( FlavorType inFlavor, ItemReference inItemRef,
DragReference inDragRef );
virtual void ClickSelf (const SMouseDownEvent& where );
virtual Boolean ClickTrackSelection( const SMouseDownEvent& inMouseDown,
CHTMLClickRecord& inClickRecord );
virtual Boolean SetDefaultCSID( Int16 inPreferredCSID );
CBrowserContext *GetNSContext() { return mContext; };
void SetHoldUpdates(HoldUpdatesProxy* inHoldUpdates) {mHoldUpdates = inHoldUpdates;};
Boolean mEditorDoneLoading;
Boolean IsDoneLoading() const { return mEditorDoneLoading; }
// ¥¥ FE_* calls
void DocumentChanged( int32 iStartY, int32 iHeight );
void GetDocAndWindowPosition( SPoint32 &frameLocation, SPoint32 &imageLocation, SDimension16 &frameSize );
// ¥¥ formatting query calls
void UseCharFormattingCache() { CanUseCharFormatting(); mUseCharFormattingCache = true; }
void DontUseCharFormattingCache() { mUseCharFormattingCache = false; }
class StUseCharFormattingCache
{
public:
StUseCharFormattingCache( CEditView& p ) : view(p) { view.UseCharFormattingCache(); }
~StUseCharFormattingCache() { view.DontUseCharFormattingCache(); }
private:
CEditView &view;
};
LGAPopup * mParagraphToolbarPopup;
LGAPopup * mSizeToolbarPopup;
CFontMenuPopup * mFontToolbarPopup;
CPatternButtonPopup * mAlignToolbarPopup;
CColorPopup * mColorPopup;
protected:
virtual Boolean IsGrowCachingEnabled() const { return !mEditorDoneLoading; }
virtual void LayoutNewDocument( URL_Struct *inURL, Int32 *inWidth,
Int32 *inHeight, Int32 *inMarginWidth, Int32 *inMarginHeight );
// ¥¥ FE_* calls
virtual void SetDocPosition( int inLocation, Int32 inX, Int32 inY,
Boolean inScrollEvenIfVisible = false);
virtual void DisplayLineFeed( int inLocation, LO_LinefeedStruct *inLinefeedStruct, XP_Bool inNeedBG );
virtual void DisplayHR( int inLocation, LO_HorizRuleStruct *inRuleStruct );
virtual void DisplaySubtext( int inLocation, LO_TextStruct *inText,
Int32 inStartPos, Int32 inEndPos, XP_Bool inNeedBG );
virtual void EraseBackground( int inLocation, Int32 inX, Int32 inY,
Uint32 inWidth, Uint32 inHeight, LO_Color *inColor );
virtual void GetDefaultBackgroundColor(LO_Color* outColor) const;
virtual void DisplayTable( int inLocation, LO_TableStruct *inTableStruct );
virtual void DisplayCell( int inLocation, LO_CellStruct *inCellStruct );
virtual void InvalidateEntireTableOrCell( LO_Element* inElement );
virtual void DisplayAddRowOrColBorder( XP_Rect* inRect, XP_Bool inDoErase );
virtual void UpdateEnableStates();
virtual void DisplayFeedback( int inLocation, LO_Element *inElement );
virtual void DisplaySelectionFeedback( uint16 ele_attrmask, const Rect &inRect );
virtual void InsideDropArea( DragReference inDragRef );
virtual void EnterDropArea( DragReference inDragRef, Boolean inDragHasLeftSender );
DragReference mDragRef;
enum {
ED_SELECTION_BORDER = 3
};
enum { MAX_Q_SIZE = 12 }; // Used for checking out key strokes waiting in FindQueuedKeys
void InsertDefaultLine();
void DoReload( void );
void ToFromList( intn listType, ED_ListType elementType );
void NoteEditorRepagination( void );
Boolean CanUseCharFormatting();
Boolean IsMouseInSelection( SPoint32 pt, CL_Layer *curLayer, Rect& selectRect );
Boolean mDoContinueSelection;
HTMLInlineTSMProxy* mProxy;
HoldUpdatesProxy* mHoldUpdates;
// more caret blinking and related stuff
Boolean mCaretDrawn, mCaretActive;
Boolean mHideCaret;
Boolean mDisplayParagraphMarks;
Point mOldPoint; // Last place cursor was adjusted. No initializing
long mOldLastElementOver; // id of the last element the cursor was over
unsigned long mLastBlink;
int32 mCaretX;
int32 mCaretYLow;
int32 mCaretYHigh;
Boolean mUseCharFormattingCache;
Boolean mIsCharFormatting;
// these are only to be used during drag of data in composer
char *mDragData; // warning this really isn't a "char" but void* data!!!
int32 mDragDataLength;
}; // class CEditView
//======================================
class CMailEditView : public CEditView
//======================================
{
public:
enum { pane_ID = 'html', class_ID = 'MEdp' };
// ¥¥ Constructors
CMailEditView(LStream * inStream);
virtual void InstallBackgroundColor();
virtual void GetDefaultBackgroundColor(LO_Color* outColor) const;
virtual void InitMailCompose();
void SetComposeSession( CComposeSession *c ) { mComposeSession = c; };
void SetInitialText( const char *textp );
void InsertMessageCompositionText( const char* text,
XP_Bool leaveCursorBeginning, XP_Bool isHTML );
void DisplayDefaultTextBody();
private:
Int32 mStartQuoteOffset;
Int32 mEndQuoteOffset;
Boolean mHasAutoQuoted;
Boolean mHasInsertSignature;
Boolean mCursorSet;
char *mInitialText; // Draft text
CComposeSession *mComposeSession;
}; // class CMailEditView

View File

@@ -1,610 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "CEditorWindow.h"
#include "CBrowserContext.h"
#include "resgui.h"
#include "CFormattingToolBar.h"
#include "CFontMenuAttachment.h"
#include "CToolbarPopup.h"
#include "CPatternButtonPopupText.h"
#include "COpenRecentlyEditedPopup.h"
#include "CColorPopup.h"
#include "CEditDictionary.h"
#include "CTextTable.h"
#include "CTableKeySingleSelector.h"
// macfe
#include "mversion.h" // ID_STRINGS
#include "URobustCreateWindow.h"
#include "uprefd.h"
#include "uerrmgr.h"
#include "uapp.h"
#include "meditdlg.h" // CTabbedDialog
#include "meditor.h" // HandleModalDialog
#include "CEditView.h"
// Netscape
#include "net.h" // NET_cinfo_find_type
#include "proto.h" // XP_IsContextBusy
#include "edt.h"
#include "shist.h"
#include "prefapi.h" // PREF_GetBoolPref
#ifdef PROFILE
#pragma profile on
#endif
// pane id constants - for ShowOneDragBar
const PaneIDT Paragraph_Bar_PaneID = 'DBar';
const PaneIDT Character_Bar_PaneID = 'NBar';
const char* Pref_ShowParagraphBar = "editor.show_paragraph_toolbar";
const char* Pref_ShowCharacterBar = "editor.show_character_toolbar";
enum { eParagraphBar,
eCharacterBar };
CEditorWindow::CEditorWindow( LStream* inStream )
:CBrowserWindow(inStream)
{
SetWindowType( WindowType_Editor );
}
static // PRIVATE
CMediatedWindow* GetFrontWindowByType( OSType windowType )
{
CMediatedWindow* theWindow = NULL;
CWindowIterator iter(windowType);
iter.Next(theWindow);
return theWindow;
}
// given an mwcontext (non-busy, with a history), select the matching editor window
// or open an editor window based on that mwcontext
// if all else fails (and memory is not low), create an empty editor window
void CEditorWindow::MakeEditWindowFromBrowser( MWContext* mwcontext )
{
if ( Memory_MemoryIsLow() )
return;
History_entry* entry = NULL;
if ( mwcontext && !XP_IsContextBusy( mwcontext ) )
entry = SHIST_GetCurrent(&mwcontext->hist);
if ( entry && entry->address)
{
// If there is already an editor window open for this url
// just switch to it and keep this browser window open.
CMediatedWindow * win;
CWindowIterator iter(WindowType_Editor);
while (iter.Next(win))
{
CNSContext* curContext = ((CBrowserWindow *)win)->GetWindowContext();
MWContext* context;
context = curContext ? curContext->operator MWContext*() : NULL;
if (context && EDT_IS_EDITOR(context))
{
History_entry* newEntry = SHIST_GetCurrent(&context->hist);
if (newEntry && newEntry->address && !strcmp(newEntry->address, entry->address))
{
win->Show();
win->Select();
return;
}
}
}
if (CEditorWindow::MakeEditWindow(mwcontext, NULL) == NULL) // new window based on history of this window
return; // don't close this one on error.
}
else
{
CEditorWindow::MakeEditWindow(NULL, NULL); // make a completely new window
}
}
// EDT_PreOpenCallbackFn
static void createEditorWindowCallback( XP_Bool userCanceled, char* pURL, void* hook )
{
if ( !userCanceled )
{
EditorCreationStruct *edtCreatePtr = (EditorCreationStruct *)hook;
if ( hook )
{
if ( edtCreatePtr->existingURLstruct && edtCreatePtr->existingURLstruct->address )
{
XP_FREE( edtCreatePtr->existingURLstruct->address );
edtCreatePtr->existingURLstruct->address = XP_STRDUP( pURL );
}
}
// substitute new URL
CEditorWindow::CreateEditorWindowStage2( edtCreatePtr );
}
}
CEditorWindow* CEditorWindow::MakeEditWindow( MWContext* old_context, URL_Struct* url )
{
Boolean urlCameInNULL = (url == NULL);
// if we don't have an URL, try to get it from the old_context's window history
if (url == NULL && old_context != NULL)
{
CBrowserContext *browserContext = (CBrowserContext *)old_context->fe.newContext;
History_entry* entry = browserContext->GetCurrentHistoryEntry(); // Take the last instead of the first history entry.
if ( entry )
{
url = SHIST_CreateURLStructFromHistoryEntry( old_context, entry );
if ( url )
url->force_reload = NET_NORMAL_RELOAD;
}
// if we don't have a history entry, we're kind of screwed-->just load a blank page
}
// we want to open a new blank edit window
// or we are still having troubles... fall back to our old tried and true blank page
if (url == NULL)
url = NET_CreateURLStruct ("about:editfilenew", NET_NORMAL_RELOAD );
// FIX THIS!!! the above line should use "XP_GetString(XP_EDIT_NEW_DOC_NAME)"
// time of reckoning. We really, really need an URL and address at this point...
// I don't know what an url without an address is anyway...
if (url == NULL || url->address == NULL)
return NULL;
// now make sure that the url is a valid type to edit.
NET_cinfo *cinfo = NET_cinfo_find_type (url->address);
if (cinfo == NULL || cinfo->type == NULL ||
(strcasecomp (cinfo->type, TEXT_HTML)
&& strcasecomp (cinfo->type, UNKNOWN_CONTENT_TYPE)
&& strcasecomp (cinfo->type, TEXT_PLAIN)))
{
ErrorManager::PlainAlert( NOT_HTML );
return NULL;
}
EditorCreationStruct *edtCreatePtr = (EditorCreationStruct *)XP_ALLOC( sizeof( EditorCreationStruct ) );
if ( edtCreatePtr )
{
edtCreatePtr->context = old_context;
edtCreatePtr->existingURLstruct = url;
edtCreatePtr->isEmptyPage = old_context == NULL && urlCameInNULL;
}
if ( urlCameInNULL && old_context == NULL )
{
return CreateEditorWindowStage2( edtCreatePtr );
}
else
{
EDT_PreOpen( old_context, url->address, createEditorWindowCallback, edtCreatePtr );
return NULL;
}
}
CEditorWindow *CEditorWindow::CreateEditorWindowStage2( EditorCreationStruct *edtCreatePtr )
{
// now we can create an editor window since we don't already have one for this url.
/* instead of just calling LWindow::CreateWindow(), we do it ourselves by hand here
* so that we can set the window bounds before we call FinishCreate().
*/
if ( edtCreatePtr == NULL )
return NULL;
CEditorWindow* newWindow = NULL;
SetDefaultCommander(CFrontApp::GetApplication());
try {
OSErr error;
URobustCreateWindow::ReadObjects( 'PPob', CEditorWindow::res_ID, &newWindow, &error );
Assert_(newWindow);
FailOSErr_(error);
if (newWindow == NULL)
{
XP_FREE( edtCreatePtr );
return NULL;
}
newWindow->FinishCreate();
if (newWindow->HasAttribute(windAttr_ShowNew))
newWindow->Show();
UReanimator::LinkListenerToControls( newWindow, newWindow, CEditorWindow::res_ID );
}
catch(...)
{
if ( newWindow )
delete newWindow;
XP_FREE( edtCreatePtr );
return NULL;
}
Boolean hasURLstruct = edtCreatePtr->existingURLstruct && edtCreatePtr->existingURLstruct->address;
CBrowserContext *nscontext = new CBrowserContext();
newWindow->SetWindowContext( nscontext );
CURLDispatcher::DispatchURL( edtCreatePtr->existingURLstruct, nscontext, false, false, CEditorWindow::res_ID );
if ( edtCreatePtr->context )
{
nscontext->InitHistoryFromContext( (CBrowserContext *)edtCreatePtr->context->fe.newContext );
}
else
{
// the url will eventually be freed when the load is complete.
}
// set window title here (esp. for "open")
if ( !edtCreatePtr->isEmptyPage
&& edtCreatePtr->existingURLstruct && edtCreatePtr->existingURLstruct->address )
{
char *pSlash = strrchr( edtCreatePtr->existingURLstruct->address, '/' );
if ( pSlash )
pSlash += 1; // move past '/'
newWindow->NoteDocTitleChanged( pSlash );
}
XP_FREE( edtCreatePtr );
return newWindow;
}
void CEditorWindow::SetWindowContext(CBrowserContext* inContext)
{
if ( inContext )
{
MWContext *context;
context = inContext->operator MWContext*();
if ( context )
{
context->is_editor = true;
NET_CheckForTimeBomb( context );
}
}
CBrowserWindow::SetWindowContext( inContext );
}
void CEditorWindow::NoteDocTitleChanged( const char* inNewTitle )
{
// there is one bogus set-title from layout that we want to skip...
// We are hard coding "editfilenew" here because it is already hardcoded
// a million other places...
if ( inNewTitle && XP_STRCMP( inNewTitle, "editfilenew" ) == 0 )
return;
CNSContext *theContext = GetWindowContext();
CStr255 title( inNewTitle );
char *baseName = LO_GetBaseURL( theContext->operator MWContext*() ); // don't free this...
// strip out username and password so user doesn't see them in window title
char *location = NULL;
if ( baseName )
NET_ParseUploadURL( baseName, &location, NULL, NULL );
CStr255 csBaseURL(location);
// if this page has a local "file:" url, then just show the file name (skip the url and directory crap.)
if ( location && NET_IsLocalFileURL(location) )
{
char *localName = NULL;
XP_ConvertUrlToLocalFile( location, &localName );
if (localName)
{
#if 0
char *pSlash = strrchr(localName, '/');
if (pSlash)
{ // is there is a slash, move everything AFTER the last slash to the front
pSlash++;
XP_STRCPY(localName, pSlash);
}
#endif
csBaseURL = localName;
XP_FREE(localName);
}
}
CStr255 netscapeTitle;
CStr255 subTitle;
::GetIndString( netscapeTitle, ID_STRINGS, APPNAME_STRING_INDEX );
::GetIndString( subTitle, WINDOW_TITLES_RESID, 3 );
netscapeTitle += " ";
netscapeTitle += subTitle;
netscapeTitle += " - [";
if ( inNewTitle && *inNewTitle )
{
netscapeTitle += title;
if (csBaseURL.Length())
netscapeTitle += " : ";
}
netscapeTitle += csBaseURL;
netscapeTitle += "]";
SetDescriptor( netscapeTitle );
if ( location )
XP_FREE( location );
}
void CEditorWindow::RegisterViewTypes()
{
// Registers all its view types
RegisterClass_( CEditorWindow);
RegisterClass_( CEditView);
RegisterClass_( MultipleSelectionSingleColumn); // newer, better class?
RegisterClass_( CTarget);
RegisterClass_( CLineProp);
RegisterClass_( CFormattingToolBar);
RegisterClass_( CToolbarPopup); // newer, better class?
RegisterClass_( CIconToolbarPopup); // newer, better class?
RegisterClass_( CColorPopup);
RegisterClass_( CFontMenuPopup );
RegisterClass_( CChameleonCaption); // newer, better class?
RegisterClass_( CChameleonView); // newer, better class?
CTabbedDialog::RegisterViewTypes();
RegisterClass_( CTextTable); // newer, better class?
RegisterClass_( CTableKeySingleSelector); // newer, better class?
RegisterClass_( CPatternButtonPopupText); // newer, better class?
RegisterClass_( LOffscreenView);
RegisterClass_( COpenRecentlyEditedPopup );
RegisterClass_( CEditDictionary);
RegisterClass_( CEditDictionaryTable);
}
void CEditorWindow::FinishCreateSelf()
{
CBrowserWindow::FinishCreateSelf();
// Show/hide toolbars based on preference settings
XP_Bool value;
PREF_GetBoolPref(Pref_ShowParagraphBar, &value);
mToolbarShown[eParagraphBar] = value;
ShowOneDragBar(Paragraph_Bar_PaneID, value);
PREF_GetBoolPref(Pref_ShowCharacterBar, &value);
mToolbarShown[eCharacterBar] = value;
ShowOneDragBar(Character_Bar_PaneID, value);
}
void CEditorWindow::ListenToMessage( MessageT inMessage, void* ioParam )
{
switch (inMessage)
{
case msg_NSCDocTitleChanged:
NoteDocTitleChanged((const char*)ioParam);
break;
default:
{
if ( inMessage == 'Para' )
{
switch (*(long*)ioParam)
{
case 1: inMessage = cmd_Format_Paragraph_Normal; break;
case 2: inMessage = cmd_Format_Paragraph_Head1; break;
case 3: inMessage = cmd_Format_Paragraph_Head2; break;
case 4: inMessage = cmd_Format_Paragraph_Head3; break;
case 5: inMessage = cmd_Format_Paragraph_Head4; break;
case 6: inMessage = cmd_Format_Paragraph_Head5; break;
case 7: inMessage = cmd_Format_Paragraph_Head6; break;
case 8: inMessage = cmd_Format_Paragraph_Address; break;
case 9: inMessage = cmd_Format_Paragraph_Formatted; break;
case 10: inMessage = cmd_Format_Paragraph_List_Item; break;
case 11: inMessage = cmd_Format_Paragraph_Desc_Title; break;
case 12: inMessage = cmd_Format_Paragraph_Desc_Text; break;
}
}
else if ( inMessage == 'Size' )
{
switch (*(long*)ioParam)
{
case 1: inMessage = cmd_Format_Font_Size_N2; break;
case 2: inMessage = cmd_Format_Font_Size_N1; break;
case 3: inMessage = cmd_Format_Font_Size_0; break;
case 4: inMessage = cmd_Format_Font_Size_P1; break;
case 5: inMessage = cmd_Format_Font_Size_P2; break;
case 6: inMessage = cmd_Format_Font_Size_P3; break;
case 7: inMessage = cmd_Format_Font_Size_P4; break;
}
}
else if ( inMessage == 'Algn' )
{
switch (*(long*)ioParam)
{
case 1: inMessage = cmd_JustifyLeft; break;
case 2: inMessage = cmd_JustifyCenter; break;
case 3: inMessage = cmd_JustifyRight; break;
}
}
// GetHTMLView() guaranteed not to fail
GetHTMLView()->ObeyCommand( inMessage, ioParam );
break;
}
}
}
// EDT_PreCloseCallbackFn
static void closeEditorWindowCallback( void* hook )
{
CEditorWindow *editorWindow = (CEditorWindow *)hook;
if ( editorWindow )
editorWindow->SetPluginDoneClosing();
}
Boolean CEditorWindow::ObeyCommand( CommandT inCommand, void *ioParam )
{
switch ( inCommand )
{
case cmd_NewWindowEditor:
CEditorWindow::MakeEditWindow( NULL, NULL );
break;
case cmd_ViewSource:
// Delegate this to the view.
if ( ((CEditView *)GetHTMLView())->IsDoneLoading() )
GetHTMLView()->ObeyCommand(inCommand, ioParam);
break;
case cmd_Toggle_Paragraph_Toolbar:
ToggleDragBar(Paragraph_Bar_PaneID, eParagraphBar, Pref_ShowParagraphBar);
break;
case cmd_Toggle_Character_Toolbar:
ToggleDragBar(Character_Bar_PaneID, eCharacterBar, Pref_ShowCharacterBar);
break;
case cmd_Close:
case cmd_Quit: // we'll just intercept these and then send them on to the default case
MWContext *mwcontext = GetWindowContext()->operator MWContext*();
History_entry* newEntry = SHIST_GetCurrent(&mwcontext->hist);
CStr255 fileName;
if ( newEntry && newEntry->address )
fileName = newEntry->address;
if ( ((CEditView *)GetHTMLView())->IsDoneLoading() && EDT_DirtyFlag( *GetWindowContext() ) )
{
Select(); // This helps during a quit or "close all"
MessageT itemHit = HandleModalDialog( EDITDLG_SAVE_BEFORE_QUIT, fileName, NULL );
if (itemHit == cancel)
return true;
if (itemHit == ok)
{ // save
if ( !((CEditView *)GetHTMLView())->SaveDocument() )
return true;
}
EDT_SetDirtyFlag( mwcontext, false ); // we have to do this or else when we quit, we will be asked twice to save
}
// need to let this work asynchronously; make our own internal loop
if ( ((CEditView *)GetHTMLView())->IsDoneLoading() && newEntry && newEntry->address )
{
mPluginDoneClosing = false;
EDT_PreClose( mwcontext, newEntry->address, closeEditorWindowCallback, this );
do
{
CFrontApp::GetApplication()->ProcessNextEvent();
} while ( !mPluginDoneClosing );
}
// fall through
default:
{
return CBrowserWindow::ObeyCommand (inCommand, ioParam);
}
}
return TRUE;
}
void CEditorWindow::FindCommandStatus( CommandT inCommand,
Boolean& outEnabled, Boolean& outUsesMark, Char16& outMark,
Str255 outName )
{
short index;
outUsesMark = FALSE;
outEnabled = false;
switch ( inCommand )
{
case cmd_ViewSource:
// Delegate this to the view.
if ( ((CEditView *)GetHTMLView())->IsDoneLoading() )
GetHTMLView()->FindCommandStatus(inCommand, outEnabled, outUsesMark, outMark, outName);
break;
case cmd_Toggle_Character_Toolbar:
outEnabled = ((CEditView *)GetHTMLView())->IsDoneLoading();
index = mToolbarShown[eCharacterBar] ? CEditView::EDITOR_MENU_HIDE_COMP_TOOLBAR
: CEditView::EDITOR_MENU_SHOW_COMP_TOOLBAR;
::GetIndString( outName, CEditView::STRPOUND_EDITOR_MENUS, index );
break;
case cmd_Toggle_Paragraph_Toolbar:
outEnabled = ((CEditView *)GetHTMLView())->IsDoneLoading();
index = mToolbarShown[eParagraphBar] ? CEditView::EDITOR_MENU_HIDE_FORMAT_TOOLBAR
: CEditView::EDITOR_MENU_SHOW_FORMAT_TOOLBAR;
::GetIndString( outName, CEditView::STRPOUND_EDITOR_MENUS, index );
break;
default:
CBrowserWindow::FindCommandStatus(inCommand, outEnabled, outUsesMark, outMark, outName );
}
}
// Called when we are trying to quit the application
Boolean CEditorWindow::AttemptQuitSelf( long inSaveOption )
{
MWContext *mwcontext = GetWindowContext()->operator MWContext*();
if ( EDT_DirtyFlag( mwcontext ) )
{
History_entry* newEntry = SHIST_GetCurrent(&mwcontext->hist);
CStr255 fileName;
if ( newEntry && newEntry->address )
fileName = newEntry->address;
if ( kAEAsk == inSaveOption )
{
MessageT itemHit = HandleModalDialog( EDITDLG_SAVE_BEFORE_QUIT, fileName, NULL );
if ( cancel == itemHit )
return false;
}
// save
if ( !((CEditView *)GetHTMLView())->SaveDocument() )
return false;
}
return true;
}
#ifdef PROFILE
#pragma profile off
#endif

View File

@@ -1,67 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#pragma once
#include "CBrowserWindow.h"
struct EditorCreationStruct {
MWContext *context; // may be NULL
URL_Struct *existingURLstruct;
Boolean isEmptyPage;
};
/******************************************************************************
* CEditorWindow is really just a CBrowserWindow with some changes for an editor window.
******************************************************************************/
class CEditorWindow: public CBrowserWindow
{
public:
enum {class_ID = 'edtw', res_ID = 10000};
// ¥¥ Constructors
static void RegisterViewTypes(); // Registers all its view types
static CEditorWindow *MakeEditWindow( MWContext* old_context, URL_Struct* url );
static CEditorWindow *CreateEditorWindowStage2( EditorCreationStruct *edtCreatePtr);
static void MakeEditWindowFromBrowser( MWContext* mwcontext );
CEditorWindow(LStream * inStream);
virtual void FinishCreateSelf();
virtual void SetWindowContext(CBrowserContext* inContext);
// ¥¥ Command handling
virtual void ListenToMessage( MessageT inMessage, void* ioParam );
virtual Boolean ObeyCommand( CommandT inCommand, void *ioParam );
virtual void FindCommandStatus( CommandT inCommand,
Boolean& outEnabled, Boolean& outUsesMark,
Char16& outMark,Str255 outName );
virtual void NoteDocTitleChanged( const char* title );
virtual Boolean AttemptQuitSelf( long inSaveOption );
static CEditorWindow* FindAndShow(Boolean inMakeNew = false);
virtual void SetPluginDoneClosing() { mPluginDoneClosing = true; }
protected:
virtual ResIDT GetStatusResID(void) const { return CEditorWindow::res_ID; }
Boolean mPluginDoneClosing;
};

View File

@@ -1,299 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "CFontMenuAttachment.h"
#include "CEditView.h"
#include "CBrowserContext.h" // operator MWContext*()
#include "resgui.h" // cmd_FormatViewerFont, cmd_FormatFixedFont, FONT_MENU_BASE
#include "macutil.h" // CMediatedWindow
#include "edt.h"
LMenu *CFontMenuAttachment::sMenu = NULL;
//===========================================================
// CFontMenuAttachment
//===========================================================
CFontMenuAttachment::CFontMenuAttachment()
{
UpdateMenu();
}
MWContext *CFontMenuAttachment::GetTopWindowContext()
{
// Ok, ok. I know this is skanky,
// but there is no common way to get the context from a window: it depends on the window type.
// So, we look around for a CEditView somewhere in the top window.
// A CEditView we understand (and get an MWContext from).
CMediatedWindow* topWin = NULL; // find the top window to use the plugin in
CWindowIterator iter(WindowType_Any);
iter.Next(topWin);
if (topWin == NULL
|| ! (topWin->GetWindowType() == WindowType_Editor || topWin->GetWindowType() == WindowType_Compose) )
return NULL;
CEditView *editView = (CEditView *)(topWin->FindPaneByID(CEditView::pane_ID));
if (editView == NULL || editView->GetNSContext() == NULL)
return NULL;
return editView->GetNSContext()->operator MWContext*();
}
// Processes:
//
void CFontMenuAttachment::ExecuteSelf( MessageT inMessage, void* ioParam )
{
mExecuteHost = FALSE;
switch ( inMessage )
{
case msg_CommandStatus:
{
SCommandStatus* status = (SCommandStatus*)ioParam;
EDT_CharacterData* better;
if ( status->command == cmd_FormatViewerFont || status->command == cmd_FormatFixedFont
|| ( status->command >= FONT_MENU_BASE && status->command <= FONT_MENU_BASE_LAST ) )
{
*(status->enabled) = true;
*(status->usesMark) = false;
better = NULL;
MWContext *cntxt = GetTopWindowContext();
if ( cntxt )
better = EDT_GetCharacterData( cntxt );
if ( better == NULL )
{
*(status->enabled) = false;
return;
}
}
switch ( status->command )
{
case cmd_FormatViewerFont:
*(status->usesMark) = ( ! ( better->values & TF_FIXED ) && !( better->values & TF_FONT_FACE ) );
*(status->mark) = *(status->usesMark) ? checkMark : 0;
*(status->usesMark) = true;
EDT_FreeCharacterData(better);
mExecuteHost = false;
return;
break;
case cmd_FormatFixedFont:
*(status->usesMark) = ( better->values & TF_FIXED ) != 0;
*(status->mark) = *(status->usesMark) ? checkMark : 0;
*(status->usesMark) = true;
EDT_FreeCharacterData(better);
mExecuteHost = false;
return;
break;
default:
if ( status->command >= FONT_MENU_BASE && status->command <= FONT_MENU_BASE_LAST )
{
// get font menu item
Str255 fontItemString;
fontItemString[0] = 0;
MenuHandle menuh = GetMenu()->GetMacMenuH();
::GetMenuItemText ( menuh, status->command - FONT_MENU_BASE + PERM_FONT_ITEMS + 1, fontItemString );
p2cstr( fontItemString );
// in mixed situation the mask bit will be cleared
*(status->usesMark) = ( better->values & TF_FONT_FACE && better->pFontFace && XP_STRLEN((char *)fontItemString) > 0
&& XP_STRSTR( better->pFontFace, (char *)fontItemString ) != NULL );
*(status->mark) = *(status->usesMark) ? checkMark : 0;
*(status->usesMark) = true;
EDT_FreeCharacterData(better);
mExecuteHost = false;
return;
}
}
}
break;
case cmd_FormatViewerFont:
MWContext *cntxt2 = GetTopWindowContext();
if ( cntxt2 )
EDT_SetFontFace( cntxt2, NULL, 0, NULL );
break;
case cmd_FormatFixedFont:
MWContext *cntxt3 = GetTopWindowContext();
if ( cntxt3 )
EDT_SetFontFace( cntxt3, NULL, 1, NULL );
break;
default:
{
if ( inMessage >= FONT_MENU_BASE && inMessage <= FONT_MENU_BASE_LAST )
{
MWContext *cntxt2 = GetTopWindowContext();
if ( cntxt2 )
{
// get font menu item
Str255 newFontItemString;
newFontItemString[0] = 0;
MenuHandle menuh = GetMenu()->GetMacMenuH();
::GetMenuItemText ( menuh, inMessage - FONT_MENU_BASE + PERM_FONT_ITEMS + 1, newFontItemString );
p2cstr( newFontItemString );
EDT_SetFontFace( cntxt2, NULL, -1, (char *)newFontItemString );
mExecuteHost = false;
return;
}
}
}
break;
}
mExecuteHost = TRUE; // Let application handle it
}
LMenu *CFontMenuAttachment::GetMenu()
{
if (!sMenu)
sMenu = new LMenu(cFontMenuID);
return sMenu;
}
// build the font menu from the system
void CFontMenuAttachment::UpdateMenu()
{
if (!GetMenu() || !LMenuBar::GetCurrentMenuBar())
return;
int i;
// ¥ delete all the menu items after the separator line
MenuHandle menu = sMenu->GetMacMenuH();
if ( menu )
{
for ( i = ::CountMItems( menu ); i > PERM_FONT_ITEMS; i-- )
sMenu->RemoveItem( i );
}
Try_
{
ThrowIfNil_( menu );
// Add fonts to menu
::InsertResMenu( menu, 'FONT', PERM_FONT_ITEMS );
int commandNum = FONT_MENU_BASE;
int newHowMany = ::CountMItems( menu );
for (i = PERM_FONT_ITEMS + 1; i <= newHowMany; i++ )
sMenu->SetCommand( i, commandNum++ );
}
Catch_( inErr )
{
}
EndCatch_
}
void CFontMenuAttachment::RemoveMenus()
{
if (sMenu)
{
LMenuBar *currentMenuBar = LMenuBar::GetCurrentMenuBar();
if (currentMenuBar)
currentMenuBar->RemoveMenu(sMenu);
}
}
void CFontMenuAttachment::InstallMenus()
{
if (sMenu)
{
LMenuBar *currentMenuBar = LMenuBar::GetCurrentMenuBar();
if (currentMenuBar)
{
StValueChanger<EDebugAction> okayToFail(gDebugThrow, debugAction_Nothing);
currentMenuBar->InstallMenu(sMenu, hierMenu);
ResIDT resID;
MenuHandle menuh;
Int16 whichItem;
currentMenuBar->FindMenuItem( cmd_ID_toSearchFor, resID, menuh, whichItem );
if ( menuh )
{
// make it hierarchical
::SetItemCmd( menuh, whichItem, hMenuCmd );
::SetItemMark( menuh, whichItem, menu_ID );
}
}
}
}
#pragma mark -
CFontMenuPopup::CFontMenuPopup( LStream *inStream ) : CPatternButtonPopupText( inStream )
{
}
CFontMenuPopup::~CFontMenuPopup()
{
}
void CFontMenuPopup::FinishCreateSelf( void )
{
CPatternButtonPopupText::FinishCreateSelf();
int i;
// ¥ delete all the menu items after the separator line
LMenu *ppmenu = GetMenu();
MenuHandle menuh = ppmenu ? ppmenu->GetMacMenuH() : NULL;
if ( menuh )
{
for ( i = ::CountMItems( menuh ); i > CFontMenuAttachment::PERM_FONT_ITEMS; i-- )
ppmenu->RemoveItem( i );
}
Try_
{
ThrowIfNil_( menuh );
// Add fonts to menu
::InsertResMenu( menuh, 'FONT', CFontMenuAttachment::PERM_FONT_ITEMS );
int commandNum = FONT_MENU_BASE;
int newHowMany = ::CountMItems( menuh );
for (i = CFontMenuAttachment::PERM_FONT_ITEMS + 1; i <= newHowMany; i++ )
ppmenu->SetCommand( i, commandNum++ );
SetMaxValue( newHowMany );
}
Catch_( inErr )
{
}
EndCatch_
}

View File

@@ -1,73 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#pragma once
#ifndef CFONTMENUATTACHMENT_H_
#define CFONTMENUATTACHMENT_H_
#include <LAttachment.h>
#include "CPatternButtonPopupText.h"
#include "ntypes.h" // MWContext
class LMenu;
/***********************************************************************************
* CFontMenuAttachment
* Processes Font menu commands -- should be attached to application
* Currently, this menu is only used in the Editor and mail compose window
***********************************************************************************/
class CFontMenuAttachment: public LAttachment
{
public:
enum { menu_ID = 13, PERM_FONT_ITEMS = 3, cmd_ID_toSearchFor = 'FONT' };
// ¥¥ constructors
CFontMenuAttachment();
// ¥¥Êevents
virtual void ExecuteSelf( MessageT inMessage, void* ioParam );
static LMenu* GetMenu();
static void UpdateMenu();
static void RemoveMenus();
static void InstallMenus();
protected:
static MWContext* GetTopWindowContext();
static LMenu* sMenu;
};
class CFontMenuPopup : public CPatternButtonPopupText
{
public:
enum { class_ID = 'Fpop' };
static void* CreateCFontMenuPopupStream( LStream *inStream ) {return( new CFontMenuPopup (inStream ));};
CFontMenuPopup( LStream *inStream ); // ¥ Constructor
~CFontMenuPopup(); // ¥ Destructor
// ¥ drawing
void FinishCreateSelf(void);
};
#endif

View File

@@ -1,124 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "CFormattingToolBar.h"
#include "CEditView.h"
#include "resgui.h"
#include "edt.h"
CFormattingToolBar::CFormattingToolBar(LStream * inStream)
: CPatternBevelView(inStream)
{
}
CFormattingToolBar::~CFormattingToolBar()
{
mEditView = NULL;
}
void CFormattingToolBar::FinishCreateSelf()
{
if ( GetSuperView() )
{
// get SuperView (we start with "this" so we're guaranteed non-0)
LView *superView = (LView *)this;
while (superView->GetSuperView() != NULL)
superView = superView->GetSuperView();
mEditView = dynamic_cast<CEditView*>(superView->FindPaneByID( CEditView::pane_ID ));
}
else
mEditView = dynamic_cast<CEditView*>(FindPaneByID( CEditView::pane_ID ));
// if we have a mailcompose window show insert object popup menu
// check for presence of insert menu within CFormattingToolBar
LPane *pane = FindPaneByID('InsO');
if ( pane )
{
CMailEditView *mailview = dynamic_cast<CMailEditView*>( mEditView );
if ( mailview )
pane->Show();
else
pane->Hide();
}
UReanimator::LinkListenerToControls(this, this, 11616);
}
void CFormattingToolBar::ListenToMessage( MessageT inMessage, void* ioParam )
{
PaneIDT paneID = CEditView::pane_ID;
if ( mEditView == NULL )
return;
if ( inMessage == 'Para' )
{
switch (*(long*)ioParam)
{
case 1: inMessage = cmd_Format_Paragraph_Normal; break;
case 2: inMessage = cmd_Format_Paragraph_Head1; break;
case 3: inMessage = cmd_Format_Paragraph_Head2; break;
case 4: inMessage = cmd_Format_Paragraph_Head3; break;
case 5: inMessage = cmd_Format_Paragraph_Head4; break;
case 6: inMessage = cmd_Format_Paragraph_Head5; break;
case 7: inMessage = cmd_Format_Paragraph_Head6; break;
case 8: inMessage = cmd_Format_Paragraph_Address; break;
case 9: inMessage = cmd_Format_Paragraph_Formatted; break;
case 10: inMessage = cmd_Format_Paragraph_List_Item; break;
case 11: inMessage = cmd_Format_Paragraph_Desc_Title; break;
case 12: inMessage = cmd_Format_Paragraph_Desc_Text; break;
}
}
else if ( inMessage == 'Size' )
{
switch (*(long*)ioParam)
{
case 1: inMessage = cmd_Format_Font_Size_N2; break;
case 2: inMessage = cmd_Format_Font_Size_N1; break;
case 3: inMessage = cmd_Format_Font_Size_0; break;
case 4: inMessage = cmd_Format_Font_Size_P1; break;
case 5: inMessage = cmd_Format_Font_Size_P2; break;
case 6: inMessage = cmd_Format_Font_Size_P3; break;
case 7: inMessage = cmd_Format_Font_Size_P4; break;
}
}
else if ( inMessage == 'Algn' )
{
switch (*(long*)ioParam)
{
case 1: inMessage = cmd_JustifyLeft; break;
case 2: inMessage = cmd_JustifyCenter; break;
case 3: inMessage = cmd_JustifyRight; break;
}
}
else if ( inMessage == 'InsO' )
{
switch (*(long*)ioParam)
{
case 1: inMessage = cmd_Insert_Link; break;
case 2: inMessage = cmd_Insert_Target; break;
case 3: inMessage = cmd_Insert_Image; break;
case 4: inMessage = cmd_Insert_Line; break;
case 5: inMessage = cmd_Insert_Table; break;
}
}
mEditView->ObeyCommand( inMessage, ioParam );
}

View File

@@ -1,42 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#pragma once
#include "CPatternBevelView.h"
#include <LListener.h>
class CEditView;
// used in Editor window and Mail Compose windows
class CFormattingToolBar : public CPatternBevelView, public LListener
{
public:
enum {class_ID = 'FoTB'};
CFormattingToolBar(LStream * inStream);
~CFormattingToolBar();
virtual void ListenToMessage( MessageT inMessage, void* ioParam );
virtual void FinishCreateSelf();
protected:
CEditView* mEditView;
};

Some files were not shown because too many files have changed in this diff Show More