Compare commits

..

3440 Commits

Author SHA1 Message Date
heikki%netscape.com
a637f81f7f new project started
git-svn-id: svn://10.0.0.236/branches/mozilla@91184 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:13:38 +00:00
(no author)
6cfadae5d1 This commit was manufactured by cvs2svn to create branch 'mozilla'.
git-svn-id: svn://10.0.0.236/branches/mozilla@8534 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:36:10 +00:00
slamm%netscape.com
84edad5824 Make cvs ignore the dist directory
git-svn-id: svn://10.0.0.236/trunk@8533 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:36:09 +00:00
slamm%netscape.com
f3068af283 Add a few .html files to ignore.
git-svn-id: svn://10.0.0.236/trunk@8532 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:36:02 +00:00
slamm%netscape.com
cc89363c8d Clear up some warnings.
git-svn-id: svn://10.0.0.236/trunk@8531 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:59 +00:00
slamm%netscape.com
016e174f1c Remove the old-style bookmarks. RDF is the way.
git-svn-id: svn://10.0.0.236/trunk@8530 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:54 +00:00
gagan%netscape.com
2c6d5481f0 Merge from NuCache_BRANCH. Will not affect the build process.
git-svn-id: svn://10.0.0.236/trunk@8529 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:28 +00:00
slamm%netscape.com
275be6a065 Hookup NETSCAPE_COMMERCIAL for the Unix builds.
git-svn-id: svn://10.0.0.236/trunk@8528 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:26 +00:00
slamm%netscape.com
6f20578d40 Superseded by RDFTreeView.(cpp|h).
git-svn-id: svn://10.0.0.236/trunk@8527 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:23 +00:00
slamm%netscape.com
2e92dea938 Remove stuff that had to do with old-style bookmarks. Still need tohookup the new RDF stuff.
git-svn-id: svn://10.0.0.236/trunk@8526 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:16 +00:00
slamm%netscape.com
de8df47d71 Use RDFBase class.
git-svn-id: svn://10.0.0.236/trunk@8525 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:01 +00:00
slamm%netscape.com
6ec52ecc85 Create a group of toolbars from RDF.
git-svn-id: svn://10.0.0.236/trunk@8524 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:55 +00:00
slamm%netscape.com
0f28d99589 RDF toolbars. Currently only creates buttons for bookmarks.
git-svn-id: svn://10.0.0.236/trunk@8523 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:52 +00:00
slamm%netscape.com
3b785e0993 Was BookmarkBase. Base class for RDF menus and toolbars.
git-svn-id: svn://10.0.0.236/trunk@8522 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:49 +00:00
slamm%netscape.com
2e52f29f54 New base class for accessing RDF backend.
git-svn-id: svn://10.0.0.236/trunk@8521 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:42 +00:00
slamm%netscape.com
f07932374c Plug a memory leak.
git-svn-id: svn://10.0.0.236/trunk@8520 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:39 +00:00
slamm%netscape.com
ab55e92f0c ifdef out the selector bar and use the new RDFBase class
git-svn-id: svn://10.0.0.236/trunk@8519 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:36 +00:00
slamm%netscape.com
efc662e171 Replace old-style bookmarks with RDF and clean up the openFileAction
git-svn-id: svn://10.0.0.236/trunk@8518 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:34 +00:00
slamm%netscape.com
85f0826660 Add beginnings of RDF Toolbars and replace old-style bookmarks with RDF.
git-svn-id: svn://10.0.0.236/trunk@8517 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:26 +00:00
slamm%netscape.com
25493021ad Add beginnings of RDF Toolbars
git-svn-id: svn://10.0.0.236/trunk@8516 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:23 +00:00
slamm%netscape.com
9b02416f9a Replace old-style bookmarks and history with RDF.
git-svn-id: svn://10.0.0.236/trunk@8515 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:17 +00:00
slamm%netscape.com
ee2f6bf759 Fix a UMR
git-svn-id: svn://10.0.0.236/trunk@8514 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:05 +00:00
slamm%netscape.com
661ba6dce5 Get rid of references to the old bookmarks backend and replace it with RDF
git-svn-id: svn://10.0.0.236/trunk@8513 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:55 +00:00
slamm%netscape.com
781f32753d Split out the translation resources. Use and '@INCLUDE <file>@' directive in the resources file. Eventually we can replace 'sed' with 'perl' to do this in a more general way.
git-svn-id: svn://10.0.0.236/trunk@8512 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:51 +00:00
slamm%netscape.com
2284ad2c19 Zap some compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@8511 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:42 +00:00
slamm%netscape.com
f248fe0fb6 Move remote command 'addbookmark' to src dir. Delete some unused defines
git-svn-id: svn://10.0.0.236/trunk@8510 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:39 +00:00
slamm%netscape.com
2573e08295 Toss dead bkmks code.
git-svn-id: svn://10.0.0.236/trunk@8509 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:34 +00:00
gagan%netscape.com
b19f886c20 Test checkin to verify merge. Not in build process.
git-svn-id: svn://10.0.0.236/trunk@8508 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:31:05 +00:00
buster%netscape.com
b741cf53cc fixed a minor bug handling tables with COLS attribute
git-svn-id: svn://10.0.0.236/trunk@8505 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 17:53:47 +00:00
buster%netscape.com
663dc8e0c4 more content decoupling
support work for style optimizations
fixed a bug in table columns  -- the attribute repeat defaults to 1, not 0


git-svn-id: svn://10.0.0.236/trunk@8504 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 17:26:38 +00:00
dcone%netscape.com
3d8bc3335c Major redo based on a new GFX library
git-svn-id: svn://10.0.0.236/trunk@8503 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:16:51 +00:00
dcone%netscape.com
84c5fb38d5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8502 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:15:58 +00:00
dcone%netscape.com
7d4f3d041d Mac work for Raptor
git-svn-id: svn://10.0.0.236/trunk@8501 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:15:34 +00:00
dcone%netscape.com
26bccfb7fb doing Mac work, temporary file
git-svn-id: svn://10.0.0.236/trunk@8500 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:14:50 +00:00
dcone%netscape.com
4f173c4c7e fixed some port bugs
git-svn-id: svn://10.0.0.236/trunk@8499 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:13:36 +00:00
cls%seawood.org
2979dc680a Fixed problem with files being generated in the srcdir.
git-svn-id: svn://10.0.0.236/trunk@8498 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 08:58:26 +00:00
ramiro%netscape.com
8ec1898b2d Fix EXPORTS.
git-svn-id: svn://10.0.0.236/trunk@8497 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 06:32:25 +00:00
ramiro%netscape.com
0c42478791 First step in moving the tooltip insanity out of the xfe and onto its own
library.


git-svn-id: svn://10.0.0.236/trunk@8496 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 06:30:33 +00:00
shaver%netscape.com
9013b35743 JS_ConstructObject: fill NULL proto/parent like JSOP_NEW would
git-svn-id: svn://10.0.0.236/trunk@8495 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 06:14:55 +00:00
terry%netscape.com
502157a1c3 Bugzilla source.
git-svn-id: svn://10.0.0.236/trunk@8494 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 06:14:20 +00:00
ramiro%netscape.com
d404f00d25 First step in moving the tooltip insanity out of the xfe and onto its own
library.


git-svn-id: svn://10.0.0.236/trunk@8493 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 05:59:32 +00:00
rpotts%netscape.com
bf872ac3ec Removed optimization which was causing timer skew and unreliable callbacks...
git-svn-id: svn://10.0.0.236/trunk@8492 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 05:40:35 +00:00
cls%seawood.org
bde336e65a Updates to autoconf files.
git-svn-id: svn://10.0.0.236/trunk@8491 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 04:04:57 +00:00
troy%netscape.com
a362d09c18 Changed ImageUpdated() to only do gamma correction if the gamma value
is not 1.0


git-svn-id: svn://10.0.0.236/trunk@8490 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 03:27:54 +00:00
pierre%netscape.com
6690f04312 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8489 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 03:13:44 +00:00
troy%netscape.com
470cc500f6 Added nsHTMLLayer.cpp
git-svn-id: svn://10.0.0.236/trunk@8488 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 02:24:18 +00:00
troy%netscape.com
01d498dee2 Work in progress for LAYER tag
git-svn-id: svn://10.0.0.236/trunk@8487 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 02:23:21 +00:00
av%netscape.com
2f7cb6dd66 Temporarily fixing build problems
git-svn-id: svn://10.0.0.236/trunk@8486 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 02:08:03 +00:00
akkana%netscape.com
f34bdf6247 fix 309734, nesting of 'delete past table cell boundary' dialogs
git-svn-id: svn://10.0.0.236/trunk@8485 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 00:51:36 +00:00
ftang%netscape.com
438b28d444 add XP_ASSERT(IsUTFString) to verify RDF_Assert. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@8484 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 00:20:49 +00:00
cyeh%netscape.com
e6984159d7 added two perl scripts to the Mac only module to handle the
build number thingy on mac


git-svn-id: svn://10.0.0.236/trunk@8483 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 00:10:22 +00:00
av%netscape.com
2046d01aaf Anthrax feature for Windows
git-svn-id: svn://10.0.0.236/trunk@8482 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 23:45:14 +00:00
valeski%netscape.com
47fc00a267 removed some macros (for debugging ease). Changed the XP_OpenDir and an XP dir status routine to PR_* to get local file system directory listings working in Raptor.
git-svn-id: svn://10.0.0.236/trunk@8481 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 23:33:28 +00:00
av%netscape.com
9a0edc87f3 Anthrax feature for Windows
git-svn-id: svn://10.0.0.236/trunk@8480 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 23:22:26 +00:00
akkana%netscape.com
199dec9b31 Ender: make toolbars update as cursor or selection is moved.
git-svn-id: svn://10.0.0.236/trunk@8479 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 23:10:27 +00:00
despotdaemon%netscape.com
214781436a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@8478 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 22:53:33 +00:00
cmanske%netscape.com
c5ea8ac346 Removed attempt to optimize editor layout by not relaying out entire line. Must find another solution
git-svn-id: svn://10.0.0.236/trunk@8477 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 22:48:27 +00:00
cmanske%netscape.com
8ffebb5d83 Composer FE bug fixes. Reverted background drawing change - fixed in XP code
git-svn-id: svn://10.0.0.236/trunk@8476 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 22:47:40 +00:00
pinkerton%netscape.com
e69fd8c60c remove string for IBM3270 stuff (unused).
git-svn-id: svn://10.0.0.236/trunk@8475 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 21:34:54 +00:00
cyeh%netscape.com
613e49ec9f generate build numbers all the time, since Mozilla is going to need
this number as well.


git-svn-id: svn://10.0.0.236/trunk@8474 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 21:23:32 +00:00
preed%netscape.com
f9278ea76d Adds functionality to write multiple comments to a log with one
submission. Also fixes some bugs and UI problems. Reviewed by terry.


git-svn-id: svn://10.0.0.236/trunk@8473 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 21:22:32 +00:00
valeski%netscape.com
9ca2937a83 we're now respecting success/failure return values from PREF_Get* routines, for the most part. imap, pop, news weren't cleaned up (nor was nucache).
Default values are now used when PREFs are down.


git-svn-id: svn://10.0.0.236/trunk@8472 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 21:17:03 +00:00
pinkerton%netscape.com
ec0bffcbe8 Removed old constant for location bar (from 3.0 days), using new one everywhere.
git-svn-id: svn://10.0.0.236/trunk@8471 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:33:07 +00:00
pinkerton%netscape.com
9f356b6ca1 updated for new constants, etc. Removing old cruft.
git-svn-id: svn://10.0.0.236/trunk@8470 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:32:29 +00:00
pinkerton%netscape.com
1ce4f42986 #ifdef Moz_mail_news stuff we don't use anymore.
git-svn-id: svn://10.0.0.236/trunk@8469 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:32:13 +00:00
pinkerton%netscape.com
38a5206b50 #ifdef MOZ_MAIL_NEWS stuff we don't use anymore.
git-svn-id: svn://10.0.0.236/trunk@8468 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:31:48 +00:00
pinkerton%netscape.com
6215521227 Move over some of McMullen's fixes for printing form elements correctly. Doesn't work, though.
git-svn-id: svn://10.0.0.236/trunk@8467 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:31:26 +00:00
pinkerton%netscape.com
5755542d9b remove some nethelp code.
git-svn-id: svn://10.0.0.236/trunk@8466 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:30:35 +00:00
pinkerton%netscape.com
86b84b5ad7 move constant from resgui into here.
git-svn-id: svn://10.0.0.236/trunk@8465 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:30:18 +00:00
pinkerton%netscape.com
eae7f86101 Fix bug where flex table was too large for the bookmarks window resulting in the last line being lost off the bottom.
git-svn-id: svn://10.0.0.236/trunk@8464 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:30:04 +00:00
pinkerton%netscape.com
9e9ec97bb3 #ifdef MOZ_MAIL_NEWS some stuff we don't use anymore.
git-svn-id: svn://10.0.0.236/trunk@8463 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:29:41 +00:00
pinkerton%netscape.com
85d4b6191e New "sort bookmarks menu" item.
git-svn-id: svn://10.0.0.236/trunk@8462 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:29:06 +00:00
pinkerton%netscape.com
2d68b2e312 Removing mail/news/conference/netcaster/3270/calendar cruft from global constants.
git-svn-id: svn://10.0.0.236/trunk@8461 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:28:50 +00:00
pinkerton%netscape.com
a5aa8e2640 use the new constants for form element messages.
git-svn-id: svn://10.0.0.236/trunk@8460 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:27:58 +00:00
pinkerton%netscape.com
c7852e9248 4.5 landing. Better drawing during printing and making the "inherited" typedefs private.
git-svn-id: svn://10.0.0.236/trunk@8459 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:27:38 +00:00
pinkerton%netscape.com
487b504545 No more 3270 support.
git-svn-id: svn://10.0.0.236/trunk@8458 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:26:11 +00:00
pinkerton%netscape.com
a66e5a4570 Allow tooltip to show up even when not on a valid cell.
git-svn-id: svn://10.0.0.236/trunk@8457 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:25:15 +00:00
pinkerton%netscape.com
1354f252f5 Better tooltip support (uses new tooltip for all columns).
git-svn-id: svn://10.0.0.236/trunk@8456 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:24:20 +00:00
cmanske%netscape.com
675baf0e9c Backed out change intended for testing only
git-svn-id: svn://10.0.0.236/trunk@8455 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:24:04 +00:00
pinkerton%netscape.com
6ed01ceeef Better handling of UTF8.
git-svn-id: svn://10.0.0.236/trunk@8454 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:23:47 +00:00
cmanske%netscape.com
9fe6bf1f51 Composer performance optimization work - FixupTableData optimizations. Added SingleSignon feature for Composer publishing. Fixed layout cell background bug - permission by nisheeth
git-svn-id: svn://10.0.0.236/trunk@8453 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:16:10 +00:00
cmanske%netscape.com
be91aa1f5c Removed global function not used by FEs
git-svn-id: svn://10.0.0.236/trunk@8452 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:16:00 +00:00
ftang%netscape.com
c9dd72cbff clean up intlwin.cpp to delete obsoleted Win16 stuff...
git-svn-id: svn://10.0.0.236/trunk@8451 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:05:52 +00:00
ftang%netscape.com
7fc6a69d45 fix window UTF8 problem. But the UTF8 to UTF8 conversion before Vietnamese
git-svn-id: svn://10.0.0.236/trunk@8450 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:03:34 +00:00
toshok%netscape.com
7da2228989 added check for sys_errlist/sys_nerr. defines HAVE_SYSERRLIST if they are present.
git-svn-id: svn://10.0.0.236/trunk@8449 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:57:01 +00:00
toshok%netscape.com
161a7ca9f5 get rid of all the platform ifdefs around sys_errlist. replace them all with #ifdef HAVE_SYSERRLIST, which is defined in the config/*.mk's and which should be tested for by configure.in
git-svn-id: svn://10.0.0.236/trunk@8448 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:44:12 +00:00
toshok%netscape.com
2040ea16b7 add NetBSD libs
git-svn-id: svn://10.0.0.236/trunk@8447 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:41:07 +00:00
ramiro%netscape.com
5ad56223a2 Add support for DG/UX.
Thanks to fraioli@dg-rtp.dg.com (Marc J. Fraioli).


git-svn-id: svn://10.0.0.236/trunk@8446 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:35:56 +00:00
jwz%mozilla.org
9f5ba2cbd4 All Unix versions of Mozilla link against libmime, so they should all
call MIME_RegisterConverters() to register the converter for documents
of type message/rfc822.

On Windows, that converter is currently only registered if SMART_MAIL is
defined.

On Mac, it's never registered at all.

Someone needs to consolidate all this.


git-svn-id: svn://10.0.0.236/trunk@8445 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:19:13 +00:00
spider%netscape.com
59049b4802 Unix fixes
git-svn-id: svn://10.0.0.236/trunk@8444 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:00:32 +00:00
prasad%netscape.com
7dfcb88001 don't hardcode domestic
git-svn-id: svn://10.0.0.236/trunk@8443 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 18:48:36 +00:00
donm%netscape.com
40260bd5fa adding files for new perl build_numbering system.
git-svn-id: svn://10.0.0.236/trunk@8442 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 17:15:41 +00:00
prasad%netscape.com
ba87cf3d53 take out Prasad node
git-svn-id: svn://10.0.0.236/trunk@8441 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 15:35:55 +00:00
spider%netscape.com
c232433e11 Updates to invalidate throbber after last image has completed loading
git-svn-id: svn://10.0.0.236/trunk@8440 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 14:45:24 +00:00
spider%netscape.com
c51c3e4af2 Updates for trex
git-svn-id: svn://10.0.0.236/trunk@8439 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 14:44:46 +00:00
brendan%netscape.com
68cdb7d0b0 Fix typos, int type mismatch, white-space, and layout style nits.
git-svn-id: svn://10.0.0.236/trunk@8438 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 08:23:34 +00:00
brendan%netscape.com
71e7443c33 Fix typos, white-space, and layout style nits.
git-svn-id: svn://10.0.0.236/trunk@8437 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 08:22:27 +00:00
brendan%netscape.com
6d7164c0d9 Propagate js/src back-out of fur's incompatible closure version-check mod.
git-svn-id: svn://10.0.0.236/trunk@8436 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 08:21:55 +00:00
brendan%netscape.com
9e306d15ea Propagate warren's OJI-related XP_MAC pragma change from js/src.
git-svn-id: svn://10.0.0.236/trunk@8435 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 08:21:09 +00:00
brendan%netscape.com
7d61af5201 Fix nits.
git-svn-id: svn://10.0.0.236/trunk@8434 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 07:56:42 +00:00
brendan%netscape.com
9667d8e074 Cope with uninitialized MWContext charset id (312759, mlm).
git-svn-id: svn://10.0.0.236/trunk@8433 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 07:37:52 +00:00
brendan%netscape.com
b9f6014b69 Fix indentation nit.
git-svn-id: svn://10.0.0.236/trunk@8432 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 07:32:25 +00:00
rpotts%netscape.com
9cf0bd7e44 Evil fix for deadlock during synchronous http url loads...
git-svn-id: svn://10.0.0.236/trunk@8431 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 05:51:40 +00:00
despotdaemon%netscape.com
f5dcaa87f4 Pseudo-automatic update of changes made by friedman@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8430 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 05:09:33 +00:00
pierre%netscape.com
ed2b109deb added ":mozilla:dom:src:jsurl:MANIFEST"
git-svn-id: svn://10.0.0.236/trunk@8429 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 03:25:46 +00:00
rjc%netscape.com
db5c8c0aab If not set, default to data being local.
git-svn-id: svn://10.0.0.236/trunk@8428 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 01:57:51 +00:00
akkana%netscape.com
c263f6010e Fix IRIX build breakage -- add arg to isrequestorAlive call
git-svn-id: svn://10.0.0.236/trunk@8427 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:36:25 +00:00
pinkerton%netscape.com
95abb167e3 Changes for move of EClickState to netscape_constants (rev brade).
git-svn-id: svn://10.0.0.236/trunk@8426 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:23:38 +00:00
akkana%netscape.com
a0ebc626fd Show which Ender area is active by changing the frame shadow type.
git-svn-id: svn://10.0.0.236/trunk@8425 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:08:37 +00:00
pinkerton%netscape.com
2dfc6dd811 new UTF8 drawing routines (yay!)
git-svn-id: svn://10.0.0.236/trunk@8424 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:04:34 +00:00
thom%netscape.com
b96f8df857 fixed mac compile error in the initialization code
git-svn-id: svn://10.0.0.236/trunk@8423 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:04:27 +00:00
pinkerton%netscape.com
fc901a8a36 added new CTableTooltipPane pane.
git-svn-id: svn://10.0.0.236/trunk@8422 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:04:05 +00:00
pinkerton%netscape.com
b6cc01fc9a Move EClickState enums here, consolodating from several places.
git-svn-id: svn://10.0.0.236/trunk@8421 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:03:51 +00:00
pinkerton%netscape.com
4d8a97e52f Get new table tooltips in Aurora.
git-svn-id: svn://10.0.0.236/trunk@8420 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:03:32 +00:00
pinkerton%netscape.com
8a85601fbb Landing code from 4.5. Allows tooltips to stay around between areas that want them, instead of hiding each time.
git-svn-id: svn://10.0.0.236/trunk@8419 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:03:19 +00:00
pinkerton%netscape.com
ee01686f81 Landing of 4.5 changes to get new tooltips, bug fixes, and spring-loaded folders. Caused some APIs to change, I hope I got them all in derrived classes.
git-svn-id: svn://10.0.0.236/trunk@8418 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:02:34 +00:00
pinkerton%netscape.com
7c9b537c94 Changes from 4.5 to support new tooltips that don't go away when you move between two areas that desire a tooltip.
git-svn-id: svn://10.0.0.236/trunk@8417 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:01:56 +00:00
pinkerton%netscape.com
f04379a06b API change in tooltips from 4.5
git-svn-id: svn://10.0.0.236/trunk@8416 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:01:10 +00:00
pinkerton%netscape.com
f82ecce7e0 Some API changes from 4.5 version of CStandardFlexTable. Also pick up new tooltips and spring-loaded folders.
git-svn-id: svn://10.0.0.236/trunk@8415 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:00:54 +00:00
pinkerton%netscape.com
e096a51037 EClickState moved to Netscape_Constants
git-svn-id: svn://10.0.0.236/trunk@8413 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:59:57 +00:00
pinkerton%netscape.com
2411187e34 Move EClickState to Netscape_Constants
git-svn-id: svn://10.0.0.236/trunk@8412 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:58:57 +00:00
pinkerton%netscape.com
e0fbee679f Make Aurora tooltips use new table tooltips.
git-svn-id: svn://10.0.0.236/trunk@8411 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:57:43 +00:00
pinkerton%netscape.com
ae1decdd93 Added CTableTooltipPane.cp
git-svn-id: svn://10.0.0.236/trunk@8410 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:57:22 +00:00
pinkerton%netscape.com
79903994ab Register new table tooltip pane/attachment.
git-svn-id: svn://10.0.0.236/trunk@8409 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:56:42 +00:00
pinkerton%netscape.com
6560b573d4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8408 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:54:19 +00:00
cyeh%netscape.com
d8d12b4a6e adding module for the Messaging Server SDK
git-svn-id: svn://10.0.0.236/trunk@8407 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:38:36 +00:00
radha%netscape.com
7df87a5a4c Fix the inline editing part in navigation and management mode
git-svn-id: svn://10.0.0.236/trunk@8406 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:17:29 +00:00
donm%netscape.com
1ebde02c9f new perl build numbering system.
git-svn-id: svn://10.0.0.236/trunk@8405 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:08:56 +00:00
prasad%netscape.com
6dd5bddaf6 got rid of unnecessary stuff
git-svn-id: svn://10.0.0.236/trunk@8404 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:43:58 +00:00
prasad%netscape.com
f244a3ad6d taking out last change
git-svn-id: svn://10.0.0.236/trunk@8403 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:40:11 +00:00
prasad%netscape.com
9c58911966 adding new sources
git-svn-id: svn://10.0.0.236/trunk@8402 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:38:06 +00:00
prasad%netscape.com
920bfbe0de adding new sources
git-svn-id: svn://10.0.0.236/trunk@8401 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:31:18 +00:00
prasad%netscape.com
876243b61b adding new sources
git-svn-id: svn://10.0.0.236/trunk@8400 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:22:59 +00:00
prasad%netscape.com
7bee483657 adding new srcs
git-svn-id: svn://10.0.0.236/trunk@8397 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:33:09 +00:00
prasad%netscape.com
e112123845 changed C advaced to Advanced1 from Advanced_1 due to cvs error
git-svn-id: svn://10.0.0.236/trunk@8395 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:30:19 +00:00
prasad%netscape.com
67dde617f8 adding new srcs
git-svn-id: svn://10.0.0.236/trunk@8391 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:19:49 +00:00
prasad%netscape.com
559dde90ba adding new srcs
git-svn-id: svn://10.0.0.236/trunk@8388 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:13:27 +00:00
prasad%netscape.com
ceb9848678 adding new srcs
git-svn-id: svn://10.0.0.236/trunk@8386 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:07:59 +00:00
prasad%netscape.com
1e87ed3d72 ReadMeC.htm
git-svn-id: svn://10.0.0.236/trunk@8385 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:03:36 +00:00
prasad%netscape.com
91de9f6012 Adding new sources
git-svn-id: svn://10.0.0.236/trunk@8384 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:01:04 +00:00
prasad%netscape.com
855a68f423 adding new srcsMakefile
git-svn-id: svn://10.0.0.236/trunk@8383 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:58:37 +00:00
akkana%netscape.com
8cdace045c m_table is now passed in at creation time; we shouldn't delete it in dtor.
git-svn-id: svn://10.0.0.236/trunk@8382 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:50:56 +00:00
prasad%netscape.com
b16e806fe6 adding msg sdk sources
git-svn-id: svn://10.0.0.236/trunk@8381 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:50:36 +00:00
prasad%netscape.com
4d7b6655cf adding msg sdk sources*.c
git-svn-id: svn://10.0.0.236/trunk@8380 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:49:09 +00:00
rpotts%netscape.com
e236e09406 NGLayout only... Added a synchronous command line option for testing synchronous URL fetching.
git-svn-id: svn://10.0.0.236/trunk@8379 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:46:44 +00:00
prasad%netscape.com
184f5a1771 adding new files
git-svn-id: svn://10.0.0.236/trunk@8378 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:45:49 +00:00
prasad%netscape.com
6fe333d053 adding msg sdk sources
git-svn-id: svn://10.0.0.236/trunk@8377 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:42:22 +00:00
ftang%netscape.com
3916050cde fix NULL problem for IsUTF8String
git-svn-id: svn://10.0.0.236/trunk@8376 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:38:02 +00:00
despotdaemon%netscape.com
41d4882169 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8375 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:28:48 +00:00
radha%netscape.com
9bd2fd58bd Move image rendering code to Image.cpp
git-svn-id: svn://10.0.0.236/trunk@8374 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:19:46 +00:00
radha%netscape.com
b6e62df847 Call fe_DisplayPixmap instead of DisplayPixmap
git-svn-id: svn://10.0.0.236/trunk@8373 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:17:51 +00:00
despotdaemon%netscape.com
f6c0d5546c Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8372 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:15:14 +00:00
radha%netscape.com
90af9ad2ff Add Image.cpp to the build list
git-svn-id: svn://10.0.0.236/trunk@8371 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:14:02 +00:00
radha%netscape.com
a6091b5668 Call RDFImage to draw background pixmap
git-svn-id: svn://10.0.0.236/trunk@8370 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:13:43 +00:00
radha%netscape.com
054abd49c4 Re-arrange the Cache code and add more utility functions
git-svn-id: svn://10.0.0.236/trunk@8369 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:11:25 +00:00
dcone%netscape.com
ca6bf4c1bd Finished the first pass at implementation
git-svn-id: svn://10.0.0.236/trunk@8368 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:10:57 +00:00
radha%netscape.com
aeda3891a5 RDFImages cache moved to RDFImage.cpp
git-svn-id: svn://10.0.0.236/trunk@8367 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:09:43 +00:00
radha%netscape.com
a18d7d3b91 Generic Image rendering functions moved to this new file. Initial checkin.
git-svn-id: svn://10.0.0.236/trunk@8366 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:09:05 +00:00
radha%netscape.com
4a21d8ddd0 Rename function DisplayPixmap to fe_DisplayPixmap
git-svn-id: svn://10.0.0.236/trunk@8365 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:07:32 +00:00
pinkerton%netscape.com
e3b10e7fa4 Do single-click mode in a better way.
git-svn-id: svn://10.0.0.236/trunk@8364 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 19:53:36 +00:00
pinkerton%netscape.com
11f93e6320 On mode switch, make sure tree has right # of clicks to open row.
git-svn-id: svn://10.0.0.236/trunk@8363 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 19:53:10 +00:00
pinkerton%netscape.com
e6060a48e8 Ability to set # of clicks to open row from API.
git-svn-id: svn://10.0.0.236/trunk@8362 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 19:52:47 +00:00
waterson%netscape.com
dec0b322d5 Fixed bad read references noticed by Jud with Quantify.
git-svn-id: svn://10.0.0.236/trunk@8357 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 22:15:21 +00:00
waterson%netscape.com
ebde099e8c Fixed the #ifdef NO_TIMING macros.
git-svn-id: svn://10.0.0.236/trunk@8356 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 22:12:07 +00:00
rickg%netscape.com
56bdc1241a more WIP for logparse
git-svn-id: svn://10.0.0.236/trunk@8355 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 20:21:58 +00:00
morse%netscape.com
5d78e78888 added routines for composer publishing
git-svn-id: svn://10.0.0.236/trunk@8354 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 15:19:19 +00:00
troy%netscape.com
11d9b958f7 Changed ParseValueorPercent() to return a PRBool
git-svn-id: svn://10.0.0.236/trunk@8353 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 02:10:44 +00:00
rickg%netscape.com
7623c4ab6e added iostream output to nsString
git-svn-id: svn://10.0.0.236/trunk@8352 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 17:50:13 +00:00
rickg%netscape.com
0c804eb8f6 new improved logparse
git-svn-id: svn://10.0.0.236/trunk@8351 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 17:49:36 +00:00
troy%netscape.com
a3923f12f8 Changed ParseValue() to return a PRBool result
git-svn-id: svn://10.0.0.236/trunk@8350 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 04:55:28 +00:00
morse%netscape.com
dcda670ab9 fix up multi-user logic for single singon
git-svn-id: svn://10.0.0.236/trunk@8349 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 02:46:49 +00:00
rpotts%netscape.com
661ca3e5d1 Added support to shut down netlib and the nsINetService instance...
git-svn-id: svn://10.0.0.236/trunk@8348 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 00:12:54 +00:00
raman%netscape.com
73df9e69d0 Converting Smartupdate code from Java to C++.
git-svn-id: svn://10.0.0.236/trunk@8347 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 23:46:11 +00:00
troy%netscape.com
afea246aeb Made sure clipChildren member of widget init data is initialized
git-svn-id: svn://10.0.0.236/trunk@8346 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 23:06:01 +00:00
akkana%netscape.com
9336325332 Fixes for switching focus on Ender toolbars
git-svn-id: svn://10.0.0.236/trunk@8345 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 23:02:19 +00:00
akkana%netscape.com
356705cb89 Fixes for switching focus on Ender toolbars. Also, clean up code wrt virtual declarations.
git-svn-id: svn://10.0.0.236/trunk@8344 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 23:01:55 +00:00
joki%netscape.com
be271d814a Fix makefile typo to fix unix builds
git-svn-id: svn://10.0.0.236/trunk@8343 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 21:59:08 +00:00
joki%netscape.com
3e45079cd6 Fix nsIWidget's GetParent call to return parent, not self.
git-svn-id: svn://10.0.0.236/trunk@8342 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 21:41:36 +00:00
joki%netscape.com
ba9796126f Adding DOM append child interface and implementing window.frames array.
git-svn-id: svn://10.0.0.236/trunk@8341 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 21:39:27 +00:00
joki%netscape.com
7e064bbd3a Modifying nsIContent's AppendChild -> AppendChildTo to stop conflict with
DOM interfaces.


git-svn-id: svn://10.0.0.236/trunk@8340 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 21:38:26 +00:00
morse%netscape.com
d80772b5de added comment requested by relliott
git-svn-id: svn://10.0.0.236/trunk@8339 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 20:45:59 +00:00
morse%netscape.com
6ad29b6117 get privacy tutorial from outside the firewall so web users can see it
git-svn-id: svn://10.0.0.236/trunk@8338 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 20:42:20 +00:00
morse%netscape.com
929cfbda61 hook up about-site menu item
git-svn-id: svn://10.0.0.236/trunk@8337 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 20:41:06 +00:00
morse%netscape.com
2def2e94bf pass current url rather than base url to single signon
git-svn-id: svn://10.0.0.236/trunk@8336 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 20:38:28 +00:00
preed%netscape.com
41bcfb40ff This is a bug fix; when two tree were displayed at once, the argument in
the menu for "addnote.cgi" was passed as tree1 and tree2, not the specific
buildtree for that block. This problem was experienced with the other menu
items, but corrected before the first checkin. This checkin fixes this
problem with addnote.cgi as well.


git-svn-id: svn://10.0.0.236/trunk@8335 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 18:40:26 +00:00
kostello%netscape.com
9bbbdd2773 Synched with Pasteboard code on the branch
git-svn-id: svn://10.0.0.236/trunk@8334 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 18:28:48 +00:00
dcone%netscape.com
f268fc7fbf *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8333 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:14:30 +00:00
dcone%netscape.com
3b53441efb Added GFX factory creation, this allows the nsDeviceContext to be created.
git-svn-id: svn://10.0.0.236/trunk@8332 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:13:52 +00:00
dcone%netscape.com
6baa307fd1 Major redo based on a new GFX library
git-svn-id: svn://10.0.0.236/trunk@8331 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:13:14 +00:00
dcone%netscape.com
f252c39e4e Added the creation of the device context.
git-svn-id: svn://10.0.0.236/trunk@8330 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:12:32 +00:00
dcone%netscape.com
b8d3f3b8bb Updated to the correct way the DeviceContext should work, added the twips calculation
git-svn-id: svn://10.0.0.236/trunk@8329 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:11:15 +00:00
ramiro%netscape.com
933646ed20 Move the bookmarks menu to the top level menubar.
git-svn-id: svn://10.0.0.236/trunk@8327 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 10:43:27 +00:00
mcafee%netscape.com
fa3ec6839a Link with $(CCC).
git-svn-id: svn://10.0.0.236/trunk@8326 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 09:30:35 +00:00
mcafee%netscape.com
d6f87350e9 Changed project
git-svn-id: svn://10.0.0.236/trunk@8325 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 09:20:23 +00:00
mcafee%netscape.com
7de4af812b Include paths and defines from Makefile.mozilla
git-svn-id: svn://10.0.0.236/trunk@8324 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 09:18:32 +00:00
mcafee%netscape.com
e815ceb3a8 Adding test CFLAG
git-svn-id: svn://10.0.0.236/trunk@8323 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 09:16:07 +00:00
mcafee%netscape.com
6f28405e11 FE_UnloadPlugin() prototype added struct _np_handle* paramter.
git-svn-id: svn://10.0.0.236/trunk@8322 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:48:22 +00:00
mcafee%netscape.com
5aeab4a954 FE_PromptIMAPSubscriptionUpgrade() prototype changed.
git-svn-id: svn://10.0.0.236/trunk@8321 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:47:40 +00:00
mcafee%netscape.com
70ee80b38e _IMGCB_DisplayPixmap() prototype changed.
git-svn-id: svn://10.0.0.236/trunk@8320 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:47:11 +00:00
mcafee%netscape.com
72205ff75c Missing EmbedWindow calls, CheckConfirm, SelectDialog
git-svn-id: svn://10.0.0.236/trunk@8319 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:46:39 +00:00
mcafee%netscape.com
0506db4654 Added ybmisc.c, REQUIRES needs java, plugimpl, security.
git-svn-id: svn://10.0.0.236/trunk@8318 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:45:51 +00:00
mcafee%netscape.com
71b1b72d93 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8317 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:45:10 +00:00
mcafee%netscape.com
69d26fc990 nspr20 -> nsprpub
git-svn-id: svn://10.0.0.236/trunk@8316 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:31:34 +00:00
mcafee%netscape.com
b161581f85 minor comment
git-svn-id: svn://10.0.0.236/trunk@8315 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:16:20 +00:00
mcafee%netscape.com
4137f588cf Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8314 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:14:20 +00:00
brendan%netscape.com
297f681a94 Insist on / after builtin at front of MIME type.
git-svn-id: svn://10.0.0.236/trunk@8313 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:12:14 +00:00
brendan%netscape.com
2ee8e38a4a Use text/html, not HTMLAREA, as value of TEXTAREA TYPE field; debloat code.
git-svn-id: svn://10.0.0.236/trunk@8312 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:11:13 +00:00
brendan%netscape.com
f2a071f8f4 Defend against null from FE_FindFileExt in CRDFImage::ProcessIcon (hyatt).
git-svn-id: svn://10.0.0.236/trunk@8311 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:09:01 +00:00
mcafee%netscape.com
3107038651 minor text formatting
git-svn-id: svn://10.0.0.236/trunk@8310 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:04:58 +00:00
mcafee%netscape.com
f293558ca7 Includes from Makefile.mozilla
git-svn-id: svn://10.0.0.236/trunk@8309 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:52:10 +00:00
mcafee%netscape.com
b31421ce85 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8308 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:41:49 +00:00
mcafee%netscape.com
ed2cfdfed2 Moving Mozilla-specific stuff to Makefile.mozilla for now
git-svn-id: svn://10.0.0.236/trunk@8307 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:31:53 +00:00
mcafee%netscape.com
9f847ad970 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8306 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:25:08 +00:00
mcafee%netscape.com
952af2cdc8 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8305 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:19:32 +00:00
valeski%netscape.com
16b4397839 fixing UMR (unitialized memory read) error in netlib timer tracing.
git-svn-id: svn://10.0.0.236/trunk@8304 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:01:22 +00:00
morse%netscape.com
bb272f36f1 fix build bustage on mac
git-svn-id: svn://10.0.0.236/trunk@8303 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 06:26:41 +00:00
rpotts%netscape.com
c88eb2fd9c Fixed a crash when Destroy(...) was called without first calling Init(...)
git-svn-id: svn://10.0.0.236/trunk@8302 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 06:21:52 +00:00
joki%netscape.com
375b5308ba Okay, another guess at this bustage.
git-svn-id: svn://10.0.0.236/trunk@8301 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 06:13:03 +00:00
joki%netscape.com
e2d66462b8 Why can't all those little slashes just get along.
git-svn-id: svn://10.0.0.236/trunk@8300 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 05:12:27 +00:00
morse%netscape.com
ffb6a2c5e7 added privacy central
git-svn-id: svn://10.0.0.236/trunk@8299 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 05:04:12 +00:00
morse%netscape.com
7cb07d6bc8 Makefile
git-svn-id: svn://10.0.0.236/trunk@8298 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 04:40:39 +00:00
morse%netscape.com
5b69c849ce added privacy central
git-svn-id: svn://10.0.0.236/trunk@8297 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 04:39:59 +00:00
joki%netscape.com
9c033f7d60 Fix this darned unix redness.
git-svn-id: svn://10.0.0.236/trunk@8296 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 04:38:43 +00:00
cls%seawood.org
724f7bde45 Restoring file biff'd in merge.
git-svn-id: svn://10.0.0.236/trunk@8295 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:50:48 +00:00
cls%seawood.org
e0052638a0 Restoring file biff'd in merge.
git-svn-id: svn://10.0.0.236/trunk@8293 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:34:44 +00:00
joki%netscape.com
191a3d156d Modify mouseover url messages to send empty string when leaving links.
git-svn-id: svn://10.0.0.236/trunk@8292 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:28:44 +00:00
cls%seawood.org
d50e1798e7 Fixed problem with Irix when $x_includes is not set.
git-svn-id: svn://10.0.0.236/trunk@8291 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:11:33 +00:00
clu%netscape.com
4911dc6d39 implemented FE of Convert Table to Text and Convert Text to Table. reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8290 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:08:41 +00:00
clu%netscape.com
d5f3797dde adding cmd ids for composer Convert_Text_To_Table and Convert_Table_To_Text. reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8289 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:06:20 +00:00
clu%netscape.com
7dbbfd73de #313490 - activation and deactivation of image dialog captions. reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8288 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:05:01 +00:00
clu%netscape.com
8c94f1f92c fix to #312039 - font toolbar update. Also implemented FE for Convert Text to Table and Convert Table to Text. reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8287 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:04:59 +00:00
clu%netscape.com
794ef9319b partial fix for #312859; reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8286 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:04:57 +00:00
leaf%mozilla.org
77970cfb5d added mozilla/config/autoconf.mk.in to MozillaSourceUnixOnly module
git-svn-id: svn://10.0.0.236/trunk@8284 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 02:42:59 +00:00
rickg%netscape.com
dfdf0fbcb9 Too many bugs to mention; tables, skipped content; perf; memory
git-svn-id: svn://10.0.0.236/trunk@8283 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 02:04:39 +00:00
rickg%netscape.com
71238ab307 fixed off by one error in Pop()
git-svn-id: svn://10.0.0.236/trunk@8282 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 02:03:56 +00:00
morse%netscape.com
9f0db52c2f fix problem caused by dereferencing null pointer
git-svn-id: svn://10.0.0.236/trunk@8281 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 01:53:08 +00:00
jevering%netscape.com
a4e04b1a1e Moving plugin directory stuff.
git-svn-id: svn://10.0.0.236/trunk@8280 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 01:12:53 +00:00
pinkerton%netscape.com
049d5d84a6 Fix rowRefresh() boo-boo so now it actually redraws the cell when the custom icon loads. Cells with custom icons now draw with the correct text color in all modes.
git-svn-id: svn://10.0.0.236/trunk@8279 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 00:40:34 +00:00
vidur%netscape.com
7aadac9126 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@8278 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 00:24:40 +00:00
vidur%netscape.com
1336fb61cc Fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@8277 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 23:07:31 +00:00
vidur%netscape.com
5e62f96c2c Fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@8276 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 23:00:52 +00:00
mcafee%netscape.com
5587f1d8d2 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8275 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:46:05 +00:00
vidur%netscape.com
128b33e018 Used IIDs for nsIConnectionInfo and nsIDocumentLoadInfo
git-svn-id: svn://10.0.0.236/trunk@8274 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:29:22 +00:00
vidur%netscape.com
74ab64f3f0 Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory.
git-svn-id: svn://10.0.0.236/trunk@8273 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:28:52 +00:00
vidur%netscape.com
4c4c6f8445 Added nsIConnectionInfo interface. Temporarily special-cased javascript: URLs in URL parsing.
git-svn-id: svn://10.0.0.236/trunk@8272 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:28:09 +00:00
vidur%netscape.com
d5ef9d3965 Exported NET_StreamBuilder and NET_RegisterProtocolImplementation for modular netlib
git-svn-id: svn://10.0.0.236/trunk@8271 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:27:20 +00:00
vidur%netscape.com
693f5d1915 Exported NET_StreamBuilder for modular netlib
git-svn-id: svn://10.0.0.236/trunk@8270 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:26:31 +00:00
vidur%netscape.com
b9d512330b Added javascript: URL handling. Added AddNamedReference and RemovedNamedReference to script context interface.
git-svn-id: svn://10.0.0.236/trunk@8269 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:25:21 +00:00
jevering%netscape.com
92c2b89717 Moved the ART image hack to the tip.
git-svn-id: svn://10.0.0.236/trunk@8268 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:10:06 +00:00
pinkerton%netscape.com
deb24c7782 Handle d&d between multiple popdown trees. Make sure we broadcast that the current view has changed so that the title strip picks it up.
git-svn-id: svn://10.0.0.236/trunk@8267 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:51:10 +00:00
pinkerton%netscape.com
dc17b4d9a5 Fix hilight redraw bugs during d&d.
git-svn-id: svn://10.0.0.236/trunk@8266 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:50:12 +00:00
pinkerton%netscape.com
175ff9ffad Correctly do dragging between popdown trees in the same window. Also only open the first item in the selection when in a popdown.
git-svn-id: svn://10.0.0.236/trunk@8265 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:49:56 +00:00
pinkerton%netscape.com
990a507247 Broadcast message on mouse-up.
git-svn-id: svn://10.0.0.236/trunk@8264 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:49:11 +00:00
pinkerton%netscape.com
3f5a9b51ac Handle redrawing the popdown tree during d&d when one goes away and a new one appears. Also close on mouse-up when clicking outside of popdown.
git-svn-id: svn://10.0.0.236/trunk@8263 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:48:34 +00:00
jgellman%netscape.com
4d840695e9 2nd try; new parser from james clark
git-svn-id: svn://10.0.0.236/trunk@8262 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:20:50 +00:00
kmcclusk%netscape.com
5b9b614171 Added XP_UNIX code to leave the top slash for absolute file paths under UNIX.
This fixes a problem where all of the slashs get stripped off because the URL
is asked to parse a previously parsed url string.


git-svn-id: svn://10.0.0.236/trunk@8261 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 20:32:52 +00:00
jgellman%netscape.com
679d9e3f03 back out last checkin -- bad Macintosh karma, need more time
git-svn-id: svn://10.0.0.236/trunk@8260 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 20:05:26 +00:00
jgellman%netscape.com
a7f3d8c6b3 new XML parser from James Clark
git-svn-id: svn://10.0.0.236/trunk@8259 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 19:24:29 +00:00
karnaze%netscape.com
928a6de8a5 checked for null form manager & fixed memory leak in win95 hack code
git-svn-id: svn://10.0.0.236/trunk@8256 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 18:27:13 +00:00
buster%netscape.com
0e5df88ea8 verify that proportionate-width columns (1* format, or COLS attribute)
get sized to at least their minimum width


git-svn-id: svn://10.0.0.236/trunk@8255 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 17:31:20 +00:00
warren%netscape.com
cf540377a4 Fixed copyright.
git-svn-id: svn://10.0.0.236/trunk@8252 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 07:58:32 +00:00
warren%netscape.com
9abf0ee471 Added from SpiderMonkey131_BRANCH of ns/js/ref/liveconnect
git-svn-id: svn://10.0.0.236/trunk@8251 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 07:58:00 +00:00
rpotts%netscape.com
586e2e3691 moving changes in 3.55.2.1 onto the tip...
git-svn-id: svn://10.0.0.236/trunk@8250 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 06:19:11 +00:00
rpotts%netscape.com
b142e0f478 moving changes in 1.36.2.1 onto the tip...
git-svn-id: svn://10.0.0.236/trunk@8248 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 06:17:47 +00:00
rpotts%netscape.com
4b2b401905 moving 3.23.4.1 to the tip...
git-svn-id: svn://10.0.0.236/trunk@8246 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 06:16:32 +00:00
uid401
6c4b8f671a Documentation improvements.
git-svn-id: svn://10.0.0.236/trunk@8244 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 04:51:19 +00:00
mcafee%netscape.com
9cb384db89 Initial version
git-svn-id: svn://10.0.0.236/trunk@8243 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 03:24:24 +00:00
mcafee%netscape.com
1e98a8b997 Switching to test OS_ARCH for Rhapsody instead of using RHAPSODY.
git-svn-id: svn://10.0.0.236/trunk@8242 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 03:09:31 +00:00
mcafee%netscape.com
04523afd75 Woops, we should test OS_ARCH for Rhapsody instead of using RHAPSODY.
git-svn-id: svn://10.0.0.236/trunk@8241 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 03:09:01 +00:00
mcafee%netscape.com
0f70da9c01 Added FE_PromptIMAPSubscriptionUpgrade()
git-svn-id: svn://10.0.0.236/trunk@8240 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:32:50 +00:00
mcafee%netscape.com
3c5be0ed02 Added FE_ShowMinibuffer()
git-svn-id: svn://10.0.0.236/trunk@8239 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:32:25 +00:00
morse%netscape.com
78ddac7d6f remove lock from SI_LogNewURL to assure it won't deadlock
git-svn-id: svn://10.0.0.236/trunk@8238 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:31:57 +00:00
mcafee%netscape.com
560b3337b0 Added FE_AlternateCompose()
git-svn-id: svn://10.0.0.236/trunk@8237 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:31:42 +00:00
mcafee%netscape.com
66c2c448f7 _IMGCB_DisplayPixmap()'s paramters changed; added IMGCBFactory_Create().
git-svn-id: svn://10.0.0.236/trunk@8236 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:31:13 +00:00
mcafee%netscape.com
f7ebc021a8 FE_UnloadPlugin()'s parameters changed.
git-svn-id: svn://10.0.0.236/trunk@8235 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:30:38 +00:00
mcafee%netscape.com
5794639481 Added XFE_AskStreamQuestion to link stubfe.
git-svn-id: svn://10.0.0.236/trunk@8234 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:30:00 +00:00
mcafee%netscape.com
20e701cebc Added STUBFE_CreateEmbedWindow STUBFE_SaveEmbedWindow STUBFE_RestoreEmbedWindow STUBFE_DestroyEmbedWindow STUBFE_FreeBuiltinElement STUBFE_DisplayBuiltin STUBFE_CheckConfirm STUBFE_SelectDialog.
git-svn-id: svn://10.0.0.236/trunk@8233 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:29:26 +00:00
mcafee%netscape.com
3a38b24d07 Updated libraries to link this on Solaris. Stripped out release stuff. Took out some XFE hacks.
git-svn-id: svn://10.0.0.236/trunk@8232 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:28:32 +00:00
ftang%netscape.com
66656c9da5 add XP_ASSERT(IsUTF8String) to some HT api
git-svn-id: svn://10.0.0.236/trunk@8230 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:58:52 +00:00
mcafee%netscape.com
41f3bf64df Switch to using OS_ARCH instead of shell command. r=ramiro
git-svn-id: svn://10.0.0.236/trunk@8229 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:51:42 +00:00
pinkerton%netscape.com
191fdd6738 Don't let popdown tree go off the right side of window. Push it back to left if it would.
git-svn-id: svn://10.0.0.236/trunk@8228 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:48:01 +00:00
pinkerton%netscape.com
0f9d2f989b Fix problems with popdown tree crashing when closing on double-click (again) by making every browser window have its own version of it and have a static member which points to the currently active one so we can still do things like clip it out when blitting images in the html area w/out having to know about the browser window.
git-svn-id: svn://10.0.0.236/trunk@8227 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:40:08 +00:00
pinkerton%netscape.com
34e9f3e491 Don't call HT_CanDropURLOn with bogus data.
git-svn-id: svn://10.0.0.236/trunk@8226 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:38:45 +00:00
scullin%netscape.com
c9fa0f4535 Fix hack incompatibility.
git-svn-id: svn://10.0.0.236/trunk@8225 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:33:26 +00:00
cyeh%netscape.com
bb95f3bd18 adding file: merge from AUTOCONF_1_0
git-svn-id: svn://10.0.0.236/trunk@8224 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:31:17 +00:00
cyeh%netscape.com
72e703144e merging files from AUTOCONF_1_0 branch
git-svn-id: svn://10.0.0.236/trunk@8223 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:30:12 +00:00
scullin%netscape.com
053a936966 Move form element hack from branch.
git-svn-id: svn://10.0.0.236/trunk@8222 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:24:29 +00:00
cyeh%netscape.com
3e7e71b99a fixing biffed autoconf_1_0 merge
git-svn-id: svn://10.0.0.236/trunk@8221 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:18:03 +00:00
cyeh%netscape.com
dc77a65bd2 merge autoconf branch to tip
git-svn-id: svn://10.0.0.236/trunk@8220 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:36:20 +00:00
cyeh%netscape.com
190a99330b resurrect file toasted from tip
git-svn-id: svn://10.0.0.236/trunk@8219 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:34:46 +00:00
valeski%netscape.com
0317dc7bb0 fixed memory leak a little more safely :)
git-svn-id: svn://10.0.0.236/trunk@8217 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:33:46 +00:00
valeski%netscape.com
fe7b858a07 fixed memory leak
git-svn-id: svn://10.0.0.236/trunk@8216 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:32:43 +00:00
preed%netscape.com
0ac409a746 Fixes some bugs in the way messages of the day were stored; certain
characters could cause tinderbox to bomb out because they weren't escaped,
and the '1;' at the end was missing (which is bad because this is needed
if it's required). Reviewed by terry.


git-svn-id: svn://10.0.0.236/trunk@8215 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:31:52 +00:00
preed%netscape.com
b086f7409c Added features to allow popup menu's in showbuilds.cgi (requsted), and
modified a chop to chomp to make SURE it does what we want. Reviewed by
terry.


git-svn-id: svn://10.0.0.236/trunk@8214 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:20:45 +00:00
troy%netscape.com
3dd6745dd7 Changed web shell widget to NOT clip children
git-svn-id: svn://10.0.0.236/trunk@8213 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:13:00 +00:00
troy%netscape.com
703ca9af2b Added clipChildren option to nsWidgetInitData
git-svn-id: svn://10.0.0.236/trunk@8212 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:11:41 +00:00
valeski%netscape.com
277cec0087 webshell/public/nsIDocumentLoader.h
Extended the nsIDocumentLoader interface's LoadURL() method to take a reload type parameter.

webshell/public/nsIWebShell.h
Extended the nsIWebShell interface's LoadURL() method to take a reload type parameter.

webshell/src/nsDocLoader.cpp
1. Extended the nsIDocumentBindInfo interface's Bind() method to take a reload type parameter. The Bind() method now takes the reload parameter and passes it to the nsIUrl it creates.
2. Added support to the DocumentLoader for the extended LoadURL() parameter list. It now passes the reload type down into the Bind() method of the nsIDocumentBindInfo.

webshell/src/nsWebShell.cpp
1. Added support to the nsWebShell to use the new reload type parameter during loads.
2. Hooked up the reload type parameter in the nsWebShell::Reload() method so we actually use it.


git-svn-id: svn://10.0.0.236/trunk@8211 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:01:52 +00:00
valeski%netscape.com
b4d5c7e4ce RAPTOR ONLY CHECKIN
network/module/nsIURL.h
Added Get/Set ReloadType methods so a user can query/set the reload type for the url. The default is normal reload.

network/module/nsURL.cpp
Added support for the new nsIURL interface methods (Get/Set ReloadType).

network/module/nsNetService.cpp
OpenStream and OpenBlockingStream now query the nsIURL for it's reload type before creating the url struct. This way we can control how the url is loaded.


git-svn-id: svn://10.0.0.236/trunk@8210 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:00:15 +00:00
karnaze%netscape.com
fe7799e863 removed calls to DidReflow on browse button and text area
git-svn-id: svn://10.0.0.236/trunk@8206 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:43:46 +00:00
scullin%netscape.com
0c740efd34 Move resource hack to tip.
git-svn-id: svn://10.0.0.236/trunk@8205 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:38:57 +00:00
michaelp%netscape.com
f41b11459c fixed bug in loading one of the icons where the handle to load from was never
specified.


git-svn-id: svn://10.0.0.236/trunk@8204 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:05:50 +00:00
michaelp%netscape.com
a59b85078e added support for opening new windows with _blank url targets.
git-svn-id: svn://10.0.0.236/trunk@8203 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:00:51 +00:00
chuckb%netscape.com
d495a73e5b Java SDK build instructions
git-svn-id: svn://10.0.0.236/trunk@8202 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:57:12 +00:00
michaelp%netscape.com
0f6556178c added assert to warn you of recursive painting.
git-svn-id: svn://10.0.0.236/trunk@8201 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:56:52 +00:00
michaelp%netscape.com
2aa2b60dad tiny change to get things to work under the 4.1 compiler.
git-svn-id: svn://10.0.0.236/trunk@8200 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:56:27 +00:00
cls%seawood.org
4288391d23 AUTOCONF_1_0 landing.
git-svn-id: svn://10.0.0.236/trunk@8198 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:42:14 +00:00
buster%netscape.com
214f7beda3 fixes a layout bug where subsequent cells in a column when colspans are involved
could select the wrong starting width for the column, causing it to have the
wrong ending width.


git-svn-id: svn://10.0.0.236/trunk@8197 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:41:06 +00:00
buster%netscape.com
7adfe644b7 modified the resize reflow optimization so max element size is returned
if requested without triggering a reflow if the width hasn't changed.


git-svn-id: svn://10.0.0.236/trunk@8196 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 18:40:33 +00:00
despotdaemon%netscape.com
0e3954d4bd Pseudo-automatic update of changes made by gem@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8195 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 18:25:53 +00:00
troy%netscape.com
88d691c869 Re-ordered code that adds loader object to the array of loaders
git-svn-id: svn://10.0.0.236/trunk@8194 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 18:07:27 +00:00
troy%netscape.com
b9f04152ae Changed call to UpdateView() to be synchronous. This keeps us from
going re-entrant


git-svn-id: svn://10.0.0.236/trunk@8193 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:45:28 +00:00
cyeh%netscape.com
ecc5be6ea7 change to the modules file per Chuck Boatwright, LDAP owner
git-svn-id: svn://10.0.0.236/trunk@8192 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:33:00 +00:00
dcone%netscape.com
539998ec1a fixed list up a little for gfx build
git-svn-id: svn://10.0.0.236/trunk@8191 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:26:50 +00:00
dcone%netscape.com
645dadc9f8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8190 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:24:14 +00:00
dcone%netscape.com
a9d4cc2a1b Re wrote these files to reflect the correct way of building Devicecontexts
git-svn-id: svn://10.0.0.236/trunk@8189 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:24:13 +00:00
dcone%netscape.com
23d55d5115 Added some project info, files
git-svn-id: svn://10.0.0.236/trunk@8188 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:21:53 +00:00
dcone%netscape.com
ca72a23f3d Re-syn
git-svn-id: svn://10.0.0.236/trunk@8187 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:21:06 +00:00
dcone%netscape.com
b29ee2f9e9 Major redo based on a new GFX library
git-svn-id: svn://10.0.0.236/trunk@8186 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:20:31 +00:00
buster%netscape.com
ad76084cb9 improved colspan handling.
cells with colspans and specified widths divide their width provisionally between the columns they span. This provisional division is ammended by any cell in any of the effected columns that:
1) has a colspan=1, and
2) has a width specified
the widths of all other columns must be adjusted for cells like these.  Further complicating matters is that it seems <faith> that if multiple colspanning cells intersect a column and each has a width
specified such that the column would have a different width depending on which is used, only the first such cell is used </faith>.  I can neither confirm nor deny this reading the mozilla code.

I also taught the cell map how to deal with this situation:

 colspan=1 | colspan=2 | colspan=1
 colspan=1 | colspan=2 | colspan=1

This table "really" has 4 columns, but the middle cells are treated as if they have no colspan.
Trust me, it matters.  The original colspan attributes can't simply be thrown away because Mr. DOM
could come along at any time and add/remove a cell that would make them important.


git-svn-id: svn://10.0.0.236/trunk@8185 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 15:43:51 +00:00
mcafee%netscape.com
78a287cde8 Compile flag needed to get expat/xmlparse/xmlparse.c to compile correctly.
git-svn-id: svn://10.0.0.236/trunk@8184 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 08:29:56 +00:00
mcafee%netscape.com
b05ae4a7ce Adding RHAPSODY define so we don't have to do shell commands for ifdef's in Makefiles
git-svn-id: svn://10.0.0.236/trunk@8183 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 08:26:15 +00:00
mcafee%netscape.com
e2f15157aa Adding ybfe, YellowBox/Rhapsody front-end
git-svn-id: svn://10.0.0.236/trunk@8182 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 07:23:28 +00:00
joki%netscape.com
f300c374d7 Moving view selection for event handling into nsViewManager, Adding GrabMouseEvents and GrabKeyEvents
git-svn-id: svn://10.0.0.236/trunk@8181 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 05:35:20 +00:00
troy%netscape.com
e2ff812829 Added some comments
git-svn-id: svn://10.0.0.236/trunk@8180 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 05:06:59 +00:00
troy%netscape.com
2a617558d9 Changed CopyOffScreenBits() to make sure the logical palette is selected
into the screen DC.


git-svn-id: svn://10.0.0.236/trunk@8179 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 04:41:48 +00:00
troy%netscape.com
0ea8197cc3 Changed WM_QUERYNEWPALETTE code to return TRUE to indicate that
a palette was realized


git-svn-id: svn://10.0.0.236/trunk@8176 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:31:08 +00:00
morse%netscape.com
3bde6edabc fixed incorrect return type on NET_CookiePermission
git-svn-id: svn://10.0.0.236/trunk@8175 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:30:25 +00:00
clu%netscape.com
3bcc29c1be #71944. reviewed by jfrancis.
git-svn-id: svn://10.0.0.236/trunk@8174 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:18:02 +00:00
clu%netscape.com
154eccdf6a adding cmd ids for composer Split Cell and Merge Cell. reviewed by jfrancis.
git-svn-id: svn://10.0.0.236/trunk@8173 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:18:01 +00:00
clu%netscape.com
e0c34a0c13 implementing macfe Split Cell and Merge Cell. Included AutoKey in the conditional statements for backspace delete and regular key input to help with typing efficiency. reviewed by jfrancis.
git-svn-id: svn://10.0.0.236/trunk@8172 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:18:00 +00:00
clu%netscape.com
2ca1451b24 checking in ftang's fix for the correct positioning of the asian language input window.
git-svn-id: svn://10.0.0.236/trunk@8171 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:17:59 +00:00
troy%netscape.com
1067da29bd Changed to realize the palette in the background
git-svn-id: svn://10.0.0.236/trunk@8170 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:58:17 +00:00
peterl%netscape.com
61c45a8a04 handle body's marginwidth/height via a special style rule
git-svn-id: svn://10.0.0.236/trunk@8169 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:16:40 +00:00
peterl%netscape.com
a458984ea5 handle marginwidth/height via a special style rule
git-svn-id: svn://10.0.0.236/trunk@8168 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:16:21 +00:00
mcafee%netscape.com
21157c248b Adding support for XP_UNIX && NO_X11. r,a=warren
git-svn-id: svn://10.0.0.236/trunk@8167 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:13:08 +00:00
troy%netscape.com
30842a5c4b Changed palette code to get the palette from the device context
git-svn-id: svn://10.0.0.236/trunk@8166 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 00:57:02 +00:00
troy%netscape.com
1d7149f1d1 Added GetPaletteInfo()
git-svn-id: svn://10.0.0.236/trunk@8165 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 00:37:05 +00:00
valeski%netscape.com
b4eb4f5402 webshell/public/nsIDocumentLoader.h
Removed support for the underlying timer/refreshurl infrastructure.

webshell/src/nsDocLoader.cpp
1. Added support in nsDocumentBindInfo for the new nsIRefreshUrl method for cancelling.
1.5 Changed the refreshurl() method so it delegates to the container's (i.e. webshell's) refreshurl() method.
2. Removed the "actual" refresh url implementation (timers) from the nsDocumentBindInfo. It's now in the webshell and nsDocumentBindInfo's implementation of nsIRefreshUrl simply delegates to the "container" (i.e. the webshell).
3. Added call to new NS_NewURL() routine which takes an nsISupports pointer as an arg, if the nsDocumentBindInfo has a container to pass along.

webshell/src/nsWebShell.cpp
Added support for the nsIRefreshUrl interface to nsWebShell (this includes the underlying timers and callback mechanism).


git-svn-id: svn://10.0.0.236/trunk@8164 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:25:17 +00:00
valeski%netscape.com
a192f6bdd0 network/module/nsIRefreshUrl.h
Extended the nsIRefreshUrl interface to include a cancel method.

network/module/nsNetService.cpp
1. Added code to hook the nsConnectionInfo object up to the nsISupports pointer in the url being loaded.
2. Removed the redirect logic in bam_exit_routine(). The backend dependency on the front end is gone.

network/module/nsNetStream.cpp
Added initialization/destruction of the nsISupports pointer in the nsConnectionInfo.

network/module/nsNetStream.h
Added the nsISupports member declaration to nsConnectionInfo, and remvoed the redirect member variable.

network/module/nsNetStubs.cpp
FE_SetRefreshURLTimer() routine has been modified so it no longer relies on the pConsumer (i.e. nsDocumentBindInfo) which was causing us to leak it. Now we use the nsISupports pointer in the nsConnectionInfo object to access the nsIRefreshURL interface so we can reload the url.

network/module/nsStubContext.cpp
Modified stub_complete() so we no longer pay attention to the redirect member of the nsConnectionInfo object.

network/module/nsIURL.h
1. Added GetContainer() method to nsIURL which returns the nsISupports pointer of the container for this url.
2. created a new NS_NewURL() routine which takes an nsISupports pointer as a parameter.

network/module/nsURL.cpp
1. Added a new nsURL constructor that takes a nsISupports pointer as a param.
2. Added GetContainer() method and nsISupports pointer initialization/destruction.


git-svn-id: svn://10.0.0.236/trunk@8163 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:24:28 +00:00
cmanske%netscape.com
182ab83bed Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@8162 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:18:24 +00:00
cls%seawood.org
8ac3fcb06a Added ifdefs for MOZ_NATIVE_{JPEG,PNG,ZLIB}. Approved by pnunn%netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8161 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:59:14 +00:00
kostello%netscape.com
662cb6cd5d Added nsButton to libraries
git-svn-id: svn://10.0.0.236/trunk@8160 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:49:21 +00:00
kostello%netscape.com
0c173edadd Fixed FindWidgetHit. Added conditional checks for enumerator code.
git-svn-id: svn://10.0.0.236/trunk@8159 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:48:35 +00:00
kostello%netscape.com
e5e014b0d5 Comment back in nsIButton code
git-svn-id: svn://10.0.0.236/trunk@8158 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:46:07 +00:00
kostello%netscape.com
5e64f2c123 Add support for nsButton
git-svn-id: svn://10.0.0.236/trunk@8157 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:45:21 +00:00
kostello%netscape.com
c130b91c69 Check for null
git-svn-id: svn://10.0.0.236/trunk@8156 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:44:43 +00:00
kostello%netscape.com
5eaf433084 Added mControl -- temporarily, code from nsButton will probably be moved to a superclass
git-svn-id: svn://10.0.0.236/trunk@8155 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:44:02 +00:00
kostello%netscape.com
1d4b465870 First step in converting motif code to mac code.
git-svn-id: svn://10.0.0.236/trunk@8154 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:43:08 +00:00
kostello%netscape.com
08e8a4c960 Changed comment from motif to mac
git-svn-id: svn://10.0.0.236/trunk@8153 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:42:23 +00:00
valeski%netscape.com
e05d07e172 fixed a memory leak
git-svn-id: svn://10.0.0.236/trunk@8152 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:38:03 +00:00
leif%netscape.com
fa2deda6fe *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8150 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:35:57 +00:00
leif%netscape.com
2d5d4601ca *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8149 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:26:44 +00:00
leif%netscape.com
8ef6152a7d Added the setDefaultRebindProc() function back...
git-svn-id: svn://10.0.0.236/trunk@8148 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:26:30 +00:00
pnunn%netscape.com
22b4719a0f fix for #314603. pnunn. code error introduced during the modimglib-branch
landing for nglayout.


git-svn-id: svn://10.0.0.236/trunk@8147 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:24:59 +00:00
cmanske%netscape.com
425a7c0d6d Fixed multiple-freeing of clipboard formats
git-svn-id: svn://10.0.0.236/trunk@8146 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:17:18 +00:00
michaelp%netscape.com
31d0b724ac when killing a window, we now set the GWL_USERDATA to NULL. this will basically
kill the "parent" pointer.


git-svn-id: svn://10.0.0.236/trunk@8145 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:03:34 +00:00
karnaze%netscape.com
b35734172b marginwidth, marginheight set in <frame> is passed to sub doc and added to padding
git-svn-id: svn://10.0.0.236/trunk@8144 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:02:23 +00:00
scullin%netscape.com
986f93c67c Tweek interface to be compatible with branch for now.
git-svn-id: svn://10.0.0.236/trunk@8143 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:01:50 +00:00
dcone%netscape.com
f69f171885 added MANIFEST file for cmd/macfe/utility
git-svn-id: svn://10.0.0.236/trunk@8142 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 21:57:10 +00:00
dcone%netscape.com
c6822e5ecf First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8141 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 21:55:56 +00:00
cmanske%netscape.com
9d683269ec Removed unused strings and function
git-svn-id: svn://10.0.0.236/trunk@8140 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:25:19 +00:00
cmanske%netscape.com
587d0f6a3b Removed unused strings and function
git-svn-id: svn://10.0.0.236/trunk@8139 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:25:17 +00:00
cmanske%netscape.com
aac0f510b3 Table editing menu work, fixing cell display problems.
git-svn-id: svn://10.0.0.236/trunk@8138 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:24:39 +00:00
cmanske%netscape.com
148ca16ff1 More table editing work: convert Excel spreadsheet to internal table format for more flexible paste options
git-svn-id: svn://10.0.0.236/trunk@8137 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:24:37 +00:00
morse%netscape.com
1030b2ab89 changes for privacy-central pane
git-svn-id: svn://10.0.0.236/trunk@8136 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:00:37 +00:00
morse%netscape.com
7240ed73e9 added string for one-site cookie viewer
git-svn-id: svn://10.0.0.236/trunk@8135 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 19:58:45 +00:00
morse%netscape.com
9005c1b29b make it compile with rhapsody compiler
git-svn-id: svn://10.0.0.236/trunk@8134 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 19:40:55 +00:00
ftang%netscape.com
9ae659900c Add vietnam.c into libi18n (libi18l for historic mistake) . Approved by steve.
git-svn-id: svn://10.0.0.236/trunk@8133 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 19:06:24 +00:00
ftang%netscape.com
eb6d9431cc add Vietname VNI into WinFE ui. Thanks Van Le levan@hotmail.com from the net
git-svn-id: svn://10.0.0.236/trunk@8132 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 19:03:36 +00:00
pinkerton%netscape.com
8700ac667d Now generating xSYM info for nsMacMessagePump.cpp in debug target.
git-svn-id: svn://10.0.0.236/trunk@8130 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 17:54:17 +00:00
kostello%netscape.com
77000c658c Fix mac build
git-svn-id: svn://10.0.0.236/trunk@8129 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 17:24:55 +00:00
pinkerton%netscape.com
8f5a39cdcc Removed full paths to PowerPlant and replaced them with compiler relative ones in shlb target.
git-svn-id: svn://10.0.0.236/trunk@8128 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 17:24:43 +00:00
kostello%netscape.com
192779608e These were checked in by mistake
git-svn-id: svn://10.0.0.236/trunk@8127 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 16:45:33 +00:00
despotdaemon%netscape.com
fb46f2e159 Pseudo-automatic update of changes made by freier@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8126 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 16:37:34 +00:00
dcone%netscape.com
933b9fd29b Added paint and mousemove events, messagepump
git-svn-id: svn://10.0.0.236/trunk@8125 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 16:27:05 +00:00
dcone%netscape.com
7fc549fd57 Added paint and mousemove events
git-svn-id: svn://10.0.0.236/trunk@8124 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 16:23:13 +00:00
wtc%netscape.com
be00ad7fad Define HAVE_LONG_LONG because gcc/g++ support 'long long'.
git-svn-id: svn://10.0.0.236/trunk@8123 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 15:00:22 +00:00
mcafee%netscape.com
32d514c5b4 Next attempt at getting shared libs to build properly
git-svn-id: svn://10.0.0.236/trunk@8122 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 09:07:32 +00:00
mcafee%netscape.com
fa0dd8ad23 Support DLL_SUFFIX if build overrides .so default
git-svn-id: svn://10.0.0.236/trunk@8121 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 09:06:48 +00:00
mcafee%netscape.com
4cafb49f48 Break up some logic so the Rhapsody compiler can handle it.
git-svn-id: svn://10.0.0.236/trunk@8120 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 08:06:12 +00:00
mcafee%netscape.com
bc24633161 Adding support for Unix && NO_X11
git-svn-id: svn://10.0.0.236/trunk@8119 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 07:47:59 +00:00
mcafee%netscape.com
29b92b686f Support for Intel
git-svn-id: svn://10.0.0.236/trunk@8118 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 07:29:04 +00:00
mcafee%netscape.com
b6ffcd996c Rhapsody doesn't have malloc.h
git-svn-id: svn://10.0.0.236/trunk@8117 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 04:43:46 +00:00
troy%netscape.com
ff933d5110 Added GetLogicalPalette() to nsDeviceContextWin
git-svn-id: svn://10.0.0.236/trunk@8116 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 04:11:01 +00:00
joki%netscape.com
8df994b2d9 A couple of macros for getting basic event types
git-svn-id: svn://10.0.0.236/trunk@8115 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 03:47:24 +00:00
hshaw%netscape.com
cd85334f21 Fix build bustage, moral of the story, be very careful with macros which implicitly take & of your arguments
git-svn-id: svn://10.0.0.236/trunk@8114 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 02:54:13 +00:00
troy%netscape.com
2da30889d0 Changed destructor to Interrupt() image group before realeasing reference
git-svn-id: svn://10.0.0.236/trunk@8113 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 01:43:35 +00:00
jgellman%netscape.com
22c8b015c6 changes from wtc and the net for 64 bit machines, almost certainly not the last of them either
git-svn-id: svn://10.0.0.236/trunk@8112 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 01:24:30 +00:00
hshaw%netscape.com
1f308ef5fc Fix buffering problem and memory leak for gzip compressed content. Generic problem was causing assert failure on Windows only
git-svn-id: svn://10.0.0.236/trunk@8111 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 00:14:32 +00:00
kostello%netscape.com
9cd4a71b7c Fix mac build
git-svn-id: svn://10.0.0.236/trunk@8110 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 00:09:48 +00:00
buster%netscape.com
2cd93059a0 fixed nested tables for the case where both parent and child table are %-width,
and the columns are any variety of width types


git-svn-id: svn://10.0.0.236/trunk@8109 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 23:37:04 +00:00
kostello%netscape.com
2441f8be8f Added WidgetDebug.o to library
git-svn-id: svn://10.0.0.236/trunk@8108 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 23:36:16 +00:00
troy%netscape.com
99d339efe3 Changed CreateILColorSpace() to GetILColorSpace() (device context now
owns the color space), and cleaned up image renderer code


git-svn-id: svn://10.0.0.236/trunk@8107 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 23:20:42 +00:00
pnunn%netscape.com
6703ee5d5a fix for #313251, migrating #312030 to mozilla. pnunn. ok'd by nisheeth.
git-svn-id: svn://10.0.0.236/trunk@8106 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 22:20:27 +00:00
raman%netscape.com
0415ac2bca Updated the code to get error messages from allxpstr.h
git-svn-id: svn://10.0.0.236/trunk@8105 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 21:12:30 +00:00
rjc%netscape.com
43815ef0da Import IE favorites and history on Mac might like how its also done on Windows.
git-svn-id: svn://10.0.0.236/trunk@8104 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 20:17:06 +00:00
norris%netscape.com
3f00361c40 Allow setting document.domain to remove the port part of the URL for later origin checks.
git-svn-id: svn://10.0.0.236/trunk@8103 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 20:04:23 +00:00
leif%netscape.com
8947cb6020 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8102 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:24:50 +00:00
leif%netscape.com
2d28609b8c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8101 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:24:04 +00:00
leif%netscape.com
aa63828e84 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8100 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:21:33 +00:00
buster%netscape.com
fad7c8e1ab fixed a memory leak where a style context was not being released when
the table cell set the table column's style.


git-svn-id: svn://10.0.0.236/trunk@8098 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:03:36 +00:00
kmcclusk%netscape.com
c871e3a274 Implemented SetFocus.
git-svn-id: svn://10.0.0.236/trunk@8095 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 17:58:37 +00:00
karnaze%netscape.com
ec48384b65 removed text field and browse button of <input type=text> from content model.
git-svn-id: svn://10.0.0.236/trunk@8094 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 17:46:08 +00:00
rods%netscape.com
fab918d441 Add SetFocus so keyboard navigation works.
git-svn-id: svn://10.0.0.236/trunk@8093 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 16:43:07 +00:00
dcone%netscape.com
9be255dd28 fixed up messaging
git-svn-id: svn://10.0.0.236/trunk@8092 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 15:18:28 +00:00
jfrancis%netscape.com
d108641113 Correcting command handling for htmlarea form widgets. Now they no longer take over a host of browser commands like Print, Save, etc.
git-svn-id: svn://10.0.0.236/trunk@8091 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 10:41:54 +00:00
jfrancis%netscape.com
73d4b06bf1 First pass at getting a toolbar up for htmlarea form widgets. It's limping...
git-svn-id: svn://10.0.0.236/trunk@8090 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 09:23:45 +00:00
jfrancis%netscape.com
6cc6d647e1 First pass at getting a toolbar up for htmlarea form widgets. it's limping...
git-svn-id: svn://10.0.0.236/trunk@8089 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 09:22:39 +00:00
raman%netscape.com
f2d3791cf7 C++ implementation of Java objects. These files are not part of the build system yet.
git-svn-id: svn://10.0.0.236/trunk@8088 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 00:45:51 +00:00
raman%netscape.com
3c0523a89e Header files for Java to C conversion. They are not part of the build system yet.
git-svn-id: svn://10.0.0.236/trunk@8087 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 00:44:45 +00:00
ramiro%netscape.com
b30eac787c chilren was being freed twice - what a dumbass error.
Thanks to Matti Aarnio <matti.aarnio@sonera.fi> for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@8086 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 00:12:39 +00:00
morse%netscape.com
61d94c0076 restore reference to MK_SIGNON_SELECTUSER, Linux bustage is a dependency-build problem
git-svn-id: svn://10.0.0.236/trunk@8085 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 22:57:02 +00:00
morse%netscape.com
cb017264a4 removed MK_SIGNON_SELECTUSER until I determine why it broke Linux dep build on Gromit
git-svn-id: svn://10.0.0.236/trunk@8084 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 21:12:53 +00:00
morse%netscape.com
f8d004b1a5 fixed problems when there are multiple usernames for the same form
git-svn-id: svn://10.0.0.236/trunk@8083 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 19:41:16 +00:00
morse%netscape.com
98736dbcfa change for single signon
git-svn-id: svn://10.0.0.236/trunk@8082 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 19:36:16 +00:00
morse%netscape.com
b9a8b563d0 change for single singon
git-svn-id: svn://10.0.0.236/trunk@8081 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 19:35:27 +00:00
mcafee%netscape.com
3869e5eb0f Fixing /* warning on Linux.
git-svn-id: svn://10.0.0.236/trunk@8078 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 18:59:11 +00:00
troy%netscape.com
931e45da01 Destructor now releases ref to image maps
git-svn-id: svn://10.0.0.236/trunk@8076 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 16:25:33 +00:00
morse%netscape.com
17ae035cd9 fix bug in cookie viewer
git-svn-id: svn://10.0.0.236/trunk@8075 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 15:42:18 +00:00
morse%netscape.com
02b6167b4f fixed bug in sigon viewer
git-svn-id: svn://10.0.0.236/trunk@8074 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 15:40:46 +00:00
jfrancis%netscape.com
6633d45f86 Fixing bug #313498
git-svn-id: svn://10.0.0.236/trunk@8073 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 10:11:34 +00:00
jfrancis%netscape.com
6d2b55c44a Adding comment to help prevent recurrences of bug #313498
git-svn-id: svn://10.0.0.236/trunk@8072 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 10:11:17 +00:00
jgellman%netscape.com
4c68be3695 add new arg for HT_PaneFromURL
git-svn-id: svn://10.0.0.236/trunk@8071 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 07:31:21 +00:00
guha%netscape.com
1feb6d428c Fix broken build
git-svn-id: svn://10.0.0.236/trunk@8070 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 06:40:13 +00:00
jgellman%netscape.com
1be8dcf35e Need to add the argument to gRDFMWContext() in one more place
git-svn-id: svn://10.0.0.236/trunk@8068 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 05:57:28 +00:00
troy%netscape.com
ed55c3c760 Added missing NS_INIT_REFCNT()
git-svn-id: svn://10.0.0.236/trunk@8065 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 03:24:27 +00:00
troy%netscape.com
098866905a Changed PR_FREEIF to delete[] (call to nsString::ToNewCString)
git-svn-id: svn://10.0.0.236/trunk@8064 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:53:38 +00:00
guha%netscape.com
2608a095ee output rfc822 (reviewed by rjc)
git-svn-id: svn://10.0.0.236/trunk@8063 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:33:39 +00:00
guha%netscape.com
885c4f8eed Some smart mail related stuff. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@8062 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:32:53 +00:00
mcafee%netscape.com
b9c34b08ec Some libraries (jpeg, xpcom) include nsprpub header files and need to know about USE_PTHREADS for some platforms (SparcLinux/RH5.1).
git-svn-id: svn://10.0.0.236/trunk@8061 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:27:17 +00:00
mcafee%netscape.com
a343fc80f6 Moving USE_PTHREADS define over to mozilla/config/config.mk, more than jpeg needs this.
git-svn-id: svn://10.0.0.236/trunk@8060 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:25:44 +00:00
mcafee%netscape.com
510af228fe jpeg includes nsprpub header files and thus needs to know about USE_PTHREADS for some platforms. Fixes SparcLinux.
git-svn-id: svn://10.0.0.236/trunk@8059 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:19:59 +00:00
morse%netscape.com
0c8d2da8cb fix problems in signon viewer
git-svn-id: svn://10.0.0.236/trunk@8058 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:18:40 +00:00
morse%netscape.com
a3efcf5b6f fix problems in cookie viewer
git-svn-id: svn://10.0.0.236/trunk@8057 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:17:50 +00:00
law%netscape.com
bbea53da38 Fixing bug in Default Browser dialog's Details... button processing
git-svn-id: svn://10.0.0.236/trunk@8056 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:01:32 +00:00
law%netscape.com
963a66acfb Adding Control Panel extension; not part of build process yet
git-svn-id: svn://10.0.0.236/trunk@8055 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 00:23:37 +00:00
radha%netscape.com
8491e73254 Declare fe_getPixelFromRGB explicitly to fix bustage in IRIX 6.2
git-svn-id: svn://10.0.0.236/trunk@8054 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 00:20:10 +00:00
joki%netscape.com
250f935f96 Sanity check return values on window.parent, window.top
git-svn-id: svn://10.0.0.236/trunk@8053 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 00:13:51 +00:00
gagan%netscape.com
0a8aacf896 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8051 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 23:48:05 +00:00
toshok%netscape.com
8980cb4162 Track guha's change to allxpstr.rc
git-svn-id: svn://10.0.0.236/trunk@8050 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 23:44:26 +00:00
scullin%netscape.com
db73f7e25e Checked in api changes and some other small changes from the branch.
git-svn-id: svn://10.0.0.236/trunk@8049 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 23:08:54 +00:00
kmcclusk%netscape.com
1dfe01a8e4 Now detects Alt key during keypress and mouse events.
git-svn-id: svn://10.0.0.236/trunk@8048 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:58:07 +00:00
thom%netscape.com
cf7eeb834d add nsJLocation and nsLocation to project file
git-svn-id: svn://10.0.0.236/trunk@8047 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:53:51 +00:00
kmcclusk%netscape.com
b91145fa0b Now sets shift and control fields in the mouse and keyboard events properly.
git-svn-id: svn://10.0.0.236/trunk@8046 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:47:38 +00:00
joki%netscape.com
ad6f7835d1 Modify window.open method to use sizing and location parameters
git-svn-id: svn://10.0.0.236/trunk@8045 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:31:38 +00:00
leif%netscape.com
0dc883f526 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8043 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:10:29 +00:00
kmcclusk%netscape.com
e2a7a9f113 Fixed keycode translation. Now Page_Up Page_Down Arrow and control keys can
be detected.


git-svn-id: svn://10.0.0.236/trunk@8042 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:07:52 +00:00
leif%netscape.com
13cbf0a551 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8041 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:03:08 +00:00
leif%netscape.com
ef1a098d84 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8040 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:45:39 +00:00
thom%netscape.com
1d944d9fe8 added nsIRefreshUrl.h to manifest
git-svn-id: svn://10.0.0.236/trunk@8039 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:35:42 +00:00
rods%netscape.com
0b456b77a7 Added Page Up, Page Down, Arrow up and Arrow Down key processing.
git-svn-id: svn://10.0.0.236/trunk@8038 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:13:40 +00:00
kmcclusk%netscape.com
f027285066 Changed DispatchMouseEvent to take a & (ref).
git-svn-id: svn://10.0.0.236/trunk@8037 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:09:36 +00:00
troy%netscape.com
b6c3703c9b Changed destructor to release reference to child form element, and
changed Release() to not check for external references to child form
elements


git-svn-id: svn://10.0.0.236/trunk@8036 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:03:16 +00:00
ftang%netscape.com
04fa44a916 add vni support from the net for WinFE. Thansk Van Le <levan@hotmail.com> and folks
git-svn-id: svn://10.0.0.236/trunk@8035 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:40:27 +00:00
ftang%netscape.com
58aaeb13e5 Check in new version of vietnam.c Thansk Van Le <levan@hotmail.com> and folks
git-svn-id: svn://10.0.0.236/trunk@8034 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:39:52 +00:00
ftang%netscape.com
9370f25853 add additional interface. Thansk Van Le <levan@hotmail.com> and folks
git-svn-id: svn://10.0.0.236/trunk@8033 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:39:29 +00:00
ftang%netscape.com
9718b4120d fix typo for last check in
git-svn-id: svn://10.0.0.236/trunk@8032 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:38:08 +00:00
ftang%netscape.com
e9cc907767 remove obsolete csid
git-svn-id: svn://10.0.0.236/trunk@8031 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:37:06 +00:00
uid402
02adef8fc4 Changed the install instructions in the README slightly.
git-svn-id: svn://10.0.0.236/trunk@8030 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:36:55 +00:00
troy%netscape.com
bebcdd15aa Changed NS_NewHTMLInputFile() to release reference to onput text and
input browse content objects


git-svn-id: svn://10.0.0.236/trunk@8029 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:36:36 +00:00
joki%netscape.com
31b1bd5683 Fix queryinterface calls on window.top and window.parent
git-svn-id: svn://10.0.0.236/trunk@8028 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:36:31 +00:00
ftang%netscape.com
0874ae8463 fix assert problem after add csid
git-svn-id: svn://10.0.0.236/trunk@8027 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:35:18 +00:00
uid402
e8010cbccf Perl script to install the Perl binaries without the Makefile. Platform
independent.
run: perl install-bin


git-svn-id: svn://10.0.0.236/trunk@8026 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:32:35 +00:00
scullin%netscape.com
c30c6b85f9 Added a COM false value.
git-svn-id: svn://10.0.0.236/trunk@8025 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:17:20 +00:00
radha%netscape.com
379bb4f52d Set HT properties for the tree view and titlebar.
git-svn-id: svn://10.0.0.236/trunk@8024 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:08:14 +00:00
radha%netscape.com
c75713c87a Register the NavCenter Context menu and HT pane with the XP api.
git-svn-id: svn://10.0.0.236/trunk@8023 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:06:37 +00:00
radha%netscape.com
57faa90884 Fix scrollbar warning messages that appear with opening NavCenter
git-svn-id: svn://10.0.0.236/trunk@8022 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:05:37 +00:00
despotdaemon%netscape.com
5ec399bec7 Pseudo-automatic update of changes made by srilatha@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8021 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 17:31:19 +00:00
buster%netscape.com
b7b8a5e07f * migrated and improved some fixes from the branch to the tip
* fixes sample6, yahoo resizing
* added BasicTableLayoutStrategy::ColIsSpecifiedAsMinimumWidth helper function,
which tells us if the given column has a width attribute that means "make me as small as possible"
* nsTableFrame methods now no longer use mCellMap directly, they ask for it from
GetCellMap which gets the cell map from the first-in-flow.  Only the first-in-flow has a
cell map because the cellmap refers to the table as a single object, not to each table frame.
* Likewise, continuing table frames do not call BalanceColumnWidths or SetTableWidth
which are "global" operations.  Responsibility for these lies with the first-in-flow.


git-svn-id: svn://10.0.0.236/trunk@8020 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 16:16:43 +00:00
troy%netscape.com
00c45ce33c Added NS_RELEASE in ProcessTEXTAREATag(). This fixes a problem with
text area content objects being leaked


git-svn-id: svn://10.0.0.236/trunk@8018 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 05:21:43 +00:00
troy%netscape.com
b459abce80 Added NS_RELEASE of list box widget interface pointer
git-svn-id: svn://10.0.0.236/trunk@8017 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 04:45:30 +00:00
danm%netscape.com
2e33d85796 fix compilation error
git-svn-id: svn://10.0.0.236/trunk@8016 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:44:39 +00:00
troy%netscape.com
247047d6f2 Added NS_IF_RELEASE(mAttributes) to destructor
git-svn-id: svn://10.0.0.236/trunk@8015 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:32:39 +00:00
ramiro%netscape.com
e1893561e7 Add tool tips.
git-svn-id: svn://10.0.0.236/trunk@8014 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:19:24 +00:00
ramiro%netscape.com
3fa2781275 Fix geometry management.
git-svn-id: svn://10.0.0.236/trunk@8013 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:19:04 +00:00
ramiro%netscape.com
6d62afd5d0 Add combo test.
git-svn-id: svn://10.0.0.236/trunk@8010 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:06:39 +00:00
ramiro%netscape.com
f4cfbcda1f Update link behavior test.
git-svn-id: svn://10.0.0.236/trunk@8009 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:06:01 +00:00
cmanske%netscape.com
f9a003f82d Fixed bug that prevented placing caret in empty table cell
git-svn-id: svn://10.0.0.236/trunk@8008 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:04:11 +00:00
cmanske%netscape.com
e7aa118264 Tweaked fix for 311835
git-svn-id: svn://10.0.0.236/trunk@8007 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 02:44:43 +00:00
cmanske%netscape.com
01fe200e68 Tweaked fix for 312346 - enable OK button after automatically filling in Alt Text field in dialog
git-svn-id: svn://10.0.0.236/trunk@8006 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 02:35:41 +00:00
spider%netscape.com
ac462a8989 Using JULIAN_TREX_BRANCH again...
git-svn-id: svn://10.0.0.236/trunk@8005 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:56:17 +00:00
joki%netscape.com
0e0f4e9f83 Modify editor mode to work in frames
git-svn-id: svn://10.0.0.236/trunk@8004 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:51:00 +00:00
cmanske%netscape.com
1d32638925 Fixed warnings thanks to UNIX compilers
git-svn-id: svn://10.0.0.236/trunk@8003 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:38:35 +00:00
warren%netscape.com
76776edbf5 Fixed problem where enums were being cast to ints and misaligned causing crash.
git-svn-id: svn://10.0.0.236/trunk@8002 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:35:53 +00:00
warren%netscape.com
dd87774491 Fixed GetMIMEDescription for new plugin API.
git-svn-id: svn://10.0.0.236/trunk@8001 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:34:01 +00:00
sdagley%netscape.com
696d1114ff Fix a functionality problem with my previous checkin - change the MacFE stubs for FE_CheckConfirm and FE_SelectDialog to the workaround versions until the actual versions are implemented. Yes the tree is in flames but these files aren't related and folks are all over the problem (akkana and jfrancis have checked in fixes for X and Mac).
git-svn-id: svn://10.0.0.236/trunk@8000 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:21:46 +00:00
jfrancis%netscape.com
b7d0b14f7c need to use enum ED_PASTE_NORMAL instead of int 0.
git-svn-id: svn://10.0.0.236/trunk@7999 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:01:09 +00:00
mcafee%netscape.com
f1af70f3d3 Privacy is passing in nil arguments to ET_PostCheckConfirmBox(), we now check for this. a=joki
git-svn-id: svn://10.0.0.236/trunk@7998 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:57:55 +00:00
akkana%netscape.com
9b98bc699e The word from cmanske: build bustage on Mac requires use of enum types,
better do the same on Unix.


git-svn-id: svn://10.0.0.236/trunk@7997 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:49:22 +00:00
mcafee%netscape.com
9ef8edddc4 Stubs to fix breakage from privacy backend change.
git-svn-id: svn://10.0.0.236/trunk@7996 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:29:13 +00:00
mcafee%netscape.com
57344a9f71 Fixing more XFE breakage
git-svn-id: svn://10.0.0.236/trunk@7995 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:26:37 +00:00
leif%netscape.com
f87700665e Added instructions for using CVS.
git-svn-id: svn://10.0.0.236/trunk@7994 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:18:56 +00:00
cmanske%netscape.com
c9bab79483 Fixed missing () for function call Unlink. Stupid Windows compiler.
git-svn-id: svn://10.0.0.236/trunk@7993 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:07:50 +00:00
friedman%netscape.com
5747833a78 Add PerLDAP module.
git-svn-id: svn://10.0.0.236/trunk@7991 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:48:58 +00:00
joki%netscape.com
dc5a875ea9 Adding more window properties and slightly refCnt declaration.
git-svn-id: svn://10.0.0.236/trunk@7990 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:37:54 +00:00
leif
aa3ae981e5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7989 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:34:50 +00:00
leif
d527e8e9ac First version.
git-svn-id: svn://10.0.0.236/trunk@7988 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:34:45 +00:00
leif
f0786bfcad Cleanup.
git-svn-id: svn://10.0.0.236/trunk@7987 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:34:09 +00:00
leif
00efea357c Fixed the automated installs stuff...
git-svn-id: svn://10.0.0.236/trunk@7986 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:33:49 +00:00
mcafee%netscape.com
f244ced87e Re-adding FE_CheckConfirm() and FE_Select() to match the privacy backend changes.
git-svn-id: svn://10.0.0.236/trunk@7985 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:17:36 +00:00
clu%netscape.com
3952944dd8 adding a third parameter to EDT_PasteHTML
git-svn-id: svn://10.0.0.236/trunk@7984 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:16:16 +00:00
cmanske%netscape.com
524aea47b2 Fixed lots of Composer bugs. Implemented drag/drop/paste cells into existing table. Fixed Reload problems in Navigator (must reload from net to show doc color changes) - permission by blythe
git-svn-id: svn://10.0.0.236/trunk@7983 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:14:59 +00:00
akkana%netscape.com
d733007663 Track cmanske's editor backend API change to EDT_PasteHTML().
git-svn-id: svn://10.0.0.236/trunk@7982 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:14:34 +00:00
cmanske%netscape.com
a43dcf60dd Fixed lots of bugs. Implemented drag/drop/paste cells into existing table.
git-svn-id: svn://10.0.0.236/trunk@7981 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:14:33 +00:00
cmanske%netscape.com
d94f74549a Fixed lots of bugs, more implementation of Composer table editing: drag/drop/paste into existing tables.
git-svn-id: svn://10.0.0.236/trunk@7980 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:14:29 +00:00
troy%netscape.com
4b4f5da5cc Changed enumerator class to use a nsVoidArray object to manage the
list of child widgets


git-svn-id: svn://10.0.0.236/trunk@7979 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:01:01 +00:00
leif
b9ac02df78 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7978 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:41:10 +00:00
leif
e5bbed718c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7977 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:40:53 +00:00
ftang%netscape.com
46b9e3c2a8 add vietnamese support. Thanks Van Le levan@hotmail.com from the net
git-svn-id: svn://10.0.0.236/trunk@7976 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:25:08 +00:00
rpotts%netscape.com
964caa3cf2 Checking in changes from the branch rev 1.7.2.2...
git-svn-id: svn://10.0.0.236/trunk@7975 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:18:57 +00:00
sdagley%netscape.com
0f1f79fdd1 Add MacFE stubs for FE_CheckConfirm and FE_SelectDialog for morse's privacy code. danm acquired the appropriate permissions from the module owners for the XP spammage.
git-svn-id: svn://10.0.0.236/trunk@7974 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:17:51 +00:00
danm%netscape.com
bedd666c6c synching with FE callback API changes just made by sdagley
git-svn-id: svn://10.0.0.236/trunk@7973 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:14:38 +00:00
sdagley%netscape.com
d5018d8a54 Add MacFE stubs for FE_CheckConfirm and FE_SelectDialog for morse's privacy code. danm acquired the appropriate permissions from the module owners for the XP spammage.
git-svn-id: svn://10.0.0.236/trunk@7972 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:11:56 +00:00
leif
293e8b27b5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7971 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:03:42 +00:00
rjc%netscape.com
2dab5107cd Changes for better importing of IE favorites, Win9x/NT recent documents, and start menu.
git-svn-id: svn://10.0.0.236/trunk@7970 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:55:12 +00:00
akkana%netscape.com
c5d230a0fe Enable toolbars for Ender.
git-svn-id: svn://10.0.0.236/trunk@7969 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:51:02 +00:00
leif
636d56aae6 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7968 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:32:50 +00:00
rjc%netscape.com
1a88b30501 Now always show "More Options" in properties dialog.
git-svn-id: svn://10.0.0.236/trunk@7967 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:24:29 +00:00
despotdaemon%netscape.com
b7e7517807 Pseudo-automatic update of changes made by leif@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7966 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:20:49 +00:00
dcone%netscape.com
9d748269bf fixed project a memory size
git-svn-id: svn://10.0.0.236/trunk@7965 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:09:26 +00:00
dcone%netscape.com
9b406f30e2 new creation technique
git-svn-id: svn://10.0.0.236/trunk@7964 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:09:01 +00:00
dcone%netscape.com
012700d3f9 reworked the window creation
git-svn-id: svn://10.0.0.236/trunk@7963 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:08:11 +00:00
dcone%netscape.com
b1c554316f reworked message pump and window creation
git-svn-id: svn://10.0.0.236/trunk@7962 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:07:35 +00:00
dcone%netscape.com
84b722c90b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7961 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:06:30 +00:00
vidur%netscape.com
dbaa6e8414 Unqualified references to location need to go through a resolve method
git-svn-id: svn://10.0.0.236/trunk@7960 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:46:11 +00:00
michaelp%netscape.com
ea5ad75fbf fixed really nasty allocation error.
git-svn-id: svn://10.0.0.236/trunk@7959 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:39:30 +00:00
pinkerton%netscape.com
e113e25c26 Tree view icon support and refreshing individual rows.
git-svn-id: svn://10.0.0.236/trunk@7958 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:13:07 +00:00
pinkerton%netscape.com
0a6ba7b96e Dispose of FE icon data and refresh appropriate rows when necessary.
git-svn-id: svn://10.0.0.236/trunk@7957 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:12:36 +00:00
valeski%netscape.com
09a03524ca network/module/Makefile -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/makefile.win -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/nsIHttpUrl.h -
1. 310133 - Extended the nsIHttpUrl interface to include the AddMimeHeader() method which adds an http header to the url.

network/module/nsHttpUrl.cpp -
310133 - 1. Added support for the AddMimeHeader() method so http urls can have headers added outside of the actual data retrieval in netlib. This method calls NET_ParseMimeHeader() directly.
2. Added a public member, a pointer to the netlib URL_Struct that was created for this nsHttpUrlImpl. This pointer is the link between netlib and the outside world; the adhesive agent between url structs and nsURLImpls.

network/module/nsNetStream.h -
1. 310133 - Added a public memeber variable to nsConnectionInfo. It's a bool that tells us whether or not a redirect has occurred.

network/module/nsNetStream.cpp -
1. 310133 - Added initialization (FALSE) of new redirect member.

network/module/nsNetStubs.cpp -
1. 310133 - Implemented FE_SetRefreshURLTimer(). This function is called from NET_GetURL() when we recognize that we have a url to refresh.

network/module/nsStubContext.cpp -
1. 310133 - Added check to see if we're redirecting in stub_complete() which gets called when a stream completes. If we are, we don't want to release/destroy the pConsumer, this will happen in nsNetService's bam_exit_routine().

network/module/nsNetService.cpp -
1. 310133 - added nsConnectionInfo->redirect check in bam_exit_routine() so we give the consumer a successful binding event if the consumer is still around. This is iffy.


git-svn-id: svn://10.0.0.236/trunk@7956 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:10:49 +00:00
valeski%netscape.com
3deae00620 310133 - Injected code into HTMLContentSink::ProcessMETATag() to check for an "http-equiv" header (specifically the Refresh header). If found, an nsIHTTPUrl interface is retrieved so the "http-equiv" header can be added to the url struct.
git-svn-id: svn://10.0.0.236/trunk@7955 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:09:10 +00:00
valeski%netscape.com
51e34f63fd webshell/src/nsDocLoader.cpp -
310133 - 1. added LoadURLOnTimer() and CancelLoadURLTimer() implementations to the nsDocLoaderImpl class.
2. Changed nsDocumentBindInfo class to support the nsIRefreshUrl interface.
3. Changed the nsDocumentBindInfo contructor to set the m_ExtraInfo variable to the aExtraInfo pointer passed in. This must have been an oversight on the part of the original implementor.
4. Added a simple data placeholder class to hold the data that will be used to load the url on the timer.

webshell/src/nsWebShell.cpp -
1. 310133 - When the webshell is destructed or about to load a new url, the loader now calls CancelLoadURLTimer() which cancels and releases the timers.


git-svn-id: svn://10.0.0.236/trunk@7954 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:08:19 +00:00
valeski%netscape.com
82dfe101eb 310133 - Extended the nsIDocumentLoader interface to include LoadURLOnTimer() and CancelLoadURLTimer() methods.
git-svn-id: svn://10.0.0.236/trunk@7953 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:07:17 +00:00
valeski%netscape.com
4fb073d7b5 310133 - Added nsIRefreshUrl.h to the build. This file defines the nsIRefreshUrl interface which simply declares a method that allows a url to be refreshed/reloaded after a given interval.
git-svn-id: svn://10.0.0.236/trunk@7952 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:05:13 +00:00
ftang%netscape.com
9167901dff vietnamese Unicode conversion table. Thanks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7951 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:36:43 +00:00
ftang%netscape.com
09aa7d4f87 add vietnamese support. Thanks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7950 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:33:52 +00:00
ftang%netscape.com
2fd51b0ffd add/change vietnamese csid. Thanks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7949 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:29:31 +00:00
ftang%netscape.com
a7f64fc9f6 extend the unicode conversion from max 64 to max 128
git-svn-id: svn://10.0.0.236/trunk@7948 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:26:19 +00:00
vidur%netscape.com
fed6b7c5b9 Implemented document.location.
git-svn-id: svn://10.0.0.236/trunk@7947 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:08:01 +00:00
vidur%netscape.com
fcc42987f9 Implemented document.location and better handling of named lookups that fail.
git-svn-id: svn://10.0.0.236/trunk@7946 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:07:45 +00:00
vidur%netscape.com
a7c49785ad Fixed problem with mSpec being allocated with something other than PR_Malloc
git-svn-id: svn://10.0.0.236/trunk@7945 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:05:36 +00:00
clayton
e09bd6817c This version contains the ldap_set_default_rebind function.
git-svn-id: svn://10.0.0.236/trunk@7944 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 13:10:24 +00:00
leif
381c9be10d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7943 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 12:05:09 +00:00
leif
ca9f7091d0 Fixed bug with ldap_modify().
git-svn-id: svn://10.0.0.236/trunk@7942 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 12:02:27 +00:00
leif
3ae40d6231 Tons of smaller changes...
git-svn-id: svn://10.0.0.236/trunk@7941 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:56 +00:00
leif
8d40d7c328 This actually works now...
git-svn-id: svn://10.0.0.236/trunk@7940 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:40 +00:00
leif
650f5e5be6 Updated docs, minor changes...
git-svn-id: svn://10.0.0.236/trunk@7939 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:28 +00:00
leif
6795a4601b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7938 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:16 +00:00
leif
0ff2f0e243 Lots of minor changes...
git-svn-id: svn://10.0.0.236/trunk@7937 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:11 +00:00
leif
4df7ac1232 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7936 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 09:56:03 +00:00
leif
11c4d15935 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7935 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 09:35:23 +00:00
leif
d9ee777d88 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7934 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 09:28:05 +00:00
leif
6a76ad2121 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7933 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 09:15:00 +00:00
rickg%netscape.com
bfb431615a a few more bug fixes. Ain't life grand
git-svn-id: svn://10.0.0.236/trunk@7931 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:51:52 +00:00
rickg%netscape.com
306a961f75 a host of propagation bugs and a comment bug to boot
git-svn-id: svn://10.0.0.236/trunk@7930 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:33:18 +00:00
rpotts%netscape.com
246f5b3065 Fixed OnDataAvailable(...) to abort the stream if it returns a failure code...
git-svn-id: svn://10.0.0.236/trunk@7929 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:19:49 +00:00
law%netscape.com
1674edc74a Add support for showing stand-alone preferences
git-svn-id: svn://10.0.0.236/trunk@7924 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 07:09:49 +00:00
law%netscape.com
a761017acc Now using new nsIDefaultBrowser interface
git-svn-id: svn://10.0.0.236/trunk@7923 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 07:07:20 +00:00
law%netscape.com
741055ce9e Adding nsIDefaultBrowser.cpp to the build
git-svn-id: svn://10.0.0.236/trunk@7922 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 07:05:48 +00:00
law%netscape.com
b5b7132400 Suppport for m_bShowPrefsOnStartup
git-svn-id: svn://10.0.0.236/trunk@7921 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 07:02:55 +00:00
law%netscape.com
6ab9e7bf1d Adding support for Details... button on Default Browser dialog
git-svn-id: svn://10.0.0.236/trunk@7920 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:58:58 +00:00
law%netscape.com
4b476db077 Added support for -prefs cmd line arg
git-svn-id: svn://10.0.0.236/trunk@7919 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:50:08 +00:00
law%netscape.com
f81a5a6de9 Adding m_bShowPrefsOnStartup to handle showing prefs on startup (duh)
git-svn-id: svn://10.0.0.236/trunk@7918 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:47:17 +00:00
law%netscape.com
f329135fce Enabled new Details... button on Default Browser dialog
git-svn-id: svn://10.0.0.236/trunk@7917 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:44:47 +00:00
law%netscape.com
3efd86a555 Added #define for new Details... button on Default Browser dialog
git-svn-id: svn://10.0.0.236/trunk@7916 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:42:19 +00:00
law%netscape.com
4432299836 New 'default browser' interface
git-svn-id: svn://10.0.0.236/trunk@7915 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:36:39 +00:00
law%netscape.com
b83f90da3f Adding support for new 'desktop' preferences
git-svn-id: svn://10.0.0.236/trunk@7914 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:34:31 +00:00
vidur%netscape.com
e93758344d Implemented Reload() on nsIWebShell
git-svn-id: svn://10.0.0.236/trunk@7911 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:49:16 +00:00
vidur%netscape.com
3357387df9 Correctly implemented reload
git-svn-id: svn://10.0.0.236/trunk@7910 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:48:57 +00:00
wtc%netscape.com
c73172bda1 Deleted the code that sets BYTE_ORDER to LITTLE_ENDIAN on Linux, whic
on big-endian machines.  Use __osf__ instead of __alpha to identify
Digital Unix, which has <machine/endian.h>.
Files changed: mozilla/include/mcom_db.h, mozilla/dbm/include/mcom_db.h.


git-svn-id: svn://10.0.0.236/trunk@7909 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:47:03 +00:00
clayton
1861d5eee1 Removed a few stale files
Updated the MANIFEST to reflect these removals
Made a few minor changes to the top bits of test_api


git-svn-id: svn://10.0.0.236/trunk@7908 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:40:02 +00:00
wtc%netscape.com
8d30332e71 Use $< so that VPATH works.
git-svn-id: svn://10.0.0.236/trunk@7907 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:39:45 +00:00
wtc%netscape.com
b0a48fbf1e Increase the timer interval from 1ms to 8ms.
git-svn-id: svn://10.0.0.236/trunk@7906 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:38:42 +00:00
vidur%netscape.com
0108cd6479 Added modifyHistory option to LoadURL.
git-svn-id: svn://10.0.0.236/trunk@7905 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:36:42 +00:00
vidur%netscape.com
7ea13344a9 Added better handling of search component of URL. Added GetSearch() method to nsIURL.
git-svn-id: svn://10.0.0.236/trunk@7904 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:35:37 +00:00
wtc%netscape.com
f29f8fce60 OPTIMIZER: use -O2 in optimized builds. Do not use -g (for now) in
debug builds because it would produce a huge executable.


git-svn-id: svn://10.0.0.236/trunk@7902 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:35:20 +00:00
vidur%netscape.com
b4cfda9c36 Implemented window.location
git-svn-id: svn://10.0.0.236/trunk@7901 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:34:53 +00:00
clayton
c009851510 Release Notes
git-svn-id: svn://10.0.0.236/trunk@7900 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:34:42 +00:00
clayton
fa9ddfc227 Fixed the documentation a bit. Still needs lots of work.
git-svn-id: svn://10.0.0.236/trunk@7898 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:11:20 +00:00
spider%netscape.com
171bde7d61 Create a GC for toplevel window to. Some app's need to modify that
DC also.


git-svn-id: svn://10.0.0.236/trunk@7896 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 02:36:40 +00:00
mcafee%netscape.com
026f6b6932 Backing out stubs, waiting for mac.
git-svn-id: svn://10.0.0.236/trunk@7895 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 01:04:47 +00:00
michaelp%netscape.com
07f92ff77f fixed build.
git-svn-id: svn://10.0.0.236/trunk@7893 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 00:07:09 +00:00
michaelp%netscape.com
c340b6115c fixed crash where widgets would return null clientdata because they were going
away, but the view was assuming the clientdata was non-null.


git-svn-id: svn://10.0.0.236/trunk@7892 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 00:03:41 +00:00
mcafee%netscape.com
3b3f387ff8 Checking in stubs for FE_CheckConfirm() and FE_SelectDialog() to match backend changes from danm.
git-svn-id: svn://10.0.0.236/trunk@7891 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 00:02:06 +00:00
joki%netscape.com
9248af60f9 Adding url and lineno to script evaluation
git-svn-id: svn://10.0.0.236/trunk@7890 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 23:37:50 +00:00
despotdaemon%netscape.com
9a07fcffbe Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7889 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 23:25:07 +00:00
toshok%netscape.com
503bc43e9d Fix non windows build - FE_CheckConfirm needs to have the same number of arguments in both the XP_WIN/not XPWIN cases.
git-svn-id: svn://10.0.0.236/trunk@7888 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:59:36 +00:00
radha%netscape.com
bdfe2c7f8d Cut and refresh context menus fixed. basic code for "rename" context menu. It doesn't work though.
git-svn-id: svn://10.0.0.236/trunk@7887 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:55:16 +00:00
toshok%netscape.com
8cf64a1e7a add elements for SUPER and SUB, so that we don't lose the basline adjustment on resize (bug 313426).
git-svn-id: svn://10.0.0.236/trunk@7886 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:33:32 +00:00
joki%netscape.com
e3c22b329f Fix script src equals problem when src contained in quotes.
git-svn-id: svn://10.0.0.236/trunk@7885 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:28:50 +00:00
mccabe%netscape.com
6b768767e5 Towards running w/o crashing on alpha linux; add -mieee flag to ask
the compiler to puhleeze let us used denormalized floating point
values, as required by the ECMA spec.  Thanks to various contributors,
including Torsten Rüger <torsten@ponton-hamburg.de>, for working on
numeric issues.  Fix courtesy wtc.


git-svn-id: svn://10.0.0.236/trunk@7884 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:09:21 +00:00
michaelp%netscape.com
57d078a555 with -np plugins will no longer be initialized due to frames.
git-svn-id: svn://10.0.0.236/trunk@7883 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:06:00 +00:00
karnaze%netscape.com
4b3c007400 fixed destructor problems causing www.goto.com to crash when hitting a link
git-svn-id: svn://10.0.0.236/trunk@7882 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:50:11 +00:00
danm%netscape.com
12210d405c XP_WIN versions of the privacy FE dialogs
git-svn-id: svn://10.0.0.236/trunk@7881 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:46:09 +00:00
joki%netscape.com
7d9a5f054b Change so browser window doesn't assume it has toolbars.
git-svn-id: svn://10.0.0.236/trunk@7878 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:41:05 +00:00
spider%netscape.com
8ab71a4f33 win fix
git-svn-id: svn://10.0.0.236/trunk@7877 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:36:51 +00:00
saari%netscape.com
4a3b86fd65 Mac only I/O buffer size increases
Eliminating speed bottlenecks.


git-svn-id: svn://10.0.0.236/trunk@7875 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:30:26 +00:00
kmcclusk%netscape.com
74d9f63edf Removed bogus ValidateDocData, XP_ReBuffer and XP_Trace stubs. They exists in
their correct form in nsStubs.cpp


git-svn-id: svn://10.0.0.236/trunk@7874 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:24:25 +00:00
wtc%netscape.com
eab72fa10c Linux/Alpha needs the -mieee compiler flag to turn on IEEE floating
point arithmetics.


git-svn-id: svn://10.0.0.236/trunk@7873 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:18:20 +00:00
michaelp%netscape.com
245e23bf94 we now allocate a single offscreen buffer.
git-svn-id: svn://10.0.0.236/trunk@7872 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:17:52 +00:00
kmcclusk%netscape.com
effee43052 Added output to indicate when a stubbed function is called.
git-svn-id: svn://10.0.0.236/trunk@7871 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:13:52 +00:00
kmcclusk%netscape.com
cd2fea256c Added stubs for ValidateDocData XP_ReBuffer and XP_Trace to
get Linux build to work.


git-svn-id: svn://10.0.0.236/trunk@7870 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:04:30 +00:00
kipp%netscape.com
b2394552d2 Allocate IID's for nsLoggingSink and nsILoggingSink
git-svn-id: svn://10.0.0.236/trunk@7869 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:04:13 +00:00
ftang%netscape.com
781c66d991 add vps.u{f,t} . Thanks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7868 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:00:20 +00:00
ftang%netscape.com
d967652794 add credit lines
git-svn-id: svn://10.0.0.236/trunk@7867 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:58:12 +00:00
leif
e2da977586 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7866 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:56:38 +00:00
rjc%netscape.com
faf5a18763 Small context changes for HT_Properties() and HT_Find().
git-svn-id: svn://10.0.0.236/trunk@7863 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:17:23 +00:00
rods%netscape.com
946b729944 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/trunk@7862 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:10:41 +00:00
rods%netscape.com
2fae720c82 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/trunk@7861 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:05:25 +00:00
rjc%netscape.com
de0f1197c4 Export XP_StripLine (needed by RDF)
git-svn-id: svn://10.0.0.236/trunk@7860 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:58:53 +00:00
rjc%netscape.com
9a73eb510a Fix SMART_MAIL for Mac.
git-svn-id: svn://10.0.0.236/trunk@7859 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:58:08 +00:00
kmcclusk%netscape.com
5121e1c95d Save the alpha buffer in a member variable.
git-svn-id: svn://10.0.0.236/trunk@7858 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:57:05 +00:00
kmcclusk%netscape.com
93e107e40c Added unix support for PR_ProcessPendingEvents.
git-svn-id: svn://10.0.0.236/trunk@7857 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:54:39 +00:00
kmcclusk%netscape.com
77190afa2b Added support for PR_ProcessPendingEvents. This allows the unix viewer to
support clicks on links + submitting form data.


git-svn-id: svn://10.0.0.236/trunk@7856 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:52:03 +00:00
michaelp%netscape.com
12aba7b5f6 fixed *massive* memory leak.
git-svn-id: svn://10.0.0.236/trunk@7855 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:50:13 +00:00
mccabe%netscape.com
0124b1e0d6 modified #if from __alpha to __osf__, because Alpha/Linux also runs on
an alpha processor, and we really want to know osf instead.  Courtesy
wtc.


git-svn-id: svn://10.0.0.236/trunk@7854 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:45:04 +00:00
ftang%netscape.com
48bed973ed Add vps.txt for unicode conversion . Thaks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7853 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:18:59 +00:00
ftang%netscape.com
80c21af885 fix problem with #
git-svn-id: svn://10.0.0.236/trunk@7852 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:16:01 +00:00
ftang%netscape.com
67f2e2e9d0 fix # problem
git-svn-id: svn://10.0.0.236/trunk@7851 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:10:35 +00:00
ftang%netscape.com
449630c7aa Merge changes from nhotta's fix in 4.5. Approved by blythe
git-svn-id: svn://10.0.0.236/trunk@7850 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:03:57 +00:00
pinkerton%netscape.com
0d81ee22e3 Bring in edges on popdown tree for sunken bevel.
git-svn-id: svn://10.0.0.236/trunk@7849 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:48:42 +00:00
pinkerton%netscape.com
5dd51c3800 Draw popdown tree with a sunken bevel border.
git-svn-id: svn://10.0.0.236/trunk@7848 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:48:27 +00:00
pinkerton%netscape.com
952cfce6fc No longer try and cache the popdown tree. Just delete/recreate every time because of problems with LScroller and changing windows.
git-svn-id: svn://10.0.0.236/trunk@7847 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:47:54 +00:00
blythe%netscape.com
533a094be9 fix from martin.nilsson@bigfoot.com for transparency problems in bitmap
git-svn-id: svn://10.0.0.236/trunk@7846 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:47:46 +00:00
peterl%netscape.com
0b78318def made parse color compress whitespace first
git-svn-id: svn://10.0.0.236/trunk@7845 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:28:55 +00:00
spider%netscape.com
871644f0ce win fix
git-svn-id: svn://10.0.0.236/trunk@7844 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:06:34 +00:00
kostello%netscape.com
e44707e1f4 Added widgetDebug.o as a target
git-svn-id: svn://10.0.0.236/trunk@7843 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:05:30 +00:00
spider%netscape.com
8389ba629e more platform libs
git-svn-id: svn://10.0.0.236/trunk@7842 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:05:19 +00:00
kostello%netscape.com
a248b2ece8 Added support for widget project
git-svn-id: svn://10.0.0.236/trunk@7841 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:02:57 +00:00
kipp%netscape.com
50897d17a2 Use new forwarding macros
git-svn-id: svn://10.0.0.236/trunk@7840 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:00:04 +00:00
spider%netscape.com
2c6a47a86f Adding Verions_number
git-svn-id: svn://10.0.0.236/trunk@7839 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:59:45 +00:00
kipp%netscape.com
1bc6522fc6 Revised forwarding macros
git-svn-id: svn://10.0.0.236/trunk@7838 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:57:25 +00:00
vidur%netscape.com
f13227df6b Correctly deal with BODY tag BACKGROUND attribute that is an empty string.
git-svn-id: svn://10.0.0.236/trunk@7837 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:51:31 +00:00
vidur%netscape.com
1e93a4fa52 null check before we release a stream in the failure case.
git-svn-id: svn://10.0.0.236/trunk@7835 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:14:54 +00:00
dcone%netscape.com
9e295aa4b3 added client routine
git-svn-id: svn://10.0.0.236/trunk@7834 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 15:23:23 +00:00
dcone%netscape.com
bb56671c90 added client routine
git-svn-id: svn://10.0.0.236/trunk@7833 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 15:23:04 +00:00
dcone%netscape.com
4c73c57cc0 took out method causing link errors
git-svn-id: svn://10.0.0.236/trunk@7832 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 13:46:34 +00:00
dcone%netscape.com
efdb6ba539 took out some functions causing link problem
git-svn-id: svn://10.0.0.236/trunk@7831 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 13:46:08 +00:00
dcone%netscape.com
642ce908b4 put quit when a key is hit - temporary
git-svn-id: svn://10.0.0.236/trunk@7830 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 13:45:13 +00:00
kin%netscape.com
5a4087e268 Fix for bug #313408: Need to update HG10297 and HG81272 macros in rosetta.h
and fix for Memory leak introduced in yesterdays checkin.
Files checked in: Command.cpp, Command.h and EditorView.cpp


git-svn-id: svn://10.0.0.236/trunk@7829 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 12:38:38 +00:00
chuckb%netscape.com
931784787e inadvertant change
git-svn-id: svn://10.0.0.236/trunk@7827 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 11:01:24 +00:00
chuckb%netscape.com
fe67c57f68 Mac project
git-svn-id: svn://10.0.0.236/trunk@7822 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 10:54:12 +00:00
chuckb%netscape.com
8208d07569 Manifest file
git-svn-id: svn://10.0.0.236/trunk@7821 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 10:52:51 +00:00
chuckb%netscape.com
3b12429626 DIRECTORY_C_SDK_30_BRANCH to TRUNK merge
git-svn-id: svn://10.0.0.236/trunk@7820 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 10:44:46 +00:00
chuckb%netscape.com
371fd21165 DIRECTORY_C_SDK_30_BRANCH to TRUNK merge
git-svn-id: svn://10.0.0.236/trunk@7819 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 10:35:35 +00:00
rickg%netscape.com
2167e0743c many parser bugs; better backward propagation
git-svn-id: svn://10.0.0.236/trunk@7818 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 08:53:55 +00:00
rickg%netscape.com
a6d383461e fixed objectAT() offset error
git-svn-id: svn://10.0.0.236/trunk@7817 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 08:53:03 +00:00
troy%netscape.com
f2ddc6fce9 Fixed potential leak of alpha bits if image is destroyed before
being optimized


git-svn-id: svn://10.0.0.236/trunk@7814 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:40:03 +00:00
troy%netscape.com
7846ca35d8 Fixed leak of an HTML Meta content object
git-svn-id: svn://10.0.0.236/trunk@7813 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:27:21 +00:00
joki%netscape.com
1e5f0b9259 Adding new doc loader observer interface.
git-svn-id: svn://10.0.0.236/trunk@7812 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:15:38 +00:00
troy%netscape.com
828d5f7aa0 Made sure event state manager was always released
git-svn-id: svn://10.0.0.236/trunk@7811 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:09:07 +00:00
joki%netscape.com
9106b337ee Adding partial load event support, removing script context Run_GC method adding partial script error support
git-svn-id: svn://10.0.0.236/trunk@7810 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:56:40 +00:00
troy%netscape.com
96b2f94853 Eliminated circular reference between table row and table cell
git-svn-id: svn://10.0.0.236/trunk@7809 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:45:17 +00:00
troy%netscape.com
aa64a059e4 Added release of row group context object
git-svn-id: svn://10.0.0.236/trunk@7808 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:09:43 +00:00
morse%netscape.com
bbdb3cc988 improved signon viewer
git-svn-id: svn://10.0.0.236/trunk@7807 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:03:33 +00:00
morse%netscape.com
ddca9da0a2 improved cookie viewer, approved by valeski
git-svn-id: svn://10.0.0.236/trunk@7806 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 03:59:45 +00:00
troy%netscape.com
4293d95f15 Eliminated memory leak of a content object in ProcessInitialReflow() when
doing special processing for list-item containers


git-svn-id: svn://10.0.0.236/trunk@7804 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 03:22:24 +00:00
michaelp%netscape.com
218b5af820 added changes for using directx draw with msvc 5.0.
git-svn-id: svn://10.0.0.236/trunk@7803 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 02:21:06 +00:00
karnaze%netscape.com
1dc52f388d ref counting, destruction fixes
git-svn-id: svn://10.0.0.236/trunk@7802 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 02:04:41 +00:00
troy%netscape.com
6b980541fe Fixed a leak of the HTML title
git-svn-id: svn://10.0.0.236/trunk@7801 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:36:25 +00:00
spider%netscape.com
f5f5f829b6 Fix Raptor Unix bustage. SignleSignon not supported when using modular
netlib.


git-svn-id: svn://10.0.0.236/trunk@7800 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:31:21 +00:00
troy%netscape.com
641b8e79ca Fixed leak of a bullet content object
git-svn-id: svn://10.0.0.236/trunk@7799 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:26:25 +00:00
donm%netscape.com
26ba1bf6a8 Fixing 5.0 bustage. This is a big hack. Kin will fix soon.
git-svn-id: svn://10.0.0.236/trunk@7798 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:14:26 +00:00
michaelp%netscape.com
7d07ec46f1 fixed nasty DeleteDC() in destructor.
git-svn-id: svn://10.0.0.236/trunk@7797 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:05:40 +00:00
michaelp%netscape.com
1d2a0b6edf changes to support use of DirectDraw.
git-svn-id: svn://10.0.0.236/trunk@7796 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:59:00 +00:00
kostello%netscape.com
2902b0ff40 Synched with windows build
git-svn-id: svn://10.0.0.236/trunk@7795 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:52:13 +00:00
cmanske%netscape.com
ef6f578730 Removing comment that doesn't apply anymore. With permission of pnunn
git-svn-id: svn://10.0.0.236/trunk@7794 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:40:33 +00:00
gagan%netscape.com
d32b05510e Fixed bug #313386. Very classic example of not using const keyword. rev/cmanske app/pnunn.
git-svn-id: svn://10.0.0.236/trunk@7793 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:33:53 +00:00
spider%netscape.com
1eb74866f3 Use Nav45 branch instead of julian
git-svn-id: svn://10.0.0.236/trunk@7792 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:28:26 +00:00
spider%netscape.com
d34a9f8b08 Use Nav45_BRANCH of julian instead of TREX_BRANCH
git-svn-id: svn://10.0.0.236/trunk@7791 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:25:05 +00:00
peterl%netscape.com
74371d3099 re-enable non-truetype fonts
git-svn-id: svn://10.0.0.236/trunk@7789 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 23:54:29 +00:00
peterl%netscape.com
5d334db003 force aliasing of courier font
git-svn-id: svn://10.0.0.236/trunk@7788 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 23:54:04 +00:00
kostello%netscape.com
54564cce76 Added nsHTMLEntities.h
git-svn-id: svn://10.0.0.236/trunk@7787 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 23:42:06 +00:00
akkana%netscape.com
640890cfd1 Don't show caret on inactive Ender areas. Reviewed by cmanske.
git-svn-id: svn://10.0.0.236/trunk@7786 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:59:45 +00:00
wtc%netscape.com
e239c9639f Added dgux.mk, contributed by Marc Fraioli <fraioli@dg-rtp.dg.com>.
git-svn-id: svn://10.0.0.236/trunk@7785 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:47:22 +00:00
troy%netscape.com
abd69964ac Added NS_RELEASE in FlushText() of interface returned from QueryInterface()
git-svn-id: svn://10.0.0.236/trunk@7784 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:44:28 +00:00
ftang%netscape.com
f1bb7fc419 fix bug 302137 by fallback to - on Mac. This is not really a fix . The real fix won't be here untill we have full Unicode support
git-svn-id: svn://10.0.0.236/trunk@7783 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:40:06 +00:00
wtc%netscape.com
c6841eb8dc Checked in DG/UX port contributed by Marc Fraioli <fraioli@dg-rtp.dg.com>.
New files: dgux.mk, _dgux.cfg, _dgux.h, and dgux.c.
Files changed: lib/msgc/tests/Makefile, pr/include/md/Makefile,
_unixos.h, prosdep.h, prsocket.c, pr/src/md/unix/Makefile,
pr/src/md/unix/objs.mk, unix.c.


git-svn-id: svn://10.0.0.236/trunk@7782 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:29:48 +00:00
ftang%netscape.com
c263a0fa0b add koi8u to the cyrillic list, also fix bug 76586 by adding font list rearrange code
git-svn-id: svn://10.0.0.236/trunk@7781 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:22:42 +00:00
pnunn%netscape.com
50e4394083 still need jerror.h. Thanks, Rick.
git-svn-id: svn://10.0.0.236/trunk@7780 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:08:39 +00:00
kin%netscape.com
eb56983f0b Modifications neccessary to route commands to the correct ENDER object
(HTMLArea) on the page. Approved and reviewd by ramiro and akkana.

Command.cpp
Command.h
    - Modified the XFE_ViewCommand constructor to take a view
      argument (defaults to NULL when not provided). If not NULL,
      this view is used to dispatch the command.

EditorView.cpp
EditorView.h
    - Modified all XFE_EditorViewCommands to take a view argument
      for their constructors to pass on to XFE_ViewCommand. Only
      ENDERs pass non-NULL views to the constructors, so the Editor
      still dispatches commands the way it always has.

Frame.cpp
Frame.h
    - Modified xfe_ExecuteCommand to take a cmdDispatcher argument.
      If non-null, it is casted to either a frame or view and then
      used to dispatch the command passed in. If it is null,
      xfe_ExecuteCommand dispatches as it always has.

Menu.cpp
Menu.h
PopupMenu.cpp
PopupMenu.h
    - Modified XFE_Menu and XFE_PopupMenu constructors to take a
      cmdDispatch argument. If it is non null, it is used to dispatch
      the command that is attatched to the menuitem.

MozillaApp.cpp
    - Modified xfeDoCommandAction ENDER code to call xfe_ExecuteCommand(),
      passing in the view as the cmdDispatcher.

View.cpp
    - Removed unused local variable in removeView(), to fix compiler
      warning.
    - Modified getCommandView() to recurse down the entire View tree
      to find a view that can handle a command. The old code only looked
      one level deep.


git-svn-id: svn://10.0.0.236/trunk@7778 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:50:47 +00:00
jgellman%netscape.com
1aa1a35e7d got jwz's libmime changes building on windows
git-svn-id: svn://10.0.0.236/trunk@7777 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:30:43 +00:00
jgellman%netscape.com
b933a69e6a added ifdef's needed
git-svn-id: svn://10.0.0.236/trunk@7776 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:27:14 +00:00
jgellman%netscape.com
489cc97f73 got jwz's libmime changes building on windows
git-svn-id: svn://10.0.0.236/trunk@7775 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:24:29 +00:00
ftang%netscape.com
2583671f73 fix typo in Ukrainian
git-svn-id: svn://10.0.0.236/trunk@7774 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:14:47 +00:00
karnaze%netscape.com
3e00e74d71 removed references to nsIWebFrame
git-svn-id: svn://10.0.0.236/trunk@7773 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:13:37 +00:00
pnunn%netscape.com
c325f7569e Removed extraneous include file. Tom Lane, committed by pnunn.
git-svn-id: svn://10.0.0.236/trunk@7772 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:45:59 +00:00
pnunn%netscape.com
da1819c629 remove dependencies on jpeg files. Tom Lane, committed by pnunn.
git-svn-id: svn://10.0.0.236/trunk@7771 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:45:18 +00:00
dcone%netscape.com
f0ea5eb238 mac initialzation is now working
git-svn-id: svn://10.0.0.236/trunk@7770 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:26:01 +00:00
dcone%netscape.com
cba5da1580 implemented some messaging
git-svn-id: svn://10.0.0.236/trunk@7769 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:25:31 +00:00
dcone%netscape.com
731a26d264 started messaging
git-svn-id: svn://10.0.0.236/trunk@7768 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:25:18 +00:00
dcone%netscape.com
540f20c743 updated message pump
git-svn-id: svn://10.0.0.236/trunk@7767 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:17:06 +00:00
dcone%netscape.com
376a356f16 update to use a mac Widgettest.cpp
git-svn-id: svn://10.0.0.236/trunk@7766 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:16:08 +00:00
dcone%netscape.com
a56281e7e8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7765 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:15:33 +00:00
pinkerton%netscape.com
6419c99b49 Support for pop-down tree views.
git-svn-id: svn://10.0.0.236/trunk@7764 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:20:01 +00:00
pinkerton%netscape.com
3bf9b78322 Don't draw over popdown tree if showing.
git-svn-id: svn://10.0.0.236/trunk@7763 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:19:35 +00:00
pinkerton%netscape.com
4f3ff0508d Overrides for the popdown flex table to close at the right times, etc.
git-svn-id: svn://10.0.0.236/trunk@7762 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:19:18 +00:00
pinkerton%netscape.com
96f14004b1 Build a window from an HT_Resource or RDF_Resource.
git-svn-id: svn://10.0.0.236/trunk@7761 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:18:57 +00:00
pinkerton%netscape.com
d1f792fc78 Hacks for showing a container docked, popup, or standalone, with a hack for drag and drop.
git-svn-id: svn://10.0.0.236/trunk@7760 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:17:36 +00:00
pinkerton%netscape.com
dcb26bda57 Better support for opening a tree popup, docked, or standalone.
git-svn-id: svn://10.0.0.236/trunk@7759 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:17:19 +00:00
pinkerton%netscape.com
7dd8faa2dc Register popdown tree classes.
git-svn-id: svn://10.0.0.236/trunk@7758 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:16:37 +00:00
pinkerton%netscape.com
04772e56d3 API to Create panes from RDF_Resources as well.
git-svn-id: svn://10.0.0.236/trunk@7757 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:15:59 +00:00
pinkerton%netscape.com
b99e4334e1 Fix redraw problem on refresh with inline editing.
git-svn-id: svn://10.0.0.236/trunk@7756 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:15:28 +00:00
pinkerton%netscape.com
34eb41447f Don't draw over the popdown tree if one is showing.
git-svn-id: svn://10.0.0.236/trunk@7755 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:15:05 +00:00
pinkerton%netscape.com
98ebb9e586 Popdown tree.
git-svn-id: svn://10.0.0.236/trunk@7754 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:14:40 +00:00
pinkerton%netscape.com
041d22a313 Support command to popup standalone on any HT_Resource and make Bookmarks/History to do the same.
git-svn-id: svn://10.0.0.236/trunk@7753 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:14:28 +00:00
morse%netscape.com
3b61327da2 changes for cookie and single signon viewers, reviewed and approved by relliott
git-svn-id: svn://10.0.0.236/trunk@7752 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:12:45 +00:00
kin%netscape.com
81a42507bd Modified lo_BeginTextareaTag() to call XP_STRCASECMP() when looking for
"HTMLAREA". Approved by nisheeth and toshok.


git-svn-id: svn://10.0.0.236/trunk@7751 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:10:47 +00:00
valeski%netscape.com
9b9206ef08 added the transfer_encoding reset code to all builds (no longer #ifdef'd) and placed it everywhere we were doing content_encoding clearing. Also did some reformatting. Ran the transfer_encoding stuff by gagan.
git-svn-id: svn://10.0.0.236/trunk@7750 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:07:55 +00:00
karnaze%netscape.com
1a7586d04a put back previous sizing of text fields due to changes in fixed width font
git-svn-id: svn://10.0.0.236/trunk@7749 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:07:25 +00:00
karnaze%netscape.com
cef6bb6be9 removed nsIWebFrame
git-svn-id: svn://10.0.0.236/trunk@7748 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 18:52:35 +00:00
buster%netscape.com
06d077240f first cut at implementing %-width columns inside of auto-width tables.
This is about 50% done, which covers about 90% of the cases.


git-svn-id: svn://10.0.0.236/trunk@7747 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 18:42:10 +00:00
donm%netscape.com
76143ccc43 adding MOZ_SINGLESIGNON and MOZ_COOKIEMANAGE to MOZ_MEDIUM define.
git-svn-id: svn://10.0.0.236/trunk@7746 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 18:41:01 +00:00
kipp%netscape.com
b8c3881140 Work around frame-appended reflows that don't grow the child of the body
git-svn-id: svn://10.0.0.236/trunk@7744 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 17:38:46 +00:00
karnaze%netscape.com
83d81a5ec8 added missing NS_RELEASE statements
git-svn-id: svn://10.0.0.236/trunk@7743 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 16:52:05 +00:00
kipp%netscape.com
2b2afba13d Elminated top/bottom margins around center tags
git-svn-id: svn://10.0.0.236/trunk@7741 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 15:32:12 +00:00
ramiro%netscape.com
aa9474bd0c Move the tree widgetry from XFE_RDFView to XFE_RDFTreeView.
git-svn-id: svn://10.0.0.236/trunk@7739 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 11:51:25 +00:00
ramiro%netscape.com
12c2311fa4 Make the stand alone state of XFE_RDFView a member that can be toggled.
Fix a bunch of warnings.
Make the notif_cb a static member of XFE_NavCenterView as it should be.


git-svn-id: svn://10.0.0.236/trunk@7737 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 09:10:23 +00:00
valeski%netscape.com
45a036d316 nglayout - clear the transfer encoding field in the url_s before doing a redirect so it doesn't interfer with the redirecting url stream selection
git-svn-id: svn://10.0.0.236/trunk@7734 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 05:19:03 +00:00
valeski%netscape.com
f271e1406c another memory leak and formatting changes
git-svn-id: svn://10.0.0.236/trunk@7733 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 04:52:12 +00:00
troy%netscape.com
962a468486 Fixed a memory leak. In some error cases we weren't calling NR_RegClose()
git-svn-id: svn://10.0.0.236/trunk@7730 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 04:06:28 +00:00
nisheeth%netscape.com
4ab2c23d31 Fixes bug 311240. We were crashing in layout when a new bookmark was added.
The real problem here is that RDF is overloading the HTML stream converter to 
get at the META tags.  I have a hacky fix to layout that checks for the special 
RDF slave context type and does not layout any tag other than META and HEAD.
This will get backed out as soon as we come up with a better solution...


git-svn-id: svn://10.0.0.236/trunk@7729 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 04:03:10 +00:00
danm%netscape.com
a9e4d75b26 moved privacy prefs to their own (private) pane
git-svn-id: svn://10.0.0.236/trunk@7728 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 03:40:14 +00:00
valeski%netscape.com
f2ee0c64b3 someone forgot to add parenthesis which could cause memory leaks on redirects. Not anymore! Parenthesis added.
git-svn-id: svn://10.0.0.236/trunk@7727 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 02:59:31 +00:00
spider%netscape.com
e93ed8d2c4 Add support for DEBUG with USERNAME
git-svn-id: svn://10.0.0.236/trunk@7717 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:30:09 +00:00
wtc%netscape.com
f11d0a9875 Deleted obsolete code for OSF1V4.
git-svn-id: svn://10.0.0.236/trunk@7716 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:23:59 +00:00
wtc%netscape.com
481ad4d991 Enable pthreads-based build. The key is to ifdef all the code related
to the "Xt hack" with SW_THREADS.  I believe the Xt hack is only needed
by user-level threads (i.e., SW_THREADS).


git-svn-id: svn://10.0.0.236/trunk@7715 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:19:29 +00:00
kipp%netscape.com
927fe7a55a Make sure text at the end of the document is reflowed properly
git-svn-id: svn://10.0.0.236/trunk@7714 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:19:11 +00:00
wtc%netscape.com
afc7ecd5b1 Miscellaneous fixes: Removed redundant occurences of libcaps.a and
libxpcom.a in BASIC_LIBS.  They only need to appear in BASIC_LIBS_2.
Put $(NSPR_LIB) in front of $(OTHER_LIBS) and $(OTHER_DYN_MOTIF_LIBS).
Enable pthreads-based build for Linux.  Define DYNAMIC_SYMBOLS_F to
be null on OSF1.


git-svn-id: svn://10.0.0.236/trunk@7712 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:18:07 +00:00
wtc%netscape.com
89f4721199 Do not declare variables in a 'for' statement because the scope
of such variables is compiler-dependent.  (approved by kipp@netscape.com)


git-svn-id: svn://10.0.0.236/trunk@7711 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:10:36 +00:00
wtc%netscape.com
9a1521192c Shared libraries on FreeBSD must have version numbers in their names.
So set DLL_SUFFIX to so.1.0.  Thanks to Bret Ford <bford@uop.cs.uop.edu>
for reporting the problem and Thomas Mueller <tmueller@privat.prodata.de>
for verifying the fix.


git-svn-id: svn://10.0.0.236/trunk@7710 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:42:03 +00:00
wtc%netscape.com
542d02e511 The local threads don't work on RedHat 5.1 Sparc Linux (with glibc2).
I suspect it's because glibc2's setjmp/longjmp (Sparc version) does
not allow us to modify the jmp_buf.  So I added some comments and
a #error directive to force the build to fail.


git-svn-id: svn://10.0.0.236/trunk@7709 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:38:38 +00:00
wtc%netscape.com
5296156091 Enable pthreads-based Mozilla build. TO do a pthreads-based build,
set the environment variable USE_PTHREADS to 1.
Files changed: mozilla/config/OSF1.mk, mozilla/nsprpub/config/OSF1.mk.


git-svn-id: svn://10.0.0.236/trunk@7708 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:37:06 +00:00
ftang%netscape.com
5f4f4eb739 Add cp1252 conversion tolower table and make winfe to use it.
Thanks for from the net  Antoine.Leca@renault.fr (Antoine Leca)


git-svn-id: svn://10.0.0.236/trunk@7707 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:29:27 +00:00
peterl%netscape.com
192504ea49 made check font existence ignore non-truetype fonts
git-svn-id: svn://10.0.0.236/trunk@7706 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:29:21 +00:00
kmcclusk%netscape.com
ad9de2a9d5 Added back commented out destruction of XImages and buffers
git-svn-id: svn://10.0.0.236/trunk@7705 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:27:32 +00:00
peterl%netscape.com
72666bde8e connected LINKed style sheets
git-svn-id: svn://10.0.0.236/trunk@7703 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:02:39 +00:00
robinf%netscape.com
df61f28833 minor text updates to reflect latest UI
git-svn-id: svn://10.0.0.236/trunk@7702 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:57:36 +00:00
blythe%netscape.com
db8d25594d Fix bugzilla bug #120
git-svn-id: svn://10.0.0.236/trunk@7701 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:45:14 +00:00
kmcclusk%netscape.com
70bd69fe6e Removed debug printf's #if 0 code + moved resize code
from nsXtEventHandler.cpp nsWindow.cpp.


git-svn-id: svn://10.0.0.236/trunk@7699 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:37:46 +00:00
troy%netscape.com
f19ca7ceaf Added a NS_RELEASE of the URL reader in OnStartBinding()
git-svn-id: svn://10.0.0.236/trunk@7698 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:21:18 +00:00
kmcclusk%netscape.com
27136314b0 Removed commented out code and debug printf's.
git-svn-id: svn://10.0.0.236/trunk@7697 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:18:28 +00:00
wtc%netscape.com
f643011e53 Enable pthreads-based build. The macro SW_THREADS is defined only
if USE_PTHREADS is not defined.  If USE_PTHREADS is defined, add
-lpthread to OS_LIBS.


git-svn-id: svn://10.0.0.236/trunk@7695 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:05:33 +00:00
thom%netscape.com
43a79f53c1 added 'extern "C"' to declaration of NS_NewHTMLLoggingSink to fix mac link error...
git-svn-id: svn://10.0.0.236/trunk@7694 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:56:32 +00:00
clayton
92a6b6c8d0 Added a first draft of POD documentation for the API commands. I wrote a
script to generate most of it and am going back to fix the pieces that
couldn't be automatically generated.  I've gotten through ldap_compare
so far and will be done with all API docs by Tuesday night.


git-svn-id: svn://10.0.0.236/trunk@7693 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:56:09 +00:00
peterl%netscape.com
11ff304260 connect marginwidth & marginheight in body tag
git-svn-id: svn://10.0.0.236/trunk@7691 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:50:32 +00:00
kipp%netscape.com
ab499551e6 Disabled old entity routines
git-svn-id: svn://10.0.0.236/trunk@7690 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:38:10 +00:00
kipp%netscape.com
aa0b382d4a Used generated entities file to translate entities
git-svn-id: svn://10.0.0.236/trunk@7689 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:37:55 +00:00
kipp%netscape.com
97c07adc50 Build generate entities file
git-svn-id: svn://10.0.0.236/trunk@7688 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:37:36 +00:00
kin%netscape.com
a335158b84 Turn on ENDER by default in the builds.
git-svn-id: svn://10.0.0.236/trunk@7687 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:22:27 +00:00
kmcclusk%netscape.com
7c529e0547 Added a XtManageWidget implementation lifted from the XFE code. This fixes problems where the drawing area would
spontaneously resize itself to fit its contents.


git-svn-id: svn://10.0.0.236/trunk@7686 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:21:34 +00:00
kipp%netscape.com
a24d4696bf Open the file for writing (doh)
git-svn-id: svn://10.0.0.236/trunk@7685 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:12:10 +00:00
kipp%netscape.com
d2684b2846 Short circuit auto-detect logic (cuz it doesn't work here)
git-svn-id: svn://10.0.0.236/trunk@7684 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:11:31 +00:00
kin%netscape.com
2a4cf3eb53 Modified form_element_get_size() to call fe_HackTranslations() for all
form elements except the HTMLArea.


git-svn-id: svn://10.0.0.236/trunk@7683 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:11:07 +00:00
kipp%netscape.com
ef2aed49ad Updated
git-svn-id: svn://10.0.0.236/trunk@7682 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:10:36 +00:00
kipp%netscape.com
872b060f20 Build entities table
git-svn-id: svn://10.0.0.236/trunk@7681 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:10:04 +00:00
kipp%netscape.com
e51698ec95 Fixed assertion message
git-svn-id: svn://10.0.0.236/trunk@7680 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:08:36 +00:00
kipp%netscape.com
268de5a50d Handle EOF better for file streams
git-svn-id: svn://10.0.0.236/trunk@7679 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:08:21 +00:00
kin%netscape.com
802f04f7c5 Commented out some debug statements with ifdef DEBUG_kin.
git-svn-id: svn://10.0.0.236/trunk@7678 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:08:10 +00:00
kipp%netscape.com
b07c398579 new
git-svn-id: svn://10.0.0.236/trunk@7677 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:07:40 +00:00
spider%netscape.com
eefc86349a julian is 50 in free world
git-svn-id: svn://10.0.0.236/trunk@7676 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 20:38:48 +00:00
donm%netscape.com
2ea7df3487 Fixes Unix build problem with MOZ_COOKIEMANAGE and MOZ_SINGLESIGNON
flags turned on.  Approved by: Steve Morse


git-svn-id: svn://10.0.0.236/trunk@7675 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 20:38:26 +00:00
morse%netscape.com
b28b86c55a fixed bug involving freeing of memory that was never allocated, reviewed by Pinkerton
git-svn-id: svn://10.0.0.236/trunk@7674 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 20:36:41 +00:00
spider%netscape.com
82da783cbe Unix changes to support xpfc
git-svn-id: svn://10.0.0.236/trunk@7673 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 20:01:52 +00:00
spider%netscape.com
ccddf33924 Updates for XPFC ... we've moved
git-svn-id: svn://10.0.0.236/trunk@7671 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 19:56:59 +00:00
spider%netscape.com
a8e186a7d1 Updates for XPFC
git-svn-id: svn://10.0.0.236/trunk@7670 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 19:56:34 +00:00
spider%netscape.com
73adf57091 fixes for new xpfc
git-svn-id: svn://10.0.0.236/trunk@7669 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 19:46:33 +00:00
spider%netscape.com
f307a7b044 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@7668 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 18:50:59 +00:00
troy%netscape.com
d4bb51be47 Added code to delete nsBrowserWindow object
git-svn-id: svn://10.0.0.236/trunk@7667 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 18:20:20 +00:00
michaelp%netscape.com
b4b3615aa5 should fix build errors on unix.
git-svn-id: svn://10.0.0.236/trunk@7665 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 18:02:56 +00:00
rods%netscape.com
a1b9598742 Fixed edge case for selection, selection at starting of line and moving to new content.
git-svn-id: svn://10.0.0.236/trunk@7664 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:46:34 +00:00
troy%netscape.com
8f682521ef Stopped allocating array of size 0...
git-svn-id: svn://10.0.0.236/trunk@7663 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:44:54 +00:00
kipp%netscape.com
f7457a3f72 Fixed documents w/o titles bug #313016
git-svn-id: svn://10.0.0.236/trunk@7662 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:39:48 +00:00
troy%netscape.com
1a7be428bd Removed an extra NS_ADDREF call that was keeping the timer object from
ever getting freed


git-svn-id: svn://10.0.0.236/trunk@7661 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:32:57 +00:00
karnaze%netscape.com
e4a8306fd3 fixed "return" submission on a single text field
git-svn-id: svn://10.0.0.236/trunk@7660 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:26:20 +00:00
troy%netscape.com
e16a20aed0 Fixed ClearTimeout() to free the timer closure struct
git-svn-id: svn://10.0.0.236/trunk@7659 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:25:35 +00:00
troy%netscape.com
92ce65c672 Added GetClosure() member function
git-svn-id: svn://10.0.0.236/trunk@7658 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:24:36 +00:00
troy%netscape.com
0a2de0954f Added memset of lfFaceName array to 0 for debug builds. This eliminates
a Purify warning


git-svn-id: svn://10.0.0.236/trunk@7657 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 16:53:14 +00:00
despotdaemon%netscape.com
dca21a9bbf Pseudo-automatic update of changes made by jdunn@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7656 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 15:43:01 +00:00
jfrancis%netscape.com
e912d3d58d Turning on ENDER.
git-svn-id: svn://10.0.0.236/trunk@7655 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 15:18:32 +00:00
troy%netscape.com
c91029acf9 Added call to Shutdown() of prefs object
git-svn-id: svn://10.0.0.236/trunk@7654 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 05:12:25 +00:00
sdagley%netscape.com
1e87c9adfa Fix #309842. For some reason the call to NET_FinishInitNetLib() was commened out in the MacFE. Since this is where the cache is initialized and cookies are initially read, among other useful stuff, it seems like a bad idea to not call it.
git-svn-id: svn://10.0.0.236/trunk@7653 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 04:49:58 +00:00
karnaze%netscape.com
770938c13f adjusted sizing for text controls; default control is text; assertion cleanup
git-svn-id: svn://10.0.0.236/trunk@7652 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 04:28:17 +00:00
troy%netscape.com
f16c07c6f6 Fixed leak of an IL color space in NewPixmap()
git-svn-id: svn://10.0.0.236/trunk@7651 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 04:25:35 +00:00
jwz%mozilla.org
870d80ee1d I could tell you what this patch was for, but then I'd have to shoot you.
git-svn-id: svn://10.0.0.236/trunk@7650 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 03:50:04 +00:00
troy%netscape.com
075416e02c Fixed leak of async net context. Now there's only one net context used
for all image requests and its released when the image group is
destroyed


git-svn-id: svn://10.0.0.236/trunk@7649 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 03:33:49 +00:00
troy%netscape.com
1e7f67e20c Stopped holding a reference to the device context, because the device context
holds a reference to the font cache and this was causing a circular reference


git-svn-id: svn://10.0.0.236/trunk@7648 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 02:34:00 +00:00
joki%netscape.com
6dc09b67c8 Move disassociation of frame from view up from destructor to DeleteFrame to prevent event entrance during destruction
git-svn-id: svn://10.0.0.236/trunk@7647 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 02:28:23 +00:00
buster%netscape.com
fc65291463 percent-width nested tables in fixed-width cells now use the computed
column width if available for computing their own width.


git-svn-id: svn://10.0.0.236/trunk@7646 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 02:16:18 +00:00
joki%netscape.com
315d19a499 Additional fixes to allow child webshells in framesets to be properly released.
git-svn-id: svn://10.0.0.236/trunk@7645 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 01:36:02 +00:00
joki%netscape.com
06a2ca93d0 Add RunGC method onto ScriptContext interface. Probably temporary until we have auto-gc'ing set up.
git-svn-id: svn://10.0.0.236/trunk@7644 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 01:33:34 +00:00
joki%netscape.com
dffea3f81d Fix possible addref on null pointer
git-svn-id: svn://10.0.0.236/trunk@7643 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 01:30:29 +00:00
karnaze%netscape.com
da7fa463af added GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight to web widget, frameset codes calls it.
git-svn-id: svn://10.0.0.236/trunk@7642 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 01:01:27 +00:00
jwz%mozilla.org
252080d0bd add -DNO_SECURITY so that it works on the internal Netscape builds as well
(which do have security, but which do not have a libmime with S/MIME code.)


git-svn-id: svn://10.0.0.236/trunk@7641 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 00:24:00 +00:00
valeski%netscape.com
47516b0967 removed the http:// assumption code from here to nsWebShell.cpp
git-svn-id: svn://10.0.0.236/trunk@7640 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 21:23:54 +00:00
valeski%netscape.com
196f89df7e moved http:// assumption code into nsWebShell.cpp from nsBrowserWindow.cpp
git-svn-id: svn://10.0.0.236/trunk@7639 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 21:22:18 +00:00
waterson%netscape.com
213c76750c Added some info to the begin-session timing trace.
git-svn-id: svn://10.0.0.236/trunk@7638 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 20:32:48 +00:00
waterson%netscape.com
91ad084c9b Modified timing macros to include MWContext parameter.
git-svn-id: svn://10.0.0.236/trunk@7637 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 20:32:30 +00:00
waterson%netscape.com
cb3e361cc8 Added some more timing traces to WinFE. Approved by blythe.
git-svn-id: svn://10.0.0.236/trunk@7636 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 20:28:53 +00:00
waterson%netscape.com
be7874976b Added context parameter to timing macros.
git-svn-id: svn://10.0.0.236/trunk@7635 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 20:28:04 +00:00
troy%netscape.com
5a0c300836 Changed destructor to release reference to image request observer objects. This
fixes a memory leak


git-svn-id: svn://10.0.0.236/trunk@7632 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 16:53:24 +00:00
troy%netscape.com
f06d6cad13 Now deletes the images and releases the reference to the image group
git-svn-id: svn://10.0.0.236/trunk@7631 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 16:42:06 +00:00
mcafee%netscape.com
0bea3d5c5f Compiler warning on IRIX.
git-svn-id: svn://10.0.0.236/trunk@7629 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 09:10:55 +00:00
joki%netscape.com
9a4b4d35b9 Partial fix for frame based and general memory leaks of webshells and prescontexts
git-svn-id: svn://10.0.0.236/trunk@7628 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 07:43:22 +00:00
jwz%mozilla.org
fbd360d63b oops, typo'ed an extra ";" that gcc doesn't like.
git-svn-id: svn://10.0.0.236/trunk@7626 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 06:02:27 +00:00
troy%netscape.com
d545466115 Added code to destructor to delete mVisited
git-svn-id: svn://10.0.0.236/trunk@7624 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 05:00:24 +00:00
despotdaemon%netscape.com
46893f02e1 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7623 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 04:00:46 +00:00
despotdaemon%netscape.com
7f359d5cec Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7622 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:59:28 +00:00
jwz%mozilla.org
0f2d91d145 build and link against libmime (on Unix only, until I find some victims to
test things out on the other platforms.)


git-svn-id: svn://10.0.0.236/trunk@7621 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:53:14 +00:00
jwz%mozilla.org
abbaaba6be various tweaks to get libmime to build, and be linkable with the
rest of Mozilla.


git-svn-id: svn://10.0.0.236/trunk@7620 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:51:51 +00:00
jwz%mozilla.org
94c97d19b5 in order to make libmime compile without libmsg, moved some
utility functions from libmsg/msgutil.c to new files
libxp/xp_linebuf.c and libnet/mkbuf.c:

	msg_GrowBuffer ==> XP_GrowBuffer
	msg_LineBuffer ==> XP_LineBuffer
	msg_ReBuffer ==> XP_ReBuffer
	msg_MakeRebufferingStream ==> NET_MakeRebufferingStream


git-svn-id: svn://10.0.0.236/trunk@7619 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:49:12 +00:00
beard%netscape.com
70c2f26e11 Added nsIPluginInstance* and NPWindow* data members to CPluginInstancePeer, fixed some reference counting bugs. Changed instance->pdata to point to the peer, so it can be accessed independently.
git-svn-id: svn://10.0.0.236/trunk@7618 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:17:39 +00:00
troy%netscape.com
ad1ac559f3 Added release of mAppShell
git-svn-id: svn://10.0.0.236/trunk@7617 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 02:13:29 +00:00
beard%netscape.com
230a20f31d Fixed a C string copy bug in CPluginInstancePeer::CPluginInstancePeer, added strcasecmp for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@7616 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 01:55:13 +00:00
troy%netscape.com
786bb2438d Cleaned up widget reference counting. In particular parent widgets
release their references to child widgets


git-svn-id: svn://10.0.0.236/trunk@7615 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 01:37:30 +00:00
leif
2701eafa8a - Lots of modifications, minor changes etc.
- Updated all documentation.
- Added a few new functions.


git-svn-id: svn://10.0.0.236/trunk@7614 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 01:16:55 +00:00
jevering%netscape.com
80ca6e2b8c Fixed build. forgot prenv.h
git-svn-id: svn://10.0.0.236/trunk@7613 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 00:02:40 +00:00
jevering%netscape.com
6c6b309e49 Set Home page for viewer.
git-svn-id: svn://10.0.0.236/trunk@7612 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 22:01:46 +00:00
beard%netscape.com
5ef3aa0f18 Changed all uses of lo_NVList to not depend on OJI being defined.
git-svn-id: svn://10.0.0.236/trunk@7610 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 20:50:22 +00:00
michaelp%netscape.com
8eeb4425f1 merged changes from branch.
git-svn-id: svn://10.0.0.236/trunk@7609 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 19:21:40 +00:00
ramiro%netscape.com
d667b404da Fix xpcom linking problem under some versions of gcc and egcs.
Add libxpcom.a to link line after libraries that reference symbols in it.


git-svn-id: svn://10.0.0.236/trunk@7608 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 06:37:47 +00:00
troy%netscape.com
06a522099a Change to object lifetime management. Views are no longer ref counted
git-svn-id: svn://10.0.0.236/trunk@7605 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 04:23:33 +00:00
despotdaemon%netscape.com
a2c1d50d52 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7603 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 03:38:06 +00:00
cyeh%netscape.com
9f3b6e8934 added more *.in files under JavaStubsUnix for cls autoconf work
git-svn-id: svn://10.0.0.236/trunk@7602 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:41:47 +00:00
jwz%mozilla.org
cbf12721dd Got libmime and the mimefilt program to build in the public Mozilla code base.
Mostly I did this by turning on -DMOZILLA_30, which eliminates most of
the, uh, "progress" made in libmime since 3.0.  That this worked highlights
the fact that the 3.x libmime had far fewer cross-dependencies on libmsg
than 4.x did.


git-svn-id: svn://10.0.0.236/trunk@7601 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:20:33 +00:00
jwz%mozilla.org
0a29f06a82 In 2.x/3.x, this file was lib/libmsg/addr.c.
In 4.x, it was lib/libmsg/addrutil.cpp.  (They felt the need to convert it
to C++ for no adequately explainable reason, and to add some dependencies
on the rest of libmsg.)

Since libmime needs this, and libmsg isn't being built, I converted it
back to C, removed the libmsg dep, and put a copy of this file here.

Someday, something more sensible should be done.  Like deleting the copy
in libmsg, perhaps.


git-svn-id: svn://10.0.0.236/trunk@7600 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:17:51 +00:00
cmanske%netscape.com
568fe32f26 Fixed P0 Composer bug 312249 (backspacing when lines wrap) with help/review/approval by nisheeth. Also layout's part of fix to 310966 (changing doc colorsof current windows)
git-svn-id: svn://10.0.0.236/trunk@7598 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:06:57 +00:00
cyeh%netscape.com
f10ef2e77a added corresponding Makefile.in files at request of cls for autoconf
work


git-svn-id: svn://10.0.0.236/trunk@7597 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 01:56:40 +00:00
cyeh%netscape.com
b030ceac7e \ characters are not used on the last line of a module.
git-svn-id: svn://10.0.0.236/trunk@7596 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 01:27:20 +00:00
cmanske%netscape.com
8bb7f094a7 Fixed image loading problem in composer. Bug 312056. Reviewed and checkin permission by gagan
git-svn-id: svn://10.0.0.236/trunk@7595 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 01:23:26 +00:00
nisheeth%netscape.com
fdf8b180d7 Fixes bugs 301002, 206090, and 312021. Blocked tags were getting misordered.
lo_FinishLayout() was getting called multiple times.  These fixes were migrated
over from the 4.06 branch.


git-svn-id: svn://10.0.0.236/trunk@7593 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:59:48 +00:00
nisheeth%netscape.com
da6cf88f6f lo_FillinImageGeometry() was not being called before the image load was started
for the case when an <IMG> tag was processed while layout was blocked.  Fixed.


git-svn-id: svn://10.0.0.236/trunk@7592 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:45:27 +00:00
vidur%netscape.com
bbd5036562 Better JSConsole return values
git-svn-id: svn://10.0.0.236/trunk@7591 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:19:20 +00:00
vidur%netscape.com
d6598dbb16 Implemented additional document and form interfaces. Implemented named elements for documents and forms. nsInput now implements nsIDOMHTMLInputElement.
git-svn-id: svn://10.0.0.236/trunk@7588 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:08:00 +00:00
vidur%netscape.com
55b6f5c540 Better support for interface families in the IDL (named elements). Netscape interfaces for HTMLDocument and HTMLFormElement (for backwards compatibility.
git-svn-id: svn://10.0.0.236/trunk@7587 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:01:52 +00:00
kostello%netscape.com
2582b8062f Put both AOLMAIL and html/text of the pasteboard
git-svn-id: svn://10.0.0.236/trunk@7586 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 22:35:44 +00:00
buster%netscape.com
28e4b99d4b bug #312932. fixes nested tables with percent widths that also have
content with percent widths.


git-svn-id: svn://10.0.0.236/trunk@7583 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 21:53:27 +00:00
cyeh%netscape.com
f2a8ac10f9 adding mozilla/Makefile.in and mozilla/configure.in to MozillaSourceUnix at
request of chris seawood for autoconf work.


git-svn-id: svn://10.0.0.236/trunk@7582 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 21:13:06 +00:00
rods%netscape.com
5ec76384fd Shift click (without first clicking) no longer crashes the viewer
git-svn-id: svn://10.0.0.236/trunk@7578 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 20:15:36 +00:00
rods%netscape.com
c295c87d48 Select All no turns on selection in the document and renders it selected.
git-svn-id: svn://10.0.0.236/trunk@7577 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 20:14:39 +00:00
kmcclusk%netscape.com
be82118997 Correctly set shift and control flags on mouse and keyboard events.
git-svn-id: svn://10.0.0.236/trunk@7576 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 19:38:28 +00:00
kostello%netscape.com
d10145255f Fix mac build
git-svn-id: svn://10.0.0.236/trunk@7574 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:34:13 +00:00
law%netscape.com
a8177a1d9a Fixing stupid off-by-one bug that breaks rel builds
git-svn-id: svn://10.0.0.236/trunk@7573 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:34:03 +00:00
troy%netscape.com
f5d7d63a42 Removed MoveTo() and SizeTo() member functions that were for debug
purposes, and are no longer needed


git-svn-id: svn://10.0.0.236/trunk@7571 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:17:34 +00:00
robinf%netscape.com
314ddcb0d7 this is help file that goest with as_html/2step.htm; re: bug 3000065
git-svn-id: svn://10.0.0.236/trunk@7568 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:10:18 +00:00
robinf%netscape.com
ff54448ac3 removing this file so I can replace it with renamed file "2step.htm" to fix bug # 3000065
git-svn-id: svn://10.0.0.236/trunk@7567 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:08:29 +00:00
karnaze%netscape.com
bdf4fa6853 removed overloaded GetAttribute on nsInput
git-svn-id: svn://10.0.0.236/trunk@7566 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 17:39:27 +00:00
kmcclusk%netscape.com
07da1c6708 Changed NSIMETHOD to NS_METHOD in nsWindow.h
Changed eCursor_arrow_east and east_plus to west and west_plus for
duplicate switch statement


git-svn-id: svn://10.0.0.236/trunk@7565 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 17:13:04 +00:00
kmcclusk%netscape.com
5e5b3e766f Changed nsFontMetrixWin to nsFontMetrixUnix for GetWidth member function.
git-svn-id: svn://10.0.0.236/trunk@7564 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 16:43:52 +00:00
rods%netscape.com
0f71b811b5 Bug fixes for memory crash, and added blue triangle instead of red line
git-svn-id: svn://10.0.0.236/trunk@7562 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 16:14:07 +00:00
ramiro%netscape.com
a2ab13ee10 Fix the unix build bustage cause of undefined NET_DisplayCookieInfoAsHTML().
git-svn-id: svn://10.0.0.236/trunk@7561 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 15:37:30 +00:00
spider%netscape.com
63940c35da Cursor support
git-svn-id: svn://10.0.0.236/trunk@7560 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 15:35:27 +00:00
despotdaemon%netscape.com
1b2c68ed55 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7559 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 14:56:51 +00:00
spider%netscape.com
8f307fdad4 Adding several new cursor types
git-svn-id: svn://10.0.0.236/trunk@7558 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 14:45:46 +00:00
ramiro%netscape.com
359faed83b fix attachment.
git-svn-id: svn://10.0.0.236/trunk@7557 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 11:03:30 +00:00
ramiro%netscape.com
12722e7f70 dfm's privacy tools menu.
git-svn-id: svn://10.0.0.236/trunk@7556 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:51:55 +00:00
clu%netscape.com
bc1b400fad modified a conditional statement in ChangeTableSelection so that table selection can be correct on the mac when the movement is ED_MOVE_NONE (unlike other platforms, macfe passes in a NULL pData). Reviewed by cmanske and brade.
git-svn-id: svn://10.0.0.236/trunk@7555 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:17:19 +00:00
clu%netscape.com
f1c8ac0646 changed composer table select submenu so it can now select row, col, cell, and all cells correctly. Reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@7554 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:11:11 +00:00
clu%netscape.com
77c7a847f5 added resource numbers 1320 through 1323 to support table menu selection. Reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@7553 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:06:20 +00:00
clu%netscape.com
268ac9858e implemented code to respond to table selection from the menu. reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@7552 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:03:54 +00:00
clu%netscape.com
242bd33386 separating #ifdef MOZ_MAIL_NEWS from #ifdef EDITOR so that CComposerFind can work with just the EDITOR but not MOZ_MAIL_NEWS turned on. #312288; reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@7551 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:01:50 +00:00
ramiro%netscape.com
b90bfa4721 Granting some dude's wish.
git-svn-id: svn://10.0.0.236/trunk@7550 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 08:44:04 +00:00
joki%netscape.com
6fa9146055 Fix mouseover in url messages by initializing event result messages.
git-svn-id: svn://10.0.0.236/trunk@7549 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 08:11:20 +00:00
peterl%netscape.com
e561f6fa33 IRIX build fix
git-svn-id: svn://10.0.0.236/trunk@7548 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 06:24:38 +00:00
gagan%netscape.com
0e21ceef57 Fix schtupid warning on schMac.
git-svn-id: svn://10.0.0.236/trunk@7547 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 06:24:05 +00:00
cls%seawood.org
1df7026b42 Not quite sure what happened. It was in the repository but was not
showing up on bonsai and I could not commit any changes.


git-svn-id: svn://10.0.0.236/trunk@7545 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 06:20:02 +00:00
cls%seawood.org
9dc23ae8bd Run autoconf on this file to generate the configure script.
git-svn-id: svn://10.0.0.236/trunk@7544 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 06:01:37 +00:00
troy%netscape.com
941b44b69a Added GetClientData() and SetClientData() member functions
git-svn-id: svn://10.0.0.236/trunk@7533 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 05:19:40 +00:00
joki%netscape.com
4fac7be2a1 Added support for click event on form buttons
git-svn-id: svn://10.0.0.236/trunk@7532 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 05:19:07 +00:00
morse%netscape.com
b4be9ca1a8 fix build bustage on mac
git-svn-id: svn://10.0.0.236/trunk@7531 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 05:15:03 +00:00
joki%netscape.com
e562c4ba4b Adding window.open method, fixing editormode in release builds, various event fixes
git-svn-id: svn://10.0.0.236/trunk@7528 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 04:45:03 +00:00
peterl%netscape.com
dedd0a2fc1 fix build
git-svn-id: svn://10.0.0.236/trunk@7523 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:43:20 +00:00
morse%netscape.com
b8f354a7e7 alphabetize entries in viewers, put up nag boxes
git-svn-id: svn://10.0.0.236/trunk@7518 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:15:53 +00:00
morse%netscape.com
aa83c449d4 changes for single signon
git-svn-id: svn://10.0.0.236/trunk@7517 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:13:05 +00:00
morse%netscape.com
b8c13329df change for single singon, reviewed by dfm
git-svn-id: svn://10.0.0.236/trunk@7516 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:12:04 +00:00
rickg%netscape.com
52c71bfad7 too many bug fixes to name, but all legit scopus bugs
git-svn-id: svn://10.0.0.236/trunk@7515 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:09:24 +00:00
peterl%netscape.com
3fc016f2ac fixed processing of font face (preserve original quotes)
git-svn-id: svn://10.0.0.236/trunk@7513 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:17:56 +00:00
peterl%netscape.com
289d347c74 save quote char on string tokens
git-svn-id: svn://10.0.0.236/trunk@7512 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:17:10 +00:00
peterl%netscape.com
56fd682070 fixed font face support
git-svn-id: svn://10.0.0.236/trunk@7511 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:16:38 +00:00
peterl%netscape.com
dda3150013 changed nsFont to contain face lists in name
git-svn-id: svn://10.0.0.236/trunk@7510 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:12:34 +00:00
buster%netscape.com
bd14f040ee synch with branch
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. (Troy, I intend to make this conditional
based on the compatibility mode)

2. colspans across cols that are all specified width no longer try to proportionately
divide the width of the span between the cols.  see http://www.city.net (now it's really fixed, without breaking nested tables in
constrained situations.)  A happy side effect is nested tables in general behave better when constrained.

3. min table sizes are fixed, so min width changes to content now effect the
table correctly during incremental reflow.  This fixes the table layout portion of the bugs on the http://www.aol.com/corp tree.
Rick will check in the other half of this fix soon.  Until then, don't expect to see much improvement.

4. 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/trunk@7509 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:11:51 +00:00
peterl%netscape.com
d854ad04ea performance tweak in trim
git-svn-id: svn://10.0.0.236/trunk@7508 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:11:13 +00:00
kipp%netscape.com
0e8da14ade Landed non-branch version on the tip
git-svn-id: svn://10.0.0.236/trunk@7507 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:10:11 +00:00
kipp%netscape.com
a817acde89 Fixed embed/flush-text bug #312433
git-svn-id: svn://10.0.0.236/trunk@7503 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 01:50:12 +00:00
kipp%netscape.com
141943b382 new
git-svn-id: svn://10.0.0.236/trunk@7502 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 01:39:40 +00:00
pinkerton%netscape.com
5bf53af107 Fix problem that made mgmt mode double-click (default property was wrong when not specified by ht).
git-svn-id: svn://10.0.0.236/trunk@7501 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 01:01:23 +00:00
amusil%netscape.com
2a64af000b Fixes Bug# 117905. This fix has been in the 4x tree since 4.04.
git-svn-id: svn://10.0.0.236/trunk@7500 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:21:42 +00:00
saari%netscape.com
3cac2c90bd Fixing a checkin error for the MacMemAllocator changes.
This fixes some recent instability in Mac Grommit.


git-svn-id: svn://10.0.0.236/trunk@7499 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:21:29 +00:00
pinkerton%netscape.com
32ab184ea2 Don't use constants from selector (or include it's header file). Define them here instead.
git-svn-id: svn://10.0.0.236/trunk@7497 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:16:47 +00:00
pinkerton%netscape.com
cc0db74b42 Don't #include selector header because it's not being used.
git-svn-id: svn://10.0.0.236/trunk@7495 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:15:50 +00:00
pinkerton%netscape.com
f0e626e6e7 Add context menus and fix scrolling in shack.
git-svn-id: svn://10.0.0.236/trunk@7494 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:15:17 +00:00
pinkerton%netscape.com
3c5713388b Remove dependance on CNavCenterSelector's constants and make the title strips LCommanders so they can have context menus.
git-svn-id: svn://10.0.0.236/trunk@7493 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:14:26 +00:00
pinkerton%netscape.com
d2bf3066eb Make single-click mode work correctly (on mouse up, not mouse down).
git-svn-id: svn://10.0.0.236/trunk@7491 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:12:49 +00:00
timm%netscape.com
490ee44a3f fix for long timeout on cancelled or dropped connections
git-svn-id: svn://10.0.0.236/trunk@7490 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:07:27 +00:00
law%netscape.com
dde56e728d Turn on new Desktop integration prefs pane
git-svn-id: svn://10.0.0.236/trunk@7489 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:07:22 +00:00
law%netscape.com
36496b7353 Added new property pane for windows (98) Desktop integration
git-svn-id: svn://10.0.0.236/trunk@7488 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:05:00 +00:00
law%netscape.com
9bf63f5436 New 'default browser' dialog
git-svn-id: svn://10.0.0.236/trunk@7487 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:02:46 +00:00
law%netscape.com
c03b26049f More tweaks
git-svn-id: svn://10.0.0.236/trunk@7486 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:54:37 +00:00
preed%netscape.com
8d48e7639a addition to code to allow open/closed information on tinderbox pages
(essentially turned this functionality on again). reviewed by ltabb.


git-svn-id: svn://10.0.0.236/trunk@7485 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:35:58 +00:00
robinf%netscape.com
6173188e4d Corrected the name of the Show More ISPs button in this help screen; removed author comment from text.
git-svn-id: svn://10.0.0.236/trunk@7483 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:23:02 +00:00
robinf%netscape.com
a2463063c4 updated name of this help screen so that it says "Connect to Netscape" instead of "Retrieve Accnt Plan Info".
git-svn-id: svn://10.0.0.236/trunk@7481 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:20:10 +00:00
timm%netscape.com
a436acef6b remove busted error logic from error.js
git-svn-id: svn://10.0.0.236/trunk@7480 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:18:49 +00:00
akkana%netscape.com
8c3fc93a3c ifdef Ender: calculate row/column size of Ender htmlareas, and put a
frame around embeded editor components.


git-svn-id: svn://10.0.0.236/trunk@7477 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 22:40:24 +00:00
spider%netscape.com
ac2b072cf1 Register the menus
git-svn-id: svn://10.0.0.236/trunk@7476 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 22:02:06 +00:00
spider%netscape.com
54beb36fea Separating out the shellfactory for modularity
git-svn-id: svn://10.0.0.236/trunk@7475 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:54:26 +00:00
dcone%netscape.com
b9abec933a updated projects to use static libs
git-svn-id: svn://10.0.0.236/trunk@7474 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:53:08 +00:00
dcone%netscape.com
1ffe0d0129 implemented newcwindow
git-svn-id: svn://10.0.0.236/trunk@7473 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:51:14 +00:00
dcone%netscape.com
9abd073417 fixed bugs, implemented new window
git-svn-id: svn://10.0.0.236/trunk@7472 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:50:56 +00:00
dcone%netscape.com
363d87dd98 fixed some bugs
git-svn-id: svn://10.0.0.236/trunk@7471 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:50:30 +00:00
spider%netscape.com
01b8b8e2c9 reordering files to appropriate directories
git-svn-id: svn://10.0.0.236/trunk@7469 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:32:49 +00:00
despotdaemon%netscape.com
0e060bf013 Pseudo-automatic update of changes made by dhiren@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7468 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:03:49 +00:00
timm%netscape.com
55301fe6ab move removal of support window to compare page
git-svn-id: svn://10.0.0.236/trunk@7467 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:55:40 +00:00
timm%netscape.com
9ffaaca2e8 added code to pull down the support window
git-svn-id: svn://10.0.0.236/trunk@7466 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:43:07 +00:00
timm%netscape.com
72cec2c321 added document close call to force pane to clear
git-svn-id: svn://10.0.0.236/trunk@7465 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:40:34 +00:00
ramiro%netscape.com
e5e3f5f701 DONT USE C++ COMMENT IN C FILES. Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@7464 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:32:12 +00:00
kipp%netscape.com
3ac69641d1 new
git-svn-id: svn://10.0.0.236/trunk@7463 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:29:07 +00:00
kipp%netscape.com
9b4b2ca63d Added code to create logging sinks
git-svn-id: svn://10.0.0.236/trunk@7462 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:27:57 +00:00
kipp%netscape.com
f2811d2878 Build logging sink
git-svn-id: svn://10.0.0.236/trunk@7461 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:27:27 +00:00
pinkerton%netscape.com
69637617ce Fix 2000 link warnings problem caused by including lots o' libraries in this static lib. (rev beard).
git-svn-id: svn://10.0.0.236/trunk@7460 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:24:11 +00:00
kin%netscape.com
7563aa1e6a Updated DisplayPixmap() prototype to use PRInt32 to match function definition
in Frame.cpp.


git-svn-id: svn://10.0.0.236/trunk@7459 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:12:29 +00:00
kin%netscape.com
e4854ccbe6 Added support for the new HTMLArea form element. All changes are ifdef'd ENDER.
git-svn-id: svn://10.0.0.236/trunk@7458 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:10:37 +00:00
blythe%netscape.com
3a1663e603 Fix MOZ_LITE builds busted by previous checkin
git-svn-id: svn://10.0.0.236/trunk@7457 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:04:24 +00:00
kipp%netscape.com
30ebba07e7 Landed changes made on branch (bug #312572)
git-svn-id: svn://10.0.0.236/trunk@7456 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:52:48 +00:00
toshok%netscape.com
14538a820a actually fix the freebsd conditional.
git-svn-id: svn://10.0.0.236/trunk@7455 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:49:15 +00:00
toshok%netscape.com
9744146269 FreeBSD doesn't need (and complains about) -rdynamic
git-svn-id: svn://10.0.0.236/trunk@7454 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:48:00 +00:00
norris%netscape.com
14026ac04a Get signed JavaScript working using the non-Java capabilities code.
Also, implement a preference to run only signed JavaScript.


git-svn-id: svn://10.0.0.236/trunk@7453 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:46:03 +00:00
norris%netscape.com
a237948169 Add routine to initialize capabilities code.
Code was actually written by raman.


git-svn-id: svn://10.0.0.236/trunk@7452 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:41:12 +00:00
karnaze%netscape.com
4e121eb837 implemented border, frameborder attributes in <frameset>
git-svn-id: svn://10.0.0.236/trunk@7451 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:40:37 +00:00
rods%netscape.com
b3a1eadaa4 Memory Leak in selection and a crash bug where a stack varible is being deleted.
git-svn-id: svn://10.0.0.236/trunk@7450 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:28:44 +00:00
danm%netscape.com
48600d89cf (optionally) include GlowCode lib. a:warren,fur
git-svn-id: svn://10.0.0.236/trunk@7448 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 18:52:34 +00:00
dcone%netscape.com
aa9710597a backed out my changes for mac
git-svn-id: svn://10.0.0.236/trunk@7447 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 18:01:26 +00:00
dcone%netscape.com
b1cb10571b update to new static factory methods.
git-svn-id: svn://10.0.0.236/trunk@7446 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:47:55 +00:00
dcone%netscape.com
e4220c7379 update to static library factory methods
git-svn-id: svn://10.0.0.236/trunk@7445 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:47:21 +00:00
dcone%netscape.com
d8565d833c update to new static way
git-svn-id: svn://10.0.0.236/trunk@7444 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:47:02 +00:00
dcone%netscape.com
01091788dd updated to new factory methods using static libraries
git-svn-id: svn://10.0.0.236/trunk@7443 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:45:47 +00:00
dcone%netscape.com
5d0d0ae116 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7442 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:44:43 +00:00
dcone%netscape.com
8ae952d655 Raptor change, worked on factory methods
git-svn-id: svn://10.0.0.236/trunk@7441 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:44:15 +00:00
rods%netscape.com
7876bbcfce Commented out the FOCUS event cases, it cleared up several crashes
It's unclear whether we need to notified of these events.


git-svn-id: svn://10.0.0.236/trunk@7440 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:23:49 +00:00
donm%netscape.com
3785833de4 FE_Trace needed #ifdef DEBUG wrapper for optimized builds.
git-svn-id: svn://10.0.0.236/trunk@7439 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 16:59:39 +00:00
terry%netscape.com
f242f678bf Patch by Erik Bruchez <Erik.Bruchez@iname.com> -- cope with "-d" in
the modules file.


git-svn-id: svn://10.0.0.236/trunk@7437 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 16:54:50 +00:00
rods%netscape.com
568016a686 Fixed: Links now work.
Fixed: Selection cursor no longer shows when clicking on a link.
(These are the same fixes as Stability branch bugs 312562 and 312563)


git-svn-id: svn://10.0.0.236/trunk@7436 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 16:29:45 +00:00
joki%netscape.com
4c583f107e Fix links not working.
git-svn-id: svn://10.0.0.236/trunk@7433 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 07:55:05 +00:00
ftang%netscape.com
dc9435f1c2 check in viscii unicode conversion table. Thanks for
Thu Nguyen <tnn@neomagic.com> from the net


git-svn-id: svn://10.0.0.236/trunk@7432 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 06:15:27 +00:00
warren%netscape.com
1e9141a534 Removed version of file with name that's too long for the mac.
git-svn-id: svn://10.0.0.236/trunk@7431 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 05:10:35 +00:00
troy%netscape.com
4ea1793e34 Some improvements to the ref counting
git-svn-id: svn://10.0.0.236/trunk@7430 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 05:06:24 +00:00
law%netscape.com
61c35d08cb Updates for Win(98) integration feature (not yet being built)
git-svn-id: svn://10.0.0.236/trunk@7429 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 03:53:29 +00:00
ramiro%netscape.com
25b3a13b12 Change usage of jint to PRint32. Fixes the current unix build bustage.
git-svn-id: svn://10.0.0.236/trunk@7428 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 03:10:34 +00:00
troy%netscape.com
da3ff76116 Fixed shoddy reference counting in FindBrowserFor(), and changed
Destroy() to release references on six widgets


git-svn-id: svn://10.0.0.236/trunk@7426 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:21:23 +00:00
spider%netscape.com
f4acade67c Unix fixes
git-svn-id: svn://10.0.0.236/trunk@7425 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:16:51 +00:00
troy%netscape.com
aa05f15f17 Added code to Ondestroy() to do an AddRef() before calling DispatchStandardEvent()
and then a Release() afterwards. This ensures the object doesn't get destroyed until
after we've dispatched the event


git-svn-id: svn://10.0.0.236/trunk@7424 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:11:43 +00:00
spider%netscape.com
40fdc5ba22 win fix
git-svn-id: svn://10.0.0.236/trunk@7423 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:07:49 +00:00
racham%netscape.com
7c3d59e796 Correcting 1step & 2step navigational errors
git-svn-id: svn://10.0.0.236/trunk@7422 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:58:14 +00:00
spider%netscape.com
dd5f361b85 Unix updates
git-svn-id: svn://10.0.0.236/trunk@7421 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:56:22 +00:00
spider%netscape.com
4357a53292 Add julian dll to list of abstractions
git-svn-id: svn://10.0.0.236/trunk@7420 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:55:28 +00:00
rjc%netscape.com
1c0de889c0 File system is now read/write on Mac.
git-svn-id: svn://10.0.0.236/trunk@7418 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:36:42 +00:00
radha%netscape.com
8a2d9fdff0 Change usage of jint to PRint32. One of he fixes from the net.
git-svn-id: svn://10.0.0.236/trunk@7417 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:31:57 +00:00
kin%netscape.com
497c60823c Modified fe_GravityCorrectForms() to call XtMoveWidget() instead of setting
the widget's x,y values directly. This allows SHACK and ENDER widgets to scroll
with the HTML page.


git-svn-id: svn://10.0.0.236/trunk@7416 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:28:53 +00:00
rjc%netscape.com
fa64ddaf6d On remote AFP volumes, don't show invisible files/folders.
git-svn-id: svn://10.0.0.236/trunk@7415 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:27:45 +00:00
spider%netscape.com
702a43e7f8 WIP: Menubar and Popup's
git-svn-id: svn://10.0.0.236/trunk@7414 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:23:37 +00:00
rjc%netscape.com
2f5b521dac Add some prototypes for Mac, but a bug where "db" was used by not initialied to anything.
git-svn-id: svn://10.0.0.236/trunk@7411 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:15:04 +00:00
rjc%netscape.com
3317e1a21f Small changes, including bug fix regarding passed in string being potentially changed.
git-svn-id: svn://10.0.0.236/trunk@7410 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:04:20 +00:00
sudu%netscape.com
1119d39d7c Fix to build js classes when NSJVM=1.
git-svn-id: svn://10.0.0.236/trunk@7409 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:01:42 +00:00
michaelp%netscape.com
2bba405161 changed to work with stuff on branch.
git-svn-id: svn://10.0.0.236/trunk@7408 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 00:59:11 +00:00
beard%netscape.com
7265fcd8b5 Turning OJI on.
git-svn-id: svn://10.0.0.236/trunk@7406 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 00:40:45 +00:00
timm%netscape.com
24a92854b3 renamed and obsoleted
git-svn-id: svn://10.0.0.236/trunk@7405 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:50:07 +00:00
timm%netscape.com
ab4db5575a fix anchor ugliness
git-svn-id: svn://10.0.0.236/trunk@7404 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:38:32 +00:00
timm%netscape.com
f8d3c63f19 fix ugly buttons
git-svn-id: svn://10.0.0.236/trunk@7403 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:35:49 +00:00
racham%netscape.com
0ee27f7629 Added help file 2step mode register page
git-svn-id: svn://10.0.0.236/trunk@7402 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:30:52 +00:00
racham%netscape.com
9e9c3fe191 Added help file 1step mode register page
git-svn-id: svn://10.0.0.236/trunk@7401 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:30:30 +00:00
racham%netscape.com
570b05cd0a Added help file 2step mode dialinfo page
git-svn-id: svn://10.0.0.236/trunk@7400 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:29:28 +00:00
racham%netscape.com
cd33518a06 Added help file 1step mode dialinfo page
git-svn-id: svn://10.0.0.236/trunk@7399 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:29:02 +00:00
robinf%netscape.com
46e8d238fb updating terminology to reflect the UI
git-svn-id: svn://10.0.0.236/trunk@7398 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:27:24 +00:00
guha%netscape.com
3332ed7459 pop in client
git-svn-id: svn://10.0.0.236/trunk@7397 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:47:23 +00:00
guha%netscape.com
ac354900fe pop mail stuff
git-svn-id: svn://10.0.0.236/trunk@7396 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:44:29 +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
27 changed files with 102 additions and 8804 deletions

View File

@@ -1,140 +0,0 @@
# Microsoft Developer Studio Project File - Name="LiveConnect" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=LiveConnect - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "LiveConnect.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "LiveConnect.mak" CFG="LiveConnect - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "LiveConnect - Win32 Release" (based on\
"Win32 (x86) Dynamic-Link Library")
!MESSAGE "LiveConnect - Win32 Debug" (based on\
"Win32 (x86) Dynamic-Link Library")
!MESSAGE
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "LiveConnect - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I ".." /I "$(JDK)\include" /I "$(JDK)\include\win32" /D "NDEBUG" /D "XP_PC" /D "JSFILE" /D "WIN32" /D "_WINDOWS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\Release\js32.lib $(JDK)\lib\javai.lib /nologo /subsystem:windows /dll /debug /machine:I386
!ELSEIF "$(CFG)" == "LiveConnect - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I ".." /I "$(JDK)\include" /I "$(JDK)\include\win32" /D "_DEBUG" /D "_CONSOLE" /D "DEBUG" /D "XP_PC" /D "JSFILE" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ..\Debug\js32.lib $(JDK)\lib\javai_g.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"Debug/LiveConnect_g.dll" /pdbtype:sept
!ENDIF
# Begin Target
# Name "LiveConnect - Win32 Release"
# Name "LiveConnect - Win32 Debug"
# Begin Source File
SOURCE=..\liveconnect\jsj.c
# End Source File
# Begin Source File
SOURCE=..\liveconnect\jsj_array.c
# End Source File
# Begin Source File
SOURCE=..\liveconnect\jsj_class.c
# End Source File
# Begin Source File
SOURCE=..\liveconnect\jsj_convert.c
# End Source File
# Begin Source File
SOURCE=..\liveconnect\jsj_field.c
# End Source File
# Begin Source File
SOURCE=.\jsj_JavaArray.c
# End Source File
# Begin Source File
SOURCE=.\jsj_JavaClass.c
# End Source File
# Begin Source File
SOURCE=.\jsj_JavaObject.c
# End Source File
# Begin Source File
SOURCE=.\jsj_JavaPackage.c
# End Source File
# Begin Source File
SOURCE=.\jsj_JSObject.c
# End Source File
# Begin Source File
SOURCE=..\liveconnect\jsj_method.c
# End Source File
# Begin Source File
SOURCE=..\liveconnect\jsj_utils.c
# End Source File
# End Target
# End Project

View File

@@ -1,106 +0,0 @@
# Microsoft Developer Studio Project File - Name="LiveConnectShell" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=LiveConnectShell - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "LiveConnectShell.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "LiveConnectShell.mak" CFG="LiveConnectShell - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "LiveConnectShell - Win32 Release" (based on\
"Win32 (x86) Console Application")
!MESSAGE "LiveConnectShell - Win32 Debug" (based on\
"Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "LiveConnectShell - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "LiveConnectShell_"
# PROP BASE Intermediate_Dir "LiveConnectShell_"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "$(JDK)\include" /I "$(JDK)\include\win32" /I "." /D "_WIN32" /D "WIN32" /D "NDEBUG" /D "XP_PC" /D "_WINDOWS" /D "JSFILE" /D "LIVECONNECT" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"Release/lcshell.exe"
# Begin Special Build Tool
SOURCE=$(InputPath)
PostBuild_Desc=Copy DLL(s) to build directory
PostBuild_Cmds=COPY ..\Release\js32.dll .\Release
# End Special Build Tool
!ELSEIF "$(CFG)" == "LiveConnectShell - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "LiveConnectShell0"
# PROP BASE Intermediate_Dir "LiveConnectShell0"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "$(JDK)\include" /I "$(JDK)\include\win32" /I "." /D "LIVECONNECT" /D "_WIN32" /D "WIN32" /D "_DEBUG" /D "DEBUG" /D "XP_PC" /D "_WINDOWS" /D "JSFILE" /FR /YX /FD /c
# SUBTRACT CPP /u
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/lcshell.exe" /pdbtype:sept
# Begin Special Build Tool
SOURCE=$(InputPath)
PostBuild_Desc=Copy DLL(s) to build directory
PostBuild_Cmds=COPY ..\Debug\js32.dll .\Debug
# End Special Build Tool
!ENDIF
# Begin Target
# Name "LiveConnectShell - Win32 Release"
# Name "LiveConnectShell - Win32 Debug"
# Begin Source File
SOURCE=..\js.c
# End Source File
# Begin Source File
SOURCE=..\Debug\js32.lib
# End Source File
# End Target
# End Project

View File

@@ -1,44 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 5.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "LiveConnect"=.\LiveConnect.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "LiveConnectShell"=.\LiveConnectShell.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name LiveConnect
End Project Dependency
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -1,301 +0,0 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Scott Furman">
<META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (WinNT; I) [Netscape]">
<TITLE>README for LiveConnect</TITLE>
</HEAD>
<BODY>
<CENTER>
<H2>
<FONT COLOR="#CC0000"><FONT SIZE=+3>WARNING:</FONT></FONT></H2></CENTER>
<CENTER>
<H2>
<FONT COLOR="#CC0000">This document is a skeleton, still&nbsp;<BR>
very much under construction.</FONT></H2></CENTER>
<H2>
Introduction</H2>
This is the README file for the JavaScript LiveConnect implementation.&nbsp;
It consists of build conventions and instructions, source code conventions,
a design walk-through, and a brief file-by-file description of the source.
<P>This document assumes basic familiarity with JSRef, the reference implementation
of JavaScript, and with the LiveConnect technology&nbsp; (LiveConnect allows
JavaScript and Java virtual machines to be connected.&nbsp; It enables
JavaScript to access Java fields, invoke Java methods and makes it possible
for Java to access JavaScript object properties and evaluate JavaScript.&nbsp;
More information on LiveConnect can be found by searching the index on
Netscape's <A HREF="http://developer.netscape.com">DevEdge site</A>.)
<P>JSRef builds a library or DLL containing the JavaScript runtime (compiler,
interpreter, decompiler, garbage collector, atom manager, standard classes).&nbsp;
The LiveConnect project/makefiles build a library that links both with
JSRef and with a Java Virtual Machine (JVM) that implements the Java Native
Interface (JNI), as specified by JavaSoft.&nbsp; It then compiles a small
"shell" program and links that with the library to make an interpreter
that can be used interactively and with test scripts.
<P><I>Scott Furman, 4/8/98</I>
<H2>
Build conventions</H2>
Update your JVM's <TT><FONT SIZE=+1>CLASSPATH</FONT></TT> to point to the
<TT><FONT SIZE=+1>liveconnect/classes</FONT></TT> subdirectory.&nbsp; If
you do not, LiveConnect will still operate but with the limitation that
JS objects may not be passed as arguments of Java methods and it will not
be possible to call from Java into JavaScript, i.e. the <I>netscape.javascript.JSObject</I>
class will be inaccessible.&nbsp; If your <TT><FONT SIZE=+1>CLASSPATH</FONT></TT>
is set improperly, you will see a message like, "<TT><FONT SIZE=+1>initialization
error: Can't load class netscape/javascript/JSObject</FONT></TT>" when
starting a LiveConnect debug build.
<P>To enable multi-threaded execution, define the <TT><FONT SIZE=+1>JS_THREADSAFE</FONT></TT>
cpp macro and flesh out the stubs and required headers in jslock.c/.h.&nbsp;
See the JS API docs for more.&nbsp; JSRef must also be built with <TT><FONT SIZE=+1>JS_THREADSAFE</FONT></TT>.
<BR>&nbsp;
<UL><B>Windows</B>
<UL>
<LI>
Use MSDEV5.0 with the <TT><FONT SIZE=+1>LiveConnectShell.dsw</FONT></TT>
project file.</LI>
<LI>
You must first build the JS runtime, js32.dll, by using the normal JSRef
build procedure.</LI>
<LI>
Identify the JVM that you are linking against by setting the <TT><FONT SIZE=+1>JDK</FONT></TT>
environment variable to point to the top-level JDK directory, e.g. <TT><FONT SIZE=+1>D:\jdk1.1.5</FONT></TT>.&nbsp;
This is used to establish paths for header file inclusion, linking and
execution.&nbsp; If you are not using Sun's JVM, the project files may
require manual tweaking to set these paths correctly.</LI>
<LI>
The output files (DLLs and executables) are placed in the <TT><FONT SIZE=+1>js/ref/liveconnect/Debug</FONT></TT>
or <TT><FONT SIZE=+1>js/ref/liveconnect/Release</FONT></TT> directories.</LI>
<LI>
The LiveConnect-enabled shell is named <TT><FONT SIZE=+1>lcshell.exe</FONT></TT>
and appears in the output directory.</LI>
<LI>
You must have the JVM DLL in your <TT><FONT SIZE=+1>PATH</FONT></TT> environment
variable in order to run.&nbsp; If you are using the Sun JDK, the DLL appears
in the JDK's bin directory.<BR>
<BR></LI>
</UL>
<B>Mac</B>
<UL>
<LI>
<FONT COLOR="#FF0000">LiveConnect is known to build on the Mac, but no
project files created yet</FONT></LI>
<LI>
Use CodeWarrior 1.x (???.prj.hqx) or 2 (???.prj2.hqx).<BR>
<BR></LI>
</UL>
<B>Unix</B>
<UL>
<LI>
<FONT COLOR="#FF0000">No Makefiles created yet</FONT></LI>
<LI>
Use vendor cc or gcc (ftp://prep.ai.mit.edu/pub/gnu) for compiling,&nbsp;
and use gmake for building.</LI>
<LI>
To compile optimized code, set BUILD_OPT=1 on the nmake/gmake command line
or preset it in the environment or makefile.&nbsp; The C preprocessor macro
DEBUG&nbsp; will be undefined, and NDEBUG (archaic Unix-ism for "No Debugging")
will be defined.&nbsp; Without BUILD_OPT, DEBUG is predefined and NDEBUG
is undefined.</LI>
<LI>
Your own debug flag, DEBUG_$USER, will be defined or undefined as BUILD_OPT
is unset or set.</LI>
<LI>
To add C compiler options from the make command line, set XCFLAGS=-Dfoo.</LI>
<LI>
To predefine -D or -U options in the makefile, set DEFINES.</LI>
<LI>
To predefine -I options in the makefile, set INCLUDES.</LI>
</UL>
</UL>
<H2>
Naming and coding conventions:</H2>
<UL>
<LI>
Public function names begin with JSJ_ followed by capitalized "intercaps",&nbsp;
e.g. JSJ_ConnectToJavaVM.</LI>
<LI>
Extern but library-private function names use a jsj_ prefix and mixed case,
e.g. jsj_LookupSymbol.</LI>
<LI>
Most static function names have unprefixed, underscore-separated names:
get_char.</LI>
<LI>
But static native methods of JS objects have intercaps names, e.g., JavaObject_getProperty().</LI>
<LI>
And library-private and static data use underscores, not intercaps (but
library-private data do use a js_ prefix).</LI>
<LI>
Scalar type names are lowercase and js-prefixed: jsdouble.</LI>
<LI>
Aggregate type names are JS-prefixed and mixed-case: JSObject.</LI>
<LI>
Macros are generally ALL_CAPS and underscored, to call out potential side
effects, multiple uses of a formal argument, etc.</LI>
<LI>
Four spaces of indentation per statement nesting level.&nbsp; The files
are space-filled, so adjusting of your tab setting should be unnecessary.</LI>
<LI>
DLL entry points have their return type expanded within a PR_PUBLIC_API()&nbsp;
macro call, to get the right Windows secret type qualifiers in the right
places for both 16- and 32-bit builds.</LI>
<LI>
Callback functions that might be called from a DLL are similarly macroized
with PR_STATIC_CALLBACK (if the function otherwise would be static to hide
its name) or PR_CALLBACK (this macro takes no type argument; it should
be used after the return type and before the function name).</LI>
</UL>
<H2>
The LiveConnect API</H2>
All public LiveConnect entry points and callbacks are documented in jsjava.h,
the header file that exports those functions.
<H2>
Design walk-through</H2>
&nbsp;
<BR>&nbsp;
<H2>
File walk-through</H2>
&nbsp;
<TABLE BORDER=3 CELLSPACING=0 CELLPADDING=4 >
<TR>
<TD>jsjava.h</TD>
<TD>LiveConnect's only public header file.&nbsp; Defines all public API
entry points, callbacks and types.&nbsp;</TD>
</TR>
<TR>
<TD>jsj_private.h</TD>
<TD>LiveConnect internal header file for intra-module sharing of functions
and types</TD>
</TR>
<TR>
<TD>jsj.c</TD>
<TD>Public LiveConnect API entry points and initialization code</TD>
</TR>
<TR>
<TD>jsj_array.c</TD>
<TD>Read and write elements of a Java array, performing needed conversions
to/from JS types.</TD>
</TR>
<TR>
<TD>jsj_class.c</TD>
<TD>Construct and manipulate JavaClassDescriptor structs, which are the
native representation for Java classes.&nbsp; JavaClassDescriptors are
used to describe the methods and fields of a class, including their type
signatures, and include a reference to the peer <I>java.lang.Class</I>
object.&nbsp; Since each Java object has a class, there is a JavaClassDescriptor
associated with the JavaScript reflection of each Java Object.</TD>
</TR>
<TR>
<TD>jsj_convert.c</TD>
<TD>Convert between Java and JavaScript values of all types, which may
require calling routines in other files to wrap JS objects as Java objects
and vice-versa.</TD>
</TR>
<TR>
<TD>jsj_field.c</TD>
<TD>Reflect Java fields as properties of JavaObject objects and implement
getter/setter access to those fields.</TD>
</TR>
<TR>
<TD>jsj_JavaArray.c</TD>
<TD>Implementation of the JavaScript JavaArray class.&nbsp; Instances of
JavaArray are used to reflect Java arrays.</TD>
</TR>
<TR>
<TD>jsj_JavaClass.c</TD>
<TD>Implementation of the JavaScript JavaClass class.&nbsp;&nbsp; Instances
of JavaClass are used to reflect Java classes.</TD>
</TR>
<TR>
<TD>jsj_JavaObject.c</TD>
<TD>Implementation of the JavaScript JavaObject class.&nbsp;&nbsp; Instances
of JavaObject are used to reflect Java objects, except for Java arrays,
although some of the code in this file is used by the JavaArray code.</TD>
</TR>
<TR>
<TD>jsj_JavaPackage.c</TD>
<TD>Implementation of the JavaScript JavaPackage class.&nbsp;&nbsp; Instances
of JavaPackage are used to reflect Java packages.&nbsp; The JS properties
of a JavaPackage are either nested JavaPackage objects or a JavaClass object.</TD>
</TR>
<TR>
<TD>jsj_JSObject.c</TD>
<TD>Implementation of the native methods for the&nbsp; <I>netscape.javascript.JSObject</I>
Java class, which are used for calling into JavaScript from Java.&nbsp;
It also contains the code that wraps JS objects as instances of&nbsp; <I>netscape.javascript.JSObject
</I>and the code that handles propagation of exceptions both into and out
of Java.</TD>
</TR>
<TR>
<TD>jsj_method.c</TD>
<TD>Reflect Java methods as properties of JavaObject objects and make it
possible to invoke those methods.&nbsp; Includes overloaded method resolution
and argument/return-value conversion code.</TD>
</TR>
<TR>
<TD>jsj_utils.c</TD>
<TD>Low-level utility code fo reporting errors, etc.</TD>
</TR>
</TABLE>
&nbsp;
<BR>&nbsp;
</BODY>
</HTML>

View File

@@ -1,56 +0,0 @@
/* Insert copyright and license here 19** */
package netscape.javascript;
/**
* JSException is an exception which is thrown when JavaScript code
* returns an error.
*/
public
class JSException extends Exception {
String filename;
int lineno;
String source;
int tokenIndex;
/**
* Constructs a JSException without a detail message.
* A detail message is a String that describes this particular exception.
*/
public JSException() {
super();
filename = "unknown";
lineno = 0;
source = "";
tokenIndex = 0;
}
/**
* Constructs a JSException with a detail message.
* A detail message is a String that describes this particular exception.
* @param s the detail message
*/
public JSException(String s) {
super(s);
filename = "unknown";
lineno = 0;
source = "";
tokenIndex = 0;
}
/**
* Constructs a JSException with a detail message and all the
* other info that usually comes with a JavaScript error.
* @param s the detail message
*/
public JSException(String s, String filename, int lineno,
String source, int tokenIndex) {
super(s);
this.filename = filename;
this.lineno = lineno;
this.source = source;
this.tokenIndex = tokenIndex;
}
}

View File

@@ -1,131 +0,0 @@
/* -*- Mode: C; tab-width: 4; -*- */
/* Insert copyright and license here 19** */
/* more doc todo:
* threads
* gc
*
*
*/
package netscape.javascript;
import java.applet.Applet;
/**
* JSObject allows Java to manipulate objects that are
* defined in JavaScript.
* Values passed from Java to JavaScript are converted as
* follows:<ul>
* <li>JSObject is converted to the original JavaScript object
* <li>Any other Java object is converted to a JavaScript wrapper,
* which can be used to access methods and fields of the java object.
* Converting this wrapper to a string will call the toString method
* on the original object, converting to a number will call the
* floatValue method if possible and fail otherwise. Converting
* to a boolean will try to call the booleanValue method in the
* same way.
* <li>Java arrays are wrapped with a JavaScript object that understands
* array.length and array[index]
* <li>A Java boolean is converted to a JavaScript boolean
* <li>Java byte, char, short, int, long, float, and double are converted
* to JavaScript numbers
* </ul>
* Values passed from JavaScript to Java are converted as follows:<ul>
* <li>objects which are wrappers around java objects are unwrapped
* <li>other objects are wrapped with a JSObject
* <li>strings, numbers and booleans are converted to String, Float,
* and Boolean objects respectively
* </ul>
* This means that all JavaScript values show up as some kind
* of java.lang.Object in Java. In order to make much use of them,
* you will have to cast them to the appropriate subclass of Object,
* e.g. <code>(String) window.getMember("name");</code> or
* <code>(JSObject) window.getMember("document");</code>.
*/
public final class JSObject {
/* the internal object data */
private int internal;
/**
* initialize
*/
private static native void initClass();
static {
System.loadLibrary("LiveConnect");
initClass();
}
/**
* it is illegal to construct a JSObject manually
*/
private JSObject(int jsobj_addr) {internal = jsobj_addr;}
/**
* Retrieves a named member of a JavaScript object.
* Equivalent to "this.<i>name</i>" in JavaScript.
*/
public native Object getMember(String name);
/**
* Retrieves an indexed member of a JavaScript object.
* Equivalent to "this[<i>index</i>]" in JavaScript.
*/
// public Object getMember(int index) { return getSlot(index); }
public native Object getSlot(int index);
/**
* Sets a named member of a JavaScript object.
* Equivalent to "this.<i>name</i> = <i>value</i>" in JavaScript.
*/
public native void setMember(String name, Object value);
/**
* Sets an indexed member of a JavaScript object.
* Equivalent to "this[<i>index</i>] = <i>value</i>" in JavaScript.
*/
// public void setMember(int index, Object value) {
// setSlot(index, value);
// }
public native void setSlot(int index, Object value);
/**
* Removes a named member of a JavaScript object.
*/
public native void removeMember(String name);
/**
* Calls a JavaScript method.
* Equivalent to "this.<i>methodName</i>(<i>args</i>[0], <i>args</i>[1], ...)" in JavaScript.
*/
public native Object call(String methodName, Object args[]);
/**
* Evaluates a JavaScript expression. The expression is a string
* of JavaScript source code which will be evaluated in the context
* given by "this".
*/
public native Object eval(String s);
/**
* Converts a JSObject to a String.
*/
public native String toString();
// should use some sort of identifier rather than String
// is "property" the right word?
// native String[] listProperties();
/**
* get a JSObject for the window containing the given applet
*/
public static native JSObject getWindow(Applet applet);
/**
* Finalization decrements the reference count on the corresponding
* JavaScript object.
*/
protected native void finalize();
}

View File

@@ -1,37 +0,0 @@
/* -*- Mode: Java; 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 JSProxy interface allows applets and plugins to
* share javascript contexts.
*/
package netscape.javascript;
import java.applet.Applet;
public interface JSProxy {
Object getMember(JSObject jso, String name);
Object getSlot(JSObject jso, int index);
void setMember(JSObject jso, String name, Object value);
void setSlot(JSObject jso, int index, Object value);
void removeMember(JSObject jso, String name);
Object call(JSObject jso, String methodName, Object args[]);
Object eval(JSObject jso, String s);
String toString(JSObject jso);
JSObject getWindow(Applet applet);
}

View File

@@ -1,38 +0,0 @@
/* -*- Mode: Java; 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.
*/
/* ** */
package netscape.javascript;
import java.io.*;
public class JSUtil {
/* Return the stack trace of an exception or error as a String */
public static String getStackTrace(Throwable t) {
ByteArrayOutputStream captureStream;
PrintStream p;
captureStream = new ByteArrayOutputStream();
p = new PrintStream(captureStream);
t.printStackTrace(p);
p.flush();
return captureStream.toString();
}
}

View File

@@ -1,737 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the top-level initialization code and the implementation of the
* public API.
*
*/
#include <stdlib.h>
#include <string.h>
#include "prtypes.h"
#include "prassert.h"
#include "prprintf.h"
#include "jsj_private.h" /* LiveConnect internals */
#include "jsjava.h" /* LiveConnect external API */
/* FIXME - The JNI environment should not be a global. It needs to be in thread-local storage. */
JNIEnv *jENV;
/*
* At certain times during initialization, there may be no JavaScript context
* available to direct error reports to, in which case the error messages
* are sent to this function. The caller is responsible for free'ing
* the js_error_msg argument.
*/
static void
report_java_initialization_error(JNIEnv *jEnv, const char *js_error_msg)
{
const char *error_msg, *java_error_msg;
java_error_msg = NULL;
if (jEnv) {
java_error_msg = jsj_GetJavaErrorMessage(jEnv);
(*jEnv)->ExceptionClear(jEnv);
}
if (java_error_msg) {
error_msg = PR_smprintf("initialization error: %s (%s)\n",
js_error_msg, java_error_msg);
free((void*)java_error_msg);
} else {
error_msg = PR_smprintf("initialization error: %s\n",
js_error_msg);
}
jsj_LogError(error_msg);
}
/*
* Opaque JVM handles to Java classes and methods required for Java reflection.
* These are computed and cached at initialization.
*/
jclass jlObject; /* java.lang.Object */
jclass jlrMethod; /* java.lang.reflect.Method */
jclass jlrField; /* java.lang.reflect.Field */
jclass jlVoid; /* java.lang.Void */
jclass jlrConstructor; /* java.lang.reflect.Constructor */
jclass jlThrowable; /* java.lang.Throwable */
jclass jlSystem; /* java.lang.System */
jclass jlClass; /* java.lang.Class */
jclass jlBoolean; /* java.lang.Boolean */
jclass jlDouble; /* java.lang.Double */
jclass jlString; /* java.lang.String */
jclass njJSObject; /* netscape.javascript.JSObject */
jclass njJSException; /* netscape.javascript.JSException */
jclass njJSUtil; /* netscape.javascript.JSUtil */
jmethodID jlClass_getMethods; /* java.lang.Class.getMethods() */
jmethodID jlClass_getConstructors; /* java.lang.Class.getConstructors() */
jmethodID jlClass_getFields; /* java.lang.Class.getFields() */
jmethodID jlClass_getName; /* java.lang.Class.getName() */
jmethodID jlClass_getComponentType; /* java.lang.Class.getComponentType() */
jmethodID jlClass_getModifiers; /* java.lang.Class.getModifiers() */
jmethodID jlClass_isArray; /* java.lang.Class.isArray() */
jmethodID jlrMethod_getName; /* java.lang.reflect.Method.getName() */
jmethodID jlrMethod_getParameterTypes; /* java.lang.reflect.Method.getParameterTypes() */
jmethodID jlrMethod_getReturnType; /* java.lang.reflect.Method.getReturnType() */
jmethodID jlrMethod_getModifiers; /* java.lang.reflect.Method.getModifiers() */
jmethodID jlrConstructor_getParameterTypes; /* java.lang.reflect.Constructor.getParameterTypes() */
jmethodID jlrConstructor_getModifiers; /* java.lang.reflect.Constructor.getModifiers() */
jmethodID jlrField_getName; /* java.lang.reflect.Field.getName() */
jmethodID jlrField_getType; /* java.lang.reflect.Field.getType() */
jmethodID jlrField_getModifiers; /* java.lang.reflect.Field.getModifiers() */
jmethodID jlBoolean_Boolean; /* java.lang.Boolean constructor */
jmethodID jlBoolean_booleanValue; /* java.lang.Boolean.booleanValue() */
jmethodID jlDouble_Double; /* java.lang.Double constructor */
jmethodID jlDouble_doubleValue; /* java.lang.Double.doubleValue() */
jmethodID jlThrowable_toString; /* java.lang.Throwable.toString() */
jmethodID jlThrowable_getMessage; /* java.lang.Throwable.getMessage() */
jmethodID jlSystem_identityHashCode; /* java.lang.System.identityHashCode() */
jobject jlVoid_TYPE; /* java.lang.Void.TYPE value */
jmethodID njJSException_JSException; /* netscape.javascript.JSexception constructor */
jmethodID njJSObject_JSObject; /* netscape.javascript.JSObject constructor */
jmethodID njJSUtil_getStackTrace; /* netscape.javascript.JSUtil.getStackTrace() */
jfieldID njJSObject_internal; /* netscape.javascript.JSObject.internal */
jfieldID njJSException_lineno; /* netscape.javascript.JSException.lineno */
jfieldID njJSException_tokenIndex; /* netscape.javascript.JSException.tokenIndex */
jfieldID njJSException_source; /* netscape.javascript.JSException.source */
jfieldID njJSException_filename; /* netscape.javascript.JSException.filename */
/* Obtain a reference to a Java class */
#define LOAD_CLASS(qualified_name, class) \
{ \
jclass _##class = (*jEnv)->FindClass(jEnv, #qualified_name); \
if (_##class == 0) { \
report_java_initialization_error(jEnv, \
"Can't load class " #qualified_name); \
return JS_FALSE; \
} \
class = (*jEnv)->NewGlobalRef(jEnv, _##class); \
}
/* Obtain a methodID reference to a Java method or constructor */
#define _LOAD_METHOD(qualified_class, method, mvar, signature, class, is_static)\
if (is_static) { \
class##_##mvar = \
(*jEnv)->GetStaticMethodID(jEnv, class, #method, signature); \
} else { \
class##_##mvar = \
(*jEnv)->GetMethodID(jEnv, class, #method, signature); \
} \
if (class##_##mvar == 0) { \
report_java_initialization_error(jEnv, \
"Can't get mid for " #qualified_class "." #method "()"); \
return JS_FALSE; \
}
/* Obtain a methodID reference to a Java instance method */
#define LOAD_METHOD(qualified_class, method, signature, class) \
_LOAD_METHOD(qualified_class, method, method, signature, class, JS_FALSE)
/* Obtain a methodID reference to a Java static method */
#define LOAD_STATIC_METHOD(qualified_class, method, signature, class) \
_LOAD_METHOD(qualified_class, method, method, signature, class, JS_TRUE)
/* Obtain a methodID reference to a Java constructor */
#define LOAD_CONSTRUCTOR(qualified_class, method, signature, class) \
_LOAD_METHOD(qualified_class,<init>, method, signature, class, JS_FALSE)
/* Obtain a fieldID reference to a Java instance or static field */
#define _LOAD_FIELDID(qualified_class, field, signature, class, is_static) \
if (is_static) { \
class##_##field = (*jEnv)->GetStaticFieldID(jEnv, class, #field, signature);\
} else { \
class##_##field = (*jEnv)->GetFieldID(jEnv, class, #field, signature);\
} \
if (class##_##field == 0) { \
report_java_initialization_error(jEnv, \
"Can't get fid for " #qualified_class "." #field); \
return JS_FALSE; \
}
/* Obtain a fieldID reference to a Java instance field */
#define LOAD_FIELDID(qualified_class, field, signature, class) \
_LOAD_FIELDID(qualified_class, field, signature, class, JS_FALSE)
/* Obtain the value of a static field in a Java class */
#define LOAD_FIELD_VAL(qualified_class, field, signature, class, type) \
{ \
jfieldID field_id; \
field_id = (*jEnv)->GetStaticFieldID(jEnv, class, #field, signature);\
if (field_id == 0) { \
report_java_initialization_error(jEnv, \
"Can't get fid for " #qualified_class "." #field); \
return JS_FALSE; \
} \
class##_##field = \
(*jEnv)->GetStatic##type##Field(jEnv, class, field_id); \
if (class##_##field == 0) { \
report_java_initialization_error(jEnv, \
"Can't read static field " #qualified_class "." #field); \
return JS_FALSE; \
} \
}
/* Obtain the value of a static field in a Java class, which is known to
contain an object value. */
#define LOAD_FIELD_OBJ(qualified_class, field, signature, class) \
LOAD_FIELD_VAL(qualified_class, field, signature, class, Object); \
class##_##field = (*jEnv)->NewGlobalRef(jEnv, class##_##field);
/*
* Load the Java classes, and the method and field descriptors required for Java reflection.
* Returns JS_TRUE on success, JS_FALSE on failure.
*/
static JSBool
init_java_VM_reflection(JSJavaVM *jsjava_vm, JNIEnv *jEnv)
{
/* Load Java system classes and method, including java.lang.reflect classes */
LOAD_CLASS(java/lang/Object, jlObject);
LOAD_CLASS(java/lang/Class, jlClass);
LOAD_CLASS(java/lang/reflect/Method, jlrMethod);
LOAD_CLASS(java/lang/reflect/Constructor, jlrConstructor);
LOAD_CLASS(java/lang/reflect/Field, jlrField);
LOAD_CLASS(java/lang/Throwable, jlThrowable);
LOAD_CLASS(java/lang/System, jlSystem);
LOAD_CLASS(java/lang/Boolean, jlBoolean);
LOAD_CLASS(java/lang/Double, jlDouble);
LOAD_CLASS(java/lang/String, jlString);
LOAD_CLASS(java/lang/Void, jlVoid);
LOAD_METHOD(java.lang.Class, getMethods, "()[Ljava/lang/reflect/Method;",jlClass);
LOAD_METHOD(java.lang.Class, getConstructors, "()[Ljava/lang/reflect/Constructor;",jlClass);
LOAD_METHOD(java.lang.Class, getFields, "()[Ljava/lang/reflect/Field;", jlClass);
LOAD_METHOD(java.lang.Class, getName, "()Ljava/lang/String;", jlClass);
LOAD_METHOD(java.lang.Class, isArray, "()Z", jlClass);
LOAD_METHOD(java.lang.Class, getComponentType, "()Ljava/lang/Class;", jlClass);
LOAD_METHOD(java.lang.Class, getModifiers, "()I", jlClass);
LOAD_METHOD(java.lang.reflect.Method, getName, "()Ljava/lang/String;", jlrMethod);
LOAD_METHOD(java.lang.reflect.Method, getParameterTypes, "()[Ljava/lang/Class;", jlrMethod);
LOAD_METHOD(java.lang.reflect.Method, getReturnType, "()Ljava/lang/Class;", jlrMethod);
LOAD_METHOD(java.lang.reflect.Method, getModifiers, "()I", jlrMethod);
LOAD_METHOD(java.lang.reflect.Constructor, getParameterTypes, "()[Ljava/lang/Class;", jlrConstructor);
LOAD_METHOD(java.lang.reflect.Constructor, getModifiers, "()I", jlrConstructor);
LOAD_METHOD(java.lang.reflect.Field, getName, "()Ljava/lang/String;", jlrField);
LOAD_METHOD(java.lang.reflect.Field, getType, "()Ljava/lang/Class;", jlrField);
LOAD_METHOD(java.lang.reflect.Field, getModifiers, "()I", jlrField);
LOAD_METHOD(java.lang.Throwable, toString, "()Ljava/lang/String;", jlThrowable);
LOAD_METHOD(java.lang.Throwable, getMessage, "()Ljava/lang/String;", jlThrowable);
LOAD_METHOD(java.lang.Double, doubleValue, "()D", jlDouble);
LOAD_METHOD(java.lang.Boolean, booleanValue, "()Z", jlBoolean);
LOAD_STATIC_METHOD(java.lang.System, identityHashCode, "(Ljava/lang/Object;)I", jlSystem);
LOAD_CONSTRUCTOR(java.lang.Boolean, Boolean, "(Z)V", jlBoolean);
LOAD_CONSTRUCTOR(java.lang.Double, Double, "(D)V", jlDouble);
LOAD_FIELD_OBJ(java.lang.Void, TYPE, "Ljava/lang/Class;", jlVoid);
}
/* Load Netscape-specific Java extension classes, methods, and fields */
static JSBool
init_netscape_java_classes(JSJavaVM *jsjava_vm, JNIEnv *jEnv)
{
LOAD_CLASS(netscape/javascript/JSObject, njJSObject);
LOAD_CLASS(netscape/javascript/JSException, njJSException);
LOAD_CLASS(netscape/javascript/JSUtil, njJSUtil);
LOAD_CONSTRUCTOR(netscape.javascript.JSObject,
JSObject, "(I)V", njJSObject);
LOAD_CONSTRUCTOR(netscape.javascript.JSException,
JSException, "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;I)V",
njJSException);
LOAD_FIELDID(netscape.javascript.JSObject,
internal, "I", njJSObject);
LOAD_FIELDID(netscape.javascript.JSException,
lineno, "I", njJSException);
LOAD_FIELDID(netscape.javascript.JSException,
tokenIndex, "I", njJSException);
LOAD_FIELDID(netscape.javascript.JSException,
source, "Ljava/lang/String;", njJSException);
LOAD_FIELDID(netscape.javascript.JSException,
filename, "Ljava/lang/String;", njJSException);
LOAD_STATIC_METHOD(netscape.javascript.JSUtil,
getStackTrace, "(Ljava/lang/Throwable;)Ljava/lang/String;",
njJSUtil);
return JS_TRUE;
}
JSJavaVM *jsjava_vm_list = NULL;
/*
* Called once per Java VM, this function initializes the classes, fields, and
* methods required for Java reflection. If java_vm is NULL, a new Java VM is
* created, using the provided classpath in addition to any default classpath.
* The classpath argument is ignored, however, if java_vm_arg is non-NULL.
*/
JSJavaVM *
JSJ_ConnectToJavaVM(JavaVM *java_vm_arg, const char *user_classpath)
{
JavaVM *java_vm;
JSJavaVM *jsjava_vm;
const char *full_classpath;
jsjava_vm = (JSJavaVM*)malloc(sizeof(JSJavaVM));
if (!jsjava_vm)
return NULL;
memset(jsjava_vm, 0, sizeof(JSJavaVM));
java_vm = java_vm_arg;
/* If a Java VM was passed in, try to attach to it on the current thread. */
if (java_vm) {
if ((*java_vm)->AttachCurrentThread(java_vm, &jENV, NULL) < 0) {
jsj_LogError("Failed to attach to Java VM thread\n");
free(jsjava_vm);
return NULL;
}
} else {
/* No Java VM supplied, so create our own */
JDK1_1InitArgs vm_args;
/* Magic constant indicates JRE version 1.1 */
vm_args.version = 0x00010001;
JNI_GetDefaultJavaVMInitArgs(&vm_args);
/* Prepend the classpath argument to the default JVM classpath */
if (user_classpath) {
full_classpath = PR_smprintf("%s;%s", user_classpath, vm_args.classpath);
if (!full_classpath) {
free(jsjava_vm);
return NULL;
}
vm_args.classpath = (char*)full_classpath;
}
/* Attempt to create our own VM */
if (JNI_CreateJavaVM(&java_vm, &jENV, &vm_args) < 0) {
jsj_LogError("Failed to create Java VM\n");
free(jsjava_vm);
return NULL;
}
/* Remember that we created the VM so that we know to destroy it later */
jsjava_vm->jsj_created_java_vm = JS_TRUE;
}
jsjava_vm->java_vm = java_vm;
jsjava_vm->main_thread_env = jENV;
/* Load the Java classes, and the method and field descriptors required for
Java reflection. */
if (!init_java_VM_reflection(jsjava_vm, jENV)) {
JSJ_DisconnectFromJavaVM(jsjava_vm);
return NULL;
}
/*
* JVM initialization for netscape.javascript.JSObject is performed
* independently of the other classes that are initialized in
* init_java_VM_reflection, because we allow it to fail. In the case
* of failure, LiveConnect is still operative, but only when calling
* from JS to Java and not vice-versa.
*/
init_netscape_java_classes(jsjava_vm, jENV);
/* Put this VM on the list of all created VMs */
jsjava_vm->next = jsjava_vm_list;
jsjava_vm_list = jsjava_vm;
return jsjava_vm;
}
JSJCallbacks *JSJ_callbacks = NULL;
/* Called once to set up callbacks for all instances of LiveConnect */
void
JSJ_Init(JSJCallbacks *callbacks)
{
PR_ASSERT(callbacks);
JSJ_callbacks = callbacks;
}
/*
* Initialize the provided JSContext by setting up the JS classes necessary for
* reflection and by defining JavaPackage objects for the default Java packages
* as properties of global_obj. Additional packages may be pre-defined by
* setting the predefined_packages argument. (Pre-defining a Java package at
* initialization time is not necessary, but it will make package lookup faster
* and, more importantly, will avoid unnecessary network accesses if classes
* are being loaded over the network.)
*/
JSJ_InitJSContext(JSContext *cx, JSObject *global_obj,
JavaPackageDef *predefined_packages)
{
/* Initialize the JavaScript classes used for reflection */
if (!jsj_init_JavaObject(cx, global_obj))
return JS_FALSE;
/* if (!jsj_init_JavaMember(cx, global_obj))
return JS_FALSE; */
if (!jsj_init_JavaPackage(cx, global_obj, predefined_packages))
return JS_FALSE;
if (!jsj_init_JavaClass(cx, global_obj))
return JS_FALSE;
if (!jsj_init_JavaArray(cx, global_obj))
return JS_FALSE;
return JS_TRUE;
}
/* Obtain a reference to a Java class */
#define UNLOAD_CLASS(qualified_name, class) \
if (class) { \
(*jENV)->DeleteGlobalRef(jENV, class); \
class = NULL; \
}
/*
* This routine severs the connection to a Java VM, freeing all related resources.
* It shouldn't be called until the global scope has been cleared in all related
* JSContexts (so that all LiveConnect objects are finalized) and a JavaScript
* GC is performed. Otherwise, accessed to free'ed memory could result.
*/
void
JSJ_DisconnectFromJavaVM(JSJavaVM *jsjava_vm)
{
/* FIXME - Clean up the various hash tables */
if (jsjava_vm->jsj_created_java_vm) {
JavaVM *java_vm = jsjava_vm->java_vm;
(*java_vm)->DestroyJavaVM(java_vm);
} else {
UNLOAD_CLASS(java/lang/Object, jlObject);
UNLOAD_CLASS(java/lang/Class, jlClass);
UNLOAD_CLASS(java/lang/reflect/Method, jlrMethod);
UNLOAD_CLASS(java/lang/reflect/Constructor, jlrConstructor);
UNLOAD_CLASS(java/lang/reflect/Field, jlrField);
UNLOAD_CLASS(java/lang/Throwable, jlThrowable);
UNLOAD_CLASS(java/lang/System, jlSystem);
UNLOAD_CLASS(java/lang/Boolean, jlBoolean);
UNLOAD_CLASS(java/lang/Double, jlDouble);
UNLOAD_CLASS(java/lang/String, jlString);
UNLOAD_CLASS(java/lang/Void, jlVoid);
UNLOAD_CLASS(netscape/javascript/JSObject, njJSObject);
UNLOAD_CLASS(netscape/javascript/JSException, njJSException);
UNLOAD_CLASS(netscape/javascript/JSUtil, njJSUtil);
}
}
static JSJavaThreadState *thread_list = NULL;
static JSJavaThreadState *
new_jsjava_thread_state(JSJavaVM *jsjava_vm, const char *thread_name, JNIEnv *jEnv)
{
JSJavaThreadState *jsj_env;
jsj_env = (JSJavaThreadState *)malloc(sizeof(JSJavaThreadState));
if (!jsj_env)
return NULL;
memset(jsj_env, 0, sizeof(JSJavaThreadState));
jsj_env->jEnv = jEnv;
jsj_env->jsjava_vm = jsjava_vm;
if (thread_name)
jsj_env->name = strdup(thread_name);
/* FIXME - need to protect against races */
jsj_env->next = thread_list;
thread_list = jsj_env;
return jsj_env;
}
static JSJavaThreadState *
find_jsjava_thread(JNIEnv *jEnv)
{
JSJavaThreadState *e, **p, *jsj_env;
jsj_env = NULL;
/* FIXME - need to protect against races in manipulating the thread list */
/* Search for the thread state among the list of all created
LiveConnect threads */
for (p=&thread_list; e = *p; p = &(e->next)) {
if (e->jEnv == jEnv) {
jsj_env = e;
*p = jsj_env->next;
break;
}
}
/* Move a found thread to head of list for faster search next time. */
if (jsj_env)
thread_list = jsj_env;
return jsj_env;
}
PR_PUBLIC_API(JSJavaThreadState *)
JSJ_AttachCurrentThreadToJava(JSJavaVM *jsjava_vm, const char *name, JNIEnv **java_envp)
{
JNIEnv *jEnv;
JavaVM *java_vm;
JSJavaThreadState *jsj_env;
/* Try to attach a Java thread to the current native thread */
java_vm = jsjava_vm->java_vm;
if ((*java_vm)->AttachCurrentThread(java_vm, &jEnv, NULL) < 0)
return NULL;
/* If we found an existing thread state, just return it. */
jsj_env = find_jsjava_thread(jEnv);
if (jsj_env)
return jsj_env;
/* Create a new wrapper around the thread/VM state */
jsj_env = new_jsjava_thread_state(jsjava_vm, name, jEnv);
if (java_envp)
*java_envp = jEnv;
return jsj_env;
}
static JSJavaVM *
map_java_vm_to_jsjava_vm(JavaVM *java_vm)
{
JSJavaVM *v;
for (v = jsjava_vm_list; v; v = v->next) {
if (v->java_vm == java_vm)
return v;
}
return NULL;
}
/*
* Unfortunately, there's no standard means to associate any private data with
* a JNI thread environment, so we need to use the Java environment pointer as
* the key in a lookup table that maps it to a JSJavaThreadState structure,
* where we store all our per-thread private data. If no existing thread state
* is found, a new one is created.
*
* If an error occurs, returns NULL and sets the errp argument to an error
* message, which the caller is responsible for free'ing.
*/
JSJavaThreadState *
jsj_MapJavaThreadToJSJavaThreadState(JNIEnv *jEnv, char **errp)
{
JSJavaThreadState *jsj_env;
JavaVM *java_vm;
JSJavaVM *jsjava_vm;
/* If we found an existing thread state, just return it. */
jsj_env = find_jsjava_thread(jEnv);
if (jsj_env)
return jsj_env;
/* No one set up a LiveConnect thread state for a given Java thread.
Invoke the callback to create one on-the-fly. */
/* First, figure out which Java VM is calling us */
if ((*jEnv)->GetJavaVM(jEnv, &java_vm) < 0)
return NULL;
/* Get our private JavaVM data */
jsjava_vm = map_java_vm_to_jsjava_vm(java_vm);
if (!jsjava_vm) {
*errp = PR_smprintf("Total weirdness: No JSJavaVM wrapper ever created "
"for JavaVM 0x%08x", java_vm);
return NULL;
}
jsj_env = new_jsjava_thread_state(jsjava_vm, NULL, jEnv);
if (!jsj_env)
return NULL;
return jsj_env;
}
/*
* This function is used to specify a particular JSContext as *the* JavaScript
* execution environment to be used when LiveConnect is accessed from the given
* Java thread, i.e. by using one of the methods of netscape.javascript.JSObject.
* (There can only be one such JS context for a given Java thread. To
* multiplex JSContexts among a single thread, this function must be called
* before Java is invoked on that thread.) The return value is the previous
* context associated with the given Java thread.
*/
PR_PUBLIC_API(JSContext *)
JSJ_SetDefaultJSContextForJavaThread(JSContext *cx, JSJavaThreadState *jsj_env)
{
JSContext *old_context;
old_context = jsj_env->cx;
jsj_env->cx = cx;
return old_context;
}
PR_PUBLIC_API(JSBool)
JSJ_DetachCurrentThreadFromJava(JSJavaThreadState *jsj_env)
{
JavaVM *java_vm;
JSJavaThreadState *e, **p;
/* Disassociate the current native thread from its corresponding Java thread */
java_vm = jsj_env->jsjava_vm->java_vm;
if ((*java_vm)->DetachCurrentThread(java_vm) < 0)
return JS_FALSE;
/* Destroy the LiveConnect execution environment passed in */
jsj_ClearPendingJSErrors(jsj_env);
/* FIXME - need to protect against races */
for (p=&thread_list; e = *p; p = &(e->next)) {
if (e == jsj_env) {
*p = jsj_env->next;
break;
}
}
free(jsj_env);
return JS_TRUE;
}
JSBool
JSJ_ConvertJavaObjectToJSValue(JSContext *cx, jobject java_obj, jsval *vp)
{
JNIEnv *jEnv;
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
jsj_ConvertJavaObjectToJSValue(cx, jEnv, java_obj, vp);
}
/*===========================================================================*/
/* The convenience functions below present a complete, but simplified
LiveConnect API which is designed to handle the special case of a single
Java-VM, single-threaded operation, and use of only one JSContext. */
/* We can get away with global variables in our single-threaded,
single-JSContext case. */
static JSJavaVM * the_jsj_vm = NULL;
static JSContext * the_cx = NULL;
static JSJavaThreadState * the_jsj_thread = NULL;
static JSObject * the_global_js_obj = NULL;
/* Trivial implementation of callback function */
static JSJavaThreadState *
default_map_js_context_to_jsj_thread(JSContext *cx, char **errp)
{
return the_jsj_thread;
}
/* Trivial implementation of callback function */
static JSContext *
default_map_jsj_thread_to_js_context(JSJavaThreadState *jsj_env, char **errp)
{
return the_cx;
}
/* Trivial implementation of callback function */
JSObject *
default_map_java_object_to_js_object(JNIEnv *jEnv, jobject hint, char **errp)
{
return the_global_js_obj;
}
/* Trivial implementations of callback functions */
JSJCallbacks jsj_default_callbacks = {
default_map_jsj_thread_to_js_context,
default_map_js_context_to_jsj_thread,
default_map_java_object_to_js_object
};
/*
* Initialize the provided JSContext by setting up the JS classes necessary for
* reflection and by defining JavaPackage objects for the default Java packages
* as properties of global_obj. If java_vm is NULL, a new Java VM is
* created, using the provided classpath in addition to any default classpath.
* The classpath argument is ignored, however, if java_vm is non-NULL.
*/
JSBool
JSJ_SimpleInit(JSContext *cx, JSObject *global_obj, JavaVM *java_vm, const char *classpath)
{
PR_ASSERT(!the_jsj_vm);
the_jsj_vm = JSJ_ConnectToJavaVM(java_vm, classpath);
if (!the_jsj_vm)
return JS_FALSE;
JSJ_Init(&jsj_default_callbacks);
if (!JSJ_InitJSContext(cx, global_obj, NULL))
goto error;
the_cx = cx;
the_global_js_obj = global_obj;
the_jsj_thread = JSJ_AttachCurrentThreadToJava(the_jsj_vm, "main thread", &jENV);
if (!the_jsj_thread)
goto error;
return JS_TRUE;
error:
JSJ_SimpleShutdown();
return JS_FALSE;
}
/*
* Free up all LiveConnect resources. Destroy the Java VM if it was
* created by LiveConnect.
*/
PR_PUBLIC_API(void)
JSJ_SimpleShutdown()
{
PR_ASSERT(the_jsj_vm);
JSJ_DisconnectFromJavaVM(the_jsj_vm);
the_jsj_vm = NULL;
the_cx = NULL;
the_global_js_obj = NULL;
the_jsj_thread = NULL;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,341 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the definition of the JavaScript JavaArray class.
* Instances of JavaArray are used to reflect Java arrays.
*/
#include <stdlib.h>
#include <string.h>
#include "prassert.h"
#include "jsj_private.h" /* LiveConnect internals */
static JSBool
access_java_array_element(JSContext *cx,
JNIEnv *jEnv,
JSObject *obj,
jsid id,
jsval *vp,
JSBool do_assignment)
{
jsval idval;
jarray java_array;
JavaClassDescriptor *class_descriptor;
JavaObjectWrapper *java_wrapper;
jsize array_length, index;
JavaSignature *array_component_signature;
/* printf("In JavaArray_getProperty\n"); */
java_wrapper = JS_GetPrivate(cx, obj);
if (!java_wrapper) {
const char *property_name;
if (JS_IdToValue(cx, id, &idval) && JSVAL_IS_STRING(idval) &&
(property_name = JS_GetStringBytes(JSVAL_TO_STRING(idval)))) {
if (!strcmp(property_name, "constructor")) {
*vp = JSVAL_VOID;
return JS_TRUE;
}
}
JS_ReportError(cx, "illegal operation on JavaArray prototype object");
return JS_FALSE;
}
class_descriptor = java_wrapper->class_descriptor;
java_array = java_wrapper->java_obj;
PR_ASSERT(class_descriptor->type == JAVA_SIGNATURE_ARRAY);
JS_IdToValue(cx, id, &idval);
if (!JSVAL_IS_INT(idval)) {
/*
* Usually, properties of JavaArray objects are indexed by integers, but
* Java arrays also inherit all the methods of java.lang.Object, so a
* string-valued property is also possible.
*/
if (JSVAL_IS_STRING(idval)) {
const char *member_name;
member_name = JS_GetStringBytes(JSVAL_TO_STRING(idval));
if (do_assignment) {
JS_ReportError(cx, "Attempt to write to invalid Java array "
"element \"%s\"", member_name);
return JS_FALSE;
} else {
if (!strcmp(member_name, "length")) {
array_length = jsj_GetJavaArrayLength(cx, jEnv, java_array);
if (array_length < 0)
return JS_FALSE;
if (vp)
*vp = INT_TO_JSVAL(array_length);
return JS_TRUE;
}
/* Check to see if we're reflecting a Java array method */
return JavaObject_getPropertyById(cx, obj, id, vp);
}
}
JS_ReportError(cx, "invalid Java array index expression");
return JS_FALSE;
}
index = JSVAL_TO_INT(idval);
#if 0
array_length = jsj_GetJavaArrayLength(cx, jEnv, java_array);
if (array_length < 0)
return JS_FALSE;
/* Just let Java throw an exception instead of checking array bounds here */
if (index < 0 || index >= array_length) {
JS_ReportError(cx, "Java array index %d out of range", index);
return JS_FALSE;
}
#endif
array_component_signature = class_descriptor->array_component_signature;
if (!vp)
return JS_TRUE;
if (do_assignment) {
return jsj_SetJavaArrayElement(cx, jEnv, java_array, index,
array_component_signature, *vp);
} else {
return jsj_GetJavaArrayElement(cx, jEnv, java_array, index,
array_component_signature, vp);
}
}
PR_STATIC_CALLBACK(JSBool)
JavaArray_getPropertyById(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
{
JNIEnv *jEnv;
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
return access_java_array_element(cx, jEnv, obj, id, vp, JS_FALSE);
}
PR_STATIC_CALLBACK(JSBool)
JavaArray_setPropertyById(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
{
JNIEnv *jEnv;
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
return access_java_array_element(cx, jEnv, obj, id, vp, JS_TRUE);
}
static JSBool
JavaArray_lookupProperty(JSContext *cx, JSObject *obj, jsid id,
JSObject **objp, JSProperty **propp
#if defined JS_THREADSAFE && defined DEBUG
, const char *file, uintN line
#endif
)
{
JNIEnv *jEnv;
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
return access_java_array_element(cx, jEnv, obj, id, NULL, JS_FALSE);
}
static JSBool
JavaArray_defineProperty(JSContext *cx, JSObject *obj, jsid id, jsval value,
JSPropertyOp getter, JSPropertyOp setter,
uintN attrs, JSProperty **propp)
{
JS_ReportError(cx, "Elements of JavaArray objects may not be deleted");
return JS_FALSE;
}
static JSBool
JavaArray_getAttributes(JSContext *cx, JSObject *obj, jsid id,
JSProperty *prop, uintN *attrsp)
{
/* We don't maintain JS property attributes for Java class members */
*attrsp = JSPROP_PERMANENT|JSPROP_ENUMERATE;
return JS_FALSE;
}
static JSBool
JavaArray_setAttributes(JSContext *cx, JSObject *obj, jsid id,
JSProperty *prop, uintN *attrsp)
{
/* We don't maintain JS property attributes for Java class members */
if (*attrsp != JSPROP_PERMANENT|JSPROP_ENUMERATE) {
PR_ASSERT(0);
return JS_FALSE;
}
/* Silently ignore all setAttribute attempts */
return JS_TRUE;
}
static JSBool
JavaArray_deleteProperty(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
{
JS_ReportError(cx, "Elements of JavaArray objects may not be deleted");
return JS_FALSE;
}
static JSBool
JavaArray_defaultValue(JSContext *cx, JSObject *obj, JSType type, jsval *vp)
{
/* printf("In JavaArray_defaultValue()\n"); */
return JavaObject_convert(cx, obj, JSTYPE_STRING, vp);
}
static JSBool
JavaArray_newEnumerate(JSContext *cx, JSObject *obj, JSIterateOp enum_op,
jsval *statep, jsid *idp)
{
JavaObjectWrapper *java_wrapper;
JNIEnv *jEnv;
jsize array_length, index;
java_wrapper = JS_GetPrivate(cx, obj);
/* Check for prototype object */
if (!java_wrapper) {
*statep = JSVAL_NULL;
if (idp)
*idp = INT_TO_JSVAL(0);
return JS_TRUE;
}
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
array_length = jsj_GetJavaArrayLength(cx, jEnv, java_wrapper->java_obj);
if (array_length < 0)
return JS_FALSE;
switch(enum_op) {
case JSENUMERATE_INIT:
*statep = INT_TO_JSVAL(0);
if (idp)
*idp = INT_TO_JSVAL(array_length);
return JS_TRUE;
case JSENUMERATE_NEXT:
index = JSVAL_TO_INT(*statep);
if (index < array_length) {
JS_ValueToId(cx, INT_TO_JSVAL(index), idp);
index++;
*statep = INT_TO_JSVAL(index);
return JS_TRUE;
}
/* Fall through ... */
case JSENUMERATE_DESTROY:
*statep = JSVAL_NULL;
return JS_TRUE;
default:
PR_ASSERT(0);
return JS_FALSE;
}
}
static JSBool
JavaArray_checkAccess(JSContext *cx, JSObject *obj, jsid id,
JSAccessMode mode, jsval *vp, uintN *attrsp)
{
switch (mode) {
case JSACC_WATCH:
JS_ReportError(cx, "Cannot place watchpoints on JavaArray object properties");
return JS_FALSE;
case JSACC_IMPORT:
JS_ReportError(cx, "Cannot export a JavaArray object's properties");
return JS_FALSE;
default:
return JS_TRUE;
}
}
JSObjectOps JavaArray_ops = {
/* Mandatory non-null function pointer members. */
NULL, /* newObjectMap */
NULL, /* destroyObjectMap */
JavaArray_lookupProperty,
JavaArray_defineProperty,
JavaArray_getPropertyById, /* getProperty */
JavaArray_setPropertyById, /* setProperty */
JavaArray_getAttributes,
JavaArray_setAttributes,
JavaArray_deleteProperty,
JavaArray_defaultValue,
JavaArray_newEnumerate,
JavaArray_checkAccess,
/* Optionally non-null members start here. */
NULL, /* thisObject */
NULL, /* dropProperty */
NULL, /* call */
NULL, /* construct */
NULL, /* xdrObject */
NULL /* hasInstance */
};
JSObjectOps *
JavaArray_getObjectOps(JSContext *cx, JSClass *clazz)
{
return &JavaArray_ops;
}
JSClass JavaArray_class = {
"JavaArray", JSCLASS_HAS_PRIVATE,
NULL, NULL, NULL, NULL,
NULL, NULL, JavaObject_convert, JavaObject_finalize,
JavaArray_getObjectOps,
};
extern PR_IMPORT_DATA(JSObjectOps) js_ObjectOps;
/* Initialize the JS JavaArray class */
JSBool
jsj_init_JavaArray(JSContext *cx, JSObject *global_obj)
{
JavaArray_ops.newObjectMap = js_ObjectOps.newObjectMap;
JavaArray_ops.destroyObjectMap = js_ObjectOps.destroyObjectMap;
if (!JS_InitClass(cx, global_obj,
0, &JavaArray_class, 0, 0,
0, 0, 0, 0))
return JS_FALSE;
return JS_TRUE;
}

View File

@@ -1,572 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the native code implementation of JS's JavaClass class.
*
* A JavaClass is JavaScript's representation of a Java class.
* Its parent JS object is always a JavaPackage object. A JavaClass is not an
* exact reflection of Java's corresponding java.lang.Class object. Rather,
* the properties of a JavaClass are the static methods and properties of the
* corresponding Java class.
*
* Note that there is no runtime equivalent to the JavaClass class in Java.
* (Although there are instances of java.lang.String and there are static
* methods of java.lang.String that can be invoked, there's no such thing as
* a first-class object that can be referenced simply as "java.lang.String".)
*/
#include <stdlib.h>
#include <string.h>
#include "prtypes.h"
#include "prprintf.h"
#include "prassert.h"
#include "jsj_private.h" /* LiveConnect internals */
static JSBool
JavaClass_convert(JSContext *cx, JSObject *obj, JSType type, jsval *vp)
{
char *name;
JSString *str;
JavaClassDescriptor *class_descriptor;
class_descriptor = JS_GetPrivate(cx, obj);
if (!class_descriptor)
return JS_FALSE;
switch(type) {
case JSTYPE_STRING:
/* Convert '/' to '.' so that it looks like Java language syntax. */
if (!class_descriptor->name)
break;
name = PR_smprintf("[JavaClass %s]", class_descriptor->name);
if (!name) {
JS_ReportOutOfMemory(cx);
return JS_FALSE;
}
str = JS_NewString(cx, name, strlen(name));
if (!str) {
free(name);
/* It's not necessary to call JS_ReportOutOfMemory(), as
JS_NewString() will do so on failure. */
return JS_FALSE;
}
*vp = STRING_TO_JSVAL(str);
return JS_TRUE;
default:
return JS_TRUE;
}
}
static JSBool
lookup_static_member_by_id(JSContext *cx, JNIEnv *jEnv, JSObject *obj,
JavaClassDescriptor **class_descriptorp,
jsid id, JavaMemberDescriptor **memberp)
{
jsval idval;
JavaMemberDescriptor *member_descriptor;
const char *member_name;
JavaClassDescriptor *class_descriptor;
class_descriptor = JS_GetPrivate(cx, obj);
if (!class_descriptor) {
*class_descriptorp = NULL;
*memberp = NULL;
return JS_TRUE;
}
if (class_descriptorp)
*class_descriptorp = class_descriptor;
member_descriptor = jsj_LookupJavaStaticMemberDescriptorById(cx, jEnv, class_descriptor, id);
if (!member_descriptor) {
JS_IdToValue(cx, id, &idval);
if (!JSVAL_IS_STRING(idval)) {
JS_ReportError(cx, "invalid JavaClass property expression. "
"(methods and fields of a JavaClass object can only be identified by their name)");
return JS_FALSE;
}
member_name = JS_GetStringBytes(JSVAL_TO_STRING(idval));
/* Why do we have to do this ? */
if (!strcmp(member_name, "prototype")) {
*memberp = NULL;
return JS_TRUE;
}
JS_ReportError(cx, "Java class %s has no public static field or method named \"%s\"",
class_descriptor->name, member_name);
return JS_FALSE;
}
if (memberp)
*memberp = member_descriptor;
return JS_TRUE;
}
PR_STATIC_CALLBACK(JSBool)
JavaClass_getPropertyById(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
{
jsval idval;
jclass java_class;
const char *member_name;
JavaClassDescriptor *class_descriptor;
JavaMemberDescriptor *member_descriptor;
JNIEnv *jEnv;
/* printf("In JavaClass_getProperty\n"); */
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
if (!lookup_static_member_by_id(cx, jEnv, obj, &class_descriptor, id, &member_descriptor))
return JS_FALSE;
if (!member_descriptor) {
*vp = JSVAL_VOID;
return JS_TRUE;
}
java_class = class_descriptor->java_class;
if (member_descriptor->field) {
if (!member_descriptor->methods) {
return jsj_GetJavaFieldValue(cx, jEnv, member_descriptor->field, java_class, vp);
} else {
PR_ASSERT(0);
}
} else {
JSFunction *function;
/* FIXME - eliminate JSFUN_BOUND_METHOD */
JS_IdToValue(cx, id, &idval);
member_name = JS_GetStringBytes(JSVAL_TO_STRING(idval));
function = JS_NewFunction(cx, jsj_JavaStaticMethodWrapper, 0,
JSFUN_BOUND_METHOD, obj, member_name);
if (!function)
return JS_FALSE;
*vp = OBJECT_TO_JSVAL(JS_GetFunctionObject(function));
return JS_TRUE;
}
}
PR_STATIC_CALLBACK(JSBool)
JavaClass_setPropertyById(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
{
jclass java_class;
const char *member_name;
JavaClassDescriptor *class_descriptor;
JavaMemberDescriptor *member_descriptor;
jsval idval;
JNIEnv *jEnv;
/* printf("In JavaClass_setProperty\n"); */
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
if (!lookup_static_member_by_id(cx, jEnv, obj, &class_descriptor, id, &member_descriptor))
return JS_FALSE;
/* Check for the case where there is a method with the given name, but no field
with that name */
if (!member_descriptor->field)
goto no_such_field;
/* Silently fail if field value is final (immutable), as required by ECMA spec */
if (member_descriptor->field->modifiers & ACC_FINAL)
return JS_TRUE;
java_class = class_descriptor->java_class;
return jsj_SetJavaFieldValue(cx, jEnv, member_descriptor->field, java_class, *vp);
no_such_field:
JS_IdToValue(cx, id, &idval);
member_name = JS_GetStringBytes(JSVAL_TO_STRING(idval));
JS_ReportError(cx, "No static field named \"%s\" in Java class %s",
member_name, class_descriptor->name);
return JS_FALSE;
}
/*
* Free the private native data associated with the JavaPackage object.
*/
PR_STATIC_CALLBACK(void)
JavaClass_finalize(JSContext *cx, JSObject *obj)
{
JNIEnv *jEnv;
JavaClassDescriptor *class_descriptor = JS_GetPrivate(cx, obj);
if (!class_descriptor)
return;
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return;
printf("Finalizing %s\n", class_descriptor->name);
jsj_ReleaseJavaClassDescriptor(cx, jEnv, class_descriptor);
}
static JSBool
JavaClass_lookupProperty(JSContext *cx, JSObject *obj, jsid id,
JSObject **objp, JSProperty **propp
#if defined JS_THREADSAFE && defined DEBUG
, const char *file, uintN line
#endif
)
{
JNIEnv *jEnv;
/* printf("In JavaClass_lookupProperty()\n"); */
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
if (!lookup_static_member_by_id(cx, jEnv, obj, NULL, id, NULL))
return JS_FALSE;
*objp = obj;
*propp = (JSProperty*)1;
return JS_TRUE;
}
static JSBool
JavaClass_defineProperty(JSContext *cx, JSObject *obj, jsid id, jsval value,
JSPropertyOp getter, JSPropertyOp setter,
uintN attrs, JSProperty **propp)
{
JS_ReportError(cx, "Properties of JavaClass objects may not be deleted");
return JS_FALSE;
}
static JSBool
JavaClass_getAttributes(JSContext *cx, JSObject *obj, jsid id,
JSProperty *prop, uintN *attrsp)
{
/* We don't maintain JS property attributes for Java class members */
*attrsp = JSPROP_PERMANENT|JSPROP_ENUMERATE;
return JS_FALSE;
}
static JSBool
JavaClass_setAttributes(JSContext *cx, JSObject *obj, jsid id,
JSProperty *prop, uintN *attrsp)
{
/* We don't maintain JS property attributes for Java class members */
if (*attrsp != JSPROP_PERMANENT|JSPROP_ENUMERATE) {
PR_ASSERT(0);
return JS_FALSE;
}
/* Silently ignore all setAttribute attempts */
return JS_TRUE;
}
static JSBool
JavaClass_deleteProperty(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
{
JS_ReportError(cx, "Properties of JavaClass objects may not be deleted");
return JS_FALSE;
}
static JSBool
JavaClass_defaultValue(JSContext *cx, JSObject *obj, JSType type, jsval *vp)
{
/* printf("In JavaClass_defaultValue()\n"); */
return JavaClass_convert(cx, obj, JSTYPE_STRING, vp);
}
static JSBool
JavaClass_newEnumerate(JSContext *cx, JSObject *obj, JSIterateOp enum_op,
jsval *statep, jsid *idp)
{
JavaMemberDescriptor *member_descriptor;
JavaClassDescriptor *class_descriptor;
JNIEnv *jEnv;
class_descriptor = JS_GetPrivate(cx, obj);
/* Check for prototype JavaClass object */
if (!class_descriptor) {
*statep = JSVAL_NULL;
if (idp)
*idp = INT_TO_JSVAL(0);
return JS_TRUE;
}
switch(enum_op) {
case JSENUMERATE_INIT:
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
member_descriptor = jsj_GetClassInstanceMembers(cx, jEnv, class_descriptor);
*statep = PRIVATE_TO_JSVAL(member_descriptor);
if (idp)
*idp = INT_TO_JSVAL(class_descriptor->num_instance_members);
return JS_TRUE;
case JSENUMERATE_NEXT:
member_descriptor = JSVAL_TO_PRIVATE(*statep);
if (member_descriptor) {
*idp = member_descriptor->id;
*statep = PRIVATE_TO_JSVAL(member_descriptor->next);
return JS_TRUE;
}
/* Fall through ... */
case JSENUMERATE_DESTROY:
*statep = JSVAL_NULL;
return JS_TRUE;
default:
PR_ASSERT(0);
return JS_FALSE;
}
}
static JSBool
JavaClass_checkAccess(JSContext *cx, JSObject *obj, jsid id,
JSAccessMode mode, jsval *vp, uintN *attrsp)
{
switch (mode) {
case JSACC_WATCH:
JS_ReportError(cx, "Cannot place watchpoints on JavaClass object properties");
return JS_FALSE;
case JSACC_IMPORT:
JS_ReportError(cx, "Cannot export a JavaClass object's properties");
return JS_FALSE;
default:
return JS_TRUE;
}
}
/*
* Implement the JavaScript instanceof operator for JavaClass objects by using
* the equivalent Java instanceof operation.
*/
static JSBool
JavaClass_hasInstance(JSContext *cx, JSObject *obj, jsval candidate_jsval,
JSBool *has_instancep)
{
JavaClassDescriptor *class_descriptor;
JavaObjectWrapper *java_wrapper;
JSClass *js_class;
JSBool has_instance;
JSObject *candidate_obj;
jclass java_class;
jobject java_obj;
JNIEnv *jEnv;
has_instance = JS_FALSE;
class_descriptor = JS_GetPrivate(cx, obj);
if (!class_descriptor) {
JS_ReportError(cx, "illegal operation on JavaClass prototype object");
return JS_FALSE;
}
/*
* Make sure that the thing to the left of the instanceof operator is a
* Java object.
*/
if (!JSVAL_IS_OBJECT(candidate_jsval))
goto done;
candidate_obj = JSVAL_TO_OBJECT(candidate_jsval);
js_class = JS_GetClass(candidate_obj);
if ((js_class != &JavaObject_class) && (js_class != &JavaArray_class))
goto done;
java_class = class_descriptor->java_class;
java_wrapper = JS_GetPrivate(cx, candidate_obj);
if (!java_wrapper) {
JS_ReportError(cx, "illegal operation on prototype object");
return JS_FALSE;
}
java_obj = java_wrapper->java_obj;
/* Get JNI pointer */
jsj_MapJSContextToJSJThread(cx, &jEnv);
has_instance = (*jEnv)->IsInstanceOf(jEnv, java_obj, java_class);
done:
*has_instancep = has_instance;
return JS_TRUE;
}
JSObjectOps JavaClass_ops = {
/* Mandatory non-null function pointer members. */
NULL, /* newObjectMap */
NULL, /* destroyObjectMap */
JavaClass_lookupProperty,
JavaClass_defineProperty,
JavaClass_getPropertyById, /* getProperty */
JavaClass_setPropertyById, /* setProperty */
JavaClass_getAttributes,
JavaClass_setAttributes,
JavaClass_deleteProperty,
JavaClass_defaultValue,
JavaClass_newEnumerate,
JavaClass_checkAccess,
/* Optionally non-null members start here. */
NULL, /* thisObject */
NULL, /* dropProperty */
jsj_JavaConstructorWrapper, /* call */
jsj_JavaConstructorWrapper, /* construct */
NULL, /* xdrObject */
JavaClass_hasInstance, /* hasInstance */
};
JSObjectOps *
JavaClass_getObjectOps(JSContext *cx, JSClass *clazz)
{
return &JavaClass_ops;
}
JSClass JavaClass_class = {
"JavaClass", JSCLASS_HAS_PRIVATE,
NULL, NULL, NULL, NULL,
NULL, NULL, JavaClass_convert, JavaClass_finalize,
JavaClass_getObjectOps,
};
JSObject *
jsj_new_JavaClass(JSContext *cx, JNIEnv *jEnv, JSObject* parent_obj,
JavaClassDescriptor *class_descriptor)
{
JSObject *JavaClass_obj;
JavaClass_obj = JS_NewObject(cx, &JavaClass_class, 0, parent_obj);
if (!JavaClass_obj)
return NULL;
JS_SetPrivate(cx, JavaClass_obj, (void *)class_descriptor);
#ifdef DEBUG
/* printf("JavaClass \'%s\' created\n", class_descriptor->name); */
#endif
return JavaClass_obj;
}
JSObject *
jsj_define_JavaClass(JSContext *cx, JNIEnv *jEnv, JSObject* parent_obj,
const char *simple_class_name,
jclass java_class)
{
JavaClassDescriptor *class_descriptor;
JSObject *JavaClass_obj;
class_descriptor = jsj_GetJavaClassDescriptor(cx, jEnv, java_class);
if (!class_descriptor)
return NULL;
JavaClass_obj = jsj_new_JavaClass(cx, jEnv, parent_obj, class_descriptor);
if (!JavaClass_obj)
return NULL;
if (!JS_DefineProperty(cx, parent_obj, simple_class_name,
OBJECT_TO_JSVAL(JavaClass_obj), 0, 0,
JSPROP_PERMANENT|JSPROP_READONLY|JSPROP_ENUMERATE))
return NULL;
return JavaClass_obj;
}
/*
* The getClass() native JS method is defined as a property of the global
* object. Given a JavaObject it returns the corresponding JavaClass. This
* is useful for accessing static methods and fields.
*
* js> getClass(new java.lang.String("foo"))
* [JavaClass java.lang.String]
*/
static JSBool
getClass(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
JSObject *obj_arg, *JavaClass_obj;
JavaObjectWrapper *java_wrapper;
JavaClassDescriptor *class_descriptor;
JNIEnv *jEnv;
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
if (argc != 1 ||
!JSVAL_IS_OBJECT(argv[0]) ||
!(obj_arg = JSVAL_TO_OBJECT(argv[0])) ||
(!JS_InstanceOf(cx, obj_arg, &JavaObject_class, 0) &&
!JS_InstanceOf(cx, obj_arg, &JavaArray_class, 0))) {
JS_ReportError(cx, "getClass expects a Java object argument");
return JS_FALSE;
}
java_wrapper = JS_GetPrivate(cx, obj_arg);
if (!java_wrapper) {
JS_ReportError(cx, "getClass called on prototype object");
return JS_FALSE;
}
class_descriptor = java_wrapper->class_descriptor;
JavaClass_obj = jsj_new_JavaClass(cx, jEnv, NULL, class_descriptor);
if (!JavaClass_obj)
return JS_FALSE;
*rval = OBJECT_TO_JSVAL(JavaClass_obj);
return JS_TRUE;
}
extern PR_IMPORT_DATA(JSObjectOps) js_ObjectOps;
JSBool
jsj_init_JavaClass(JSContext *cx, JSObject *global_obj)
{
JavaClass_ops.newObjectMap = js_ObjectOps.newObjectMap;
JavaClass_ops.destroyObjectMap = js_ObjectOps.destroyObjectMap;
/* Define JavaClass class */
if (!JS_InitClass(cx, global_obj, 0, &JavaClass_class, 0, 0, 0, 0, 0, 0))
return JS_FALSE;
if (!JS_DefineFunction(cx, global_obj, "getClass", getClass, 0,
JSPROP_READONLY))
return JS_FALSE;
return jsj_InitJavaClassReflectionsTable();
}

View File

@@ -1,695 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the native code implementation of JS's JavaObject class.
*
* An instance of JavaObject is the JavaScript reflection of a Java object.
*
*/
#include <stdlib.h>
#include <string.h>
#include "prassert.h"
#include "jsj_private.h" /* LiveConnect internals */
/*
* This is a hash table that maps from Java objects to JS objects.
* It is used to ensure that the same JS object is obtained when a Java
* object is reflected more than once, so that JS object equality tests
* work in the expected manner, i.e. the "==" and "===" operators.
*
* The table entry keys are Java objects (of type jobject) and the entry values
* are JSObject pointers. Because the jobject type is an opaque handle and
* not necessarily a pointer, the hashing and key comparison functions must
* invoke the appropriate JVM functions.
*
* When the corresponding JS object instance is finalized, the entry is
* removed from the table, and a Java GC root for the Java object is removed.
*/
static PRHashTable *java_obj_reflections = NULL;
#ifdef JS_THREADSAFE
static PRMonitor *java_obj_reflections_monitor = NULL;
#endif
static JSBool
init_java_obj_reflections_table()
{
java_obj_reflections =
PR_NewHashTable(512, jsj_HashJavaObject, jsj_JavaObjectComparator,
NULL, NULL, NULL);
if (!java_obj_reflections)
return JS_FALSE;
#ifdef JS_THREADSAFE
java_obj_reflections_monitor = PR_NewNamedMonitor("java_obj_reflections");
if (!java_obj_reflections_monitor) {
PR_HashTableDestroy(java_obj_reflections);
return JS_FALSE;
}
#endif
return JS_TRUE;
}
JSObject *
jsj_WrapJavaObject(JSContext *cx,
JNIEnv *jEnv,
jobject java_obj,
jclass java_class)
{
prhashcode hash_code;
JSClass *js_class;
JSObject *js_wrapper_obj;
JavaObjectWrapper *java_wrapper;
JavaClassDescriptor *class_descriptor;
PRHashEntry *he, **hep;
js_wrapper_obj = NULL;
hash_code = jsj_HashJavaObject((void*)java_obj);
#ifdef JS_THREADSAFE
PR_EnterMonitor(java_obj_reflections_monitor);
#endif
hep = PR_HashTableRawLookup(java_obj_reflections,
hash_code, java_obj);
he = *hep;
if (he) {
js_wrapper_obj = (JSObject *)he->value;
if (js_wrapper_obj)
goto done;
}
/* No existing reflection found. Construct a new one */
class_descriptor = jsj_GetJavaClassDescriptor(cx, jEnv, java_class);
if (!class_descriptor)
goto done;
if (class_descriptor->type == JAVA_SIGNATURE_ARRAY) {
js_class = &JavaArray_class;
} else {
PR_ASSERT(class_descriptor->type == JAVA_SIGNATURE_CLASS);
js_class = &JavaObject_class;
}
/* Create new JS object to reflect Java object */
js_wrapper_obj = JS_NewObject(cx, js_class, NULL, NULL);
if (!js_wrapper_obj)
goto done;
/* Create private, native portion of JavaObject */
java_wrapper =
(JavaObjectWrapper *)JS_malloc(cx, sizeof(JavaObjectWrapper));
if (!java_wrapper) {
jsj_ReleaseJavaClassDescriptor(cx, jEnv, class_descriptor);
goto done;
}
JS_SetPrivate(cx, js_wrapper_obj, java_wrapper);
java_wrapper->class_descriptor = class_descriptor;
java_wrapper->members = NULL;
/* Add the JavaObject to the hash table */
he = PR_HashTableRawAdd(java_obj_reflections, hep, hash_code,
java_obj, js_wrapper_obj);
if (he) {
java_wrapper->java_obj = (*jEnv)->NewGlobalRef(jEnv, java_obj);
if (!java_wrapper->java_obj)
goto out_of_memory;
} else {
goto out_of_memory;
}
done:
#ifdef JS_THREADSAFE
PR_ExitMonitor(java_obj_reflections_monitor);
#endif
return js_wrapper_obj;
out_of_memory:
/* No need to free js_wrapper_obj, as it will be finalized by GC. */
JS_ReportOutOfMemory(cx);
js_wrapper_obj = NULL;
goto done;
}
static void
remove_java_obj_reflection_from_hashtable(jobject java_obj)
{
prhashcode hash_code;
PRHashEntry *he, **hep;
hash_code = jsj_HashJavaObject((void*)java_obj);
#ifdef JS_THREADSAFE
PR_EnterMonitor(java_obj_reflections_monitor);
#endif
hep = PR_HashTableRawLookup(java_obj_reflections, hash_code, java_obj);
he = *hep;
PR_ASSERT(he);
if (he)
PR_HashTableRawRemove(java_obj_reflections, hep, he);
#ifdef JS_THREADSAFE
PR_ExitMonitor(java_obj_reflections_monitor);
#endif
}
void
JavaObject_finalize(JSContext *cx, JSObject *obj)
{
JavaObjectWrapper *java_wrapper;
jobject java_obj;
JNIEnv *jEnv;
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return;
java_wrapper = JS_GetPrivate(cx, obj);
if (!java_wrapper)
return;
java_obj = java_wrapper->java_obj;
remove_java_obj_reflection_from_hashtable(java_obj);
(*jEnv)->DeleteGlobalRef(jEnv, java_obj);
jsj_ReleaseJavaClassDescriptor(cx, jEnv, java_wrapper->class_descriptor);
/* FIXME - Delete JavaMemberValues */
/* if (java_wrapper->invoke_java_method_func_obj)
JS_RemoveRoot(cx, &java_wrapper->invoke_java_method_func_obj); */
JS_free(cx, java_wrapper);
}
/*
static JSBool
JavaObject_toString(JSContext *cx, JSObject *obj,
uintN argc, jsval *argv, jsval *vp)
{
jobject java_obj;
JavaObjectWrapper *java_wrapper;
JavaClassDescriptor *class_descriptor;
java_wrapper = JS_GetPrivate(cx, obj);
if (!java_wrapper) {
JS_ReportError(cx, "illegal operation on JavaObject prototype object");
return JS_FALSE;
}
class_descriptor = java_wrapper->class_descriptor;
java_obj = java_wrapper->java_obj;
return jsj_ConvertJavaObjectToJSString(cx, class_descriptor, java_obj, vp);
}
*/
PR_CALLBACK JSBool
JavaObject_convert(JSContext *cx, JSObject *obj, JSType type, jsval *vp)
{
JavaObjectWrapper *java_wrapper;
JavaClassDescriptor *class_descriptor;
jobject java_obj;
JNIEnv *jEnv;
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
java_wrapper = JS_GetPrivate(cx, obj);
if (!java_wrapper) {
if (type == JSTYPE_OBJECT) {
*vp = OBJECT_TO_JSVAL(obj);
return JS_TRUE;
}
JS_ReportError(cx, "illegal operation on JavaObject prototype object");
return JS_FALSE;
}
java_obj = java_wrapper->java_obj;
class_descriptor = java_wrapper->class_descriptor;
switch (type) {
case JSTYPE_OBJECT:
*vp = OBJECT_TO_JSVAL(obj);
return JS_TRUE;
case JSTYPE_FUNCTION:
JS_ReportError(cx, "can't convert Java object to function");
return JS_FALSE;
case JSTYPE_VOID:
case JSTYPE_STRING:
/* Either extract a C-string from the java.lang.String object
or call the Java toString() method */
return jsj_ConvertJavaObjectToJSString(cx, jEnv, class_descriptor, java_obj, vp);
case JSTYPE_NUMBER:
/* Call Java doubleValue() method, if applicable */
return jsj_ConvertJavaObjectToJSNumber(cx, jEnv, java_obj, vp);
case JSTYPE_BOOLEAN:
/* Call booleanValue() method, if applicable */
return jsj_ConvertJavaObjectToJSBoolean(cx, jEnv, java_obj, vp);
default:
PR_ASSERT(0);
return JS_FALSE;
}
}
static JSBool
lookup_member_by_id(JSContext *cx, JNIEnv *jEnv, JSObject *obj,
JavaObjectWrapper **java_wrapperp,
jsid id, JavaMemberVal **memberp,
JavaMemberDescriptor **member_descriptorp)
{
jsval idval;
JavaMemberVal *member, **prev_memberp;
JavaObjectWrapper *java_wrapper;
JavaMemberDescriptor *member_descriptor;
const char *member_name, *property_name;
JavaClassDescriptor *class_descriptor;
java_wrapper = JS_GetPrivate(cx, obj);
if (!java_wrapper) {
if (JS_IdToValue(cx, id, &idval) && JSVAL_IS_STRING(idval) &&
(property_name = JS_GetStringBytes(JSVAL_TO_STRING(idval)))) {
if (!strcmp(property_name, "constructor")) {
*java_wrapperp = NULL;
*member_descriptorp = NULL;
return JS_TRUE;
}
}
JS_ReportError(cx, "illegal operation on JavaObject prototype object");
return JS_FALSE;
}
class_descriptor = java_wrapper->class_descriptor;
PR_ASSERT(class_descriptor->type == JAVA_SIGNATURE_CLASS ||
class_descriptor->type == JAVA_SIGNATURE_ARRAY);
/* FIXME - not thread-safe */
prev_memberp = &java_wrapper->members;
for (member = *prev_memberp; member; member = member->next) {
member_descriptor = member->descriptor;
if (member_descriptor->id == id) {
*prev_memberp = member->next;
member->next = java_wrapper->members;
break;
}
}
if (!member) {
JSFunction *function;
JSObject *function_obj;
member_descriptor = jsj_LookupJavaMemberDescriptorById(cx, jEnv, class_descriptor, id);
if (member_descriptor && member_descriptor->methods) {
member = (JavaMemberVal*)JS_malloc(cx, sizeof(JavaMemberVal));
if (!member)
return JS_FALSE;
JS_IdToValue(cx, id, &idval);
member_name = JS_GetStringBytes(JSVAL_TO_STRING(idval));
/* printf("Adding %s\n", member_name); */
/* FIXME - eliminate JSFUN_BOUND_METHOD */
/* TODO - Use JS_CloneFunction() to save memory */
function = JS_NewFunction(cx, jsj_JavaInstanceMethodWrapper, 0,
JSFUN_BOUND_METHOD, obj, member_name);
if (!function) {
JS_free(cx, member);
return JS_FALSE;
}
function_obj = JS_GetFunctionObject(function);
member->invoke_method_func_val = OBJECT_TO_JSVAL(function_obj);
member->descriptor = member_descriptor;
member->next = NULL;
JS_AddRoot(cx, &member->invoke_method_func_val);
}
}
/* Place member at head of list of members for faster access next time */
if (member) {
member->next = java_wrapper->members;
java_wrapper->members = member;
}
if (!member_descriptor) {
JS_IdToValue(cx, id, &idval);
if (!JSVAL_IS_STRING(idval)) {
JS_ReportError(cx, "invalid JavaObject property expression. "
"(methods and field properties of a JavaObject object can only be strings)");
return JS_FALSE;
}
member_name = JS_GetStringBytes(JSVAL_TO_STRING(idval));
JS_ReportError(cx, "Java class %s has no public instance field or "
"method named \"%s\"",
class_descriptor->name, member_name);
return JS_FALSE;
}
/* Success. Handle the multiple return values */
if (java_wrapperp)
*java_wrapperp = java_wrapper;
if (memberp)
*memberp = member;
if (member_descriptorp)
*member_descriptorp = member_descriptor;
return JS_TRUE;
}
PR_CALLBACK JSBool
JavaObject_getPropertyById(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
{
jobject java_obj;
JavaMemberDescriptor *member_descriptor;
JavaMemberVal *member;
JavaObjectWrapper *java_wrapper;
JNIEnv *jEnv;
/* printf("In JavaObject_getProperty\n"); */
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
if (!lookup_member_by_id(cx, jEnv, obj, &java_wrapper, id, &member, &member_descriptor))
return JS_FALSE;
/* Handle access to "constructor" property of prototype object with
silent failure. */
if (!member_descriptor) {
*vp = JSVAL_VOID;
return JS_TRUE;
}
java_obj = java_wrapper->java_obj;
if (member_descriptor->field) {
if (!member_descriptor->methods) {
return jsj_GetJavaFieldValue(cx, jEnv, member_descriptor->field, java_obj, vp);
} else {
PR_ASSERT(0);
}
} else {
*vp = member->invoke_method_func_val;
return JS_TRUE;
}
}
PR_STATIC_CALLBACK(JSBool)
JavaObject_setPropertyById(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
{
jobject java_obj;
const char *member_name;
JavaObjectWrapper *java_wrapper;
JavaClassDescriptor *class_descriptor;
JavaMemberDescriptor *member_descriptor;
jsval idval;
JNIEnv *jEnv;
/* printf("In JavaObject_setProperty\n"); */
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
if (!lookup_member_by_id(cx, jEnv, obj, &java_wrapper, id, NULL, &member_descriptor))
return JS_FALSE;
/* Check for the case where there is a method with the give name, but no field
with that name */
if (!member_descriptor->field)
goto no_such_field;
/* Silently fail if field value is final (immutable), as required by ECMA spec */
if (member_descriptor->field->modifiers & ACC_FINAL)
return JS_TRUE;
java_obj = java_wrapper->java_obj;
return jsj_SetJavaFieldValue(cx, jEnv, member_descriptor->field, java_obj, *vp);
no_such_field:
JS_IdToValue(cx, id, &idval);
member_name = JS_GetStringBytes(JSVAL_TO_STRING(idval));
class_descriptor = java_wrapper->class_descriptor;
JS_ReportError(cx, "No instance field named \"%s\" in Java class %s",
member_name, class_descriptor->name);
return JS_FALSE;
}
PR_CALLBACK JSBool
JavaObject_enumerate(JSContext *cx, JSObject *obj)
{
JavaObjectWrapper *java_wrapper;
JavaClassDescriptor *class_descriptor;
JavaMemberDescriptor *member_descriptor;
JNIEnv *jEnv;
/* printf("In JavaObject_enumerate\n"); */
java_wrapper = JS_GetPrivate(cx, obj);
/* Check if this is the prototype object */
if (!java_wrapper)
return JS_TRUE;
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
class_descriptor = java_wrapper->class_descriptor;
member_descriptor = jsj_GetClassInstanceMembers(cx, jEnv, class_descriptor);
while (member_descriptor) {
JS_DefineProperty(cx, obj, member_descriptor->name, JSVAL_VOID, 0, 0,
JSPROP_PERMANENT|JSPROP_ENUMERATE);
member_descriptor = member_descriptor->next;
}
return JS_TRUE;
}
static JSBool
JavaObject_lookupProperty(JSContext *cx, JSObject *obj, jsid id,
JSObject **objp, JSProperty **propp
#if defined JS_THREADSAFE && defined DEBUG
, const char *file, uintN line
#endif
)
{
JNIEnv *jEnv;
/* printf("In JavaObject_lookupProperty()\n"); */
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
if (!lookup_member_by_id(cx, jEnv, obj, NULL, id, NULL, NULL))
return JS_FALSE;
*objp = obj;
*propp = (JSProperty*)1;
return JS_TRUE;
}
static JSBool
JavaObject_defineProperty(JSContext *cx, JSObject *obj, jsid id, jsval value,
JSPropertyOp getter, JSPropertyOp setter,
uintN attrs, JSProperty **propp)
{
JS_ReportError(cx, "Properties of JavaObject objects may not be deleted");
return JS_FALSE;
}
static JSBool
JavaObject_getAttributes(JSContext *cx, JSObject *obj, jsid id,
JSProperty *prop, uintN *attrsp)
{
/* We don't maintain JS property attributes for Java class members */
*attrsp = JSPROP_PERMANENT|JSPROP_ENUMERATE;
return JS_FALSE;
}
static JSBool
JavaObject_setAttributes(JSContext *cx, JSObject *obj, jsid id,
JSProperty *prop, uintN *attrsp)
{
/* We don't maintain JS property attributes for Java class members */
if (*attrsp != JSPROP_PERMANENT|JSPROP_ENUMERATE) {
PR_ASSERT(0);
return JS_FALSE;
}
/* Silently ignore all setAttribute attempts */
return JS_TRUE;
}
static JSBool
JavaObject_deleteProperty(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
{
JS_ReportError(cx, "Properties of JavaObject objects may not be deleted");
return JS_FALSE;
}
static JSBool
JavaObject_defaultValue(JSContext *cx, JSObject *obj, JSType type, jsval *vp)
{
/* printf("In JavaObject_defaultValue()\n"); */
return JavaObject_convert(cx, obj, JSTYPE_STRING, vp);
}
static JSBool
JavaObject_newEnumerate(JSContext *cx, JSObject *obj, JSIterateOp enum_op,
jsval *statep, jsid *idp)
{
JavaObjectWrapper *java_wrapper;
JavaMemberDescriptor *member_descriptor;
JavaClassDescriptor *class_descriptor;
JNIEnv *jEnv;
java_wrapper = JS_GetPrivate(cx, obj);
/* Check for prototype object */
if (!java_wrapper) {
*statep = JSVAL_NULL;
if (idp)
*idp = INT_TO_JSVAL(0);
return JS_TRUE;
}
class_descriptor = java_wrapper->class_descriptor;
switch(enum_op) {
case JSENUMERATE_INIT:
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
member_descriptor = jsj_GetClassInstanceMembers(cx, jEnv, class_descriptor);
*statep = PRIVATE_TO_JSVAL(member_descriptor);
if (idp)
*idp = INT_TO_JSVAL(class_descriptor->num_instance_members);
return JS_TRUE;
case JSENUMERATE_NEXT:
member_descriptor = JSVAL_TO_PRIVATE(*statep);
if (member_descriptor) {
*idp = member_descriptor->id;
*statep = PRIVATE_TO_JSVAL(member_descriptor->next);
return JS_TRUE;
}
/* Fall through ... */
case JSENUMERATE_DESTROY:
*statep = JSVAL_NULL;
return JS_TRUE;
default:
PR_ASSERT(0);
return JS_FALSE;
}
}
static JSBool
JavaObject_checkAccess(JSContext *cx, JSObject *obj, jsid id,
JSAccessMode mode, jsval *vp, uintN *attrsp)
{
switch (mode) {
case JSACC_WATCH:
JS_ReportError(cx, "Cannot place watchpoints on JavaObject object properties");
return JS_FALSE;
case JSACC_IMPORT:
JS_ReportError(cx, "Cannot export a JavaObject object's properties");
return JS_FALSE;
default:
return JS_TRUE;
}
}
JSObjectOps JavaObject_ops = {
/* Mandatory non-null function pointer members. */
NULL, /* newObjectMap */
NULL, /* destroyObjectMap */
JavaObject_lookupProperty,
JavaObject_defineProperty,
JavaObject_getPropertyById, /* getProperty */
JavaObject_setPropertyById, /* setProperty */
JavaObject_getAttributes,
JavaObject_setAttributes,
JavaObject_deleteProperty,
JavaObject_defaultValue,
JavaObject_newEnumerate,
JavaObject_checkAccess,
/* Optionally non-null members start here. */
NULL, /* thisObject */
NULL, /* dropProperty */
NULL, /* call */
NULL, /* construct */
NULL, /* xdrObject */
NULL, /* hasInstance */
};
JSObjectOps *
JavaObject_getObjectOps(JSContext *cx, JSClass *clazz)
{
return &JavaObject_ops;
}
JSClass JavaObject_class = {
"JavaObject", JSCLASS_HAS_PRIVATE,
NULL, NULL, NULL, NULL,
NULL, NULL, JavaObject_convert, JavaObject_finalize,
JavaObject_getObjectOps,
};
extern PR_IMPORT_DATA(JSObjectOps) js_ObjectOps;
JSBool
jsj_init_JavaObject(JSContext *cx, JSObject *global_obj)
{
JavaObject_ops.newObjectMap = js_ObjectOps.newObjectMap;
JavaObject_ops.destroyObjectMap = js_ObjectOps.destroyObjectMap;
if (!JS_InitClass(cx, global_obj,
0, &JavaObject_class, 0, 0,
0, 0,
0, 0))
return JS_FALSE;
return init_java_obj_reflections_table();
}

View File

@@ -1,438 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the native code implementation of the JavaPackage class.
*
* A JavaPackage is JavaScript's representation of a Java package. The
* JavaPackage object contains only a string, which is the path to the package,
* e.g. "java/lang". The JS properties of a JavaPackage are either nested packages
* or a JavaClass object, which represents the path to a Java class.
*
* Note that there is no equivalent to a JavaPackage object in Java. Example:
* Although there are instances of java.lang.String and there are static methods
* of java.lang.String that can be invoked, there's no such thing as a java.lang
* object in Java that exists at run time.
*
*/
#include <stdlib.h>
#include <string.h>
#include "prtypes.h"
#include "prprintf.h"
#include "jsj_private.h" /* LiveConnect internals */
#include "jsjava.h"
JSClass JavaPackage_class; /* Forward declaration */
/*
* The native part of a JavaPackage object. It gets stored in the object's
* private slot.
*/
typedef struct {
const char * path; /* e.g. "java/lang" or NULL if top level package */
int flags; /* e.g. PKG_SYSTEM, PKG_CLASS */
} JavaPackage_Private;
JSObject *
define_JavaPackage(JSContext *cx, JSObject *parent_obj,
const char *obj_name, const char *path, int flags)
{
JSObject *package_obj;
JavaPackage_Private *package;
package_obj = JS_DefineObject(cx, parent_obj, obj_name, &JavaPackage_class, 0,
JSPROP_PERMANENT | JSPROP_READONLY);
if (!package_obj)
return NULL;
/* Attach private, native data to the JS object */
package = (JavaPackage_Private *)JS_malloc(cx, sizeof(JavaPackage_Private));
JS_SetPrivate(cx, package_obj, (void *)package);
if (path)
package->path = JS_strdup(cx, path);
else
package->path = "";
package->flags = flags;
/* Check for OOM */
if (!package->path) {
JS_DeleteProperty(cx, parent_obj, obj_name);
JS_free(cx, package);
return NULL;
}
return package_obj;
}
/* JavaPackage uses standard JS getProperty */
/*
* Don't allow user-defined properties to be set on Java package objects, e.g.
* it is illegal to write "java.lang.myProperty = 4". We probably could relax
* this restriction, but it's potentially confusing and not clearly useful.
*/
static JSBool
JavaPackage_setProperty(JSContext *cx, JSObject *obj, jsval slot, jsval *vp)
{
JavaPackage_Private *package = JS_GetPrivate(cx, obj);
if (!package) {
JS_ReportError(cx, "illegal attempt to add property to "
"JavaPackage prototype object");
return JS_FALSE;
}
JS_ReportError(cx, "You may not add properties to %s, "
"as it is not a JavaScript object", package->path);
return JS_FALSE;
}
static JSBool quiet_resolve_failure;
/*
* Resolve a component name to be either the name of a class or a package.
*/
static JSBool
JavaPackage_resolve(JSContext *cx, JSObject *obj, jsval id)
{
JavaPackage_Private *package;
JSBool ok = JS_TRUE;
jclass jclazz;
char *subPath, *newPath;
const char *path;
JNIEnv *jEnv;
package = (JavaPackage_Private *)JS_GetPrivate(cx, obj);
if (!package) {
fprintf(stderr, "JavaPackage_resolve: no private data!\n");
return JS_FALSE;
}
path = package->path;
subPath = JS_GetStringBytes(JSVAL_TO_STRING(id));
newPath = PR_smprintf("%s%s%s", path, (path[0] ? "/" : ""), subPath);
if (!newPath) {
JS_ReportOutOfMemory(cx);
return JS_FALSE;
}
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
/*
Unfortunately, Java provides no way to find out whether a particular
name is a package or not. The only way to tell is to try to load the
name as a class file and, if that fails, assume it's a package. This
makes things work as expected for the most part, but it has three
noticeable problems that keep coming up:
- You can refer to a package like java.lang.i.buried.paul without
generating a complaint. Of course, you'll never be able to refer to
any classes through it.
- An annoying consequence of the above is that misspelling a class name
results in a cryptic error about packages.
- In a browser context, i.e. where applets are involved, figuring out
whether something is a class may require looking for it over the net
using the current classloader. This means that the first time you
refer to java.lang.System in a js context, there will be an attempt
to search for [[DOCBASE]]/java.class on the server.
A solution is to explicitly tell jsjava the names of all the (local)
packages on the CLASSPATH. (Not implemented yet.)
*/
jclazz = (*jEnv)->FindClass(jEnv, newPath);
if (jclazz) {
JSObject *newClass;
newClass = jsj_define_JavaClass(cx, jEnv, obj, subPath, jclazz);
if (!newClass) {
ok = JS_FALSE;
goto out;
}
} else {
/*
* If there's no class of the given name, then we must be referring to
* a package. However, don't allow bogus sub-packages of pre-defined
* system packages to be created.
*/
if (JS_InstanceOf(cx, obj, &JavaPackage_class, NULL)) {
JavaPackage_Private *package;
package = JS_GetPrivate(cx, obj);
if (package->flags & PKG_SYSTEM) {
char *msg, *cp;
/* Painful hack for pre_define_java_packages() */
if (quiet_resolve_failure)
return JS_FALSE;
msg = PR_smprintf("No Java system package with name \"%s\" was identified "
"at initialization time and no Java class "
"with that name exists either", newPath);
/* Check for OOM */
if (msg) {
/* Convert package of form "java/lang" to "java.lang" */
for (cp = msg; *cp != '\0'; cp++)
if (*cp == '/')
*cp = '.';
JS_ReportError(cx, msg);
free((char*)msg);
}
return JS_FALSE;
}
}
if (!define_JavaPackage(cx, obj, subPath, newPath, 0)) {
ok = JS_FALSE;
goto out;
}
#ifdef DEBUG
printf("JavaPackage \'%s/%s\' created\n", subPath, newPath);
#endif
}
out:
free(newPath);
return ok;
}
static JSBool
JavaPackage_convert(JSContext *cx, JSObject *obj, JSType type, jsval *vp)
{
JSString *str;
char *name, *cp;
JavaPackage_Private *package = JS_GetPrivate(cx, obj);
if (!package) {
fprintf(stderr, "JavaPackage_resolve: no private data!\n");
return JS_FALSE;
}
switch (type) {
/* Pretty-printing of JavaPackage */
case JSTYPE_STRING:
/* Convert '/' to '.' so that it looks like Java language syntax. */
if (!package->path)
break;
name = PR_smprintf("[JavaPackage %s]", package->path);
if (!name) {
JS_ReportOutOfMemory(cx);
return JS_FALSE;
}
for (cp = name; *cp != '\0'; cp++)
if (*cp == '/')
*cp = '.';
str = JS_NewString(cx, name, strlen(name));
if (!str) {
free(name);
/* It's not necessary to call JS_ReportOutOfMemory(), as
JS_NewString() will do so on failure. */
return JS_FALSE;
}
*vp = STRING_TO_JSVAL(str);
break;
case JSTYPE_OBJECT:
*vp = OBJECT_TO_JSVAL(obj);
break;
default:
break;
}
return JS_TRUE;
}
/*
* Free the private native data associated with the JavaPackage object.
*/
static void
JavaPackage_finalize(JSContext *cx, JSObject *obj)
{
JavaPackage_Private *package = JS_GetPrivate(cx, obj);
if (!package)
return;
if (package->path)
JS_free(cx, (char *)package->path);
JS_free(cx, package);
}
/*
* The definition of the JavaPackage class
*/
JSClass JavaPackage_class = {
"JavaPackage", JSCLASS_HAS_PRIVATE,
JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JavaPackage_setProperty,
JS_EnumerateStub, JavaPackage_resolve,
JavaPackage_convert, JavaPackage_finalize
};
JavaPackageDef
standard_java_packages[] = {
{"java", NULL, PKG_SYSTEM},
{"java.awt", NULL, PKG_SYSTEM},
{"java.awt.event", NULL, PKG_SYSTEM},
{"java.awt.image", NULL, PKG_SYSTEM},
{"java.awt.peer", NULL, PKG_SYSTEM},
{"java.beans", NULL, PKG_SYSTEM},
{"java.io", NULL, PKG_SYSTEM},
{"java.lang", NULL, PKG_SYSTEM},
{"java.lang.reflect", NULL, PKG_SYSTEM},
{"java.math", NULL, PKG_SYSTEM},
{"java.net", NULL, PKG_SYSTEM},
{"java.text", NULL, PKG_SYSTEM},
{"java.util", NULL, PKG_SYSTEM},
{"java.util.zip", NULL, PKG_SYSTEM},
{"netscape", NULL, PKG_SYSTEM},
{"netscape.javascript", NULL, PKG_SYSTEM},
{"sun", NULL, PKG_USER},
{"Packages", "", PKG_USER},
0
};
/*
* Pre-define a hierarchy of JavaPackage objects.
* Pre-defining a Java package at initialization time is not necessary, but
* it will make package lookup faster and, more importantly, will avoid
* unnecessary network accesses if classes are being loaded over the network.
*/
static JSBool
pre_define_java_packages(JSContext *cx, JSObject *global_obj,
JavaPackageDef *predefined_packages)
{
JSBool package_exists;
JSObject *parent_obj;
JavaPackageDef *package_def;
char *simple_name, *cp, *package_name, *path;
int flags;
if (!predefined_packages)
return JS_TRUE;
/* Iterate over all pre-defined Java packages */
for (package_def = predefined_packages; package_def->name; package_def++) {
package_name = path = NULL;
parent_obj = global_obj;
package_name = strdup(package_def->name);
if (!package_name)
goto out_of_memory;
/* Walk the chain of JavaPackage objects to get to the parent of the
rightmost sub-package in the fully-qualified package name. */
for (simple_name = strtok(package_name, "."); 1; simple_name = strtok(NULL, ".")) {
jsval v;
if (!simple_name) {
JS_ReportError(cx, "Package %s defined twice ?", package_name);
goto error;
}
/* Check to see if the sub-package already exists */
quiet_resolve_failure = JS_TRUE;
package_exists = JS_LookupProperty(cx, parent_obj, simple_name, &v) && JSVAL_IS_OBJECT(v);
quiet_resolve_failure = JS_FALSE;
if (package_exists) {
parent_obj = JSVAL_TO_OBJECT(v);
continue;
} else {
/* New package objects should only be created at the terminal
sub-package in a fully-qualified package-name */
if (strtok(NULL, ".")) {
JS_ReportError(cx, "Illegal predefined package definition for %s",
package_def->name);
goto error;
}
if (package_def->path) {
path = strdup(package_def->path);
if (!path)
goto out_of_memory;
} else {
/*
* The default path is specified, so create it from the
* fully-qualified package name.
*/
path = strdup(package_def->name);
if (!path)
goto out_of_memory;
/* Transform package name, e.g. "java.lang" ==> "java/lang" */
for (cp = path; *cp != '\0'; cp++) {
if (*cp == '.')
*cp = '/';
}
}
flags = package_def->flags;
parent_obj = define_JavaPackage(cx, parent_obj, simple_name, path, flags);
if (!parent_obj)
goto error;
free(path);
break;
}
}
free(package_name);
}
return JS_TRUE;
out_of_memory:
JS_ReportOutOfMemory(cx);
error:
JS_FREE_IF(cx, package_name);
JS_FREE_IF(cx, path);
return JS_FALSE;
}
/*
* One-time initialization for the JavaPackage class. (This is not
* run once per thread, rather it's run once for a given JSContext.)
*/
JSBool
jsj_init_JavaPackage(JSContext *cx, JSObject *global_obj,
JavaPackageDef *additional_predefined_packages) {
/* Define JavaPackage class */
if (!JS_InitClass(cx, global_obj, 0, &JavaPackage_class, 0, 0, 0, 0, 0, 0))
return JS_FALSE;
/* Add top-level packages, e.g. : java, netscape, sun */
if (!pre_define_java_packages(cx, global_obj, standard_java_packages))
return JS_FALSE;
if (!pre_define_java_packages(cx, global_obj, additional_predefined_packages))
return JS_FALSE;
return JS_TRUE;
}

View File

@@ -1,180 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the code for reading and writing elements of a Java array.
*/
#include "prtypes.h"
#include "prassert.h"
#include "jsj_private.h" /* LiveConnect internals */
/*
* Read the Java value at a given index into a Java array and convert it
* to a JS value. The array_component_signature describes the type of
* the resulting Java value, which can be a primitive type or an object type.
* More specifically it can be an array type in the case of multidimensional
* arrays.
*/
JSBool
jsj_GetJavaArrayElement(JSContext *cx, JNIEnv *jEnv, jarray java_array, jsize index,
JavaSignature *array_component_signature,
jsval *vp)
{
jvalue java_value;
JavaSignatureChar component_type;
#define GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Type,member) \
(*jEnv)->Get##Type##ArrayRegion(jEnv, java_array, index, 1, \
&java_value.member); \
if ((*jEnv)->ExceptionOccurred(jEnv)) { \
jsj_ReportJavaError(cx, jEnv, "Error reading element of " \
"Java primitive array"); \
return JS_FALSE; \
}
component_type = array_component_signature->type;
switch(component_type) {
case JAVA_SIGNATURE_BYTE:
GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Byte,b);
break;
case JAVA_SIGNATURE_CHAR:
GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Char,c);
break;
case JAVA_SIGNATURE_SHORT:
GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Short,s);
break;
case JAVA_SIGNATURE_INT:
GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Int,i);
break;
case JAVA_SIGNATURE_BOOLEAN:
GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Boolean,z);
break;
case JAVA_SIGNATURE_LONG:
GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Long,j);
break;
case JAVA_SIGNATURE_FLOAT:
GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Float,f);
break;
case JAVA_SIGNATURE_DOUBLE:
GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Double,d);
break;
case JAVA_SIGNATURE_CLASS:
case JAVA_SIGNATURE_ARRAY:
java_value.l = (*jEnv)->GetObjectArrayElement(jEnv, java_array, index);
if ((*jEnv)->ExceptionOccurred(jEnv)) {
jsj_ReportJavaError(cx, jEnv, "Error reading Java object array");
return JS_FALSE;
}
break;
#undef GET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY
default:
PR_ASSERT(0); /* Unknown java type signature */
return JS_FALSE;
}
return jsj_ConvertJavaValueToJSValue(cx, jEnv, array_component_signature, &java_value, vp);
}
JSBool
jsj_SetJavaArrayElement(JSContext *cx, JNIEnv *jEnv, jarray java_array, jsize index,
JavaSignature *array_component_signature,
jsval js_val)
{
int dummy_cost;
jvalue java_value;
JavaSignatureChar component_type;
if (!jsj_ConvertJSValueToJavaValue(cx, jEnv, js_val, array_component_signature,
&dummy_cost, &java_value))
return JS_FALSE;
#define SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Type,member) \
(*jEnv)->Set##Type##ArrayRegion(jEnv, java_array, index, 1, \
&java_value.member); \
if ((*jEnv)->ExceptionOccurred(jEnv)) { \
jsj_ReportJavaError(cx, jEnv, "Error assigning to element of " \
"Java primitive array"); \
return JS_FALSE; \
}
component_type = array_component_signature->type;
switch(component_type) {
case JAVA_SIGNATURE_BYTE:
SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Byte,b);
break;
case JAVA_SIGNATURE_CHAR:
SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Char,c);
break;
case JAVA_SIGNATURE_SHORT:
SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Short,s);
break;
case JAVA_SIGNATURE_INT:
SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Int,i);
break;
case JAVA_SIGNATURE_BOOLEAN:
SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Boolean,z);
break;
case JAVA_SIGNATURE_LONG:
SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Long,j);
break;
case JAVA_SIGNATURE_FLOAT:
SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Float,f);
break;
case JAVA_SIGNATURE_DOUBLE:
SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY(Double,d);
break;
case JAVA_SIGNATURE_CLASS:
case JAVA_SIGNATURE_ARRAY:
(*jEnv)->SetObjectArrayElement(jEnv, java_array, index, java_value.l);
if ((*jEnv)->ExceptionOccurred(jEnv)) {
jsj_ReportJavaError(cx, jEnv, "Error assigning to Java object array");
return JS_FALSE;
}
break;
#undef SET_ELEMENT_FROM_PRIMITIVE_JAVA_ARRAY
default:
PR_ASSERT(0); /* Unknown java type signature */
return JS_FALSE;
}
return JS_TRUE;
}

View File

@@ -1,572 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the code that constructs and manipulates JavaClassDescriptor
* structs, which are the native wrappers for Java classes.
* JavaClassDescriptors are used to describe the signatures of methods and
* fields. There is a JavaClassDescriptor associated with the reflection of
* each Java Object.
*/
#include <stdlib.h>
#include <string.h>
#include "prtypes.h"
#include "prprintf.h"
#include "prassert.h"
#include "jsj_private.h" /* LiveConnect internals */
#include "prhash.h" /* Hash tables */
/* A one-to-one mapping between all referenced java.lang.Class objects and
their corresponding JavaClassDescriptor objects */
static PRHashTable *java_class_reflections;
/*
* Given a JVM handle to a java.lang.Class object, malloc a C-string
* containing the UTF8 encoding of the fully qualified name of the class.
* It's the caller's responsibility to free the returned string.
*
* If an error occurs, NULL is returned and the error reporter called.
*/
const char *
jsj_GetJavaClassName(JSContext *cx, JNIEnv *jEnv, jclass java_class)
{
jstring java_class_name_jstr;
const char *java_class_name;
/* Get java.lang.String object containing class name */
java_class_name_jstr =
(*jEnv)->CallObjectMethod(jEnv, java_class, jlClass_getName);
if (!java_class_name_jstr)
goto error;
/* Convert to UTF8 encoding and copy */
java_class_name = jsj_DupJavaStringUTF(cx, jEnv, java_class_name_jstr);
if (!java_class_name)
return NULL;
return java_class_name;
error:
jsj_UnexpectedJavaError(cx, jEnv, "Can't get Java class name using"
"java.lang.Class.getName()");
return NULL;
}
/*
* Convert in-place a string of the form "java.lang.String" into "java/lang/String".
* Though the former style is conventionally used by Java programmers, the latter is
* what the JNI functions require.
*/
void
jsj_MakeJNIClassname(char * class_name)
{
char * c;
for (c = class_name; *c; c++)
if (*c == '.')
*c = '/';
}
/*
* Classify an instance of java.lang.Class as either one of the primitive
* types, e.g. int, char, etc., as an array type or as a non-array object type
* (subclass of java.lang.Object) by returning the appropriate enum member.
*
*/
static JavaSignatureChar
get_signature_type(JSContext *cx, JavaClassDescriptor *class_descriptor)
{
JavaSignatureChar type;
const char *java_class_name;
/* Get UTF8 encoding of class name */
java_class_name = class_descriptor->name;
PR_ASSERT(java_class_name);
if (!java_class_name)
return JAVA_SIGNATURE_UNKNOWN;
if (!strcmp(java_class_name, "byte"))
type = JAVA_SIGNATURE_BYTE;
else if (!strcmp(java_class_name, "char"))
type = JAVA_SIGNATURE_CHAR;
else if (!strcmp(java_class_name, "float"))
type = JAVA_SIGNATURE_FLOAT;
else if (!strcmp(java_class_name, "double"))
type = JAVA_SIGNATURE_DOUBLE;
else if (!strcmp(java_class_name, "int"))
type = JAVA_SIGNATURE_INT;
else if (!strcmp(java_class_name, "long"))
type = JAVA_SIGNATURE_LONG;
else if (!strcmp(java_class_name, "short"))
type = JAVA_SIGNATURE_SHORT;
else if (!strcmp(java_class_name, "boolean"))
type = JAVA_SIGNATURE_BOOLEAN;
else if (!strcmp(java_class_name, "void"))
type = JAVA_SIGNATURE_VOID;
else
/* Well, I guess it's a Java class, then. */
type = JAVA_SIGNATURE_CLASS;
return type;
}
static JSBool
is_java_array_class(JNIEnv *jEnv, jclass java_class)
{
return (*jEnv)->CallBooleanMethod(jEnv, java_class, jlClass_isArray);
}
/*
* Return the class of a Java array's component type. This is not the same
* as the array's element type. For example, the component type of an array
* of type SomeType[][][] is SomeType[][], but its element type is SomeType.
*
* If an error occurs, NULL is returned and an error reported.
*/
static jclass
get_java_array_component_class(JSContext *cx, JNIEnv *jEnv, jclass java_class)
{
jclass result;
result = (*jEnv)->CallObjectMethod(jEnv, java_class, jlClass_getComponentType);
if (!result) {
jsj_UnexpectedJavaError(cx, jEnv,
"Can't get Java array component class using "
"java.lang.Class.getComponentType()");
return NULL;
}
return result;
}
/*
* Given a Java class, fill in the signature structure that describes the class.
* If an error occurs, JS_FALSE is returned and the error reporter called.
*/
static JSBool
compute_java_class_signature(JSContext *cx, JNIEnv *jEnv, JavaSignature *signature)
{
jclass java_class = signature->java_class;
if (is_java_array_class(jEnv, java_class)) {
jclass component_class;
signature->type = JAVA_SIGNATURE_ARRAY;
component_class = get_java_array_component_class(cx, jEnv, java_class);
if (!component_class)
return JS_FALSE;
signature->array_component_signature =
jsj_GetJavaClassDescriptor(cx, jEnv, component_class);
if (!signature->array_component_signature)
return JS_FALSE;
} else {
signature->type = get_signature_type(cx, signature);
}
return JS_TRUE;
}
/*
* Convert a JavaSignature object into a string format as used by
* the JNI functions, e.g. java.lang.Object ==> "Ljava/lang/Object;"
* The caller is responsible for freeing the resulting string.
*
* If an error is encountered, NULL is returned and an error reported.
*/
const char *
jsj_ConvertJavaSignatureToString(JSContext *cx, JavaSignature *signature)
{
char *sig;
if (signature->type == JAVA_SIGNATURE_CLASS) {
/* A non-array object class */
sig = PR_smprintf("L%s;", signature->name);
if (sig)
jsj_MakeJNIClassname(sig);
} else if (signature->type == JAVA_SIGNATURE_ARRAY) {
/* An array class */
const char *component_signature_string;
component_signature_string =
jsj_ConvertJavaSignatureToString(cx, signature->array_component_signature);
if (!component_signature_string)
return NULL;
sig = PR_smprintf("[%s", component_signature_string);
JS_free(cx, (char*)component_signature_string);
} else {
/* A primitive class */
sig = PR_smprintf("%c", (char)signature->type);
}
if (!sig) {
JS_ReportOutOfMemory(cx);
return NULL;
}
return sig;
}
/*
* Convert a JavaSignature object into a human-readable string format as seen
* in Java source files, e.g. "byte", or "int[][]" or "java.lang.String".
* The caller is responsible for freeing the resulting string.
*
* If an error is encountered, NULL is returned and an error reported.
*/
const char *
jsj_ConvertJavaSignatureToHRString(JSContext *cx,
JavaSignature *signature)
{
char *sig;
JavaSignature *acs;
if (signature->type == JAVA_SIGNATURE_ARRAY) {
/* An array class */
const char *component_signature_string;
acs = signature->array_component_signature;
component_signature_string =
jsj_ConvertJavaSignatureToHRString(cx, acs);
if (!component_signature_string)
return NULL;
sig = PR_smprintf("%s[]", component_signature_string);
JS_free(cx, (char*)component_signature_string);
} else {
/* A primitive class or a non-array object class */
sig = JS_strdup(cx, signature->name);
}
if (!sig) {
JS_ReportOutOfMemory(cx);
return NULL;
}
return sig;
}
static void
destroy_java_member_descriptor(JSContext *cx, JNIEnv *jEnv, JavaMemberDescriptor *member_descriptor)
{
JavaMethodSpec *method, *next_method;
if (member_descriptor->field)
jsj_DestroyFieldSpec(cx, jEnv, member_descriptor->field);
method = member_descriptor->methods;
while (method) {
next_method = method->next;
jsj_DestroyMethodSpec(cx, jEnv, method);
method = next_method;
}
}
static void
destroy_class_member_descriptors(JSContext *cx, JNIEnv *jEnv, JavaMemberDescriptor *member_descriptor)
{
JavaMemberDescriptor *next_member;
while (member_descriptor) {
next_member = member_descriptor->next;
destroy_java_member_descriptor(cx, jEnv, member_descriptor);
member_descriptor = next_member;
}
}
static void
destroy_class_descriptor(JSContext *cx, JNIEnv *jEnv, JavaClassDescriptor *class_descriptor)
{
JS_FREE_IF(cx, (char *)class_descriptor->name);
if (class_descriptor->java_class) {
(*jEnv)->DeleteGlobalRef(jEnv, class_descriptor->java_class);
PR_HashTableRemove(java_class_reflections, class_descriptor->java_class);
}
if (class_descriptor->array_component_signature)
jsj_ReleaseJavaClassDescriptor(cx, jEnv, class_descriptor->array_component_signature);
destroy_class_member_descriptors(cx, jEnv, class_descriptor->instance_members);
destroy_class_member_descriptors(cx, jEnv, class_descriptor->static_members);
destroy_class_member_descriptors(cx, jEnv, class_descriptor->constructors);
JS_free(cx, class_descriptor);
}
static JavaClassDescriptor *
new_class_descriptor(JSContext *cx, JNIEnv *jEnv, jclass java_class)
{
JavaClassDescriptor *class_descriptor;
class_descriptor = (JavaClassDescriptor *)JS_malloc(cx, sizeof(JavaClassDescriptor));
if (!class_descriptor)
return NULL;
memset(class_descriptor, 0, sizeof(JavaClassDescriptor));
class_descriptor->name = jsj_GetJavaClassName(cx, jEnv, java_class);
if (!class_descriptor->name)
goto error;
java_class = (*jEnv)->NewGlobalRef(jEnv, java_class);
if (!java_class) {
jsj_ReportJavaError(cx, jEnv, "Unable to reference Java class");
goto error;
}
class_descriptor->java_class = java_class;
if (!compute_java_class_signature(cx, jEnv, class_descriptor))
goto error;
class_descriptor->modifiers =
(*jEnv)->CallIntMethod(jEnv, java_class, jlClass_getModifiers);
class_descriptor->ref_count = 1;
if (!PR_HashTableAdd(java_class_reflections, java_class, class_descriptor))
goto error;
return class_descriptor;
error:
destroy_class_descriptor(cx, jEnv, class_descriptor);
return NULL;
}
extern JavaClassDescriptor *
jsj_GetJavaClassDescriptor(JSContext *cx, JNIEnv *jEnv, jclass java_class)
{
JavaClassDescriptor *class_descriptor;
class_descriptor = PR_HashTableLookup(java_class_reflections,
(const void *)java_class);
if (!class_descriptor)
return new_class_descriptor(cx, jEnv, java_class);
PR_ASSERT(class_descriptor->ref_count > 0);
class_descriptor->ref_count++;
return class_descriptor;
}
void
jsj_ReleaseJavaClassDescriptor(JSContext *cx, JNIEnv *jEnv, JavaClassDescriptor *class_descriptor)
{
if (!--class_descriptor->ref_count)
destroy_class_descriptor(cx, jEnv, class_descriptor);
}
static JSBool
reflect_java_methods_and_fields(JSContext *cx,
JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
JSBool reflect_statics_only)
{
JavaMemberDescriptor *member_descriptor;
if (reflect_statics_only)
class_descriptor->static_members_reflected = JS_TRUE;
else
class_descriptor->instance_members_reflected = JS_TRUE;
if (!jsj_ReflectJavaMethods(cx, jEnv, class_descriptor, reflect_statics_only))
return JS_FALSE;
if (!jsj_ReflectJavaFields(cx, jEnv, class_descriptor, reflect_statics_only))
return JS_FALSE;
if (reflect_statics_only) {
member_descriptor = class_descriptor->static_members;
while (member_descriptor) {
class_descriptor->num_static_members++;
member_descriptor = member_descriptor->next;
}
} else {
member_descriptor = class_descriptor->instance_members;
while (member_descriptor) {
class_descriptor->num_instance_members++;
member_descriptor = member_descriptor->next;
}
}
return JS_TRUE;
}
JavaMemberDescriptor *
jsj_GetClassStaticMembers(JSContext *cx,
JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor)
{
if (!class_descriptor->static_members_reflected)
reflect_java_methods_and_fields(cx, jEnv, class_descriptor, JS_TRUE);
return class_descriptor->static_members;
}
JavaMemberDescriptor *
jsj_GetClassInstanceMembers(JSContext *cx,
JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor)
{
if (!class_descriptor->instance_members_reflected)
reflect_java_methods_and_fields(cx, jEnv, class_descriptor, JS_FALSE);
return class_descriptor->instance_members;
}
JavaMemberDescriptor *
jsj_LookupJavaStaticMemberDescriptorById(JSContext *cx,
JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jsid id)
{
JavaMemberDescriptor *member_descriptor;
member_descriptor = jsj_GetClassStaticMembers(cx, jEnv, class_descriptor);
while (member_descriptor) {
if (id == member_descriptor->id)
return member_descriptor;
member_descriptor = member_descriptor->next;
}
return NULL;
}
JavaMemberDescriptor *
jsj_GetJavaStaticMemberDescriptor(JSContext *cx,
JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jstring member_name_jstr)
{
JavaMemberDescriptor *member_descriptor;
jsid id;
if (!JavaStringToId(cx, jEnv, member_name_jstr, &id))
return NULL;
member_descriptor = jsj_LookupJavaStaticMemberDescriptorById(cx, jEnv, class_descriptor, id);
if (member_descriptor)
return member_descriptor;
member_descriptor = JS_malloc(cx, sizeof(JavaMemberDescriptor));
if (!member_descriptor)
return NULL;
memset(member_descriptor, 0, sizeof(JavaMemberDescriptor));
member_descriptor->name = jsj_DupJavaStringUTF(cx, jEnv, member_name_jstr);
if (!member_descriptor->name) {
JS_free(cx, member_descriptor);
return NULL;
}
member_descriptor->id = id;
member_descriptor->next = class_descriptor->static_members;
class_descriptor->static_members = member_descriptor;
return member_descriptor;
}
JavaMemberDescriptor *
jsj_GetJavaClassConstructors(JSContext *cx,
JavaClassDescriptor *class_descriptor)
{
JavaMemberDescriptor *member_descriptor;
if (class_descriptor->constructors)
return class_descriptor->constructors;
member_descriptor = JS_malloc(cx, sizeof(JavaMemberDescriptor));
if (!member_descriptor)
return NULL;
memset(member_descriptor, 0, sizeof(JavaMemberDescriptor));
member_descriptor->name = JS_strdup(cx, "<init>");
if (!member_descriptor->name) {
JS_free(cx, member_descriptor);
return NULL;
}
class_descriptor->constructors = member_descriptor;
return member_descriptor;
}
JavaMemberDescriptor *
jsj_LookupJavaClassConstructors(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor)
{
if (!class_descriptor->static_members_reflected)
reflect_java_methods_and_fields(cx, jEnv, class_descriptor, JS_TRUE);
return class_descriptor->constructors;
}
JavaMemberDescriptor *
jsj_LookupJavaMemberDescriptorById(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jsid id)
{
JavaMemberDescriptor *member_descriptor;
member_descriptor = jsj_GetClassInstanceMembers(cx, jEnv, class_descriptor);
while (member_descriptor) {
if (id == member_descriptor->id)
return member_descriptor;
member_descriptor = member_descriptor->next;
}
return NULL;
}
JavaMemberDescriptor *
jsj_GetJavaMemberDescriptor(JSContext *cx,
JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jstring member_name_jstr)
{
JavaMemberDescriptor *member_descriptor;
jsid id;
if (!JavaStringToId(cx, jEnv, member_name_jstr, &id))
return NULL;
member_descriptor = jsj_LookupJavaMemberDescriptorById(cx, jEnv, class_descriptor, id);
if (member_descriptor)
return member_descriptor;
member_descriptor = JS_malloc(cx, sizeof(JavaMemberDescriptor));
if (!member_descriptor)
return NULL;
memset(member_descriptor, 0, sizeof(JavaMemberDescriptor));
member_descriptor->name = jsj_DupJavaStringUTF(cx, jEnv, member_name_jstr);
if (!member_descriptor->name) {
JS_free(cx, member_descriptor);
return NULL;
}
member_descriptor->id = id;
member_descriptor->next = class_descriptor->instance_members;
class_descriptor->instance_members = member_descriptor;
return member_descriptor;
}
JSBool
jsj_InitJavaClassReflectionsTable()
{
java_class_reflections =
PR_NewHashTable(64, jsj_HashJavaObject, jsj_JavaObjectComparator,
NULL, NULL, NULL);
if (!java_class_reflections)
return JS_FALSE;
return JS_TRUE;
}

View File

@@ -1,658 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* Below is the code that converts between Java and JavaScript values of all
* types.
*/
#include <stdlib.h>
#include <string.h>
#include "prtypes.h"
#include "prprintf.h"
#include "prassert.h"
#include "jsj_private.h" /* LiveConnect internals */
static JSBool
convert_js_obj_to_JSObject_wrapper(JSContext *cx, JNIEnv *jEnv, JSObject *js_obj,
JavaSignature *signature,
int *cost, jobject *java_value)
{
if (!njJSObject) {
if (java_value)
JS_ReportError(cx, "Couldn't convert JavaScript object to an "
"instance of netscape.javascript.JSObject "
"because that class could not be loaded.");
return JS_FALSE;
}
if (!(*jEnv)->IsAssignableFrom(jEnv, njJSObject, signature->java_class))
return JS_FALSE;
if (!java_value)
return JS_TRUE;
*java_value = jsj_WrapJSObject(cx, jEnv, js_obj);
return (*java_value != NULL);
}
jstring
jsj_ConvertJSStringToJavaString(JSContext *cx, JNIEnv *jEnv, JSString *js_str)
{
jstring result;
result = (*jEnv)->NewString(jEnv, JS_GetStringChars(js_str),
JS_GetStringLength(js_str));
if (!result) {
jsj_UnexpectedJavaError(cx, jEnv, "Couldn't construct instance "
"of java.lang.String");
}
return result;
}
/*
* Convert a JS value to an instance of java.lang.Object or one of its subclasses,
* performing any necessary type coercion. If non-trivial coercion is required,
* the cost value is incremented. If the java_value pass-by-reference argument
* is non-NULL, the resulting Java value is stored there.
*
* Returns JS_TRUE if the conversion is possible, JS_FALSE otherwise
*/
JSBool
jsj_ConvertJSValueToJavaObject(JSContext *cx, JNIEnv *jEnv, jsval v, JavaSignature *signature,
int *cost, jobject *java_value)
{
JSString *jsstr;
jclass target_java_class;
PR_ASSERT(signature->type == JAVA_SIGNATURE_CLASS ||
signature->type == JAVA_SIGNATURE_ARRAY);
/* Get the Java type of the target value */
target_java_class = signature->java_class;
if (JSVAL_IS_OBJECT(v)) {
JSObject *js_obj = JSVAL_TO_OBJECT(v);
/* JS null is always assignable to a Java object */
if (!js_obj) {
if (java_value)
*java_value = NULL;
return JS_TRUE;
}
if (JS_InstanceOf(cx, js_obj, &JavaObject_class, 0) ||
JS_InstanceOf(cx, js_obj, &JavaArray_class, 0)) {
/* The source value is a Java object wrapped inside a JavaScript
object. Unwrap the JS object and return the original Java
object if it's class makes it assignment-compatible with the
target class using Java's assignability rules. */
JavaObjectWrapper *java_wrapper = JS_GetPrivate(cx, js_obj);
jobject java_obj = java_wrapper->java_obj;
if ((*jEnv)->IsInstanceOf(jEnv, java_obj, target_java_class)) {
if (java_value)
*java_value = java_obj;
return JS_TRUE;
}
#ifdef LIVECONNECT_IMPROVEMENTS
/* Don't allow wrapped Java objects to be converted to strings */
goto conversion_error;
#else
/* Fall through, to attempt conversion to a Java string */
#endif
} else if (JS_InstanceOf(cx, js_obj, &JavaClass_class, 0)) {
/* We're dealing with the reflection of a Java class */
JavaClassDescriptor *java_class_descriptor = JS_GetPrivate(cx, js_obj);
/* Check if target type is java.lang.Class class */
if ((*jEnv)->IsAssignableFrom(jEnv, jlClass, target_java_class)) {
if (java_value)
*java_value = java_class_descriptor->java_class;
return JS_TRUE;
}
/* Check if target type is netscape.javascript.JSObject wrapper class */
if (convert_js_obj_to_JSObject_wrapper(cx, jEnv, js_obj, signature, cost, java_value))
return JS_TRUE;
/* Fall through, to attempt conversion to a Java string */
} else if (JS_TypeOfValue(cx, v) == JSTYPE_FUNCTION) {
/* JS functions can be wrapped as a netscape.javascript.JSObject */
if (convert_js_obj_to_JSObject_wrapper(cx, jEnv, js_obj, signature, cost, java_value))
return JS_TRUE;
/* That didn't work, so fall through, to attempt conversion to
a java.lang.String ... */
/* Check for a Java object wrapped inside a JS object */
} else {
/* Otherwise, see if the target type is the netscape.javascript.JSObject
wrapper class or one of its subclasses, in which case a
reference is passed to the original JS object by wrapping it
inside an instance of netscape.javascript.JSObject */
if (convert_js_obj_to_JSObject_wrapper(cx, jEnv, js_obj, signature, cost, java_value))
return JS_TRUE;
/* Fall through, to attempt conversion to a Java string */
}
} else if (JSVAL_IS_NUMBER(v)) {
/* JS numbers, integral or not, can be converted to instances of java.lang.Double */
if ((*jEnv)->IsAssignableFrom(jEnv, jlDouble, target_java_class)) {
if (java_value) {
jsdouble d;
if (!JS_ValueToNumber(cx, v, &d))
goto conversion_error;
*java_value = (*jEnv)->NewObject(jEnv, jlDouble, jlDouble_Double, d);
if (!*java_value) {
jsj_UnexpectedJavaError(cx, jEnv,
"Couldn't construct instance of java.lang.Double");
return JS_FALSE;
}
}
#ifdef LIVECONNECT_IMPROVEMENTS
(*cost)++;
#endif
return JS_TRUE;
}
/* Fall through, to attempt conversion to a java.lang.String ... */
} else if (JSVAL_IS_BOOLEAN(v)) {
/* JS boolean values can be converted to instances of java.lang.Boolean */
if ((*jEnv)->IsAssignableFrom(jEnv, jlBoolean, target_java_class)) {
if (java_value) {
JSBool b;
if (!JS_ValueToBoolean(cx, v, &b))
goto conversion_error;
*java_value =
(*jEnv)->NewObject(jEnv, jlBoolean, jlBoolean_Boolean, b);
if (!*java_value) {
jsj_UnexpectedJavaError(cx, jEnv, "Couldn't construct instance "
"of java.lang.Boolean");
return JS_FALSE;
}
}
#ifdef LIVECONNECT_IMPROVEMENTS
(*cost)++;
#endif
return JS_TRUE;
}
/* Fall through, to attempt conversion to a java.lang.String ... */
}
/* If no other conversion is possible, see if the target type is java.lang.String */
if ((*jEnv)->IsAssignableFrom(jEnv, jlString, target_java_class)) {
JSBool is_string = JSVAL_IS_STRING(v);
/* Convert to JS string, if necessary, and then to a Java Unicode string */
jsstr = JS_ValueToString(cx, v);
if (jsstr) {
if (java_value) {
*java_value = jsj_ConvertJSStringToJavaString(cx, jEnv, jsstr);
if (!*java_value)
return JS_FALSE;
}
#ifdef LIVECONNECT_IMPROVEMENTS
if (!is_string)
(*cost)++;
#endif
return JS_TRUE;
}
}
conversion_error:
return JS_FALSE;
}
/* Utility macro for jsj_ConvertJSValueToJavaValue(), below */
#define JSVAL_TO_INTEGRAL_JVALUE(type_name, member_name, member_type, jsval, java_value) \
if (!JSVAL_IS_NUMBER(v)) { \
if (!JS_ConvertValue(cx, v, JSTYPE_NUMBER, &v)) \
goto conversion_error; \
(*cost)++; \
} \
{ \
member_type member_name; \
\
if (JSVAL_IS_INT(v)) { \
jsint ival = JSVAL_TO_INT(v); \
member_name = (member_type) ival; \
\
/* Check to see if the jsval's magnitude is too large to be \
representable in the target java type */ \
if (member_name != ival) \
goto conversion_error; \
} else { \
jdouble dval = *JSVAL_TO_DOUBLE(v); \
member_name = (member_type) dval; \
\
/* Don't allow a non-integral number */ \
/* FIXME - should this be an error ? */ \
if ((jdouble)member_name != dval) \
(*cost)++; \
} \
if (java_value) \
java_value->member_name = member_name; \
}
/*
* Convert a JS value to a Java value of the given type signature. The cost
* variable is incremented if coercion is required, e.g. the source value is
* a string, but the target type is a boolean.
*
* Returns JS_FALSE if no conversion is possible, either because the jsval has
* a type that is wholly incompatible with the Java value, or because a scalar
* jsval can't be represented in a variable of the target type without loss of
* precision, e.g. the source value is "4.2" but the destination type is byte.
* If conversion is not possible and java_value is non-NULL, the JS error
* reporter is called with an appropriate message.
*/
JSBool
jsj_ConvertJSValueToJavaValue(JSContext *cx, JNIEnv *jEnv, jsval v,
JavaSignature *signature,
int *cost, jvalue *java_value)
{
JavaSignatureChar type = signature->type;
switch (type) {
case JAVA_SIGNATURE_BOOLEAN:
if (!JSVAL_IS_BOOLEAN(v)) {
if (!JS_ConvertValue(cx, v, JSTYPE_BOOLEAN, &v))
goto conversion_error;
(*cost)++;
}
if (java_value)
java_value->z = (jboolean)(JSVAL_TO_BOOLEAN(v) == JS_TRUE);
break;
case JAVA_SIGNATURE_SHORT:
JSVAL_TO_INTEGRAL_JVALUE(short, s, jshort, v, java_value);
break;
case JAVA_SIGNATURE_BYTE:
JSVAL_TO_INTEGRAL_JVALUE(byte, b, jbyte, v, java_value);
break;
case JAVA_SIGNATURE_CHAR:
/* A one-character string can be converted into a character */
if (JSVAL_IS_STRING(v) && (JS_GetStringLength(JSVAL_TO_STRING(v)) == 1)) {
v = INT_TO_JSVAL(*JS_GetStringChars(JSVAL_TO_STRING(v)));
}
JSVAL_TO_INTEGRAL_JVALUE(char, c, jchar, v, java_value);
break;
case JAVA_SIGNATURE_INT:
JSVAL_TO_INTEGRAL_JVALUE(int, i, jint, v, java_value);
break;
case JAVA_SIGNATURE_LONG:
JSVAL_TO_INTEGRAL_JVALUE(long, j, jlong, v, java_value);
break;
case JAVA_SIGNATURE_FLOAT:
if (!JSVAL_IS_NUMBER(v)) {
if (!JS_ConvertValue(cx, v, JSTYPE_NUMBER, &v))
goto conversion_error;
(*cost)++;
}
if (java_value) {
if (JSVAL_IS_INT(v))
java_value->f = (jfloat) JSVAL_TO_INT(v);
else
java_value->f = (jfloat) *JSVAL_TO_DOUBLE(v);
}
break;
case JAVA_SIGNATURE_DOUBLE:
if (!JSVAL_IS_NUMBER(v)) {
if (!JS_ConvertValue(cx, v, JSTYPE_NUMBER, &v))
goto conversion_error;
(*cost)++;
}
if (java_value) {
if (JSVAL_IS_INT(v))
java_value->d = (jdouble) JSVAL_TO_INT(v);
else
java_value->d = (jdouble) *JSVAL_TO_DOUBLE(v);
}
break;
case JAVA_SIGNATURE_CLASS:
case JAVA_SIGNATURE_ARRAY:
if (!jsj_ConvertJSValueToJavaObject(cx, jEnv, v, signature, cost, &java_value->l))
goto conversion_error;
break;
default:
PR_ASSERT(0);
return JS_FALSE;
}
/* Success */
return JS_TRUE;
conversion_error:
if (java_value) {
const char *jsval_string;
JSString *jsstr;
jsval_string = NULL;
jsstr = JS_ValueToString(cx, v);
if (jsstr)
jsval_string = JS_GetStringBytes(jsstr);
if (!jsval_string)
jsval_string = "";
JS_ReportError(cx, "Unable to convert JavaScript value %s to "
"Java value of type %s",
jsval_string, signature->name);
}
return JS_FALSE;
}
/*
* A utility routine to create a JavaScript Unicode string from a
* java.lang.String (Unicode) string.
*/
JSString *
jsj_ConvertJavaStringToJSString(JSContext *cx, JNIEnv *jEnv, jstring java_str)
{
JSString *js_str;
jboolean is_copy;
const jchar *ucs2_str;
jchar *copy_ucs2_str;
jsize ucs2_str_len, num_bytes;
ucs2_str_len = (*jEnv)->GetStringLength(jEnv, java_str);
ucs2_str = (*jEnv)->GetStringChars(jEnv, java_str, &is_copy);
if (!ucs2_str) {
jsj_UnexpectedJavaError(cx, jEnv,
"Unable to extract native Unicode from Java string");
return NULL;
}
js_str = NULL;
/* Unlike JS_NewString(), the string data passed into JS_NewUCString() is
not copied, so make a copy of the Unicode character vector. */
num_bytes = ucs2_str_len * sizeof(jchar);
copy_ucs2_str = (jchar*)JS_malloc(cx, num_bytes);
if (!copy_ucs2_str)
goto done;
memcpy(copy_ucs2_str, ucs2_str, num_bytes);
js_str = JS_NewUCString(cx, (jschar*)copy_ucs2_str, ucs2_str_len);
done:
(*jEnv)->ReleaseStringChars(jEnv, java_str, ucs2_str);
return js_str;
}
/*
* Attempt to obtain a JS string representation of a Java object.
* The java_obj argument must be of type java.lang.Object or a subclass.
* If java_obj is a Java string, it's value is simply extracted and
* copied into a JS string. Otherwise, the toString() method is called
* on java_obj.
*/
JSBool
jsj_ConvertJavaObjectToJSString(JSContext *cx,
JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jobject java_obj, jsval *vp)
{
JSString *js_str;
jstring java_str;
jmethodID toString;
/* Create a Java string, unless java_obj is already a java.lang.String */
if ((*jEnv)->IsInstanceOf(jEnv, java_obj, jlString)) {
java_str = java_obj;
} else {
jclass java_class;
java_class = class_descriptor->java_class;
toString = (*jEnv)->GetMethodID(jEnv, java_class, "toString",
"()Ljava/lang/String;");
if (!toString) {
/* All Java objects have a toString method */
jsj_UnexpectedJavaError(cx, jEnv, "No toString() method for class %s!",
class_descriptor->name);
return JS_FALSE;
}
java_str = (*jEnv)->CallObjectMethod(jEnv, java_obj, toString);
if (!java_str) {
jsj_ReportJavaError(cx, jEnv, "toString() method failed");
return JS_FALSE;
}
}
/* Extract Unicode from java.lang.String instance and convert to JS string */
js_str = jsj_ConvertJavaStringToJSString(cx, jEnv, java_str);
if (!js_str)
return JS_FALSE;
*vp = STRING_TO_JSVAL(js_str);
return JS_TRUE;
}
/*
* Convert a Java object to a number by attempting to call the
* doubleValue() method on a Java object to get a double result.
* This usually only works on instances of java.lang.Double, but the code
* is generalized to work with any Java object that supports this method.
*
* Returns JS_TRUE if the call was successful.
* Returns JS_FALSE if conversion is not possible or an error occurs.
*/
JSBool
jsj_ConvertJavaObjectToJSNumber(JSContext *cx, JNIEnv *jEnv,
jobject java_obj, jsval *vp)
{
jdouble d;
jmethodID doubleValue;
#ifndef SUN_VM_IS_NOT_GARBAGE
/* Late breaking news: calling GetMethodID() on an object that doesn't
contain the given method may cause the Sun VM to crash. So we only
call the method on instances of java.lang.Double */
JSBool is_Double;
/* Make sure that we have a java.lang.Double */
is_Double = (*jEnv)->IsInstanceOf(jEnv, java_obj, jlDouble);
if (!is_Double)
return JS_FALSE;
doubleValue = jlDouble_doubleValue;
#else
doubleValue = (*jEnv)->GetMethodID(jEnv, java_obj, "doubleValue", "()D");
if (!doubleValue)
return JS_FALSE;
#endif
d = (*jEnv)->CallDoubleMethod(jEnv, java_obj, doubleValue);
if ((*jEnv)->ExceptionOccurred(jEnv)) {
jsj_UnexpectedJavaError(cx, jEnv, "doubleValue() method failed");
return JS_FALSE;
}
return JS_NewDoubleValue(cx, d, vp);
}
/*
* Convert a Java object to a boolean by attempting to call the
* booleanValue() method on a Java object to get a boolean result.
* This usually only works on instances of java.lang.Boolean, but the code
* is generalized to work with any Java object that supports this method.
*
* Returns JS_TRUE if the call was successful.
* Returns JS_FALSE if conversion is not possible or an error occurs.
*/
extern JSBool
jsj_ConvertJavaObjectToJSBoolean(JSContext *cx, JNIEnv *jEnv,
jobject java_obj, jsval *vp)
{
jboolean b;
jmethodID booleanValue;
#ifndef SUN_VM_IS_NOT_GARBAGE
/* Late breaking news: calling GetMethodID() on an object that doesn't
contain the given method may cause the Sun VM to crash. So we only
call the method on instances of java.lang.Boolean */
JSBool is_Boolean;
/* Make sure that we have a java.lang.Boolean */
is_Boolean = (*jEnv)->IsInstanceOf(jEnv, java_obj, jlBoolean);
if (!is_Boolean)
return JS_FALSE;
booleanValue = jlBoolean_booleanValue;
#else
booleanValue = (*jEnv)->GetMethodID(jEnv, java_obj, "booleanValue", "()Z");
if (!booleanValue)
return JS_FALSE;
#endif
b = (*jEnv)->CallBooleanMethod(jEnv, java_obj, booleanValue);
if ((*jEnv)->ExceptionOccurred(jEnv)) {
jsj_UnexpectedJavaError(cx, jEnv, "booleanValue() method failed");
return JS_FALSE;
}
*vp = BOOLEAN_TO_JSVAL(b);
return JS_TRUE;
}
/*
* Reflect a Java object into a JS value. The source object, java_obj, must
* be of type java.lang.Object or a subclass and may, therefore, be an array.
*/
JSBool
jsj_ConvertJavaObjectToJSValue(JSContext *cx, JNIEnv *jEnv,
jobject java_obj, jsval *vp)
{
jclass java_class;
JSObject *js_obj;
/* A null in Java-land is also null in JS */
if (!java_obj) {
*vp = JSVAL_NULL;
return JS_TRUE;
}
java_class = (*jEnv)->GetObjectClass(jEnv, java_obj);
/*
* If it's an instance of netscape.javascript.JSObject, i.e. a wrapper
* around a JS object that has been passed into the Java world, unwrap
* it to obtain the original JS object.
*/
if (njJSObject && (*jEnv)->IsInstanceOf(jEnv, java_obj, njJSObject)) {
js_obj = (JSObject *)((*jEnv)->GetIntField(jEnv, java_obj, njJSObject_internal));
PR_ASSERT(js_obj);
if (!js_obj)
return JS_FALSE;
*vp = OBJECT_TO_JSVAL(js_obj);
return JS_TRUE;
}
/*
* Instances of java.lang.String are wrapped so we can call methods on
* them, but they convert to a JS string if used in a string context.
*/
/* TODO - let's get rid of this annoying "feature" */
/* otherwise, wrap it inside a JavaObject */
js_obj = jsj_WrapJavaObject(cx, jEnv, java_obj, java_class);
if (!js_obj)
return JS_FALSE;
*vp = OBJECT_TO_JSVAL(js_obj);
return JS_TRUE;
}
/*
* Convert a Java value (primitive or object) to a JS value.
*
* This is usually an infallible operation, but JS_FALSE is returned
* on an out-of-memory condition and the error reporter is called.
*/
JSBool
jsj_ConvertJavaValueToJSValue(JSContext *cx, JNIEnv *jEnv,
JavaSignature *signature,
jvalue *java_value,
jsval *vp)
{
int32 ival32;
switch (signature->type) {
case JAVA_SIGNATURE_VOID:
*vp = JSVAL_VOID;
return JS_TRUE;
case JAVA_SIGNATURE_BYTE:
*vp = INT_TO_JSVAL((jsint)java_value->b);
return JS_TRUE;
case JAVA_SIGNATURE_CHAR:
*vp = INT_TO_JSVAL((jsint)java_value->c);
return JS_TRUE;
case JAVA_SIGNATURE_SHORT:
*vp = INT_TO_JSVAL((jsint)java_value->s);
return JS_TRUE;
case JAVA_SIGNATURE_INT:
ival32 = java_value->i;
if (INT_FITS_IN_JSVAL(ival32)) {
*vp = INT_TO_JSVAL((jsint) ival32);
return JS_TRUE;
} else {
return JS_NewDoubleValue(cx, ival32, vp);
}
case JAVA_SIGNATURE_BOOLEAN:
*vp = BOOLEAN_TO_JSVAL((JSBool) java_value->z);
return JS_TRUE;
case JAVA_SIGNATURE_LONG:
return JS_NewDoubleValue(cx, (jsdouble)java_value->j, vp);
case JAVA_SIGNATURE_FLOAT:
return JS_NewDoubleValue(cx, java_value->f, vp);
case JAVA_SIGNATURE_DOUBLE:
return JS_NewDoubleValue(cx, java_value->d, vp);
case JAVA_SIGNATURE_CLASS:
case JAVA_SIGNATURE_ARRAY:
return jsj_ConvertJavaObjectToJSValue(cx, jEnv, java_value->l, vp);
default:
PR_ASSERT(0);
return JS_FALSE;
}
}

View File

@@ -1,383 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the code used to reflect Java fields as properties of
* JavaObject objects and the code to access those fields.
*
*/
#include <stdlib.h>
#include "prtypes.h"
#include "prprintf.h"
#include "prassert.h"
#include "jsj_private.h" /* LiveConnect internals */
/*
* Add a single field, described by java_field, to the JavaMemberDescriptor
* named by field_name within the given JavaClassDescriptor.
*
* Returns JS_TRUE on success. Otherwise, returns JS_FALSE and reports an error.
*/
static JSBool
add_java_field_to_class_descriptor(JSContext *cx,
JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jstring field_name_jstr,
jobject java_field, /* a java.lang.reflect.Field */
jint modifiers)
{
jclass fieldType;
jfieldID fieldID;
jclass java_class;
JSBool is_static_field;
JavaMemberDescriptor *member_descriptor = NULL;
const char *sig_cstr = NULL;
const char *field_name = NULL;
JavaSignature *signature = NULL;
JavaFieldSpec *field_spec = NULL;
is_static_field = modifiers & ACC_STATIC;
if (is_static_field) {
member_descriptor = jsj_GetJavaStaticMemberDescriptor(cx, jEnv, class_descriptor, field_name_jstr);
} else {
member_descriptor = jsj_GetJavaMemberDescriptor(cx, jEnv, class_descriptor, field_name_jstr);
}
if (!member_descriptor)
goto error;
field_spec = (JavaFieldSpec*)JS_malloc(cx, sizeof(JavaFieldSpec));
if (!field_spec)
goto error;
field_spec->modifiers = modifiers;
/* Get the Java class corresponding to the type of the field */
fieldType = (*jEnv)->CallObjectMethod(jEnv, java_field, jlrField_getType);
if (!fieldType) {
jsj_UnexpectedJavaError(cx, jEnv,
"Unable to determine type of field using"
" java.lang.reflect.Field.getType()");
goto error;
}
signature = jsj_GetJavaClassDescriptor(cx, jEnv, fieldType);
if (!signature)
goto error;
field_spec->signature = signature;
field_name = jsj_DupJavaStringUTF(cx, jEnv, field_name_jstr);
if (!field_name)
goto error;
field_spec->name = field_name;
/* Compute the JNI-style (string-based) signature of the field type */
sig_cstr = jsj_ConvertJavaSignatureToString(cx, signature);
if (!sig_cstr)
goto error;
/* Compute the JNI fieldID and cache it for quick field access */
java_class = class_descriptor->java_class;
if (is_static_field)
fieldID = (*jEnv)->GetStaticFieldID(jEnv, java_class, field_name, sig_cstr);
else
fieldID = (*jEnv)->GetFieldID(jEnv, java_class, field_name, sig_cstr);
if (!fieldID) {
jsj_UnexpectedJavaError(cx, jEnv,
"Can't get Java field ID for class %s, field %s (sig=%s)",
class_descriptor->name, field_name, sig_cstr);
goto error;
}
field_spec->fieldID = fieldID;
JS_free(cx, (char*)sig_cstr);
member_descriptor->field = field_spec;
/* Success */
return JS_TRUE;
error:
if (field_spec) {
JS_FREE_IF(cx, (char*)field_spec->name);
JS_free(cx, field_spec);
}
JS_FREE_IF(cx, (char*)sig_cstr);
if (signature)
jsj_ReleaseJavaClassDescriptor(cx, jEnv, signature);
return JS_FALSE;
}
/*
* Free up a JavaFieldSpec and all its resources.
*/
void
jsj_DestroyFieldSpec(JSContext *cx, JNIEnv *jEnv, JavaFieldSpec *field)
{
JS_FREE_IF(cx, (char*)field->name);
jsj_ReleaseJavaClassDescriptor(cx, jEnv, field->signature);
JS_free(cx, field);
}
/*
* Add a JavaMemberDescriptor to the collection of members in class_descriptor
* for every public field of the identified Java class. (A separate collection
* is kept in class_descriptor for static and instance members.)
* If reflect_only_static_fields is set, instance fields are not reflected. If
* it isn't set, only instance fields are reflected and static fields are not
* reflected.
*
* Returns JS_TRUE on success. Otherwise, returns JS_FALSE and reports an error.
*/
JSBool
jsj_ReflectJavaFields(JSContext *cx, JNIEnv *jEnv, JavaClassDescriptor *class_descriptor,
JSBool reflect_only_static_fields)
{
int i;
JSBool ok;
jint modifiers;
jobject java_field;
jstring field_name_jstr;
jarray joFieldArray;
jsize num_fields;
jclass java_class;
/* Get a java array of java.lang.reflect.Field objects, by calling
java.lang.Class.getFields(). */
java_class = class_descriptor->java_class;
joFieldArray = (*jEnv)->CallObjectMethod(jEnv, java_class, jlClass_getFields);
if (!joFieldArray) {
jsj_UnexpectedJavaError(cx, jEnv,
"Can't determine Java object's fields "
"using java.lang.Class.getFields()");
return JS_FALSE;
}
/* Iterate over the class fields */
num_fields = (*jEnv)->GetArrayLength(jEnv, joFieldArray);
for (i = 0; i < num_fields; i++) {
/* Get the i'th reflected field */
java_field = (*jEnv)->GetObjectArrayElement(jEnv, joFieldArray, i);
if (!java_field) {
jsj_UnexpectedJavaError(cx, jEnv, "Can't access a Field[] array");
return JS_FALSE;
}
/* Get the field modifiers, e.g. static, public, private, etc. */
modifiers = (*jEnv)->CallIntMethod(jEnv, java_field, jlrField_getModifiers);
if ((*jEnv)->ExceptionOccurred(jEnv)) {
jsj_UnexpectedJavaError(cx, jEnv,
"Can't access a Field's modifiers using"
"java.lang.reflect.Field.getModifiers()");
return JS_FALSE;
}
/* Don't allow access to private or protected Java fields. */
if (!(modifiers & ACC_PUBLIC))
continue;
/* Reflect all instance fields or all static fields, but not both */
if (reflect_only_static_fields != ((modifiers & ACC_STATIC) != 0))
continue;
/* Determine the unqualified name of the field */
field_name_jstr = (*jEnv)->CallObjectMethod(jEnv, java_field, jlrField_getName);
if (!field_name_jstr) {
jsj_UnexpectedJavaError(cx, jEnv,
"Can't obtain a Field's name"
"java.lang.reflect.Field.getName()");
return JS_FALSE;
}
/* Add a JavaFieldSpec object to the JavaClassDescriptor */
ok = add_java_field_to_class_descriptor(cx, jEnv, class_descriptor, field_name_jstr,
java_field, modifiers);
if (!ok)
return JS_FALSE;
}
/* Success */
return JS_TRUE;
}
/*
* Read the value of a Java field and return it as a JavaScript value.
* If the field is static, then java_obj is a Java class, otherwise
* it's a Java instance object.
*
* Returns JS_TRUE on success. Otherwise, returns JS_FALSE and reports an error.
*/
JSBool
jsj_GetJavaFieldValue(JSContext *cx, JNIEnv *jEnv, JavaFieldSpec *field_spec,
jobject java_obj, jsval *vp)
{
JSBool is_static_field;
jvalue java_value;
JavaSignature *signature;
JavaSignatureChar field_type;
jfieldID fieldID = field_spec->fieldID;
is_static_field = field_spec->modifiers & ACC_STATIC;
#define GET_JAVA_FIELD(Type,member) \
PR_BEGIN_MACRO \
if (is_static_field) \
java_value.member = \
(*jEnv)->GetStatic##Type##Field(jEnv, java_obj, fieldID); \
else \
java_value.member = \
(*jEnv)->Get##Type##Field(jEnv, java_obj, fieldID); \
if ((*jEnv)->ExceptionOccurred(jEnv)) { \
jsj_ReportJavaError(cx, jEnv, "Error reading Java field"); \
return JS_FALSE; \
} \
PR_END_MACRO
signature = field_spec->signature;
field_type = signature->type;
switch(field_type) {
case JAVA_SIGNATURE_BYTE:
GET_JAVA_FIELD(Byte,b);
break;
case JAVA_SIGNATURE_CHAR:
GET_JAVA_FIELD(Char,c);
break;
case JAVA_SIGNATURE_SHORT:
GET_JAVA_FIELD(Short,s);
break;
case JAVA_SIGNATURE_INT:
GET_JAVA_FIELD(Int,i);
break;
case JAVA_SIGNATURE_BOOLEAN:
GET_JAVA_FIELD(Boolean,z);
break;
case JAVA_SIGNATURE_LONG:
GET_JAVA_FIELD(Long,j);
break;
case JAVA_SIGNATURE_FLOAT:
GET_JAVA_FIELD(Float,f);
break;
case JAVA_SIGNATURE_DOUBLE:
GET_JAVA_FIELD(Double,d);
break;
case JAVA_SIGNATURE_CLASS:
case JAVA_SIGNATURE_ARRAY:
GET_JAVA_FIELD(Object,l);
break;
#undef GET_JAVA_FIELD
default:
PR_ASSERT(0); /* Unknown java type signature */
return JS_FALSE;
}
return jsj_ConvertJavaValueToJSValue(cx, jEnv, signature, &java_value, vp);
}
JSBool
jsj_SetJavaFieldValue(JSContext *cx, JNIEnv *jEnv, JavaFieldSpec *field_spec,
jclass java_obj, jsval js_val)
{
JSBool is_static_field;
int dummy_cost;
jvalue java_value;
JavaSignature *signature;
JavaSignatureChar field_type;
jfieldID fieldID = field_spec->fieldID;
is_static_field = field_spec->modifiers & ACC_STATIC;
#define SET_JAVA_FIELD(Type,member) \
PR_BEGIN_MACRO \
if (is_static_field) { \
(*jEnv)->SetStatic##Type##Field(jEnv, java_obj, fieldID, \
java_value.member); \
} else { \
(*jEnv)->Set##Type##Field(jEnv, java_obj, fieldID,java_value.member);\
} \
if ((*jEnv)->ExceptionOccurred(jEnv)) { \
jsj_ReportJavaError(cx, jEnv, "Error assigning to Java field"); \
return JS_FALSE; \
} \
PR_END_MACRO
signature = field_spec->signature;
if (!jsj_ConvertJSValueToJavaValue(cx, jEnv, js_val, signature, &dummy_cost, &java_value))
return JS_FALSE;
field_type = signature->type;
switch(field_type) {
case JAVA_SIGNATURE_BYTE:
SET_JAVA_FIELD(Byte,b);
break;
case JAVA_SIGNATURE_CHAR:
SET_JAVA_FIELD(Char,c);
break;
case JAVA_SIGNATURE_SHORT:
SET_JAVA_FIELD(Short,s);
break;
case JAVA_SIGNATURE_INT:
SET_JAVA_FIELD(Int,i);
break;
case JAVA_SIGNATURE_BOOLEAN:
SET_JAVA_FIELD(Boolean,z);
break;
case JAVA_SIGNATURE_LONG:
SET_JAVA_FIELD(Long,j);
break;
case JAVA_SIGNATURE_FLOAT:
SET_JAVA_FIELD(Float,f);
break;
case JAVA_SIGNATURE_DOUBLE:
SET_JAVA_FIELD(Double,d);
break;
case JAVA_SIGNATURE_CLASS:
case JAVA_SIGNATURE_ARRAY:
SET_JAVA_FIELD(Object,l);
break;
#undef SET_JAVA_FIELD
default:
PR_ASSERT(0); /* Unknown java type signature */
return JS_FALSE;
}
return JS_TRUE;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,507 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* Declarations of private (internal) functions/data/types for
* JavaScript <==> Java communication.
*
*/
#ifndef _JSJAVA_PVT_H
#define _JSJAVA_PVT_H
#include "prhash.h" /* NSPR hash-tables */
#include "jni.h" /* Java Native Interface */
#include "jsapi.h" /* JavaScript engine API */
/*************************** Type Declarations ******************************/
/* Forward type declarations */
typedef struct JavaMemberDescriptor JavaMemberDescriptor;
typedef struct JavaMethodSpec JavaMethodSpec;
typedef struct JavaClassDescriptor JavaClassDescriptor;
typedef struct JavaClassDescriptor JavaSignature;
typedef struct JSJCallbacks JSJCallbacks;
typedef struct CapturedJSError CapturedJSError;
typedef struct JavaPackageDef JavaPackageDef;
typedef struct JSJavaThreadState JSJavaThreadState;
typedef struct JSJavaVM JSJavaVM;
typedef struct JavaMemberVal JavaMemberVal;
/*
* This enum uses the same character encoding used by the JDK to encode
* Java type signatures, but the enum is easier to debug/compile with.
*/
typedef enum {
JAVA_SIGNATURE_ARRAY = '[',
JAVA_SIGNATURE_BYTE = 'B',
JAVA_SIGNATURE_CHAR = 'C',
JAVA_SIGNATURE_CLASS = 'L',
JAVA_SIGNATURE_FLOAT = 'F',
JAVA_SIGNATURE_DOUBLE = 'D',
JAVA_SIGNATURE_INT = 'I',
JAVA_SIGNATURE_LONG = 'J',
JAVA_SIGNATURE_SHORT = 'S',
JAVA_SIGNATURE_VOID = 'V',
JAVA_SIGNATURE_BOOLEAN = 'Z',
JAVA_SIGNATURE_UNKNOWN = 0
} JavaSignatureChar;
/* The signature of a Java method consists of the signatures of all its
arguments and its return type signature. */
typedef struct JavaMethodSignature {
jsize num_args; /* Length of arg_signatures array */
JavaSignature ** arg_signatures; /* Array of argument signatures */
JavaSignature * return_val_signature; /* Return type signature */
} JavaMethodSignature;
/* A descriptor for the reflection of a single Java field */
typedef struct JavaFieldSpec {
jfieldID fieldID; /* JVM opaque access handle for field */
JavaSignature * signature; /* Java type of field */
int modifiers; /* Bitfield indicating field qualifiers */
const char * name; /* UTF8; TODO - Should support Unicode field names */
} JavaFieldSpec;
/* A descriptor for the reflection of a single Java method.
Each overloaded method has a separate corresponding JavaMethodSpec. */
typedef struct JavaMethodSpec {
jmethodID methodID; /* JVM opaque access handle for method */
JavaMethodSignature signature;
const char * name; /* UTF8; TODO - Should support Unicode method names */
JavaMethodSpec * next; /* next method in chain of overloaded methods */
} JavaMethodSpec;
/*
* A descriptor for the reflection of a single member of a Java object.
* This can represent one or more Java methods and/or a single field.
* (When there is more than one method attached to a single JavaMemberDescriptor
* they are overloaded methods sharing the same simple name.) This same
* descriptor type is used for both static or instance members.
*/
typedef struct JavaMemberDescriptor {
const char * name; /* simple name of field and/or method */
jsid id; /* hashed name for quick JS property lookup */
JavaFieldSpec * field; /* field with the given name, if any */
JavaMethodSpec * methods; /* Overloaded methods which share the same name, if any */
JavaMemberDescriptor * next; /* next descriptor in same defining class */
} JavaMemberDescriptor;
/* This is the native portion of a reflected Java class */
typedef struct JavaClassDescriptor {
const char * name; /* Name of class, e.g. "java/lang/Byte" */
JavaSignatureChar type; /* class category: primitive type, object, array */
jclass java_class; /* Opaque JVM handle to corresponding java.lang.Class */
int num_instance_members;
int num_static_members;
JSBool instance_members_reflected;
JavaMemberDescriptor * instance_members;
JSBool static_members_reflected;
JavaMemberDescriptor * static_members;
JavaMemberDescriptor * constructors;
int modifiers; /* Class declaration qualifiers,
e.g. abstract, private */
int ref_count; /* # of references to this struct */
JavaSignature * array_component_signature; /* Only non-NULL for array classes */
} JavaClassDescriptor;
/* This is the native portion of a reflected Java method or field */
typedef struct JavaMemberVal {
jsval field_val; /* Captured value of Java field */
jsval invoke_method_func_val; /* JSFunction wrapper around Java method invoker */
JavaMemberDescriptor * descriptor;
JavaMemberVal * next;
} JavaMemberVal;
/* This is the native portion of a reflected Java object */
typedef struct {
jobject java_obj; /* Opaque JVM ref to Java object */
JavaClassDescriptor * class_descriptor; /* Java class info */
JavaMemberVal * members; /* Reflected methods and fields */
} JavaObjectWrapper;
/* These are definitions of the Java class/method/field modifier bits.
These really shouldn't be hard-coded here. Rather,
they should be read from java.lang.reflect.Modifier */
#define ACC_PUBLIC 0x0001 /* visible to everyone */
#define ACC_STATIC 0x0008 /* instance variable is static */
#define ACC_FINAL 0x0010 /* no further subclassing,overriding */
#define ACC_INTERFACE 0x0200 /* class is an interface */
#define ACC_ABSTRACT 0x0400 /* no definition provided */
/* A JSJavaVM structure must be created for each Java VM that is accessed
via LiveConnect */
typedef struct JSJavaVM {
/* TODO - all LiveConnect global variables should be migrated into this
structure in order to allow more than one LiveConnect-enabled
Java VM to exist within the same process. */
JavaVM * java_vm;
JNIEnv * main_thread_env; /* Main-thread Java environment */
JSBool jsj_created_java_vm;
int num_attached_threads;
JSJavaVM * next; /* next VM among all created VMs */
} JSJavaVM;
/* Per-thread state that encapsulates the connection to the Java VM */
typedef struct JSJavaThreadState {
const char * name; /* Thread name, for debugging */
JSJavaVM * jsjava_vm; /* All per-JVM state */
JNIEnv * jEnv; /* Per-thread opaque handle to Java VM */
CapturedJSError * pending_js_errors; /* JS errors to be thrown as Java exceptions */
JSContext * cx; /* current JS context for thread */
JSJavaThreadState * next; /* next thread state among all created threads */
} JSJavaThreadState;
/******************************** Globals ***********************************/
extern JNIEnv *jENV;
extern JSJCallbacks *JSJ_callbacks;
/* JavaScript classes that reflect Java objects */
extern JSClass JavaObject_class;
extern JSClass JavaArray_class;
extern JSClass JavaClass_class;
/*
* Opaque JVM handles to Java classes, methods and objects required for
* Java reflection. These are computed and cached during initialization.
* TODO: These should be moved inside the JSJavaVM struct
*/
extern jclass jlObject; /* java.lang.Object */
extern jclass jlrConstructor; /* java.lang.reflect.Constructor */
extern jclass jlThrowable; /* java.lang.Throwable */
extern jclass jlSystem; /* java.lang.System */
extern jclass jlClass; /* java.lang.Class */
extern jclass jlBoolean; /* java.lang.Boolean */
extern jclass jlDouble; /* java.lang.Double */
extern jclass jlString; /* java.lang.String */
extern jclass njJSObject; /* netscape.javascript.JSObject */
extern jclass njJSException; /* netscape.javascript.JSException */
extern jclass njJSUtil; /* netscape.javascript.JSUtil */
extern jmethodID jlClass_getMethods; /* java.lang.Class.getMethods() */
extern jmethodID jlClass_getConstructors; /* java.lang.Class.getConstructors() */
extern jmethodID jlClass_getFields; /* java.lang.Class.getFields() */
extern jmethodID jlClass_getName; /* java.lang.Class.getName() */
extern jmethodID jlClass_getComponentType; /* java.lang.Class.getComponentType() */
extern jmethodID jlClass_getModifiers; /* java.lang.Class.getModifiers() */
extern jmethodID jlClass_isArray; /* java.lang.Class.isArray() */
extern jmethodID jlrMethod_getName; /* java.lang.reflect.Method.getName() */
extern jmethodID jlrMethod_getParameterTypes; /* java.lang.reflect.Method.getParameterTypes() */
extern jmethodID jlrMethod_getReturnType; /* java.lang.reflect.Method.getReturnType() */
extern jmethodID jlrMethod_getModifiers; /* java.lang.reflect.Method.getModifiers() */
extern jmethodID jlrConstructor_getParameterTypes; /* java.lang.reflect.Constructor.getParameterTypes() */
extern jmethodID jlrConstructor_getModifiers; /* java.lang.reflect.Constructor.getModifiers() */
extern jmethodID jlrField_getName; /* java.lang.reflect.Field.getName() */
extern jmethodID jlrField_getType; /* java.lang.reflect.Field.getType() */
extern jmethodID jlrField_getModifiers; /* java.lang.reflect.Field.getModifiers() */
extern jmethodID jlThrowable_getMessage; /* java.lang.Throwable.getMessage() */
extern jmethodID jlThrowable_toString; /* java.lang.Throwable.toString() */
extern jmethodID jlBoolean_Boolean; /* java.lang.Boolean constructor */
extern jmethodID jlBoolean_booleanValue; /* java.lang.Boolean.booleanValue() */
extern jmethodID jlDouble_Double; /* java.lang.Double constructor */
extern jmethodID jlDouble_doubleValue; /* java.lang.Double.doubleValue() */
extern jmethodID jlSystem_identityHashCode; /* java.lang.System.identityHashCode() */
extern jobject jlVoid_TYPE; /* java.lang.Void.TYPE value */
extern jmethodID njJSException_JSException; /* netscape.javascipt.JSexception constructor */
extern jmethodID njJSObject_JSObject; /* netscape.javascript.JSObject constructor */
extern jmethodID njJSUtil_getStackTrace; /* netscape.javascript.JSUtil.getStackTrace() */
extern jfieldID njJSObject_internal; /* netscape.javascript.JSObject.internal */
extern jfieldID njJSException_lineno; /* netscape.javascript.JSException.lineno */
extern jfieldID njJSException_tokenIndex; /* netscape.javascript.JSException.tokenIndex */
extern jfieldID njJSException_source; /* netscape.javascript.JSException.source */
extern jfieldID njJSException_filename; /* netscape.javascript.JSException.filename */
/**************** Java <==> JS conversions and Java types *******************/
extern JSBool
jsj_ComputeJavaClassSignature(JSContext *cx,
JavaSignature *signature,
jclass java_class);
extern const char *
jsj_ConvertJavaSignatureToString(JSContext *cx, JavaSignature *signature);
extern const char *
jsj_ConvertJavaSignatureToHRString(JSContext *cx,
JavaSignature *signature);
extern JavaMethodSignature *
jsj_InitJavaMethodSignature(JSContext *cx, JNIEnv *jEnv, jobject method,
JavaMethodSignature *method_signature);
extern const char *
jsj_ConvertJavaMethodSignatureToString(JSContext *cx,
JavaMethodSignature *method_signature);
extern const char *
jsj_ConvertJavaMethodSignatureToHRString(JSContext *cx,
const char *method_name,
JavaMethodSignature *method_signature);
extern void
jsj_PurgeJavaMethodSignature(JSContext *cx, JNIEnv *jEnv, JavaMethodSignature *signature);
extern JSBool
jsj_ConvertJSValueToJavaValue(JSContext *cx, JNIEnv *jEnv, jsval v, JavaSignature *signature,
int *cost, jvalue *java_value);
extern JSBool
jsj_ConvertJSValueToJavaObject(JSContext *cx, JNIEnv *jEnv, jsval v, JavaSignature *signature,
int *cost, jobject *java_value);
extern jstring
jsj_ConvertJSStringToJavaString(JSContext *cx, JNIEnv *jEnv, JSString *js_str);
extern JSBool
jsj_ConvertJavaValueToJSValue(JSContext *cx, JNIEnv *jEnv, JavaSignature *signature,
jvalue *java_value, jsval *vp);
extern JSBool
jsj_ConvertJavaObjectToJSValue(JSContext *cx, JNIEnv *jEnv,
jobject java_obj, jsval *vp);
extern JSBool
jsj_ConvertJavaObjectToJSString(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jobject java_obj, jsval *vp);
extern JSBool
jsj_ConvertJavaObjectToJSNumber(JSContext *cx, JNIEnv *jEnv,
jobject java_obj, jsval *vp);
extern JSBool
jsj_ConvertJavaObjectToJSBoolean(JSContext *cx, JNIEnv *jEnv,
jobject java_obj, jsval *vp);
/************************ Java package reflection **************************/
extern JSBool
jsj_init_JavaPackage(JSContext *, JSObject *,
JavaPackageDef *predefined_packages);
/************************* Java class reflection ***************************/
extern JSBool
jsj_init_JavaClass(JSContext *cx, JSObject *global_obj);
const char *
jsj_GetJavaClassName(JSContext *cx, JNIEnv *jEnv, jclass java_class);
extern JavaClassDescriptor *
jsj_GetJavaClassDescriptor(JSContext *cx, JNIEnv *jEnv, jclass java_class);
extern void
jsj_ReleaseJavaClassDescriptor(JSContext *cx, JNIEnv *jEnv, JavaClassDescriptor *class_descriptor);
extern JSObject *
jsj_define_JavaClass(JSContext *cx, JNIEnv *jEnv, JSObject *obj,
const char *unqualified_class_name,
jclass jclazz);
extern JavaMemberDescriptor *
jsj_GetJavaMemberDescriptor(JSContext *cx,
JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jstring member_name);
/* extern JavaMemberDescriptor *
jsj_LookupJavaClassMember(JSContext *cx,
JavaClassDescriptor *class_descriptor,
const char *member_name);*/
extern JavaMemberDescriptor *
jsj_LookupJavaMemberDescriptorById(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jsid id);
/* extern JavaMemberDescriptor *
jsj_LookupJavaStaticMemberDescriptor(JSContext *cx,
JavaClassDescriptor *class_descriptor,
jstring member_name); */
extern JavaMemberDescriptor *
jsj_LookupJavaStaticMemberDescriptorById(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jsid id);
extern JavaMemberDescriptor *
jsj_GetJavaStaticMemberDescriptor(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jstring member_name);
extern JavaMemberDescriptor *
jsj_GetJavaClassConstructors(JSContext *cx,
JavaClassDescriptor *class_descriptor);
extern JavaMemberDescriptor *
jsj_LookupJavaClassConstructors(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor);
extern JavaMemberDescriptor *
jsj_GetClassInstanceMembers(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor);
extern JavaMemberDescriptor *
jsj_GetClassStaticMembers(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor);
extern JSBool
jsj_InitJavaClassReflectionsTable();
/************************* Java field reflection ***************************/
extern JSBool
jsj_GetJavaFieldValue(JSContext *cx, JNIEnv *jEnv, JavaFieldSpec *field_spec,
jobject java_obj, jsval *vp);
extern JSBool
jsj_SetJavaFieldValue(JSContext *cx, JNIEnv *jEnv, JavaFieldSpec *field_spec,
jobject java_obj, jsval js_val);
extern JSBool
jsj_ReflectJavaFields(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
JSBool reflect_only_static_fields);
extern void
jsj_DestroyFieldSpec(JSContext *cx, JNIEnv *jEnv, JavaFieldSpec *field);
/************************* Java method reflection ***************************/
extern JSBool
jsj_JavaInstanceMethodWrapper(JSContext *cx, JSObject *obj,
uintN argc, jsval *argv, jsval *vp);
extern JSBool
jsj_JavaStaticMethodWrapper(JSContext *cx, JSObject *obj,
uintN argc, jsval *argv, jsval *vp);
extern JSBool
jsj_JavaConstructorWrapper(JSContext *cx, JSObject *obj,
uintN argc, jsval *argv, jsval *vp);
extern JSBool
jsj_ReflectJavaMethods(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
JSBool reflect_only_static_methods);
extern void
jsj_DestroyMethodSpec(JSContext *cx, JNIEnv *jEnv, JavaMethodSpec *method_spec);
/************************* Java member reflection ***************************/
extern JSBool
jsj_init_JavaMember(JSContext *, JSObject *);
extern JSBool
jsj_ReflectJavaMethodsAndFields(JSContext *cx, JavaClassDescriptor *class_descriptor,
JSBool reflect_only_statics);
/************************* Java object reflection **************************/
extern JSBool
jsj_init_JavaObject(JSContext *, JSObject *);
extern JSObject *
jsj_WrapJavaObject(JSContext *cx, JNIEnv *jEnv, jobject java_obj, jclass java_class);
extern JSBool
JavaObject_convert(JSContext *cx, JSObject *obj, JSType type, jsval *vp);
extern void
JavaObject_finalize(JSContext *cx, JSObject *obj);
extern JSBool
JavaObject_resolve(JSContext *cx, JSObject *obj, jsval id);
extern JSBool
JavaObject_enumerate(JSContext *cx, JSObject *obj);
extern JSBool
JavaObject_getProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp);
extern JSBool
JavaObject_getPropertyById(JSContext *cx, JSObject *obj, jsid id, jsval *vp);
/************************* Java array reflection ***************************/
extern JSBool
jsj_init_JavaArray(JSContext *cx, JSObject *global_obj);
extern JSBool
jsj_GetJavaArrayElement(JSContext *cx, JNIEnv *jEnv, jarray java_array,
jsize index, JavaSignature *array_component_signature,
jsval *vp);
extern JSBool
jsj_SetJavaArrayElement(JSContext *cx, JNIEnv *jEnv, jarray java_array,
jsize index, JavaSignature *array_component_signature,
jsval js_val);
/********************* JavaScript object reflection ************************/
extern jobject
jsj_WrapJSObject(JSContext *cx, JNIEnv *jEnv, JSObject *js_obj);
extern void
jsj_ClearPendingJSErrors(JSJavaThreadState *jsj_env);
extern JSBool
jsj_ReportUncaughtJSException(JSContext *cx, JNIEnv *jEnv, jthrowable java_exception);
/**************************** Utilities ************************************/
extern void
jsj_ReportJavaError(JSContext *cx, JNIEnv *env, const char *format, ...);
extern void
jsj_UnexpectedJavaError(JSContext *cx, JNIEnv *env, const char *format, ...);
extern const char *
jsj_GetJavaErrorMessage(JNIEnv *env);
extern void
jsj_LogError(const char *error_msg);
PR_CALLBACK prhashcode
jsj_HashJavaObject(const void *key);
PR_CALLBACK intN
jsj_JavaObjectComparator(const void *v1, const void *v2);
extern JSJavaThreadState *
jsj_MapJavaThreadToJSJavaThreadState(JNIEnv *jEnv, char **errp);
extern void
jsj_MakeJNIClassname(char *jClassName);
extern const char *
jsj_ClassNameOfJavaObject(JSContext *cx, JNIEnv *jEnv, jobject java_object);
extern jsize
jsj_GetJavaArrayLength(JSContext *cx, JNIEnv *jEnv, jarray java_array);
extern JSBool
JavaStringToId(JSContext *cx, JNIEnv *jEnv, jstring jstr, jsid *idp);
extern const char *
jsj_DupJavaStringUTF(JSContext *cx, JNIEnv *jEnv, jstring jstr);
JSJavaThreadState *
jsj_MapJSContextToJSJThread(JSContext *cx, JNIEnv **envp);
#ifdef DEBUG
#define DEBUG_LOG(args) printf args
#endif
#define JS_FREE_IF(cx, x) \
PR_BEGIN_MACRO \
if (x) \
JS_free(cx, x); \
PR_END_MACRO
#endif /* _JSJAVA_PVT_H */

View File

@@ -1,339 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains low-level utility code.
*
*/
#include <stdlib.h>
#include <string.h>
#include "prtypes.h"
#include "prprintf.h"
#include "prassert.h"
#include "jsj_private.h" /* LiveConnect internals */
#include "jsjava.h" /* External LiveConnect API */
/*
* This is a hash-table utility routine that computes the hash code of a Java
* object by calling java.lang.System.identityHashCode()
*/
PR_CALLBACK prhashcode
jsj_HashJavaObject(const void *key)
{
prhashcode hash_code;
jobject java_obj;
java_obj = (jobject)key;
hash_code = (*jENV)->CallStaticIntMethod(jENV, jlSystem,
jlSystem_identityHashCode, java_obj);
PR_ASSERT(!(*jENV)->ExceptionOccurred(jENV));
return hash_code;
}
/*
* This is a hash-table utility routine for comparing two Java objects.
* It's not possible to use the == operator to directly compare two jobject's,
* since they're opaque references and aren't guaranteed to be simple pointers
* or handles (though they may be in some JVM implementations). Instead,
* use the JNI routine for comparing the two objects.
*/
PR_CALLBACK intN
jsj_JavaObjectComparator(const void *v1, const void *v2)
{
jobject java_obj1, java_obj2;
java_obj1 = (jobject)v1;
java_obj2 = (jobject)v2;
if (java_obj1 == java_obj2)
return 1;
return (*jENV)->IsSameObject(jENV, java_obj1, java_obj2);
}
/*
* Return a UTF8, null-terminated encoding of a Java string. The string must
* be free'ed by the caller.
*
* If an error occurs, returns NULL and calls the JS error reporter.
*/
const char *
jsj_DupJavaStringUTF(JSContext *cx, JNIEnv *jEnv, jstring jstr)
{
const char *str, *retval;
str = (*jEnv)->GetStringUTFChars(jEnv, jstr, 0);
if (!str) {
jsj_UnexpectedJavaError(cx, jEnv, "Can't get UTF8 characters from "
"Java string");
return NULL;
}
retval = JS_strdup(cx, str);
(*jEnv)->ReleaseStringUTFChars(jEnv, jstr, str);
return retval;
}
JSBool
JavaStringToId(JSContext *cx, JNIEnv *jEnv, jstring jstr, jsid *idp)
{
const jschar *ucs2;
JSString *jsstr;
jsize ucs2_len;
jsval val;
ucs2 = (*jEnv)->GetStringChars(jEnv, jstr, 0);
if (!ucs2) {
jsj_UnexpectedJavaError(cx, jEnv, "Couldn't obtain Unicode characters"
"from Java string");
return JS_FALSE;
}
ucs2_len = (*jEnv)->GetStringLength(jEnv, jstr);
jsstr = JS_InternUCStringN(cx, ucs2, ucs2_len);
(*jEnv)->ReleaseStringChars(jEnv, jstr, ucs2);
if (!jsstr)
return JS_FALSE;
val = STRING_TO_JSVAL(jsstr);
JS_ValueToId(cx, STRING_TO_JSVAL(jsstr), idp);
return JS_TRUE;
}
/* Not used ?
const char *
jsj_ClassNameOfJavaObject(JSContext *cx, JNIEnv *jEnv, jobject java_object)
{
jobject java_class;
java_class = (*jEnv)->GetObjectClass(jEnv, java_object);
if (!java_class) {
PR_ASSERT(0);
return NULL;
}
return jsj_GetJavaClassName(cx, jEnv, java_class);
}
*/
/*
* Return, as a C string, the error message associated with a Java exception
* that occurred as a result of a JNI call, preceded by the class name of
* the exception. As a special case, if the class of the exception is
* netscape.javascript.JSException, the exception class name is omitted.
*
* NULL is returned if no Java exception is pending. The caller is
* responsible for free'ing the returned string. On exit, the Java exception
* is *not* cleared.
*/
const char *
jsj_GetJavaErrorMessage(JNIEnv *jEnv)
{
const char *java_error_msg;
char *error_msg = NULL;
jthrowable exception;
jstring java_exception_jstring;
exception = (*jEnv)->ExceptionOccurred(jEnv);
if (exception) {
java_exception_jstring =
(*jEnv)->CallObjectMethod(jEnv, exception, jlThrowable_toString);
java_error_msg = (*jEnv)->GetStringUTFChars(jEnv, java_exception_jstring, NULL);
error_msg = strdup((char*)java_error_msg);
(*jEnv)->ReleaseStringUTFChars(jEnv, java_exception_jstring, java_error_msg);
#ifdef DEBUG
/* (*jEnv)->ExceptionDescribe(jEnv); */
#endif
}
return error_msg;
}
/*
* Return, as a C string, the JVM stack trace associated with a Java
* exception, as would be printed by java.lang.Throwable.printStackTrace().
* The caller is responsible for free'ing the returned string.
*
* Returns NULL if an error occurs.
*/
static const char *
get_java_stack_trace(JSContext *cx, JNIEnv *jEnv, jthrowable java_exception)
{
const char *backtrace;
jstring backtrace_jstr;
backtrace = NULL;
if (java_exception && njJSUtil_getStackTrace) {
backtrace_jstr = (*jEnv)->CallStaticObjectMethod(jEnv, njJSUtil,
njJSUtil_getStackTrace,
java_exception);
if (!backtrace_jstr) {
jsj_UnexpectedJavaError(cx, jEnv, "Unable to get exception stack trace");
return NULL;
}
backtrace = jsj_DupJavaStringUTF(cx, jEnv, backtrace_jstr);
}
return backtrace;
}
/* Full Java backtrace when Java exceptions reported to JavaScript */
#define REPORT_JAVA_EXCEPTION_STACK_TRACE
/*
* This is a wrapper around JS_ReportError(), useful when an error condition
* is the result of a JVM failure or exception condition. It appends the
* message associated with the pending Java exception to the passed in
* printf-style format string and arguments.
*/
static void
vreport_java_error(JSContext *cx, JNIEnv *jEnv, const char *format, va_list ap)
{
char *error_msg, *js_error_msg;
const char *java_stack_trace;
const char *java_error_msg;
jthrowable java_exception;
java_error_msg = NULL;
java_exception = (*jEnv)->ExceptionOccurred(jEnv);
if (java_exception && njJSException &&
(*jEnv)->IsInstanceOf(jEnv, java_exception, njJSException)) {
(*jEnv)->ExceptionClear(jEnv);
jsj_ReportUncaughtJSException(cx, jEnv, java_exception);
return;
}
js_error_msg = PR_vsmprintf(format, ap);
if (!js_error_msg) {
PR_ASSERT(0); /* Out-of-memory */
return;
}
#ifdef REPORT_JAVA_EXCEPTION_STACK_TRACE
java_stack_trace = get_java_stack_trace(cx, jEnv, java_exception);
if (java_stack_trace) {
error_msg = PR_smprintf("%s\n%s", js_error_msg, java_stack_trace);
free((char*)java_stack_trace);
if (!error_msg) {
PR_ASSERT(0); /* Out-of-memory */
return;
}
}
#else
java_error_msg = jsj_GetJavaErrorMessage(jEnv);
if (java_error_msg) {
error_msg = PR_smprintf("%s (%s)\n", js_error_msg, java_error_msg);
free((char*)java_error_msg);
free(js_error_msg);
} else {
error_msg = js_error_msg;
}
#endif
JS_ReportError(cx, error_msg);
/* Important: the Java exception must not be cleared until the reporter
has been called, because the capture_js_error_reports_for_java(),
called from JS_ReportError(), needs to read the exception from the JVM */
(*jEnv)->ExceptionClear(jEnv);
free(error_msg);
}
void
jsj_ReportJavaError(JSContext *cx, JNIEnv *env, const char *format, ...)
{
va_list ap;
va_start(ap, format);
vreport_java_error(cx, env, format, ap);
va_end(ap);
}
/*
* Same as jsj_ReportJavaError, except "internal error: " is prepended
* to message.
*/
void
jsj_UnexpectedJavaError(JSContext *cx, JNIEnv *env, const char *format, ...)
{
va_list ap;
const char *format2;
va_start(ap, format);
format2 = PR_smprintf("internal error: %s", format);
if (format2)
vreport_java_error(cx, env, format2, ap);
free((void*)format2);
va_end(ap);
}
/*
* Most LiveConnect errors are signaled by calling JS_ReportError(),
* but in some circumstances, the target JSContext for such errors
* is not determinable, e.g. during initialization. In such cases
* any error messages are routed to this function.
*/
void
jsj_LogError(const char *error_msg)
{
if (JSJ_callbacks && JSJ_callbacks->error_print)
JSJ_callbacks->error_print(error_msg);
else
fputs(error_msg, stderr);
}
jsize
jsj_GetJavaArrayLength(JSContext *cx, JNIEnv *jEnv, jarray java_array)
{
jsize array_length = (*jEnv)->GetArrayLength(jEnv, java_array);
if ((*jEnv)->ExceptionOccurred(jEnv)) {
jsj_UnexpectedJavaError(cx, jEnv, "Couldn't obtain array length");
return -1;
}
return array_length;
}
JSJavaThreadState *
jsj_MapJSContextToJSJThread(JSContext *cx, JNIEnv **envp)
{
JSJavaThreadState *jsj_env;
char *err_msg;
*envp = NULL;
err_msg = NULL;
jsj_env = JSJ_callbacks->map_js_context_to_jsj_thread(cx, &err_msg);
if (!jsj_env) {
if (err_msg) {
JS_ReportError(cx, err_msg);
free(err_msg);
}
return NULL;
}
if (envp)
*envp = jsj_env->jEnv;
return jsj_env;
}

View File

@@ -1,234 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1998
* Netscape Communications Corporation. All Rights Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* Publicly exported functions for JavaScript <==> Java communication.
*
*/
#ifndef _JSJAVA_H
#define _JSJAVA_H
#include "jni.h" /* Java Native Interface */
#include "jsapi.h" /* JavaScript engine API */
/*
* A JSJavaVM structure is a wrapper around a JavaVM which incorporates
* additional LiveConnect state.
*/
typedef struct JSJavaVM JSJavaVM;
/* LiveConnect and Java state, one per thread */
typedef struct JSJavaThreadState JSJavaThreadState;
/*
* This callback table provides hooks to external functions that implement
* functionality specific to the embedding. For example, these callbacks are
* necessary in multi-threaded environments or to implement a security
* policy.
*/
typedef struct JSJCallbacks {
/* This callback is invoked when there is no JavaScript execution
environment (JSContext) associated with the current Java thread and
a call is made from Java into JavaScript. (A JSContext is associated
with a Java thread by calling the JSJ_SetJSContextForJavaThread()
function.) This callback is only invoked when Java spontaneously calls
into JavaScript, i.e. it is not called when JS calls into Java which
calls back into JS.
This callback can be used to create a JSContext lazily, or obtain
one from a pool of available JSContexts. The implementation of this
callback can call JSJ_SetJSContextForJavaThread() to avoid any further
callbacks of this type for this Java thread. */
JSContext * (*map_jsj_thread_to_js_context)(JSJavaThreadState *jsj_env,
char **errp);
/* This callback is invoked whenever a call is made into Java from
JavaScript. It's responsible for mapping from a JavaScript execution
environment (JSContext) to a Java thread. (A JavaContext can only
be associated with one Java thread at a time.) */
JSJavaThreadState * (*map_js_context_to_jsj_thread)(JSContext *cx,
char **errp);
/* This callback implements netscape.javascript.JSObject.getWindow(),
a method named for its behavior in the browser environment, where it
returns the JS "Window" object corresponding to the HTML window that an
applet is embedded within. More generally, it's a way for Java to get
hold of a JS object that has not been explicitly passed to it. */
JSObject * (*map_java_object_to_js_object)(JNIEnv *jEnv, jobject hint,
char **errp);
/* An interim callback function until the LiveConnect security story is
straightened out. This function pointer can be set to NULL. */
JSPrincipals * (*get_JSPrincipals_from_java_caller)(JNIEnv *jEnv);
/* The following two callbacks sandwich any JS evaluation performed
from Java. They may be used to implement concurrency constraints, e.g.
by suspending the current thread until some condition is met. In the
browser embedding, these are used to maintain the run-to-completion
semantics of JavaScript. It is acceptable for either function pointer
to be NULL. */
JSBool (*enter_js_from_java)(char **errp);
void (*exit_js)(void);
/* Most LiveConnect errors are signaled by calling JS_ReportError(), but in
some circumstances, the target JSContext for such errors is not
determinable, e.g. during initialization. In such cases any error
messages are routed to this function. If the function pointer is set to
NULL, error messages are sent to stderr. */
void (*error_print)(const char *error_msg);
/* Reserved for future use */
void * reserved[10];
} JSJCallbacks;
/*===========================================================================*/
/* A flag that denotes that a Java package has no sub-packages other than those
explicitly pre-defined at the time of JSContext initialization. An access
to a simple name within such a package, therefore, must either correspond to
one of these explicitly named sub-packages or to a class within this
package. It is reasonable for LiveConnect to signal an error if a simple
name does not comply with these criteria. */
#define PKG_SYSTEM 1
/* A flag that denotes that a Java package which might contain sub-packages
that are not pre-defined at initialization time, because the sub-packages
may not be the same in all installations. Therefore, an access to a simple
name within such a a package which does not correspond to either a
pre-defined sub-package or to a class, must be assummed to refer to an
unknown sub-package. This behavior may cause bogus JavaPackage objects to be
created if a package name is misspelled, e.g. sun.oi.net. */
#define PKG_USER 2
/* A Java package defined at initialization time. */
typedef struct JavaPackageDef {
const char * name; /* e.g. "java.lang" */
const char * path; /* e.g. "java/lang", or NULL for default */
int flags; /* PKG_USER, PKG_SYSTEM, etc. */
} JavaPackageDef;
/*===========================================================================*/
/* The following two convenience functions present a complete, but simplified
LiveConnect API which is designed to handle the special case of a single
Java-VM, with single-threaded operation, and the use of only one JSContext.
The full API is in the section below. */
/* Initialize the provided JSContext by setting up the JS classes necessary for
reflection and by defining JavaPackage objects for the default Java packages
as properties of global_obj. If java_vm is NULL, a new Java VM is
created, using the provided classpath in addition to any default classpath.
The classpath argument is ignored, however, if java_vm is non-NULL. */
PR_PUBLIC_API(JSBool)
JSJ_SimpleInit(JSContext *cx, JSObject *global_obj,
JavaVM *java_vm, const char *classpath);
/* Free up all resources. Destroy the Java VM if it was created by LiveConnect */
PR_PUBLIC_API(void)
JSJ_SimpleShutdown();
/*===========================================================================*/
/* The "full" LiveConnect API, required when more than one thread, Java VM, or
JSContext is involved. Initialization pseudocode might go roughly like
this:
JSJ_Init() // Setup callbacks
for each JavaVM {
JSJ_ConnectToJavaVM(...)
}
for each JSContext {
JSJ_InitJSContext(...)
}
for each JS evaluation {
run JavaScript code in the JSContext;
}
*/
/* Called once for all instances of LiveConnect to set up callbacks */
PR_PUBLIC_API(void)
JSJ_Init(JSJCallbacks *callbacks);
/* Called once per Java VM, this function initializes the classes, fields, and
methods required for Java reflection. If java_vm is NULL, a new Java VM is
created, using the provided classpath in addition to any default classpath.
The classpath argument is ignored, however, if java_vm is non-NULL. */
PR_PUBLIC_API(JSJavaVM *)
JSJ_ConnectToJavaVM(JavaVM *java_vm, const char *classpath);
/* Initialize the provided JSContext by setting up the JS classes necessary for
reflection and by defining JavaPackage objects for the default Java packages
as properties of global_obj. Additional packages may be pre-defined by
setting the predefined_packages argument. (Pre-defining a Java package at
initialization time is not necessary, but it will make package lookup faster
and, more importantly, will avoid unnecessary network accesses if classes
are being loaded over the network.) */
PR_PUBLIC_API(JSBool)
JSJ_InitJSContext(JSContext *cx, JSObject *global_obj,
JavaPackageDef *predefined_packages);
/* This function returns a structure that encapsulates the Java and JavaScript
execution environment for the current native thread. It is intended to
be called from the embedder's implementation of JSJCallback's
map_js_context_to_jsj_thread() function. The thread_name argument is only
used for debugging purposes and can be set to NULL. The Java JNI
environment associated with this thread is returned through the java_envp
argument if java_envp is non-NULL. */
PR_PUBLIC_API(JSJavaThreadState *)
JSJ_AttachCurrentThreadToJava(JSJavaVM *jsjava_vm, const char *thread_name,
JNIEnv **java_envp);
/* Destructor routine for per-thread JSJavaThreadState structure */
PR_PUBLIC_API(JSBool)
JSJ_DetachCurrentThreadFromJava(JSJavaThreadState *jsj_env);
/* This function is used to specify a particular JSContext as *the* JavaScript
execution environment to be used when LiveConnect is accessed from the given
Java thread, i.e. when one of the methods of netscape.javascript.JSObject
has been called. There can only be one such JS context for any given Java
thread at a time. To multiplex JSContexts among a single thread, this
function could be called before Java is invoked on that thread.) The return
value is the previous JSContext associated with the given Java thread.
If this function has not been called for a thread and a crossing is made
into JavaScript from Java, the map_jsj_thread_to_js_context() callback will
be invoked to determine the JSContext for the thread. The purpose of the
function is to improve performance by avoiding the expense of the callback.
*/
PR_PUBLIC_API(JSContext *)
JSJ_SetDefaultJSContextForJavaThread(JSContext *cx, JSJavaThreadState *jsj_env);
/* This routine severs the connection to a Java VM, freeing all related resources.
It shouldn't be called until the global scope has been cleared in all related
JSContexts (so that all LiveConnect objects are finalized) and a JavaScript
GC is performed. Otherwise, accessed to free'ed memory could result. */
PR_PUBLIC_API(void)
JSJ_DisconnectFromJavaVM(JSJavaVM *);
/*
* Reflect a Java object into a JS value. The source object, java_obj, must
* be of type java.lang.Object or a subclass and may, therefore, be an array.
*/
PR_PUBLIC_API(JSBool)
JSJ_ConvertJavaObjectToJSValue(JSContext *cx, jobject java_obj, jsval *vp);
#endif /* _JSJAVA_H */

View File

@@ -1,101 +0,0 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class netscape_javascript_JSObject */
#ifndef _Included_netscape_javascript_JSObject
#define _Included_netscape_javascript_JSObject
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: netscape_javascript_JSObject
* Method: initClass
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_initClass
(JNIEnv *, jclass);
/*
* Class: netscape_javascript_JSObject
* Method: getMember
* Signature: (Ljava/lang/String;)Ljava/lang/Object;
*/
JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_getMember
(JNIEnv *, jobject, jstring);
/*
* Class: netscape_javascript_JSObject
* Method: getSlot
* Signature: (I)Ljava/lang/Object;
*/
JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_getSlot
(JNIEnv *, jobject, jint);
/*
* Class: netscape_javascript_JSObject
* Method: setMember
* Signature: (Ljava/lang/String;Ljava/lang/Object;)V
*/
JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_setMember
(JNIEnv *, jobject, jstring, jobject);
/*
* Class: netscape_javascript_JSObject
* Method: setSlot
* Signature: (ILjava/lang/Object;)V
*/
JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_setSlot
(JNIEnv *, jobject, jint, jobject);
/*
* Class: netscape_javascript_JSObject
* Method: removeMember
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_removeMember
(JNIEnv *, jobject, jstring);
/*
* Class: netscape_javascript_JSObject
* Method: call
* Signature: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
*/
JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_call
(JNIEnv *, jobject, jstring, jobjectArray);
/*
* Class: netscape_javascript_JSObject
* Method: eval
* Signature: (Ljava/lang/String;)Ljava/lang/Object;
*/
JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_eval
(JNIEnv *, jobject, jstring);
/*
* Class: netscape_javascript_JSObject
* Method: toString
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_netscape_javascript_JSObject_toString
(JNIEnv *, jobject);
/*
* Class: netscape_javascript_JSObject
* Method: getWindow
* Signature: (Ljava/applet/Applet;)Lnetscape/javascript/JSObject;
*/
JNIEXPORT jobject JNICALL Java_netscape_javascript_JSObject_getWindow
(JNIEnv *, jclass, jobject);
/*
* Class: netscape_javascript_JSObject
* Method: finalize
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_netscape_javascript_JSObject_finalize
(JNIEnv *, jobject);
#ifdef __cplusplus
}
#endif
#endif

48
mozilla/mozilla.kdevprj Normal file
View File

@@ -0,0 +1,48 @@
# KDE Config File
[mozilla.lsm]
install_location=
dist=true
install=false
type=DATA
[Config for BinMakefileAm]
ldflags=
cxxflags=-O0 -g3 -Wall
bin_program=mozilla
[po/Makefile.am]
sub_dirs=
type=po
[LFV Groups]
Dialogs=*.kdevdlg,
Others=*,
Translations=*.po,
groups=Headers,Sources,Dialogs,Translations,Others,
Sources=*.cpp,*.c,*.cc,*.C,*.cxx,*.ec,*.ecpp,*.lxx,*.l++,*.ll,*.l,
Headers=*.h,*.hh,*.hxx,*.hpp,*.H,
[mozilla.kdevprj]
install_location=
dist=true
install=false
type=DATA
[mozilla/docs/en/Makefile.am]
sub_dirs=
type=normal
[mozilla/Makefile.am]
sub_dirs=
type=prog_main
[General]
makefiles=Makefile.am,mozilla/Makefile.am,mozilla/docs/Makefile.am,mozilla/docs/en/Makefile.am,po/Makefile.am,
version_control=CVS
author=Heikki Toivonen
project_type=normal_empty
sub_dir=mozilla/
version=0.1
project_name=Mozilla
email=heikki@netscape.com
kdevprj_version=1.2
[Makefile.am]
files=mozilla.kdevprj,mozilla.lsm,
sub_dirs=mozilla,
type=normal
[mozilla/docs/Makefile.am]
sub_dirs=
type=normal

14
mozilla/mozilla.lsm Normal file
View File

@@ -0,0 +1,14 @@
Begin3
Title: Mozilla
Version: 0.1
Entered-date:
Description:
Keywords:
Author: Heikki Toivonen <heikki@netscape.com>
Maintained-by: Heikki Toivonen <heikki@netscape.com>
Primary-site:
Home-page: http://
Original-site:
Platforms: Linux and other Unices
Copying-policy: GNU Public License
End

View File

@@ -0,0 +1,20 @@
/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/

View File

@@ -0,0 +1,20 @@
/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/