Compare commits

..

2635 Commits

Author SHA1 Message Date
waterson%netscape.com
802dbc4a66 Test 2.
git-svn-id: svn://10.0.0.236/branches/TEST_BRANCH@95362 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 02:01:27 +00:00
waterson%netscape.com
0e716a7aaf Test 1.
git-svn-id: svn://10.0.0.236/branches/TEST_BRANCH@95361 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 02:00:53 +00:00
waterson%netscape.com
5990cba7bc Force revision on branch.
git-svn-id: svn://10.0.0.236/branches/TEST_BRANCH@95360 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 02:00:23 +00:00
(no author)
ddd19d9d94 This commit was manufactured by cvs2svn to create branch 'TEST_BRANCH'.
git-svn-id: svn://10.0.0.236/branches/TEST_BRANCH@13484 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:26:21 +00:00
jgellman%netscape.com
280bcbeebd added start of test harness
git-svn-id: svn://10.0.0.236/trunk@13483 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:26:20 +00:00
cyeh%netscape.com
ecf275a7cc simplify dist calls and make it consistant with style in BuildList.pm
git-svn-id: svn://10.0.0.236/trunk@13481 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:23:39 +00:00
janc%netscape.com
993717ca00 new file to test CSS2 parser
git-svn-id: svn://10.0.0.236/trunk@13477 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:04:05 +00:00
troy%netscape.com
5129708072 Changed clip view to have an opacity of 0.0f and no transparent content
git-svn-id: svn://10.0.0.236/trunk@13476 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 20:53:36 +00:00
troy%netscape.com
4993683d59 Changed to handle incremental reflow
git-svn-id: svn://10.0.0.236/trunk@13474 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 20:32:32 +00:00
harrison%netscape.com
4a6ca01df0 run me out of cron, i collect stats for the report graphs.
git-svn-id: svn://10.0.0.236/trunk@13472 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 20:15:38 +00:00
harrison%netscape.com
f68500ff33 patch from Sam Ziegler <ziegler@mediaguaranty.com>, bug
graphs available, minor hacks.


git-svn-id: svn://10.0.0.236/trunk@13471 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 20:15:13 +00:00
troy%netscape.com
22ee60a3f4 Passed in the z-index for InsertChild() call
git-svn-id: svn://10.0.0.236/trunk@13467 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 20:01:40 +00:00
spider%netscape.com
b48fcb2453 Fix for shutting down when initiated by menu bar
git-svn-id: svn://10.0.0.236/trunk@13465 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 19:34:51 +00:00
spider%netscape.com
7a8682458e No need to call exit app on shutdown in xpfc ... done implicitly.
git-svn-id: svn://10.0.0.236/trunk@13464 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 19:34:16 +00:00
brendan%netscape.com
7a5a400eff - Add unsigned casts to relational expressions, silencing warnings at the cost
of failing to check negative-wraparound of int32 operands.
- Add casts and XXX comments to MSG_* calls that lack prototypes.
- #ifdef XP_UNIX around MimeHeaders_do_unix_display_hook_hack.


git-svn-id: svn://10.0.0.236/trunk@13463 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 19:25:17 +00:00
buster%netscape.com
2865244818 fixed bug 1188. Colspans beyond the end of the table were adding entries
into the column cache, which is very, very bad.


git-svn-id: svn://10.0.0.236/trunk@13461 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 19:15:31 +00:00
buster%netscape.com
ebc6d89a67 fixed bug 1180 (mozilla.org) and all tables that have nonsense colspans
git-svn-id: svn://10.0.0.236/trunk@13459 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 18:42:22 +00:00
karnaze%netscape.com
cbef624550 bug 1136
git-svn-id: svn://10.0.0.236/trunk@13457 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 18:37:04 +00:00
dcone%netscape.com
2f8779ae3d fixed the incremental layout problems.
git-svn-id: svn://10.0.0.236/trunk@13456 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 18:36:08 +00:00
michaelp%netscape.com
b2438a38ca added opacity example as demo #10.
git-svn-id: svn://10.0.0.236/trunk@13454 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 18:07:14 +00:00
dcone%netscape.com
a38f64b869 fixed a parameter for spacing
git-svn-id: svn://10.0.0.236/trunk@13453 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 18:05:45 +00:00
kipp%netscape.com
1179f03bd9 Port to updated DrawString API
git-svn-id: svn://10.0.0.236/trunk@13451 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 17:35:09 +00:00
kipp%netscape.com
c1032fa648 Support letter and word spacing
git-svn-id: svn://10.0.0.236/trunk@13450 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 17:27:53 +00:00
kipp%netscape.com
29bade6bcb Use computed word-len not out parameter that is unset at the time of usage
git-svn-id: svn://10.0.0.236/trunk@13449 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 17:27:35 +00:00
kipp%netscape.com
138ffb41d2 Added new atoms
git-svn-id: svn://10.0.0.236/trunk@13448 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 17:27:04 +00:00
kipp%netscape.com
935d2b357a Updated makefile to use rm instead of rd
git-svn-id: svn://10.0.0.236/trunk@13447 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 17:15:44 +00:00
kipp%netscape.com
8dcb1aa63a Test out new text-style support
git-svn-id: svn://10.0.0.236/trunk@13446 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 17:13:28 +00:00
kipp%netscape.com
c2ae678e88 Port to new DrawString API
git-svn-id: svn://10.0.0.236/trunk@13445 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 17:12:48 +00:00
kipp%netscape.com
2ef9d58cf1 Revised DrawString API to take a spacing array for character spacing control
git-svn-id: svn://10.0.0.236/trunk@13444 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 17:12:39 +00:00
mcafee%netscape.com
c595004478 Fixing Solaris bustage, this file needs an EOL character on the last line
git-svn-id: svn://10.0.0.236/trunk@13441 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 05:39:12 +00:00
cls%seawood.org
3a151fb16a Use separate DEFINES for autoconf if MOZ_DEBUG is defined. Should clear up IRIX depend tb.
git-svn-id: svn://10.0.0.236/trunk@13438 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 02:25:31 +00:00
cls%seawood.org
99d6170c91 IRIX depend tb doesn't seem to like the extra DEFINES when doing a 'make depend'.
git-svn-id: svn://10.0.0.236/trunk@13437 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 00:52:30 +00:00
mcafee%netscape.com
d1c07cffa3 Adding Makefile for Unix
git-svn-id: svn://10.0.0.236/trunk@13436 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 00:17:28 +00:00
mcafee%netscape.com
36e5403568 Adding Makefile for Unix
git-svn-id: svn://10.0.0.236/trunk@13435 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 23:54:32 +00:00
cls%seawood.org
e5de7aa2e1 Split OS_CFLAGS into OS_CFLAGS, OS_INCLUDES and DEFINES.
Modified Makefile.ins to append not overwrite DEFINES.
Added $(DEFINES) to the mkdepend command line so that some conditional dependencies are caught as well.


git-svn-id: svn://10.0.0.236/trunk@13433 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 22:25:25 +00:00
mcafee%netscape.com
b2738846f8 Fixing Linux bustage
git-svn-id: svn://10.0.0.236/trunk@13430 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 22:07:11 +00:00
cls%seawood.org
c822503f00 Changed --enable-pthreads to --with-pthreads. Made it bomb again if the run of the test program fails when checking for nspr with thread lib.
git-svn-id: svn://10.0.0.236/trunk@13425 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 20:46:19 +00:00
blizzard%appliedtheory.com
7f9c0797fb comment out some debugging output
git-svn-id: svn://10.0.0.236/trunk@13424 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 17:43:10 +00:00
blizzard%appliedtheory.com
34cb6ec1f6 Fix bug when displaying tranparent images. You should use the
img_x/y_offset, not the rect_x/y_offset for computing the clip_origin
in the GC.  Also, make sure that you don't set the clip region if you're
using a clipping bitmask because you can't use both of them at the same
time.  Also, comment out some debugging printf()'s


git-svn-id: svn://10.0.0.236/trunk@13423 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 17:41:32 +00:00
blizzard%appliedtheory.com
71b345a6ee Integrate patches from Frank Visser <fvisser@hgmp.mrc.ac.uk> to use gtk
regions.


git-svn-id: svn://10.0.0.236/trunk@13422 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 17:39:06 +00:00
blizzard%appliedtheory.com
cd9dabac07 Add x source code header file ala xfe to that we can get into the
X Region internal structs.  What fun!


git-svn-id: svn://10.0.0.236/trunk@13421 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 17:37:07 +00:00
cls%seawood.org
d74d40ae85 Remove any core files after each AC_TRY_RUN.
Modified LDFLAGS when checking for motif libs.  Thanks to Brian J. Murrell <brian@interlinx.bc.ca> for pointing out this oversight.


git-svn-id: svn://10.0.0.236/trunk@13420 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 07:43:59 +00:00
troy%netscape.com
a34949bc86 Added a XXX comment about what's the correct value for the clip
view's opacity


git-svn-id: svn://10.0.0.236/trunk@13419 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 04:24:26 +00:00
troy%netscape.com
af673cd536 Changed SetScrolledView() to mark the clip view as having transparent content
if the scrolled view has transparent content


git-svn-id: svn://10.0.0.236/trunk@13418 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 04:15:59 +00:00
troy%netscape.com
004c474793 Changed the ordering so we mark the scrolled view as having transparent
content before setting the scrolling view's scrolled view


git-svn-id: svn://10.0.0.236/trunk@13417 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 04:15:08 +00:00
blizzard%appliedtheory.com
2116f90197 don't draw table borders for tables that have a border_width of zero
git-svn-id: svn://10.0.0.236/trunk@13416 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 19:05:24 +00:00
blizzard%appliedtheory.com
ef78a4310b Catch the "draw" event on the GtkFixed widget and redraw the html
area since it's just been erased by the widget default draw handler


git-svn-id: svn://10.0.0.236/trunk@13415 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 17:02:34 +00:00
briano%netscape.com
fca9be5a9a Cleaned it up and made it work properly.
git-svn-id: svn://10.0.0.236/trunk@13414 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 05:31:24 +00:00
briano%netscape.com
ec969f3351 Turns out not to need the OS_LIBS addition on Linux at all.
git-svn-id: svn://10.0.0.236/trunk@13413 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 05:29:10 +00:00
troy%netscape.com
2f930733a2 Changed some comments
git-svn-id: svn://10.0.0.236/trunk@13412 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 05:03:55 +00:00
troy%netscape.com
c36b7571bf Added code to decide whether the view has transparent content based on
whether the background color is transparent


git-svn-id: svn://10.0.0.236/trunk@13411 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 05:03:33 +00:00
troy%netscape.com
7e9b56edac Added code to repaint the scrolled frame during a resize reflow
git-svn-id: svn://10.0.0.236/trunk@13410 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 04:57:48 +00:00
rickg%netscape.com
37a87d59ec WIP for new style handling and well-formed content
git-svn-id: svn://10.0.0.236/trunk@13409 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 04:44:38 +00:00
dcone%netscape.com
89414bdc34 call the doresize event
git-svn-id: svn://10.0.0.236/trunk@13404 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 21:29:39 +00:00
dcone%netscape.com
56adf83688 Small bug fix in resize
git-svn-id: svn://10.0.0.236/trunk@13403 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 21:29:17 +00:00
buster%netscape.com
182a2d0cc7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@13402 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 20:52:23 +00:00
rods%netscape.com
67620830db Added selection APIs
git-svn-id: svn://10.0.0.236/trunk@13401 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 20:47:57 +00:00
waldemar%netscape.com
ad992aff3d Fixed Mac warning
git-svn-id: svn://10.0.0.236/trunk@13400 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 20:44:28 +00:00
rods%netscape.com
9f3aa1200d Removed include "nsIHTMLCSSStyleSheet.h"
git-svn-id: svn://10.0.0.236/trunk@13399 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 20:40:26 +00:00
cls%seawood.org
b0a4c2c716 Sync'd with Makefiles
git-svn-id: svn://10.0.0.236/trunk@13398 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 20:35:24 +00:00
rods%netscape.com
5438b98906 Removed several nsHTMK type tags from nsDocument.cpp
git-svn-id: svn://10.0.0.236/trunk@13396 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 20:23:02 +00:00
michaelp%netscape.com
81fe1dd834 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@13395 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 20:17:36 +00:00
buster%netscape.com
1e16c84e01 fixes Bug 1110, URL=http://www.webstandards.org
ables were not correctly applying the min width of the content of cells
that had col spans in some cases.  In this case, the nested table was specified
as being too narrow for the content.  There were 4 columns each with width=25%
in the first row, and in the next row a single cell with colspan=4 and whose
content min size was wider than the specified table width.


git-svn-id: svn://10.0.0.236/trunk@13394 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 19:56:11 +00:00
scullin%netscape.com
0958221b99 Do pluggable about pages.
git-svn-id: svn://10.0.0.236/trunk@13390 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 18:51:54 +00:00
nhotta%netscape.com
f4e9409e30 Added WinFE implementation.
git-svn-id: svn://10.0.0.236/trunk@13389 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 18:51:40 +00:00
dcone%netscape.com
29a360ec69 Now checks the width and height before a NS_SIZE_EVENT is dispatched.
git-svn-id: svn://10.0.0.236/trunk@13387 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 18:02:38 +00:00
dcone%netscape.com
e94d00e173 Fixed the resize problem, now breaks out of the infinite loop.
git-svn-id: svn://10.0.0.236/trunk@13386 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 18:00:54 +00:00
michaelp%netscape.com
58bc94bb8e changes for new rendering context API stuff.
git-svn-id: svn://10.0.0.236/trunk@13385 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:59:28 +00:00
michaelp%netscape.com
27d276091a added suport for alpha blending of views.
git-svn-id: svn://10.0.0.236/trunk@13384 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:58:44 +00:00
michaelp%netscape.com
aab130cc8b made CopyBits() more flexible. added better ddraw support for windows rendering
context. added ddraw support to windows blender. made CreateDrawingSurface()
able to be smarter.


git-svn-id: svn://10.0.0.236/trunk@13383 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:58:18 +00:00
michaelp%netscape.com
7da6419e6b added blender.
git-svn-id: svn://10.0.0.236/trunk@13382 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:56:49 +00:00
michaelp%netscape.com
3e01c94cf4 changes to support opacity.
git-svn-id: svn://10.0.0.236/trunk@13381 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:54:23 +00:00
karnaze%netscape.com
5a61e26e0e fixed frameborder=0 for <IFRAME>s
git-svn-id: svn://10.0.0.236/trunk@13380 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:52:45 +00:00
buster%netscape.com
67cffb963d fixed bug 1112 - form submission within a table sometimes doesn't work
because the form doesn't get a reflow command.  Now it does.


git-svn-id: svn://10.0.0.236/trunk@13378 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:24:57 +00:00
troy%netscape.com
2b8e7bc80a Attempt to fix Unix builds. Evidently the #define copied from a VC++ header
file is particular to Microsoft's compiler. Bastards...


git-svn-id: svn://10.0.0.236/trunk@13377 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:14:27 +00:00
cyeh%netscape.com
f5699caa1c add mozilla/xpfe to RaptorDist
git-svn-id: svn://10.0.0.236/trunk@13375 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 16:38:31 +00:00
terry%netscape.com
007d2572ec Stop lying and saying trees aren't busted when they are. And bring
back the word "Horked".


git-svn-id: svn://10.0.0.236/trunk@13367 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 06:11:07 +00:00
jgellman%netscape.com
6685c97686 break the last of our dependencies on mozilla/include
git-svn-id: svn://10.0.0.236/trunk@13366 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 06:02:42 +00:00
briano%netscape.com
d2443ecc8f Support for the new, single dist/include directory mechanism.
git-svn-id: svn://10.0.0.236/trunk@13363 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 04:41:26 +00:00
briano%netscape.com
f9b726fb87 General cleanup, and fixed the bug that caused an OBJDIR to be created under the normal OBJDIR.
git-svn-id: svn://10.0.0.236/trunk@13362 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 04:38:23 +00:00
troy%netscape.com
a21eaed68f Turned back on support for LAYER element
git-svn-id: svn://10.0.0.236/trunk@13361 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 04:20:08 +00:00
sar%netscape.com
5a3b222dd6 remove layspan.c from the client module too. It was removed from clientDebug yesterday. This fixes build breakage.
git-svn-id: svn://10.0.0.236/trunk@13360 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 03:45:55 +00:00
buster%netscape.com
30e2f97b27 minor bug fixes
git-svn-id: svn://10.0.0.236/trunk@13359 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 03:23:29 +00:00
troy%netscape.com
5e861f6532 Removed dead code
git-svn-id: svn://10.0.0.236/trunk@13358 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 02:36:07 +00:00
briano%netscape.com
57cdb17162 Support for the new, single dist/include directory mechanism.
git-svn-id: svn://10.0.0.236/trunk@13357 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 02:09:26 +00:00
cls%seawood.org
2184647a9a Put libi18n after libmocha
git-svn-id: svn://10.0.0.236/trunk@13356 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 01:57:00 +00:00
pierre%netscape.com
bf2d88dc1e added forms\nsLabelFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@13355 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 01:26:19 +00:00
cls%seawood.org
1a54cc0a9e The system versions of jpeg & png are used by default (if found) unless the local copy is more recent. Zlib is used by default if found.
Added separate variables for jpeg, png & zlib CFLAGS & LIBS.
Added --with-option=dir support for jpeg, png & zlib.
Split X defines into XCFLAGS, XLDFLAGS & XLIBS.
Will attempt to link nspr against the proper thread lib if the initial check fails.
Removed last vestiges of NO_SECURITY.
Modified cmd/{gnome,qt,x}fe/Makefile to only use autoconf defined variable for the final link.
Changed ACCFLAGS to OS_CFLAGS. Changed ACLIBS to OS_LIBS.
OPTIMIZER (config.mk) is no longer set for autoconf.
No longer includes platform specific .mk


git-svn-id: svn://10.0.0.236/trunk@13352 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 00:36:08 +00:00
cyeh%netscape.com
f1e0b05dc4 simplify/reduce source pulling routines to only pull RaptorMac and libpref on the XPCOM_BRANCH. This should significantly speed up source pulls.
git-svn-id: svn://10.0.0.236/trunk@13350 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 00:22:23 +00:00
sdagley%netscape.com
b5b273d3ef First landing of Apple's changes for NSL support from the Open Location in Navigator dialog. Currently #ifdef'ed out with BUILD_NSL_SUPPORT tag as we haven't figured out how to distribute the required NSL header and library yet. Hopefully that will be addressed soon.
git-svn-id: svn://10.0.0.236/trunk@13348 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 00:03:43 +00:00
karnaze%netscape.com
d89b691fba implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls.
git-svn-id: svn://10.0.0.236/trunk@13346 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 23:00:37 +00:00
cls%seawood.org
f888cfd66a libmocha depends upon libi18n so change the link order.
git-svn-id: svn://10.0.0.236/trunk@13345 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:59:12 +00:00
jgellman%netscape.com
a6807f0b9a add temporary fn NS_GetRDFService
git-svn-id: svn://10.0.0.236/trunk@13344 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:36:25 +00:00
terry%netscape.com
59389793dc Enabled "say /me".
git-svn-id: svn://10.0.0.236/trunk@13343 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:35:21 +00:00
kipp%netscape.com
5d5cbcf87e Added - Raptor to the end of titles for the automation folks
git-svn-id: svn://10.0.0.236/trunk@13342 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:29:46 +00:00
jgellman%netscape.com
756a63cc4b export rdf C api headers
git-svn-id: svn://10.0.0.236/trunk@13341 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:23:57 +00:00
jgellman%netscape.com
ec9ecfbf56 added rdf C api calls
git-svn-id: svn://10.0.0.236/trunk@13340 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:23:10 +00:00
jgellman%netscape.com
756fd5b9bf UNIX build rules, from my windows box so untested
git-svn-id: svn://10.0.0.236/trunk@13339 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:19:42 +00:00
terry%netscape.com
8a8dd2f29f Turned on "use strict". Give the URL for tinderbox. Moved everything
into the current directory, instead of using $HOME.


git-svn-id: svn://10.0.0.236/trunk@13338 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:01:42 +00:00
buster%netscape.com
518758ca7c changed base code so only frames with 0 width AND 0 height are ignored.
this fixes http://home.netscape.com among others that use content-free
nested tables to generate background colors and other evil tricks.


git-svn-id: svn://10.0.0.236/trunk@13337 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 22:00:50 +00:00
buster%netscape.com
37467e85ac just debug info
git-svn-id: svn://10.0.0.236/trunk@13336 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:59:13 +00:00
buster%netscape.com
0b0a2a52d0 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@13335 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:58:26 +00:00
troy%netscape.com
6564810f9b Reduced the number of frames
git-svn-id: svn://10.0.0.236/trunk@13334 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:44:30 +00:00
jonas.utterstrom%vittran.norrnod.se
c59a27d07a Rewrote Makefile from xfe to build qtmoz-export and qtmozilla-export
git-svn-id: svn://10.0.0.236/trunk@13333 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:35:00 +00:00
despotdaemon%netscape.com
69ae0abf2a Pseudo-automatic update of changes made by sar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13332 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:22:14 +00:00
despotdaemon%netscape.com
848184e8a5 Pseudo-automatic update of changes made by sar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13331 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:18:21 +00:00
despotdaemon%netscape.com
e937d85212 Pseudo-automatic update of changes made by sar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13330 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:16:58 +00:00
jgellman%netscape.com
33d6ccb403 added GetResource & related functionality
git-svn-id: svn://10.0.0.236/trunk@13329 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:10:21 +00:00
troy%netscape.com
490a70caa5 Fixed somecomments which had been copied from elsewhere and we not
completely accurate


git-svn-id: svn://10.0.0.236/trunk@13328 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:02:19 +00:00
nhotta%netscape.com
d93cb5e22a Added lm_env.c.
git-svn-id: svn://10.0.0.236/trunk@13327 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:55:09 +00:00
cyeh%netscape.com
4ffa68f14c add needed directory for Raptor builds
git-svn-id: svn://10.0.0.236/trunk@13326 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:50:23 +00:00
jgellman%netscape.com
e20ba6de49 make rdf build as a DLL on windows
git-svn-id: svn://10.0.0.236/trunk@13325 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:45:43 +00:00
beard%netscape.com
afe39bc285 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@13324 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:45:42 +00:00
beard%netscape.com
2b9a1d888b added ProxyJNI.h, nsIThreadManager.h
git-svn-id: svn://10.0.0.236/trunk@13323 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:44:43 +00:00
beard%netscape.com
0701bd1c63 Changed nsJNI.cpp to ProxyJNI.cpp.
git-svn-id: svn://10.0.0.236/trunk@13322 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:43:45 +00:00
beard%netscape.com
cc457d3fc1 Fixed parameter marshalling.
git-svn-id: svn://10.0.0.236/trunk@13321 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:42:47 +00:00
nhotta%netscape.com
7a416a829b Added lm_env.c.
git-svn-id: svn://10.0.0.236/trunk@13320 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:35:54 +00:00
nhotta%netscape.com
d026fc4ce6 Added libi18n/country.c and libmocha/lm_env.c.
git-svn-id: svn://10.0.0.236/trunk@13319 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:34:48 +00:00
nhotta%netscape.com
7d9ce23446 Added environment object.
git-svn-id: svn://10.0.0.236/trunk@13318 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:33:31 +00:00
nhotta%netscape.com
85bacc0b74 Added environment to MochaDecoder.
git-svn-id: svn://10.0.0.236/trunk@13317 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:32:00 +00:00
nhotta%netscape.com
f739fe345a Added lm_DefineEnvironment.
git-svn-id: svn://10.0.0.236/trunk@13316 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:13:47 +00:00
troy%netscape.com
4af09d8402 Added new pseudo class style :SCROLLED-CONTENT
git-svn-id: svn://10.0.0.236/trunk@13315 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:12:34 +00:00
nhotta%netscape.com
7b2337aec4 Implements environment object.
git-svn-id: svn://10.0.0.236/trunk@13314 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:09:16 +00:00
guha%netscape.com
e94b531ee1 Adding rdf files into raptor
git-svn-id: svn://10.0.0.236/trunk@13312 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 18:41:55 +00:00
troy%netscape.com
9e855e939f Removed some dead code
git-svn-id: svn://10.0.0.236/trunk@13311 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 18:32:43 +00:00
troy%netscape.com
30d672124d Made sure Refresh() sets NS_VIEW_FLAG_CLIP_SET so we don't try and set the
clip rect again. If Paint() sets it it will be incorrect...


git-svn-id: svn://10.0.0.236/trunk@13310 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 18:27:44 +00:00
cls%seawood.org
cd880119c8 Didn't realize that this was *the* real_stderr declaration that the rest of the build used. Removed the additional DEBUG ifdef.
git-svn-id: svn://10.0.0.236/trunk@13309 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 06:55:10 +00:00
cls%seawood.org
3a45a3dc3a Removed some MKLINUX & MACLINUX ifdefs. Replace a couple with (defined(linux) && defined(__powerpc__)).
Added glibc ifndefs to strdup declarations.
Fixed problem with stderr under glibc 2.1.
Patch submitted by Tom Rini <trini@kernel.crashing.org>.


git-svn-id: svn://10.0.0.236/trunk@13308 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 06:05:19 +00:00
buster%netscape.com
0ab02a302c fixed column caching
git-svn-id: svn://10.0.0.236/trunk@13307 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 06:04:37 +00:00
buster%netscape.com
e8841f67c3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@13306 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 06:04:03 +00:00
buster%netscape.com
065cfb55ee fixed a bug where columns were not always created as needed during incremental appends
added some extra debugging and support methods


git-svn-id: svn://10.0.0.236/trunk@13305 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 05:27:11 +00:00
cls%seawood.org
45b5b5c210 Moved zlib from REQUIRES to a ifndef MOZ_NATIVE_ZLIB endif block.
git-svn-id: svn://10.0.0.236/trunk@13303 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 03:59:53 +00:00
cls%seawood.org
91c1672c14 Cleaned up parse errors, added java libs and smart mail libs. Thanks to Tom Rini <trini@kernel.crashing.org> for the patch.
git-svn-id: svn://10.0.0.236/trunk@13302 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 03:57:15 +00:00
cls%seawood.org
c93f8f4104 Fixes tinderbox breakage due to broken make revision. Yeah, yeah, should upgrade make but it's out of my hands.
git-svn-id: svn://10.0.0.236/trunk@13300 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 02:47:37 +00:00
harrison%netscape.com
d73a35099d changes to tree state (opened, closed) announced, included
in "tress" output. how many ways can mozbot say hello?
mozillaZine headlines: type "mozbot, mz" or "zine" or
"mozillazine" if you like to type. cleaned up some code,
moved code around. also modified Tinderbox module to use
terry's tinderbox/quickparse hack.


git-svn-id: svn://10.0.0.236/trunk@13299 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 02:45:27 +00:00
spider%netscape.com
df5601c29a More memory leak fixes
git-svn-id: svn://10.0.0.236/trunk@13298 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 02:40:36 +00:00
spider%netscape.com
41f1b4f090 More memory leak fixes
git-svn-id: svn://10.0.0.236/trunk@13297 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 02:21:21 +00:00
cls%seawood.org
65ba85c5bd Added $FE_X_CFLAGS to CFLAGS
git-svn-id: svn://10.0.0.236/trunk@13296 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 01:37:11 +00:00
cls%seawood.org
5f66795cb8 Added $FE_X_CFLAGS to CFLAGS
git-svn-id: svn://10.0.0.236/trunk@13295 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 01:30:59 +00:00
cmanske%netscape.com
2b334450f9 Fixed graying of Split cell command
git-svn-id: svn://10.0.0.236/trunk@13294 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 01:22:46 +00:00
spider%netscape.com
93e51d6671 Fix Fix memory leak
git-svn-id: svn://10.0.0.236/trunk@13293 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 01:09:23 +00:00
spider%netscape.com
7bd0ce4b9a Memory Leak Fix
git-svn-id: svn://10.0.0.236/trunk@13292 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 00:47:04 +00:00
spider%netscape.com
f851822ded Memory Leak fixes
git-svn-id: svn://10.0.0.236/trunk@13291 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 00:33:10 +00:00
rpotts%netscape.com
46c68e910e Fixed build bustage...
git-svn-id: svn://10.0.0.236/trunk@13288 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 23:33:52 +00:00
cls%seawood.org
f73b4a295c s/defined(SOLARIS)/defined(sun) && defined(__svr4__)/ .... we really need a platform.h to abstract this.
git-svn-id: svn://10.0.0.236/trunk@13287 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 23:32:43 +00:00
nhotta%netscape.com
2c7ce3d346 Added country.c for libi18n.
git-svn-id: svn://10.0.0.236/trunk@13286 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 23:26:25 +00:00
buster%netscape.com
cf798f296d fixed several incremental reflow bugs
git-svn-id: svn://10.0.0.236/trunk@13285 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 22:29:00 +00:00
buster%netscape.com
738ba6769e preliminary code to resolve parent frame issues for table frames
git-svn-id: svn://10.0.0.236/trunk@13284 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 22:24:59 +00:00
nhotta%netscape.com
6978dba76f Added country.c.
git-svn-id: svn://10.0.0.236/trunk@13282 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 21:53:09 +00:00
spider%netscape.com
18c7a095bf Fix another memory leak
git-svn-id: svn://10.0.0.236/trunk@13280 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 21:44:25 +00:00
nhotta%netscape.com
8cd41c644c Implementation of getting language and country information of the Navigator environment.
git-svn-id: svn://10.0.0.236/trunk@13278 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 21:31:31 +00:00
spider%netscape.com
5ce3f53659 memory leak fixes
git-svn-id: svn://10.0.0.236/trunk@13277 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 21:25:47 +00:00
kin%netscape.com
5ae651083e Fix for bug #329760: ENDER: Loading multi-part mime into Ender leaves tmp
files around.
Files touched:

    include/edt.h
    lib/layout/edtbuf.cpp
    lib/layout/edtlist.cpp
    lib/mailto/mprdecod.cpp


git-svn-id: svn://10.0.0.236/trunk@13274 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 20:37:43 +00:00
kipp%netscape.com
6d28021460 Fix InitData classes to init themselves properly to avoid latent unitialized memory bugs
git-svn-id: svn://10.0.0.236/trunk@13272 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 20:10:22 +00:00
spider%netscape.com
7c8f78f13e Fix memory leak
git-svn-id: svn://10.0.0.236/trunk@13271 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 20:08:48 +00:00
kipp%netscape.com
525be8b73c Slimmed down the implementation
git-svn-id: svn://10.0.0.236/trunk@13270 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 20:05:31 +00:00
kipp%netscape.com
18eaaa07f0 Removed premature optimization of pre vs. non-pre
git-svn-id: svn://10.0.0.236/trunk@13269 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 20:03:54 +00:00
kipp%netscape.com
ae80c98370 Make sure that everything fits when wrapping is off; in addition give wrapped objects all the room that they want
git-svn-id: svn://10.0.0.236/trunk@13268 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 20:02:36 +00:00
spider%netscape.com
894f581915 Fix memory leak
git-svn-id: svn://10.0.0.236/trunk@13267 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 20:01:26 +00:00
spider%netscape.com
f65af38e65 Removing unused member variables
git-svn-id: svn://10.0.0.236/trunk@13266 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 19:51:01 +00:00
ramiro%netscape.com
2bc0de0b77 Modularize.
git-svn-id: svn://10.0.0.236/trunk@13265 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 19:48:58 +00:00
spider%netscape.com
47ac447f58 Fix My Portal not opening up fullscreen
git-svn-id: svn://10.0.0.236/trunk@13263 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 18:00:41 +00:00
spider%netscape.com
3001c332c3 Support launching zulutest from zulu
git-svn-id: svn://10.0.0.236/trunk@13262 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 17:54:58 +00:00
spider%netscape.com
9d3a292399 - Change default exe type to be console on win32 during debug builds
- Add support for Set/Get Colors on Background/Foreground/Border via Scripting
- Add nsXPFCError.h header file for XPFC specific errors and macros
- Changed CommandServer to block upon calls across network.  This is to allow
  returns values on queries like GetBackgroundColor() to return synchronously
- Added support for 'class' type commands in zulutest
- Threw JS on it's own thread for interactive testing purposes
- support for command-line useage for zulutest includes verbose, quiet, console
  output & source JS script file
- ZuluTest implements nsIStreamListener for obtaining JS over network


git-svn-id: svn://10.0.0.236/trunk@13260 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 16:43:10 +00:00
spider%netscape.com
b1546b7d52 Change default exe type to be console for debug builds
git-svn-id: svn://10.0.0.236/trunk@13259 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 16:36:05 +00:00
troy%netscape.com
e8c1c880f1 Added ability to control the insets used when positioning the scrollbars and
clip view


git-svn-id: svn://10.0.0.236/trunk@13258 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 16:07:55 +00:00
troy%netscape.com
f8f27f84e8 Changed to use new SetControlInsets() feature of scrolling view
git-svn-id: svn://10.0.0.236/trunk@13257 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 16:07:07 +00:00
valeski%netscape.com
fd8029f77c cleanup
git-svn-id: svn://10.0.0.236/trunk@13255 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 14:59:24 +00:00
ramiro%netscape.com
3bd3c3860d Fix a warning.
git-svn-id: svn://10.0.0.236/trunk@13254 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 14:43:43 +00:00
ftang%netscape.com
c954784c1d UTF8 enable HyperTree title and inline edit
git-svn-id: svn://10.0.0.236/trunk@13253 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 14:32:48 +00:00
ramiro%netscape.com
5090b6a4f4 Modularize preparation codes. Put them where they are needed only.
git-svn-id: svn://10.0.0.236/trunk@13252 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 14:28:21 +00:00
ftang%netscape.com
1f83c25503 fix menu code to correctly convert to Menu Charset from wincharset or UTF8. Reviewed by Bill Law
git-svn-id: svn://10.0.0.236/trunk@13251 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 14:21:45 +00:00
ftang%netscape.com
9a4c01c5f3 convert filename into UTF8 in GetSlotValue
git-svn-id: svn://10.0.0.236/trunk@13250 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 14:20:01 +00:00
ramiro%netscape.com
171bcbb83c Fix the XmNfillOnEnter not getting cleared when sensitivity changes bug.
git-svn-id: svn://10.0.0.236/trunk@13249 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 13:25:03 +00:00
ramiro%netscape.com
514ba65f4c Minor variable name tweak.
git-svn-id: svn://10.0.0.236/trunk@13248 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 13:19:23 +00:00
ramiro%netscape.com
bcd5608410 Simplify set values call.
git-svn-id: svn://10.0.0.236/trunk@13247 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 13:19:19 +00:00
ramiro%netscape.com
1565e175b6 Expose XfeDebugGetStaticWidgetString().
git-svn-id: svn://10.0.0.236/trunk@13246 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 13:16:59 +00:00
harrison%netscape.com
fcac17d298 fixed typo
git-svn-id: svn://10.0.0.236/trunk@13245 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 10:22:57 +00:00
rpotts%netscape.com
2ddf7cd9af Fixed bug #1159. Reference counting bug related to forms...
git-svn-id: svn://10.0.0.236/trunk@13244 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 09:26:33 +00:00
valeski%netscape.com
5cb570fb1f long shot at fixing the build
git-svn-id: svn://10.0.0.236/trunk@13243 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 05:36:30 +00:00
valeski%netscape.com
71fd3536bf long shot at fixing the build.
git-svn-id: svn://10.0.0.236/trunk@13242 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 05:35:37 +00:00
timm%netscape.com
feef8d9c26 first cut at JS reflection of dialer stack
git-svn-id: svn://10.0.0.236/trunk@13241 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 04:48:51 +00:00
timm%netscape.com
bde0802271 added JSTARGET_UNIVERSAL_DIALER_ACCESS
git-svn-id: svn://10.0.0.236/trunk@13240 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 04:47:19 +00:00
kipp%netscape.com
7c34652d21 Fixed lastFrag computation
git-svn-id: svn://10.0.0.236/trunk@13239 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 03:07:37 +00:00
kipp%netscape.com
47e8c17786 Fixed lastFrag computation (doh!)
git-svn-id: svn://10.0.0.236/trunk@13238 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 03:04:46 +00:00
cls%seawood.org
909945b91f Sync'd various Makefile.ins to their Makefile counterparts.
Removed nspr & nspr20 from REQUIRES.  Removed NSPR_LDFLAGS.
Changed LIBNSPR refs to NSPR_LIBS.
Removed leftover NSPR20 ifdefs.


git-svn-id: svn://10.0.0.236/trunk@13233 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 02:13:56 +00:00
cls%seawood.org
1a347c2ce7 Set FE_X_CFLAGS to MOTIF_INCLUDES.
Moved NSPR_LDFLAGS into NSPR_LIBS.
Changed NSPR_INCLUDES to NSPR_CFLAGS.
Moved Xp and Xpm to FE_X_LIBS.


git-svn-id: svn://10.0.0.236/trunk@13232 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 02:05:59 +00:00
leaf%mozilla.org
2eeb35565a changing zip and tarball output filenames.
git-svn-id: svn://10.0.0.236/trunk@13231 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 02:02:00 +00:00
jsun%netscape.com
08b386f9cb End Token created now.
Forgot to add dtstamp tag.  Now added.


git-svn-id: svn://10.0.0.236/trunk@13230 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 01:26:27 +00:00
dougt%netscape.com
39e2e1bae0 fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@13229 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 23:35:34 +00:00
valeski%netscape.com
749291404c setting WIN32_LEAN_AND_MEAN as a compiler define for windows builds.
git-svn-id: svn://10.0.0.236/trunk@13228 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 23:17:58 +00:00
terry%netscape.com
6d058eeeee Changed format slightly; added tree closure state.
git-svn-id: svn://10.0.0.236/trunk@13227 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 22:50:44 +00:00
terry%netscape.com
0f2655b53c Added 'quickparse' thingy for programs that want to read the tinderbox state.
git-svn-id: svn://10.0.0.236/trunk@13226 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 22:16:21 +00:00
kipp%netscape.com
560aa64449 Work around build issue
git-svn-id: svn://10.0.0.236/trunk@13225 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 22:09:16 +00:00
terry%netscape.com
38f2dcce35 Added Mozbot component to Webtools.
git-svn-id: svn://10.0.0.236/trunk@13224 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 21:44:36 +00:00
tague%netscape.com
c7ff132202 added mozilla\lib\libi18n\datefmt.c to the compiles for libi18n
git-svn-id: svn://10.0.0.236/trunk@13223 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 21:43:03 +00:00
tague%netscape.com
2f5bd9c888 Added implementation of locale sensitive date/time formatting functions
git-svn-id: svn://10.0.0.236/trunk@13222 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 21:40:27 +00:00
tague%netscape.com
407666da46 Added prototypes for two new date and time formatting functions
git-svn-id: svn://10.0.0.236/trunk@13221 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 21:39:33 +00:00
dcone%netscape.com
fc13c09b25 fixed the project for Vidurs changes
git-svn-id: svn://10.0.0.236/trunk@13220 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 21:23:21 +00:00
valeski%netscape.com
bb900a9f9d getting netlib to build with WIN32_LEAN_AND_MEAN defined
git-svn-id: svn://10.0.0.236/trunk@13219 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 21:13:06 +00:00
nhotta%netscape.com
c6a0b70795 Added two new interfaces.
git-svn-id: svn://10.0.0.236/trunk@13218 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:58:13 +00:00
briano%netscape.com
00d806da59 Eliminated the use of -DBSD. It appears to be unnecessary. Fixes bug#424.
git-svn-id: svn://10.0.0.236/trunk@13217 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:57:28 +00:00
dougt%netscape.com
a14e087299 final merge from nova 4.5 to 5.0.
git-svn-id: svn://10.0.0.236/trunk@13216 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:55:30 +00:00
dougt%netscape.com
f73d63e385 final merge from nova 4.5 to 5.0
git-svn-id: svn://10.0.0.236/trunk@13215 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:53:56 +00:00
briano%netscape.com
3166b9d9f5 Mods to support AIX 4.2 (thanks to wtc@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@13214 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:52:00 +00:00
raman%netscape.com
4a1a03c683 Fixes for compiler errors on AIX. Thanks wtc
git-svn-id: svn://10.0.0.236/trunk@13213 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:50:09 +00:00
cyeh%netscape.com
9df05e8207 Remove obolete AppleScript file
git-svn-id: svn://10.0.0.236/trunk@13212 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:35:31 +00:00
cyeh%netscape.com
16417acbfc merge in change from Chris Nandor (pudge@pobox.com). Thought scc was
going to handle this. sorry for the delay.


git-svn-id: svn://10.0.0.236/trunk@13211 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:18:13 +00:00
buster%netscape.com
f3b963f1b8 incremental reflow only does pass1 reflow on new frames when necessary
fixed some rotting bits in table frame classes having to do with breaking tables


git-svn-id: svn://10.0.0.236/trunk@13210 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 20:05:44 +00:00
buster%netscape.com
75468d7b44 all containers now decend from nsHTMLContainerFrame
all "unknown frame" incremental reflow support methods now
replaced with nsHTMLContainerFrame::AddFrame and ::RemoveFrame


git-svn-id: svn://10.0.0.236/trunk@13209 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 17:45:07 +00:00
buster%netscape.com
36835ec766 added AddFrame and RemoveFrame as incremental reflow support methods
git-svn-id: svn://10.0.0.236/trunk@13208 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 17:44:02 +00:00
vidur%netscape.com
a0e09b1568 Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs
git-svn-id: svn://10.0.0.236/trunk@13207 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 17:07:23 +00:00
kipp%netscape.com
a4de4b5d61 Implement capitalization trasnform and small-caps font-variant
git-svn-id: svn://10.0.0.236/trunk@13204 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 16:46:14 +00:00
kipp%netscape.com
56f25d5b0b Added support for capitalization transform
git-svn-id: svn://10.0.0.236/trunk@13203 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 16:45:14 +00:00
despotdaemon%netscape.com
63065c3d13 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@13202 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 16:28:43 +00:00
buster%netscape.com
066a8fdc3f incremental reflow now includes insert/append/delete cell
git-svn-id: svn://10.0.0.236/trunk@13201 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 15:59:56 +00:00
buster%netscape.com
6ea6bf8db7 added insert/append/delete cell
git-svn-id: svn://10.0.0.236/trunk@13200 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 15:59:24 +00:00
buster%netscape.com
d4ea1ed1b6 minor fix, moved a method call outside an assert macro
git-svn-id: svn://10.0.0.236/trunk@13198 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 14:35:41 +00:00
gagan%netscape.com
73eed11d26 Switching NU_CACHE off for now.
git-svn-id: svn://10.0.0.236/trunk@13197 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 13:51:11 +00:00
gagan%netscape.com
31e3d18f62 Backing out my changes of NUCACHE. Gromit/Raptor were broken.
git-svn-id: svn://10.0.0.236/trunk@13196 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 13:49:16 +00:00
ftang%netscape.com
5279660a51 enable UTF8 in RDFTreeView. Reviewed by slamm
git-svn-id: svn://10.0.0.236/trunk@13195 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 13:10:39 +00:00
ftang%netscape.com
5a16b75b94 add XP_PROTO
git-svn-id: svn://10.0.0.236/trunk@13194 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 13:05:25 +00:00
ramiro%netscape.com
91395e31f9 Make Set/Get value calls a little more effecient.
Thanks to Joe Keane <jgk@jgk.org> for suggesting this change.


git-svn-id: svn://10.0.0.236/trunk@13193 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 12:35:44 +00:00
pierre%netscape.com
847b17e502 added nsTextFragment.cpp and nsTextTransformer.cpp
git-svn-id: svn://10.0.0.236/trunk@13190 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 06:56:28 +00:00
gagan%netscape.com
2e0eb5f4ed Reverting. This was breaking unix builds.
git-svn-id: svn://10.0.0.236/trunk@13189 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 06:31:49 +00:00
gagan%netscape.com
736014b2ec Temp fix for gromit breakage.
git-svn-id: svn://10.0.0.236/trunk@13188 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 05:44:19 +00:00
buster%netscape.com
b739d3db2f fixed a bug introduced by a slight change in GetColumnCount()
git-svn-id: svn://10.0.0.236/trunk@13187 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 05:05:17 +00:00
gagan%netscape.com
c90a6b6591 Fix temp build breakage.
git-svn-id: svn://10.0.0.236/trunk@13182 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 03:25:17 +00:00
gagan%netscape.com
1edbf737bb Temp fix for build breakage.
git-svn-id: svn://10.0.0.236/trunk@13180 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 03:10:10 +00:00
gagan%netscape.com
e095459b50 Temp fix for NUCache defines. Not reaching here...
git-svn-id: svn://10.0.0.236/trunk@13179 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 02:58:24 +00:00
gagan%netscape.com
50a63e5cc8 Temporary fix to build breakage.
git-svn-id: svn://10.0.0.236/trunk@13178 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 02:47:31 +00:00
cls%seawood.org
2eba8f268f Added new argument to getFormElementValue() .
git-svn-id: svn://10.0.0.236/trunk@13177 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 02:40:45 +00:00
gagan%netscape.com
23167da3f9 Toggled NU_CACHE.
git-svn-id: svn://10.0.0.236/trunk@13176 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 02:32:40 +00:00
gagan%netscape.com
423c860f73 Toggled NU_CACHE define.
git-svn-id: svn://10.0.0.236/trunk@13175 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 02:31:41 +00:00
gagan%netscape.com
a39a110ab9 Added nu cache dir to build.
git-svn-id: svn://10.0.0.236/trunk@13174 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 02:05:17 +00:00
gagan%netscape.com
d4d95498a3 Moved NuCache dir from here to cache.
git-svn-id: svn://10.0.0.236/trunk@13173 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 02:04:39 +00:00
cls%seawood.org
d8f009a9bb Removed obsolete NSPR20 ifdefs.
git-svn-id: svn://10.0.0.236/trunk@13172 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 01:55:58 +00:00
gagan%netscape.com
31e0c0882b NuCache switched on by default.
git-svn-id: svn://10.0.0.236/trunk@13171 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 01:51:45 +00:00
gagan%netscape.com
a7875cd8c2 NuCache on by default.
git-svn-id: svn://10.0.0.236/trunk@13169 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 01:49:32 +00:00
spider%netscape.com
6342eba8da WIP: JS command parsing
git-svn-id: svn://10.0.0.236/trunk@13167 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 01:28:07 +00:00
leaf%netscape.com
bddc8c873b fixing linux mozilla-motif-export target inclusion. reviewed: briano
git-svn-id: svn://10.0.0.236/trunk@13166 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 01:26:57 +00:00
spider%netscape.com
7e2b8250af Fix bug in CanvasFromName. WIP, JS parsing of commands
git-svn-id: svn://10.0.0.236/trunk@13165 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 01:20:01 +00:00
spider%netscape.com
ab4d32e60f WIP: JS Can now pass MethodInvoker commands to Zulu
Fix bug on nsXPFCCanvas not doing case-insensitive string
compares in CanvasFromName


git-svn-id: svn://10.0.0.236/trunk@13164 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 01:11:45 +00:00
gagan%netscape.com
6e0e3ff345 Switching on NU_CACHE by default.
git-svn-id: svn://10.0.0.236/trunk@13163 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:49:40 +00:00
cls%seawood.org
351acc6d6f Added xpcom/public/Makefile to AC_OUTPUT.
git-svn-id: svn://10.0.0.236/trunk@13162 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:32:48 +00:00
cls%seawood.org
7d90504b18 New Makefile.in
git-svn-id: svn://10.0.0.236/trunk@13161 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:31:25 +00:00
kipp%netscape.com
15d647276b Added text transformer to the build
git-svn-id: svn://10.0.0.236/trunk@13159 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:23:44 +00:00
kipp%netscape.com
06d6784934 Added FindTextRunsFor method
git-svn-id: svn://10.0.0.236/trunk@13158 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:23:11 +00:00
kipp%netscape.com
055ccbc896 Removed nsTextRun; s/NonBreakingUnit/Word/
git-svn-id: svn://10.0.0.236/trunk@13157 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:22:48 +00:00
kipp%netscape.com
66efe621c9 s/NBU/word
git-svn-id: svn://10.0.0.236/trunk@13156 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:22:24 +00:00
kipp%netscape.com
0ec16f60c8 Use TextRun API instead of no-longer public variables
git-svn-id: svn://10.0.0.236/trunk@13155 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:21:54 +00:00
kipp%netscape.com
9d55f92a4e Spanked hard to use the nsTextTransformer
git-svn-id: svn://10.0.0.236/trunk@13154 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:21:18 +00:00
kipp%netscape.com
c2725b051a Revised to use a nsTextFragment to store the content
git-svn-id: svn://10.0.0.236/trunk@13153 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:20:04 +00:00
kipp%netscape.com
be606125ff Added nsTextFragment to the build
git-svn-id: svn://10.0.0.236/trunk@13152 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:19:32 +00:00
kipp%netscape.com
d0dbc1ba65 Revised API to use TextFragment's
git-svn-id: svn://10.0.0.236/trunk@13151 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:19:17 +00:00
kipp%netscape.com
5552ee46a1 Added new header
git-svn-id: svn://10.0.0.236/trunk@13150 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:19:01 +00:00
valeski%netscape.com
87b79bdc01 Raptor only. Extending the META tag http-equiv handling code to handle arbitrary http-equivs. We were previously just handing the "Refresh" case.
git-svn-id: svn://10.0.0.236/trunk@13149 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:18:19 +00:00
kipp%netscape.com
1100db045f new
git-svn-id: svn://10.0.0.236/trunk@13148 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:17:17 +00:00
pinkerton%netscape.com
0c0aa03bc8 changes to match UI spec for title area and command strip.
git-svn-id: svn://10.0.0.236/trunk@13147 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:16:25 +00:00
pinkerton%netscape.com
f2b08b64ca make command strip match UI spec/behaviors.
git-svn-id: svn://10.0.0.236/trunk@13146 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:15:07 +00:00
pinkerton%netscape.com
fe14da3d04 Tons o changes to make strip match UI spec (add, manage, close).
git-svn-id: svn://10.0.0.236/trunk@13145 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:14:46 +00:00
pinkerton%netscape.com
3aae944f66 no longer include CPersonalToolbarTable as it is obsolete.
git-svn-id: svn://10.0.0.236/trunk@13144 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:12:52 +00:00
buster%netscape.com
1b5515eaa5 rows can now be incrementally inserted, appended, and deleted.
git-svn-id: svn://10.0.0.236/trunk@13141 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 23:43:06 +00:00
cyeh%netscape.com
6f1e81d880 reflect changes in Makefile to fix autoconf builds
git-svn-id: svn://10.0.0.236/trunk@13140 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 23:12:18 +00:00
jfrancis%netscape.com
e335e63e8a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@13139 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 23:09:50 +00:00
cyeh%netscape.com
27f7f2d66d reflect change made in Makefile to fix autoconf build.
git-svn-id: svn://10.0.0.236/trunk@13138 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 23:08:31 +00:00
karnaze%netscape.com
298169eb59 support for constrained width, height
git-svn-id: svn://10.0.0.236/trunk@13137 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 23:02:41 +00:00
cyeh%netscape.com
5e0237d8a6 reflect changes in Makefile to fix autoconf build
git-svn-id: svn://10.0.0.236/trunk@13136 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 22:41:03 +00:00
troy%netscape.com
736eb04028 Added null pointer check in case the root view pointer is null
git-svn-id: svn://10.0.0.236/trunk@13132 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 22:12:29 +00:00
warren%netscape.com
d6bf9584b7 Fix from toshok.
git-svn-id: svn://10.0.0.236/trunk@13131 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 22:01:53 +00:00
scullin%netscape.com
d2e0e65685 Moved headers from src to public
git-svn-id: svn://10.0.0.236/trunk@13130 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 21:44:55 +00:00
scullin%netscape.com
34d108941a Moved files from src to public
git-svn-id: svn://10.0.0.236/trunk@13129 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 21:42:39 +00:00
cyeh%netscape.com
d58bfd92b9 Remove obsolete #defines _NSPR and NSPR20
git-svn-id: svn://10.0.0.236/trunk@13128 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 21:32:19 +00:00
cyeh%netscape.com
0c8ef97698 flip NO_SECURITY to MOZ_SECURITY, remove NSPR20 hackery in makefile
git-svn-id: svn://10.0.0.236/trunk@13127 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 21:29:18 +00:00
spider%netscape.com
c6ba9519b8 JS Command Server Scripting
git-svn-id: svn://10.0.0.236/trunk@13126 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 21:25:23 +00:00
troy%netscape.com
97d2ab236b Removed some code that's no longer needed now that the frames correctly
compute their size based on any absolutely positioned children they
have


git-svn-id: svn://10.0.0.236/trunk@13125 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 21:24:53 +00:00
scullin%netscape.com
f33032c0ef Moved to public
git-svn-id: svn://10.0.0.236/trunk@13124 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 21:21:16 +00:00
cyeh%netscape.com
5d5ee4c40d Remove NSPR20 #ifdef's
git-svn-id: svn://10.0.0.236/trunk@13123 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 21:05:29 +00:00
cyeh%netscape.com
9ac35ef965 turn off -DNSPR20
git-svn-id: svn://10.0.0.236/trunk@13122 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:56:21 +00:00
shaver%netscape.com
d845c03da1 remove stale DOM span/transclusion code
git-svn-id: svn://10.0.0.236/trunk@13119 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:45:03 +00:00
rpotts%netscape.com
a551ed02ac Move the call to stop before firing the BeginLoadURL notification... This will keep the BeginLoad/EndLoad notifications paired correctly...
git-svn-id: svn://10.0.0.236/trunk@13118 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:41:50 +00:00
karnaze%netscape.com
b92a78c828 fixed bugs 1130, 1132, 1133
git-svn-id: svn://10.0.0.236/trunk@13117 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:37:40 +00:00
cyeh%netscape.com
62e242067b remove layout/layspan.c from client build. it was wrapped around #ifdef DOM, so it was never built/linked.
git-svn-id: svn://10.0.0.236/trunk@13116 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:28:34 +00:00
cyeh%netscape.com
48aeda36b9 Remove NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@13115 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:21:57 +00:00
cyeh%netscape.com
477761b77a remove NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@13114 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:21:04 +00:00
jsun%netscape.com
120d70e207 Removing a backup file I accidentally added.
git-svn-id: svn://10.0.0.236/trunk@13113 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:20:34 +00:00
jsun%netscape.com
5aaa827e18 Adding the ical directory to mozilla/calendar/modules/parser.
This is the first batch of files I need to add to get the iCal parser going.
This shouldn't be built with trex.mak yet.

It won't build until I get things stable enough.


git-svn-id: svn://10.0.0.236/trunk@13112 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:19:28 +00:00
cyeh%netscape.com
4544703e9d flip #ifdef logic to allow for NSPR1.0 compatibility
git-svn-id: svn://10.0.0.236/trunk@13111 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:17:22 +00:00
cyeh%netscape.com
2ddc86aa2f remove NSPR20 and flip logic for NSPR 1.0 compatibility
git-svn-id: svn://10.0.0.236/trunk@13110 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:16:31 +00:00
valeski%netscape.com
ba5bcc37f1 NET_ProcessNET() tabs to spaces (4) and general cleanup. removed an un-nesessary local variable and an unused if statement.
git-svn-id: svn://10.0.0.236/trunk@13109 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:15:54 +00:00
cyeh%netscape.com
3492bd5b6b remove NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@13108 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:14:21 +00:00
despotdaemon%netscape.com
2e8e49c276 Pseudo-automatic update of changes made by shanjian@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13107 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:05:28 +00:00
valeski%netscape.com
57e0cceaad Reducing the number of times we rip through netlib timers. Thanks to Joe Keane (jgk@jgk.org).
git-svn-id: svn://10.0.0.236/trunk@13106 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 19:21:19 +00:00
scullin%netscape.com
5a14360d5a Migrate mac hack, too.
git-svn-id: svn://10.0.0.236/trunk@13105 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:54:44 +00:00
terry%netscape.com
05574b8797 Oops; was importing incorrect component names.
git-svn-id: svn://10.0.0.236/trunk@13104 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:46:14 +00:00
cls%seawood.org
6493572113 Added checks for Linux Alpha & Linux Sparc. Thanks to Steve Willis <steve@redhat.com> for providing the fix.
git-svn-id: svn://10.0.0.236/trunk@13103 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:37:21 +00:00
scullin%netscape.com
a35aac5eae Moving xpcom public headers to public
git-svn-id: svn://10.0.0.236/trunk@13102 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:35:39 +00:00
cls%seawood.org
d00288c6ca Sparc asm should only be tried on a sparc.
git-svn-id: svn://10.0.0.236/trunk@13101 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:34:41 +00:00
scullin%netscape.com
2730141975 Moving public headers to public
git-svn-id: svn://10.0.0.236/trunk@13100 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:34:10 +00:00
pinkerton%netscape.com
6f0c617896 #if DEBUG some code that shouldn't show up in optimized build.
git-svn-id: svn://10.0.0.236/trunk@13099 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:28:09 +00:00
pinkerton%netscape.com
cff9a24cd5 made destructor virtual
git-svn-id: svn://10.0.0.236/trunk@13098 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:27:51 +00:00
pinkerton%netscape.com
4e2473b8ea fix bug #323840 by not always called XP_InterruptContext()
git-svn-id: svn://10.0.0.236/trunk@13097 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:27:36 +00:00
pinkerton%netscape.com
545a9acd6e #328696. Change GetTemplateData to GetNodeData where appropriate.
git-svn-id: svn://10.0.0.236/trunk@13096 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:26:38 +00:00
raman%netscape.com
ca600aab3f Fix to make it compile on HP-UX. Define an else clause in the if statement of an inline function. Thanks briano
git-svn-id: svn://10.0.0.236/trunk@13095 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:25:01 +00:00
kin%netscape.com
5260f16e31 Modified the following files to get Unix ENDER to save Multi-part MIME:
cmd/xfe/forms.c
    include/edt.h
    lib/layout/editor.cpp
    lib/mailto/mhtmlstm.cpp


git-svn-id: svn://10.0.0.236/trunk@13094 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:24:51 +00:00
kin%netscape.com
72188b7413 Fix for bug #329764: ENDER: Occassional infinite loop when loading
multi-part mime
Modified ParseBuffer to increment t_index when calling continue in the while
loop that searches for the string "SRC".


git-svn-id: svn://10.0.0.236/trunk@13093 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:23:44 +00:00
terry%netscape.com
eb2f91ec04 Added a mechanism where I can add new bugs from the netscape bugsystem. Other installations of Bugzilla probably don't need to worry about this file any.
git-svn-id: svn://10.0.0.236/trunk@13092 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 18:11:53 +00:00
scullin%netscape.com
54cd9d7f80 Migrating public files to public
git-svn-id: svn://10.0.0.236/trunk@13091 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 17:50:24 +00:00
scullin%netscape.com
e9aae9e229 Migrating public header files to public
git-svn-id: svn://10.0.0.236/trunk@13090 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 17:48:55 +00:00
troy%netscape.com
41e4edcfca Added GetScrollPosition, removed some XXX comments that I should have
removed before checking in, and added some more documentation


git-svn-id: svn://10.0.0.236/trunk@13089 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 16:57:27 +00:00
jfrancis%netscape.com
d2f50674bb A bunch of EDT_* functions flipped the sense of a one of their bool params. Updating Composer macfe code to match new sense.
git-svn-id: svn://10.0.0.236/trunk@13088 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 13:49:01 +00:00
cls%seawood.org
7904be8420 Removed the unused PREF_AlterSplashIcon(). This removes the xfe dependency from libpref. Approved by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13087 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 08:31:54 +00:00
mcafee%netscape.com
0d1043d721 Uncommenting call to setTextStringFromURL(), navigating links updates the URL bar now, pending the notification mechanism listed in the comment above the call.
git-svn-id: svn://10.0.0.236/trunk@13086 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 06:38:34 +00:00
chuckb%netscape.com
b9bae1b8c3 added new files with 3.06 from internal cvs server
git-svn-id: svn://10.0.0.236/trunk@13085 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 06:24:19 +00:00
chuckb%netscape.com
2704bc5419 Merged 3.06 changes from internal cvs server
git-svn-id: svn://10.0.0.236/trunk@13084 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 06:15:58 +00:00
ddrinan%netscape.com
ea2c6cffd9 Added more items to the unwanted prefixes table
git-svn-id: svn://10.0.0.236/trunk@13083 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 03:17:35 +00:00
blizzard%appliedtheory.com
12f4c6f06f Catch the resize of the drawing window and resize the compositor. Also fix event handling for other events on the drawing window.
git-svn-id: svn://10.0.0.236/trunk@13082 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 03:04:20 +00:00
blizzard%appliedtheory.com
c5e806848c Return NULL for now since there isn't an rdf view yet. The lower layers seem to be able to handle this.
git-svn-id: svn://10.0.0.236/trunk@13081 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 03:02:19 +00:00
troy%netscape.com
e2209a9a18 Changed scrolling view to use a clip view and to slide the scrolled
view up and down rather than maintain a logical scrolled offset


git-svn-id: svn://10.0.0.236/trunk@13080 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 00:44:28 +00:00
harrison%netscape.com
fdfb3e654f added required second argument to make_options call, should keep
perl from complaining about Use of uninitialized value at
CGI.pl line 189 (#1)


git-svn-id: svn://10.0.0.236/trunk@13079 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-18 22:32:15 +00:00
harrison%netscape.com
2a812dcccc created reports.cgi which provide an overview of active bugs
sorted by owner. updated README to reflect my experiences
installing mysql, bugzilla. put links into index.html, query.cgi
to point into reports.cgi. harrison 10/18/98


git-svn-id: svn://10.0.0.236/trunk@13078 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-18 22:18:25 +00:00
locka%iol.ie
32f8ab11a9 Added support for DWebBrowserEvents2 to control, regenerated proxy event firing header and implemented a few more methods
git-svn-id: svn://10.0.0.236/trunk@13077 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-18 22:14:47 +00:00
locka%iol.ie
e40b183083 Revamped code so that Mozilla and IE control can run side by side using same code
git-svn-id: svn://10.0.0.236/trunk@13076 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-18 22:09:57 +00:00
ramiro%netscape.com
d49b8c7d4c Someone in the wishlist suggested this and I though it was a good idea.
Add an "Open Link In Frame" context menu item when appropriate.


git-svn-id: svn://10.0.0.236/trunk@13075 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 20:43:56 +00:00
blizzard%appliedtheory.com
757cbcdac7 don't build java50.jar
git-svn-id: svn://10.0.0.236/trunk@13074 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 20:34:37 +00:00
despotdaemon%netscape.com
4fcf322350 Pseudo-automatic update of changes made by arshad@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13073 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 18:43:17 +00:00
blizzard%appliedtheory.com
ede0319097 more image and compositor work. A lot of this is based on patches from
Michael O'Reilly <michael@metal.iinet.net.au>


git-svn-id: svn://10.0.0.236/trunk@13072 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 17:27:25 +00:00
terry%netscape.com
6fe6655ed1 Don't let express show builds older than 12 hours.
git-svn-id: svn://10.0.0.236/trunk@13071 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 15:20:24 +00:00
locka%iol.ie
809a198969 Improved UI
git-svn-id: svn://10.0.0.236/trunk@13070 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 15:18:07 +00:00
despotdaemon%netscape.com
1d7ce5d10b Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13068 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 04:51:25 +00:00
troy%netscape.com
b87ccde43b Changed a SetFrameState call to not clobber the NS_FRAME_SYNC_FRAME_AND_VIEW
flag


git-svn-id: svn://10.0.0.236/trunk@13067 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 04:00:58 +00:00
terry%netscape.com
89836e1844 Send out notifications whenever a tree changes state. Now also
watching Mozilla-External.


git-svn-id: svn://10.0.0.236/trunk@13066 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 03:39:20 +00:00
despotdaemon%netscape.com
b730edf085 Pseudo-automatic update of changes made by arshad@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13065 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 03:38:18 +00:00
terry%netscape.com
568042b1d3 Whoops; get rid of the icky tabs I let sneak in. Also, be a bit less
chatty when automatically restarting.


git-svn-id: svn://10.0.0.236/trunk@13064 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 03:06:52 +00:00
terry%netscape.com
353cfacf03 Restart ourselves whenever the source code changes.
git-svn-id: svn://10.0.0.236/trunk@13063 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 02:50:48 +00:00
pollmann%netscape.com
7f4edf7cd7 Added libdom.[ch] for DOM Style parsers
git-svn-id: svn://10.0.0.236/trunk@13062 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 02:40:25 +00:00
cyeh%netscape.com
620edc7e4b explicitly define -DNSPR20 for libpref. prep for turning off -DNSPR20
globally


git-svn-id: svn://10.0.0.236/trunk@13059 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 02:10:10 +00:00
shaver%netscape.com
2967c94ab7 don't build libmocha/lm_{span/trans}.c anymore, thanks
git-svn-id: svn://10.0.0.236/trunk@13058 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 01:56:52 +00:00
terry%netscape.com
40b1dd793e Unleash mozbot source to the world.
git-svn-id: svn://10.0.0.236/trunk@13057 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 01:54:40 +00:00
slamm%netscape.com
aa0364d96e Have XFE_ToolbarItem setup the instance pointer.
git-svn-id: svn://10.0.0.236/trunk@13055 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 01:09:15 +00:00
slamm%netscape.com
b7f1f4f158 Add a function that returns true if a node has children.
This should probably be pushed down to the rdf module.


git-svn-id: svn://10.0.0.236/trunk@13054 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 01:09:12 +00:00
slamm%netscape.com
37bd0ff8e8 avoid some color warnings. We will have to fix the widget to
get the colors right.


git-svn-id: svn://10.0.0.236/trunk@13053 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 01:09:08 +00:00
slamm%netscape.com
51ccf3f4a6 Bring toolbar drag/drop back to life.
git-svn-id: svn://10.0.0.236/trunk@13052 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 01:09:02 +00:00
kipp%netscape.com
6dc9367285 Added accessor for the line number
git-svn-id: svn://10.0.0.236/trunk@13051 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 01:06:17 +00:00
kipp%netscape.com
8ef17362a7 Compute text indent for the first frame in the first line of a body frame
git-svn-id: svn://10.0.0.236/trunk@13050 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 01:05:58 +00:00
nisheeth%netscape.com
51d5ffd0d2 Patch submitted by Chris Siegler (siegler@citilink.com). Checks for an
error case in layout of formatted and preformatted text and aborts early.
Fixes a crash on resizing of pages with preformatted text inside tables.


git-svn-id: svn://10.0.0.236/trunk@13049 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 00:42:30 +00:00
karnaze%netscape.com
9de8b01a90 html 4 <BUTTON> basic functionality
git-svn-id: svn://10.0.0.236/trunk@13048 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 00:35:32 +00:00
ramiro%netscape.com
69ef1c676d Fix bustage. I screwed up ;-)
git-svn-id: svn://10.0.0.236/trunk@13047 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-17 00:08:07 +00:00
sdagley%netscape.com
8971dd2932 Even though the Mac has the best compilers of all the Mozilla platforms it doesn't allow you to do C++ code in C files.
git-svn-id: svn://10.0.0.236/trunk@13046 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 23:55:56 +00:00
kipp%netscape.com
b0626f8f35 Moved bullet pseudo-style next to LI defns to make it clear how to keep them in sync
git-svn-id: svn://10.0.0.236/trunk@13045 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 23:18:18 +00:00
rpotts%netscape.com
b11315f58d Wired the stop button up to the webshell...
git-svn-id: svn://10.0.0.236/trunk@13044 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:47:58 +00:00
rpotts%netscape.com
f6ecab2fe9 Added support for interrupting streams via the nsINetService::InterruptStream() method.
git-svn-id: svn://10.0.0.236/trunk@13043 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:44:20 +00:00
rods%netscape.com
08bfbf832c Changed the background of the widget.
git-svn-id: svn://10.0.0.236/trunk@13042 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:43:13 +00:00
rods%netscape.com
22af17ef42 Removed debug statements
git-svn-id: svn://10.0.0.236/trunk@13041 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:42:55 +00:00
kipp%netscape.com
2f93295c49 Use :BULLET style information to place bullets instead of hard coding off of the padding (Bug #1119)
git-svn-id: svn://10.0.0.236/trunk@13040 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:39:11 +00:00
rods%netscape.com
eae4b59639 Removed debug statements
git-svn-id: svn://10.0.0.236/trunk@13039 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:36:43 +00:00
rpotts%netscape.com
e0c2486ca8 Call nsINetService::InterruptStream() when stopping a URL...
git-svn-id: svn://10.0.0.236/trunk@13038 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:30:57 +00:00
rods%netscape.com
6aa5136356 GetWidget was not creating enough memory to hold the string for text
measurement. This was causing it to write off into memory.


git-svn-id: svn://10.0.0.236/trunk@13036 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:27:27 +00:00
nisheeth%netscape.com
a5810d7432 Patch for Layout Probe API. Submitted by Ori Kravitz (orik@mercury.co.il).
git-svn-id: svn://10.0.0.236/trunk@13035 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:26:29 +00:00
nisheeth%netscape.com
dfda5fb533 Patch to change the name of a layout probe API function. Submitted by Ori
Kravitz (orik@mercury.co.il).


git-svn-id: svn://10.0.0.236/trunk@13034 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:24:44 +00:00
rpotts%netscape.com
ec3d7d579a Added support for interrupting streams via the nsINetService::InterruptStream() method.
git-svn-id: svn://10.0.0.236/trunk@13033 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:20:05 +00:00
fur%netscape.com
b07314676c The files in this directory are all obsolete. JavaScript development
has been moved to the js/src directory.  Sample code has been moved to
js/samples.


git-svn-id: svn://10.0.0.236/trunk@13032 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:18:00 +00:00
rpotts%netscape.com
4c9accc7a3 Make NET_PollSockets(...) thread-safe just like NET_ProcessNet(...)...
git-svn-id: svn://10.0.0.236/trunk@13031 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:17:21 +00:00
blythe%netscape.com
1e2280e66f Final changes for 328650, registry code slowing startup too much.
git-svn-id: svn://10.0.0.236/trunk@13030 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:15:55 +00:00
blythe%netscape.com
5287697b5c Bugzilla 412 submitted by dpg@ix.netcom.com, fix compile time warnings.
git-svn-id: svn://10.0.0.236/trunk@13029 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:14:24 +00:00
pollmann%netscape.com
b2e3cfdead Move DOM Style parsers to laydom.[ch]
Add destructor to entries


git-svn-id: svn://10.0.0.236/trunk@13028 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:11:19 +00:00
kipp%netscape.com
2c3e08667b Make default line-height be normal
git-svn-id: svn://10.0.0.236/trunk@13027 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:05:03 +00:00
kipp%netscape.com
878b8d2055 Disabled line-height for inline elements; align top/bottom objects better
git-svn-id: svn://10.0.0.236/trunk@13026 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:04:47 +00:00
ftang%netscape.com
65c78855f4 change bookmark menu to convert form UTF8 to menu charset . apporved by Bill Law
git-svn-id: svn://10.0.0.236/trunk@13025 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:58:17 +00:00
pollmann%netscape.com
4229eed9e1 changing if defined to ifdef
git-svn-id: svn://10.0.0.236/trunk@13024 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:53:28 +00:00
pollmann%netscape.com
acd50e3811 Adding laydom.c for the DOM build.
git-svn-id: svn://10.0.0.236/trunk@13023 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:51:02 +00:00
spider%netscape.com
e0bdb8c018 Fix for pulling free source
git-svn-id: svn://10.0.0.236/trunk@13021 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:46:40 +00:00
ramiro%netscape.com
1b7053743f Fix the urlbar somemore. It now set the url string properly.
git-svn-id: svn://10.0.0.236/trunk@13019 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:31:54 +00:00
saari%netscape.com
8c3d3311e8 Mac only change.
Making changes to make the mac toolbars no flash on mouse rollover or when playing an animated GIF


git-svn-id: svn://10.0.0.236/trunk@13018 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:29:55 +00:00
pollmann%netscape.com
be78f27eea #ifdef the whole file for Mac builds :S
git-svn-id: svn://10.0.0.236/trunk@13017 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:24:41 +00:00
pollmann%netscape.com
e042d5c584 Move DOM Style parsers to laydom.[ch]
Add destructor to entries.


git-svn-id: svn://10.0.0.236/trunk@13016 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:18:24 +00:00
pnunn%netscape.com
b812d7600a migrate memleak fix(mlm) from 4.5 bug#324398. rv'd by pnunn.
git-svn-id: svn://10.0.0.236/trunk@13015 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:09:41 +00:00
karnaze%netscape.com
68ea43efd0 added iframe, textarea, fieldset, legend to InlineReplaced list
git-svn-id: svn://10.0.0.236/trunk@13014 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 21:00:55 +00:00
shaver%netscape.com
d6b2f1dbd3 add destructor to entries
git-svn-id: svn://10.0.0.236/trunk@13013 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 20:51:20 +00:00
cyeh%netscape.com
4445c154ab remove lm_span.c and lm_trans.c. these files were wrapped around an #ifdef DOM and were never built. if you must protest, please write the office of Mike Shaver, shaver@netscape.com
git-svn-id: svn://10.0.0.236/trunk@13012 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 20:42:37 +00:00
kipp%netscape.com
c862cb4ed1 Support CSS2 floater placement by not allowing them on top of each other; fixed a bug with floater incemental reflow and spacemanager management
git-svn-id: svn://10.0.0.236/trunk@13011 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 20:22:39 +00:00
kipp%netscape.com
90883e4791 Tweaked the isFloated variable computation to only support left and right floaters
git-svn-id: svn://10.0.0.236/trunk@13010 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 20:21:11 +00:00
rods%netscape.com
2d246a2c09 Added look and feel query for colors.
git-svn-id: svn://10.0.0.236/trunk@13009 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 20:11:42 +00:00
troy%netscape.com
78d90ede24 Added new state flag NS_FRAME_SYNC_FRAME_AND_VIEW for controlling
whether the view is automatically positioned and sized to stay in
sync with the frame


git-svn-id: svn://10.0.0.236/trunk@13008 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 20:09:32 +00:00
rods%netscape.com
e509e2bbcb Added a lot of error check for a null mRenderingSurface
git-svn-id: svn://10.0.0.236/trunk@13007 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 19:31:25 +00:00
kin%netscape.com
478882211f Changed bogus MOZ_ENDER ifdef to the proper ENDER ifdef.
git-svn-id: svn://10.0.0.236/trunk@13006 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 19:26:11 +00:00
gagan%netscape.com
fec94bd0c4 Fixed Mac warning on NuCache and made some file private functions static.
git-svn-id: svn://10.0.0.236/trunk@13005 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 19:16:43 +00:00
cyeh%netscape.com
91035380e4 reflect NO_SECURITY changes in Makefile
git-svn-id: svn://10.0.0.236/trunk@13004 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 18:53:47 +00:00
spider%netscape.com
afa32d12e4 Change from ttrextest to zulutest
git-svn-id: svn://10.0.0.236/trunk@13003 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 18:32:38 +00:00
spider%netscape.com
817068cd07 Change name to zulu
git-svn-id: svn://10.0.0.236/trunk@13002 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 18:30:42 +00:00
spider%netscape.com
9cde818fc9 Change name to zulutest
git-svn-id: svn://10.0.0.236/trunk@13001 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 18:30:19 +00:00
shaver%netscape.com
34be3454f2 Perignon: don't force creation of style DB
git-svn-id: svn://10.0.0.236/trunk@13000 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 18:25:21 +00:00
spider%netscape.com
017c922bbf Move Registration from Container to Shell.
git-svn-id: svn://10.0.0.236/trunk@12999 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 18:23:36 +00:00
dcone%netscape.com
46218e7c24 updated, documented and cleanup the code.
git-svn-id: svn://10.0.0.236/trunk@12996 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 17:59:52 +00:00
dcone%netscape.com
8881b48ddb removed the file nsCSSLayout.cpp
git-svn-id: svn://10.0.0.236/trunk@12995 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 15:43:02 +00:00
kipp%netscape.com
437fef3051 nuked
git-svn-id: svn://10.0.0.236/trunk@12994 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 14:45:44 +00:00
ramiro%netscape.com
c88b2adacf Fix the initial toolbar size problem.
git-svn-id: svn://10.0.0.236/trunk@12993 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 11:56:34 +00:00
toshok%hungry.com
1865fd6edd include config.mk
git-svn-id: svn://10.0.0.236/trunk@12988 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 09:38:29 +00:00
pierre%netscape.com
ea28d41d41 inherit from nsBaseWidget: removed lots of code
git-svn-id: svn://10.0.0.236/trunk@12986 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 09:21:23 +00:00
pierre%netscape.com
d7bf521871 added Previous() and ResetToLast() to the Enumerator
git-svn-id: svn://10.0.0.236/trunk@12984 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 09:18:03 +00:00
pierre%netscape.com
8db18cb578 added the XP Widgets
git-svn-id: svn://10.0.0.236/trunk@12983 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 09:04:24 +00:00
toshok%hungry.com
42b6110574 DOM_StyleGetDatabaseFromContext => DOM_StyleDatabaseFromContext
git-svn-id: svn://10.0.0.236/trunk@12982 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 07:38:32 +00:00
toshok%hungry.com
918e43e871 include config.mk so we can define MOZ_SMOOTH_PROGRESS in myconfig.mk
git-svn-id: svn://10.0.0.236/trunk@12981 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 06:38:58 +00:00
briano%netscape.com
016ae7f6b3 Minor changes for the sake of consistency.
git-svn-id: svn://10.0.0.236/trunk@12980 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 06:04:27 +00:00
cltbld%netscape.com
286098fc96 add ::::::lib:mailto to the accesspath of the opt settings. This fixes a build problem introduced by the ender/mime landing on Wednesday. approved: sdagley
git-svn-id: svn://10.0.0.236/trunk@12979 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 05:57:06 +00:00
troy%netscape.com
51e192b3b4 Changed UpdateDirtyViews() to clear the dirty region when invalidating
the window. This fixes a problem where some views with widgets, like
scrollbars, that we never receive a NS_PAINT for never cleared the dirty
region


git-svn-id: svn://10.0.0.236/trunk@12978 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 05:24:35 +00:00
sman%netscape.com
95b852a8ca Fix the scale
git-svn-id: svn://10.0.0.236/trunk@12977 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 05:20:18 +00:00
sman%netscape.com
10e89930d3 Font support
git-svn-id: svn://10.0.0.236/trunk@12976 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 05:13:56 +00:00
troy%netscape.com
2434bb767c Corrected problem that was causing dirty rect to be incorrectly computed
when scrolling is involved


git-svn-id: svn://10.0.0.236/trunk@12975 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 05:05:09 +00:00
saari%netscape.com
ac3cfc4391 Mac only change to Mac memory allocator.
Checking in John McMullen's change to the small block allocator.


git-svn-id: svn://10.0.0.236/trunk@12974 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 04:52:44 +00:00
sman%netscape.com
2e2a3b5ac7 fixed code to make sure that the font value is used everywhere rather than
hardcoded values.


git-svn-id: svn://10.0.0.236/trunk@12973 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 04:11:57 +00:00
kipp%netscape.com
138e0933c2 Support line-height property
git-svn-id: svn://10.0.0.236/trunk@12967 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 03:49:35 +00:00
kipp%netscape.com
672ee7245f Added CalcLineHeightFor method
git-svn-id: svn://10.0.0.236/trunk@12966 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 03:48:48 +00:00
kipp%netscape.com
1a596d9651 Repaired a comment
git-svn-id: svn://10.0.0.236/trunk@12965 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 03:48:00 +00:00
kipp%netscape.com
cd4979b51c Fixed inheritance behavior of line-height ala peterl
git-svn-id: svn://10.0.0.236/trunk@12964 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 03:47:40 +00:00
briano%netscape.com
123830ec3f Removed the trailing spaces that were causing problems on platforms with older versions of gmake.
git-svn-id: svn://10.0.0.236/trunk@12962 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 02:59:36 +00:00
cyeh%netscape.com
da0ce3321f remove !ifdef NO_SECURITY, it is obsolete.
git-svn-id: svn://10.0.0.236/trunk@12961 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 01:49:24 +00:00
cyeh%netscape.com
5fe026c648 remove NO_SECURITY defines and flip logic to use MOZ_SECURITY.
Also remove hideous hack MOZ_NO_PATCHER.


git-svn-id: svn://10.0.0.236/trunk@12960 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 01:47:54 +00:00
sar%netscape.com
c4774082ef backing out the change in this file (per blythe's request)
git-svn-id: svn://10.0.0.236/trunk@12959 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 01:44:32 +00:00
cyeh%netscape.com
30dff79ff9 remove old old -DNSPR. As if we could ever build now without it.
git-svn-id: svn://10.0.0.236/trunk@12958 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 01:39:09 +00:00
gagan%netscape.com
3942be2b44 su_setup.html fix. See bug #329114.
git-svn-id: svn://10.0.0.236/trunk@12957 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 01:30:45 +00:00
gagan%netscape.com
be51f1246d NuCache Streams now hold the filename for smoother reopening. Not in build as yet.
git-svn-id: svn://10.0.0.236/trunk@12955 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 01:29:26 +00:00
briano%netscape.com
3619727cca Added to GARBAGE to be sure to clean up the Watcom compiler droppings on QNX.
git-svn-id: svn://10.0.0.236/trunk@12952 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 00:25:54 +00:00
raman%netscape.com
206148343b Minor tweak to my last fix. Pass PR_Now for verfication.
git-svn-id: svn://10.0.0.236/trunk@12951 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:47:51 +00:00
cyeh%netscape.com
6c88bfcd03 remove ancient NSPR #defines.
git-svn-id: svn://10.0.0.236/trunk@12950 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:36:19 +00:00
kipp%netscape.com
af7f6004a9 Fixed negative left margin bug introduced into VerticalAlign...; eliminate usage of mFrameX and mFrameY and passing around bounds instead of using PerFrameData's mBounds.
git-svn-id: svn://10.0.0.236/trunk@12949 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:30:00 +00:00
kipp%netscape.com
dd6e645d0e Removed mFrameX, mFrameY and stop passing around aBounds when the PerFrameData bounds can be used instead
git-svn-id: svn://10.0.0.236/trunk@12948 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:29:02 +00:00
kipp%netscape.com
22755a8a80 Implement width/height constraints on non-top-level body's; implement nicer ListTag method
git-svn-id: svn://10.0.0.236/trunk@12947 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:28:36 +00:00
kipp%netscape.com
85e128c803 Added ListTag; changed GetColumnAvailSpace to take a reflow state
git-svn-id: svn://10.0.0.236/trunk@12946 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:28:05 +00:00
kipp%netscape.com
8bb4855b3e Added a nicer ListTag method
git-svn-id: svn://10.0.0.236/trunk@12945 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:27:41 +00:00
kipp%netscape.com
294a1a9391 Support clear attribute on floaters; nicer ListTag method
git-svn-id: svn://10.0.0.236/trunk@12944 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:27:12 +00:00
kipp%netscape.com
62237665d8 Ignore return value from regsvr32 so that clobber always works
git-svn-id: svn://10.0.0.236/trunk@12943 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:24:23 +00:00
kipp%netscape.com
a256ceff0e Rought support for the print-preview window
git-svn-id: svn://10.0.0.236/trunk@12942 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:23:04 +00:00
kipp%netscape.com
e289ce98a1 Implement CreateDocumentViewerUsing method
git-svn-id: svn://10.0.0.236/trunk@12941 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:22:44 +00:00
kipp%netscape.com
4d6c256e98 Added CreateDocumentViewerUsing method
git-svn-id: svn://10.0.0.236/trunk@12940 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:22:25 +00:00
raman%netscape.com
508cf175e1 Fixed the Mac bustage
git-svn-id: svn://10.0.0.236/trunk@12939 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:21:22 +00:00
alecf%netscape.com
b13f0c5c82 bring autoconf up to speed with PREF_ hacks
git-svn-id: svn://10.0.0.236/trunk@12938 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:17:13 +00:00
cyeh%netscape.com
7631844a60 remove NO_SECURITY !define
git-svn-id: svn://10.0.0.236/trunk@12937 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:42:41 +00:00
cyeh%netscape.com
9635ce6b3d remove NO_SECURITY
git-svn-id: svn://10.0.0.236/trunk@12936 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:42:14 +00:00
cyeh%netscape.com
2ef860f895 flip NO_SECURITY/MOZ_SECURITY logic around so that crypto stuff only
gets enabled when MOZ_SECURITY is defined.


git-svn-id: svn://10.0.0.236/trunk@12935 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:40:32 +00:00
kipp%netscape.com
1f604bee50 Removed unused include
git-svn-id: svn://10.0.0.236/trunk@12934 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:37:38 +00:00
cmanske%netscape.com
f092ac5a6d Added Undo/Redo to context menu (Ender-only). Added accelerator hints to Copy and Cut menu items
git-svn-id: svn://10.0.0.236/trunk@12933 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:18:11 +00:00
cmanske%netscape.com
d7e1b5d4df Check Preformat when inserting image. Fixed infinite loop bug in message processing
git-svn-id: svn://10.0.0.236/trunk@12932 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:03:23 +00:00
cmanske%netscape.com
b437ecfbf4 Implemented new function to check if in Preformt text
git-svn-id: svn://10.0.0.236/trunk@12931 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:03:20 +00:00
cmanske%netscape.com
a574505dcc Added new function to test for Preformat text
git-svn-id: svn://10.0.0.236/trunk@12930 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:03:16 +00:00
blythe%netscape.com
91d6a26ca0 Fix automated tinderbox NT bustage, apparently rm will crash, notified by sar
git-svn-id: svn://10.0.0.236/trunk@12929 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:01:41 +00:00
nisheeth%netscape.com
8ec5d1453a This change is realy cool. The compositor gets enabled at the end of layout
rather than at the beginning, so, we don't see a blank page between URL
traversals at all.  The earlier page remains visible until the new page has
pixels that can be shown, and then, BANG, the new page becomes visible.

Gone are the days when we have to stare at a blank page while layout occurs.


git-svn-id: svn://10.0.0.236/trunk@12928 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 22:01:21 +00:00
alecf%netscape.com
12f8d7bcf7 use VPATH instead of listing 3 seperate rules
also add some comments


git-svn-id: svn://10.0.0.236/trunk@12927 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 21:57:03 +00:00
shaver%netscape.com
ff591346ce need prlong.h explicitly now that JS doesn't provide LL_* by default
git-svn-id: svn://10.0.0.236/trunk@12926 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 21:43:32 +00:00
rods%netscape.com
600549559f Added makefiles and factory for widget directory reorganization
git-svn-id: svn://10.0.0.236/trunk@12925 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 21:41:38 +00:00
rods%netscape.com
b962ff63b0 Moved the cross-platform widgets into their own directory.
Moved the platform specific factories into the new "build" directory.
The "build" directory now links the spwidgets and the platforms specific
widgets together.


git-svn-id: svn://10.0.0.236/trunk@12924 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 21:30:32 +00:00
blythe%netscape.com
52586c4d17 Current 328650 performance improvement changes
git-svn-id: svn://10.0.0.236/trunk@12923 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 21:20:43 +00:00
buster%netscape.com
28617bfaaa incremental reflow: append/insert/delete row group, append/insert/delete col
git-svn-id: svn://10.0.0.236/trunk@12922 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 21:07:37 +00:00
morse%netscape.com
335c402656 fix string for privacy policy
git-svn-id: svn://10.0.0.236/trunk@12920 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:58:56 +00:00
troy%netscape.com
3ab42497ba Removed NS_VMREFRESH_SCREEN_RECT update option
git-svn-id: svn://10.0.0.236/trunk@12919 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:57:43 +00:00
raman%netscape.com
cd0724bace Added verification certifcates that are created via nsICapsManager. This could be used by JVM plugins.
git-svn-id: svn://10.0.0.236/trunk@12918 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:56:34 +00:00
slamm%netscape.com
4e88e16bc8 Set the minimum column width (to 6).
git-svn-id: svn://10.0.0.236/trunk@12916 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:54:21 +00:00
slamm%netscape.com
95cea74d0f Improve column resizing.
git-svn-id: svn://10.0.0.236/trunk@12915 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:52:11 +00:00
spider%netscape.com
1334e17d15 More command line support for zulu. Also, exit if NS_OK not returned
from Application Init() method


git-svn-id: svn://10.0.0.236/trunk@12914 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:47:37 +00:00
cmanske%netscape.com
492295c5a2 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@12913 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:39:34 +00:00
vidur%netscape.com
3b9d34af51 Changes to allow absolutely positioned frames to move
git-svn-id: svn://10.0.0.236/trunk@12912 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:26:54 +00:00
spider%netscape.com
2a00111629 Command processing for arguments
git-svn-id: svn://10.0.0.236/trunk@12911 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:07:17 +00:00
cyeh%netscape.com
347eee7298 trying to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@12910 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 19:36:49 +00:00
cmanske%netscape.com
7929e2ceda Fixed object sizing bugs. Renamed params in these areas for readability. Fixed problems when clicking below doc or inbetween table cells
git-svn-id: svn://10.0.0.236/trunk@12909 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 19:35:48 +00:00
cmanske%netscape.com
0c5f32f50a Fixed problems with drag cursor and table sizing
git-svn-id: svn://10.0.0.236/trunk@12908 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 19:34:55 +00:00
cmanske%netscape.com
c56e8ff2f5 Changed param in function for consistency across sizing functions
git-svn-id: svn://10.0.0.236/trunk@12907 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 19:33:20 +00:00
blizzard%appliedtheory.com
55f54e47a2 make sure the index is incremented in a while loop
git-svn-id: svn://10.0.0.236/trunk@12906 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 19:12:31 +00:00
danm%netscape.com
76c17657e3 view menu reflects configurable toolbar state
git-svn-id: svn://10.0.0.236/trunk@12905 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 19:11:01 +00:00
cyeh%netscape.com
5e3b928a96 remove unneeded #define.
git-svn-id: svn://10.0.0.236/trunk@12904 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 18:51:42 +00:00
shaver%netscape.com
f4aa850478 Fixed tree generation and added new STYLE_NODE flags for content-hiding.
git-svn-id: svn://10.0.0.236/trunk@12903 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 18:34:05 +00:00
shaver%netscape.com
c2529a4155 (All DOM changes.)
Fixed layer properties.  Links and images-within-links get the right appearance
even when there are no style rules.  Started on lo_SetStyleSheetBoxProperties.
Don't force the creation of a style db, ever.  Handle style-system failures
more gracefully.  Update to use ACTIVE_NODE where appropriate.


git-svn-id: svn://10.0.0.236/trunk@12902 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 18:32:04 +00:00
slamm%netscape.com
109d0d3225 Add translations to URLBar
git-svn-id: svn://10.0.0.236/trunk@12901 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 18:29:42 +00:00
shaver%netscape.com
ab4e2c97d3 LO_Anchor now has a DOM_Node
git-svn-id: svn://10.0.0.236/trunk@12900 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 18:27:20 +00:00
slamm%netscape.com
0e12939552 Add instance pointer for button sensitivity.
git-svn-id: svn://10.0.0.236/trunk@12899 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 18:15:59 +00:00
fur%netscape.com
57893c342f 1) Change HAVE_LONG_LONG to be JS_HAVE_LONG_LONG to avoid collision with NSPR.
2) On Linux, define JS_HAVE_LONG_LONG since we're using gcc.


git-svn-id: svn://10.0.0.236/trunk@12898 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 18:10:39 +00:00
blizzard%appliedtheory.com
50d4df11e1 enable GNOME_GetDocPosition
git-svn-id: svn://10.0.0.236/trunk@12897 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 18:00:28 +00:00
blizzard%appliedtheory.com
3749ccde2a don't set the tile in the gc, that's for window backgrounds, not drawing
git-svn-id: svn://10.0.0.236/trunk@12896 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 17:57:13 +00:00
spider%netscape.com
c08f341ef8 Support Command Line Parsing
git-svn-id: svn://10.0.0.236/trunk@12895 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 17:56:49 +00:00
shaver%netscape.com
684148cae8 memory management fixes and debug cleanup
git-svn-id: svn://10.0.0.236/trunk@12894 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 17:45:03 +00:00
despotdaemon%netscape.com
d726cb3ebe Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12893 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 17:34:08 +00:00
despotdaemon%netscape.com
9485dfc44f Pseudo-automatic update of changes made by priya@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12892 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 16:54:23 +00:00
troy%netscape.com
438a628720 Removed use of NS_VMREFRESH_SCREEN_RECT which is deprecated and going away
git-svn-id: svn://10.0.0.236/trunk@12891 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 16:00:09 +00:00
karnaze%netscape.com
8c2e3a9e4e fixed combo box PostCreateWidget to size properly
git-svn-id: svn://10.0.0.236/trunk@12890 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 15:51:31 +00:00
blythe%netscape.com
b2f7c3129e Partial fix for 328650, startup performance
git-svn-id: svn://10.0.0.236/trunk@12889 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 14:56:39 +00:00
blythe%netscape.com
64916c2971 Bugzilla 140 code improvement by ben@algroup.co.uk
git-svn-id: svn://10.0.0.236/trunk@12888 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 14:25:36 +00:00
despotdaemon%netscape.com
0609b59d96 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12887 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 14:00:35 +00:00
despotdaemon%netscape.com
a41388158b Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12886 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 13:59:57 +00:00
terry%netscape.com
6698866bd5 Remove code to test if passwd is different than Netscape passwd. It no longer works, anyway.
git-svn-id: svn://10.0.0.236/trunk@12885 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 13:58:41 +00:00
ftang%netscape.com
5500648646 Make Toolbar menu measure and render UTF8 text. reviewed and approved by saari
git-svn-id: svn://10.0.0.236/trunk@12884 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 13:55:28 +00:00
ftang%netscape.com
f80cc2f932 enable toolbar item to render UTF8 text. Change several XmString related function in RDFUtils.c to also return a font list associated with the XmString. approved by slamm
git-svn-id: svn://10.0.0.236/trunk@12883 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 13:45:54 +00:00
ftang%netscape.com
f91e42b5a2 change code to support HyperTree
git-svn-id: svn://10.0.0.236/trunk@12882 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 13:43:08 +00:00
dcone%netscape.com
5094c23fe3 fixed some clipping and updating stuff
git-svn-id: svn://10.0.0.236/trunk@12881 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 13:39:47 +00:00
blythe%netscape.com
f688a536e7 Fix bugs on win95 builds, aprvd briano law
git-svn-id: svn://10.0.0.236/trunk@12880 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 12:44:03 +00:00
blythe%netscape.com
b9f8af2788 Fix bugs on win95 builds, aprvd briano law
git-svn-id: svn://10.0.0.236/trunk@12879 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 12:38:26 +00:00
gagan%netscape.com
6b39c7aa84 Fix warnings on Mac.
git-svn-id: svn://10.0.0.236/trunk@12876 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 08:11:42 +00:00
buster%netscape.com
88c09f9734 progress on table incremental reflow of row group insert/append/delete
git-svn-id: svn://10.0.0.236/trunk@12875 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 07:46:16 +00:00
despotdaemon%netscape.com
7ea10d3109 Pseudo-automatic update of changes made by mwelch@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12874 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 06:45:42 +00:00
despotdaemon%netscape.com
0d2281ac04 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@12873 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 06:18:11 +00:00
nisheeth%netscape.com
c3e35c8ca1 Resizing from the middle of the document was resetting the scrollbar to the
top and then setting it back to the remember position.  Fixed the unnecessary
up and down jumping of the scrollbar.


git-svn-id: svn://10.0.0.236/trunk@12872 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 06:16:16 +00:00
nisheeth%netscape.com
a30cf37991 Fix for Bugzilla bug 492. We were inserting the floating element for the
left/right aligned tables into the line list at the beginning of the list
rather than the end.  This caused re-ordering of floating tables as well
as display problems.


git-svn-id: svn://10.0.0.236/trunk@12871 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 05:32:19 +00:00
troy%netscape.com
acbd1d72b5 Changed scroll view frame to have the scrolling view create a child widget.
This allows us to clip child views with widgets, e.g. form elements


git-svn-id: svn://10.0.0.236/trunk@12870 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 05:28:13 +00:00
troy%netscape.com
5d7a8e9edc Changed GetWindowOffsets() to specify the view to check rather than assuming
the root view. This fixes scrolling problems when scrolling views are used
as a sub-view


git-svn-id: svn://10.0.0.236/trunk@12869 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 05:27:00 +00:00
kipp%netscape.com
e0132151d4 Create style context for blank frame; added in some missing release calls
git-svn-id: svn://10.0.0.236/trunk@12868 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 05:13:21 +00:00
kipp%netscape.com
13f8faca02 Added new atom
git-svn-id: svn://10.0.0.236/trunk@12867 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 05:11:40 +00:00
kipp%netscape.com
67c1948979 Setup display:none for NOEMBED, NOSCRIPT and NOFRAMES
git-svn-id: svn://10.0.0.236/trunk@12866 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 05:11:23 +00:00
troy%netscape.com
35c48dd63c Changed it so that we have a dirty region per view with a widget rather
than having just one dirty region. Also changed it so that we stop painting
when we get to a view that has a widget


git-svn-id: svn://10.0.0.236/trunk@12865 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 04:55:21 +00:00
roeber%netscape.com
e597bf5b5e Import of Sleepycat DB 2.4.14.1
git-svn-id: svn://10.0.0.236/trunk@12863 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 03:56:37 +00:00
racham%netscape.com
88b00edc52 BUG329102 : Modified code to allow overwrite of existing connectoids without complaining about RNA entry
git-svn-id: svn://10.0.0.236/trunk@12862 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 03:45:42 +00:00
mccabe%netscape.com
211af529a6 Change "%c" date specifier for document.lastModified to "%#c" on
windows to get a 4-digit date in the string produced.

Were that it were just a Date object instead of a string.  Oh, woe.


git-svn-id: svn://10.0.0.236/trunk@12859 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 02:49:44 +00:00
kipp%netscape.com
5a6dc2c339 Change CreateAbsoluteView API so pass in a style context
git-svn-id: svn://10.0.0.236/trunk@12855 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 01:27:49 +00:00
kipp%netscape.com
e08c473f5d Set opacity in view
git-svn-id: svn://10.0.0.236/trunk@12854 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 01:27:25 +00:00
sman%netscape.com
7a78a0b28f work in progress
git-svn-id: svn://10.0.0.236/trunk@12853 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 01:26:44 +00:00
pierre%netscape.com
3161248e22 fix build: added nsHTMLButtonControlFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@12851 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 00:14:47 +00:00
rpotts%netscape.com
bfd2a80270 Added null tests after getting the plugin instance...
git-svn-id: svn://10.0.0.236/trunk@12850 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:57:12 +00:00
rpotts%netscape.com
b8f73d0d11 zero the pointer to the IL_ImageRequest being held by the ImageRequestImpl when the IL_ImageRequest is destroyed. The IL_imageRequest can be destroyed by either the ImageRequestImpl *or* the IL_ImageGroup...
git-svn-id: svn://10.0.0.236/trunk@12849 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:56:33 +00:00
kipp%netscape.com
6c0731c604 Temporary work around to setting hint better
git-svn-id: svn://10.0.0.236/trunk@12848 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:46:02 +00:00
terry%netscape.com
0a28a3229c Removed incorrect comment.
git-svn-id: svn://10.0.0.236/trunk@12847 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:23:30 +00:00
mjudge%netscape.com
ecb25efdfb this will fix it. i will get rid of unused files later.
git-svn-id: svn://10.0.0.236/trunk@12846 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:16:00 +00:00
terry%netscape.com
8e00bfe0eb Detect things we can't automatically back out, and say so.
git-svn-id: svn://10.0.0.236/trunk@12845 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:13:04 +00:00
valeski%netscape.com
d19a4861c3 changed type BOOL to PRBool to get rid of warnings
git-svn-id: svn://10.0.0.236/trunk@12844 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:10:41 +00:00
valeski%netscape.com
1c551f13a6 removed an unreferenced local variable
git-svn-id: svn://10.0.0.236/trunk@12843 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:09:30 +00:00
mjudge%netscape.com
bbdd8c06f6 another file
git-svn-id: svn://10.0.0.236/trunk@12842 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:07:38 +00:00
karnaze%netscape.com
712e26cd47 generalized PostCreateWidget; better combo box rendering
git-svn-id: svn://10.0.0.236/trunk@12841 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 23:01:44 +00:00
mjudge%netscape.com
73417c4932 need to export, fix for breakage
git-svn-id: svn://10.0.0.236/trunk@12840 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 22:59:38 +00:00
buster%netscape.com
a53203e2ef nsTableFrame can now incrementally insert, append, and delete colgroups
git-svn-id: svn://10.0.0.236/trunk@12839 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 22:51:50 +00:00
valeski%netscape.com
1a25100bd7 Raptor only change. Providing method definitions for IsURLInCache when NU_CACHE is defined.
git-svn-id: svn://10.0.0.236/trunk@12838 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 22:39:16 +00:00
spider%netscape.com
db6ed23d59 Fixes for linking on SunOS
git-svn-id: svn://10.0.0.236/trunk@12837 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 22:35:56 +00:00
spider%netscape.com
19d327904e Add EOL to get to compile on Solaris
git-svn-id: svn://10.0.0.236/trunk@12836 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 22:23:26 +00:00
spider%netscape.com
b4a73dfecd Adding EOL in files so will compile on Solaris
git-svn-id: svn://10.0.0.236/trunk@12835 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 22:12:06 +00:00
ddrinan%netscape.com
fe4d6b6028 Changes for the new dispatch table used by NSM
git-svn-id: svn://10.0.0.236/trunk@12833 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 21:45:18 +00:00
ddrinan%netscape.com
a71a1c0dd0 New dispatch table for NSM
git-svn-id: svn://10.0.0.236/trunk@12832 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 21:44:46 +00:00
ddrinan%netscape.com
5d6ae7c994 Changes for the new dispatch table used by NSM
git-svn-id: svn://10.0.0.236/trunk@12830 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 21:39:04 +00:00
troy%netscape.com
dc4b00830b Changed CreateViewForFrame() to mark the view as having transparent content
iff the background-color is transparent


git-svn-id: svn://10.0.0.236/trunk@12827 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 21:31:41 +00:00
mjudge%netscape.com
a019c0116a turning on the MOZ_ENDER_MIME by default
git-svn-id: svn://10.0.0.236/trunk@12825 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:48:16 +00:00
mjudge%netscape.com
bf4daa1995 turning on ender_mime
git-svn-id: svn://10.0.0.236/trunk@12824 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:47:31 +00:00
mjudge%netscape.com
91122bb62e turning on ENDER_MIME
git-svn-id: svn://10.0.0.236/trunk@12823 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:46:42 +00:00
jfrancis%netscape.com
f50ba15064 Ender Mime Carpool.
This is not your father's email client.


git-svn-id: svn://10.0.0.236/trunk@12822 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:38:35 +00:00
kin%netscape.com
b88ae5f133 Turn on MOZ_ENDER_MIME code.
git-svn-id: svn://10.0.0.236/trunk@12821 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:31:10 +00:00
kin%netscape.com
86fb3ce8f4 Turn on MOZ_ENDER_MIME code. Added JS event support.
git-svn-id: svn://10.0.0.236/trunk@12820 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:30:41 +00:00
kin%netscape.com
75200d01e2 Turn on MOZ_ENDER_MIME code. Added mailto to the REQUIRES list.
git-svn-id: svn://10.0.0.236/trunk@12819 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:29:40 +00:00
fur%netscape.com
5c124270ab Changed uses of cpp macro LINUX to linux. The former was defined by the old build system, but the latter is defined by the compiler. LINUX is not used in autoconf
git-svn-id: svn://10.0.0.236/trunk@12818 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:27:15 +00:00
mjudge%netscape.com
ee2c0a8fe3 ender carpool
git-svn-id: svn://10.0.0.236/trunk@12817 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:24:50 +00:00
despotdaemon%netscape.com
f1117c1fdd Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@12816 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:24:42 +00:00
kipp%netscape.com
a94cef9200 Pass in style context
git-svn-id: svn://10.0.0.236/trunk@12815 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:11:33 +00:00
kipp%netscape.com
d11f71c015 Revised frame sliding loop to use the pfd instead of the kid frames rect since now the kids rect is not valid until after vertical alignment
git-svn-id: svn://10.0.0.236/trunk@12814 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:11:12 +00:00
kipp%netscape.com
7587fab4a2 Create views when necessary
git-svn-id: svn://10.0.0.236/trunk@12813 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:10:36 +00:00
kipp%netscape.com
50f935b04c Create views when necessary; fixed code to avoid IsLeftMostChild when checking during flow floater placement (now that the childs rect is deferred until vertical alignment the code in IsLeftMostChild is no longer valid)
git-svn-id: svn://10.0.0.236/trunk@12812 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:10:08 +00:00
spider%netscape.com
4a6a6680d9 WIP for supporting background load of CAPI via MVC
git-svn-id: svn://10.0.0.236/trunk@12809 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 17:04:34 +00:00
buster%netscape.com
9d27424fc1 more tests added
git-svn-id: svn://10.0.0.236/trunk@12808 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 16:35:15 +00:00
buster%netscape.com
4a9bcccc01 lots of work for incremental reflow when the target frame is a table frame
git-svn-id: svn://10.0.0.236/trunk@12807 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 16:32:45 +00:00
buster%netscape.com
168ba9c0a1 fixed queryInterface to return *DOM interface
git-svn-id: svn://10.0.0.236/trunk@12806 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 16:30:24 +00:00
sman%netscape.com
cb12d7afa5 Objects needed for background data loading.
git-svn-id: svn://10.0.0.236/trunk@12805 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 15:32:39 +00:00
fur%netscape.com
3c23c30dbf In my haste to fix a busted Mac build, I checked in some copy-n-pasted C++ comments. Oops.
git-svn-id: svn://10.0.0.236/trunk@12804 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 15:25:07 +00:00
fur%netscape.com
30b4dee6b8 I had fixed the declaration of getttimeofday(), but not the use. Will somebody please tell me how Sun can change the type signature of such a commonly-used function ?
git-svn-id: svn://10.0.0.236/trunk@12803 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 13:47:12 +00:00
fur%netscape.com
234afb6498 Group jsutil.c nicely, with other JS files.
git-svn-id: svn://10.0.0.236/trunk@12802 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 13:16:06 +00:00
fur%netscape.com
5978cd996d Add jsutil.c file, required for debug builds.
git-svn-id: svn://10.0.0.236/trunk@12801 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 13:13:04 +00:00
fur%netscape.com
8e51f4d46e Added jsutil.c, necessary for debug builds.
git-svn-id: svn://10.0.0.236/trunk@12800 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 13:12:12 +00:00
fur%netscape.com
b9def1b64c Remove declaration of gettimeofday() which is required on some versions of Solaris, but which leads to duplicate declarations on others
git-svn-id: svn://10.0.0.236/trunk@12799 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 12:02:54 +00:00
fur%netscape.com
e655606d45 Checkpoint JS1.4 from JS_STABLE_10131998_BRANCH. Changes include:
+ merging of js/src and js/ref
 + elimination of most dependencies on NSPR
 + JS1.4 feature additions and accumulated bug fixes

More details are in last week's mozilla status report.


git-svn-id: svn://10.0.0.236/trunk@12797 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 10:22:38 +00:00
sdagley%netscape.com
92cbd90c62 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@12793 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 06:03:41 +00:00
ramiro%netscape.com
d16f011fb5 Revive.
git-svn-id: svn://10.0.0.236/trunk@12792 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 06:02:31 +00:00
sdagley%netscape.com
57c206bcd6 Stopped using macros to access fields of struct that were longer than the actual struct field names.
git-svn-id: svn://10.0.0.236/trunk@12791 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 06:01:36 +00:00
sdagley%netscape.com
24baa667bd Mac changes for NuCache (approved gagan and not part of Mozilla/Gromit builds yet)
git-svn-id: svn://10.0.0.236/trunk@12790 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 05:59:53 +00:00
morse%netscape.com
f7657488f1 undoing confusion in last two checkins
git-svn-id: svn://10.0.0.236/trunk@12789 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 05:58:43 +00:00
ramiro%netscape.com
c96b769834 Navigation buttons back in business.
git-svn-id: svn://10.0.0.236/trunk@12788 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 05:42:00 +00:00
ramiro%netscape.com
320dfed35e Add new toolbar items.
git-svn-id: svn://10.0.0.236/trunk@12787 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 05:41:14 +00:00
ramiro%netscape.com
2c5a2de20c Add toolbar navigation item.
git-svn-id: svn://10.0.0.236/trunk@12786 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 05:40:35 +00:00
ramiro%netscape.com
48a6674533 Add toolbar window list item.
git-svn-id: svn://10.0.0.236/trunk@12785 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 05:40:19 +00:00
ramiro%netscape.com
76c4c3637d Rename misnamed FrameList -> WindowList.
git-svn-id: svn://10.0.0.236/trunk@12784 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 05:39:43 +00:00
raman%netscape.com
d98f212496 Backing out my previous check-in. I was told my changes built ok on Mac, But I wasn't given complete information. Sorry for trouble.
git-svn-id: svn://10.0.0.236/trunk@12783 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 05:01:12 +00:00
sman%netscape.com
11693b6038 new stuff
git-svn-id: svn://10.0.0.236/trunk@12779 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 04:04:09 +00:00
mcafee%netscape.com
9f83b0ed2a C++ comments in a C file, hmm...
git-svn-id: svn://10.0.0.236/trunk@12778 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 03:42:34 +00:00
raman%netscape.com
f84f572b39 Make smartupdate compile on unix. This fix is not part of the build system
git-svn-id: svn://10.0.0.236/trunk@12777 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 02:54:20 +00:00
raman%netscape.com
0b2ad46a78 Support for nsICertPrincipal. We do the certificate verification of certificates passed by JavaSoft
git-svn-id: svn://10.0.0.236/trunk@12776 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 02:52:40 +00:00
jfrancis%netscape.com
a46c5c88c0 burn baby burn!!
git-svn-id: svn://10.0.0.236/trunk@12775 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 02:21:50 +00:00
cls%seawood.org
2448b8de54 Backed out previous change because the variables have different meanings under the nspr build.
git-svn-id: svn://10.0.0.236/trunk@12773 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:40:41 +00:00
warren%netscape.com
dea1bc690b Added
git-svn-id: svn://10.0.0.236/trunk@12770 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:35:59 +00:00
cls%seawood.org
789a359a50 Tweaked tweak_nspr kludge so that it does not do variable substitution when it rearranges OBJDIR in nsprpub/config/UNIX.mk
git-svn-id: svn://10.0.0.236/trunk@12769 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:32:22 +00:00
warren%netscape.com
7a2a400559 Adding for OJI (adapted from the raptor interface).
git-svn-id: svn://10.0.0.236/trunk@12765 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:08:31 +00:00
akkana%netscape.com
da0f5f3d98 Tweak FE_DisplayAddRowOrColBorder
git-svn-id: svn://10.0.0.236/trunk@12764 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:01:10 +00:00
akkana%netscape.com
b2342730a5 326690: when clicking in cell but outside cell contents, select nearest part of cell contents
git-svn-id: svn://10.0.0.236/trunk@12763 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:00:22 +00:00
radha%netscape.com
9c907875f7 Check if the framehandle is valid before accessing it
git-svn-id: svn://10.0.0.236/trunk@12762 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 00:25:20 +00:00
radha%netscape.com
15ccbf9305 Set Background Pixmap for control toolbar and title bar using HT. Use the
RDFImage interface to obtain the image instead of static pixmaps


git-svn-id: svn://10.0.0.236/trunk@12761 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 00:24:51 +00:00
radha%netscape.com
83f0974449 While creating, RDFChromeView, Pass the frame handle as toplevel component
instead of the NavCenterView


git-svn-id: svn://10.0.0.236/trunk@12760 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 00:22:57 +00:00
slamm%netscape.com
b11a146230 Slight tweak to get context menu items to show. Next they will need to do something.
git-svn-id: svn://10.0.0.236/trunk@12759 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 00:09:27 +00:00
troy%netscape.com
60f2552649 Changed nsScrollViewFrame to wrap child frame in a BODY if necessary
git-svn-id: svn://10.0.0.236/trunk@12758 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 00:03:27 +00:00
slamm%netscape.com
1392966e57 Move XFE_RDFPopupMenu in PopupMenu.(cpp|h)
so the toolbars can use it too.
Handle url dispatching once in RDFUtils.


git-svn-id: svn://10.0.0.236/trunk@12757 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:47:17 +00:00
slamm%netscape.com
fc0eba060b Handle url dispatching once in RDFUtils.
git-svn-id: svn://10.0.0.236/trunk@12756 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:47:13 +00:00
slamm%netscape.com
2bf7384cfb First pass at popup menus.
git-svn-id: svn://10.0.0.236/trunk@12755 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:47:03 +00:00
slamm%netscape.com
e3ed4915d7 Move XFE_RDFPopupMenu in PopupMenu.(cpp|h)
so the toolbars can use it too.


git-svn-id: svn://10.0.0.236/trunk@12754 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:46:51 +00:00
troy%netscape.com
c60578c1b0 Changed nsScrollingViewFrame's Reflow() member function to check for a
transparent background


git-svn-id: svn://10.0.0.236/trunk@12753 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:42:21 +00:00
alecf%netscape.com
0eda784b7f autogenerate preference-name headers for unix
autoconf makefile on the way.


git-svn-id: svn://10.0.0.236/trunk@12752 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:38:27 +00:00
cmanske%netscape.com
bc68714899 Fixed Composer cursor bug when dragging over source object (323307). Added status feedback for resizing images
git-svn-id: svn://10.0.0.236/trunk@12751 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:27:28 +00:00
cmanske%netscape.com
44a8d24a32 Added feedback strings when mouse is over sizeable object edge in Composer
git-svn-id: svn://10.0.0.236/trunk@12750 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:27:27 +00:00
wtc%netscape.com
f647ce5eee Removed obsolete build variables FORCE_SW_THREADS and
USE_KERNEL_THREADS.  Use the -mt option for CC if
USE_PTHREADS and NS_USE_NATIVE are defined.  If we
are not using pthreads, add -DSW_THREADS to the compiler
command line.


git-svn-id: svn://10.0.0.236/trunk@12748 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:03:47 +00:00
leaf%mozilla.org
f1b645fc25 fixing tarball creation targets (removing \\readme and changing tarball name)
git-svn-id: svn://10.0.0.236/trunk@12747 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:42:02 +00:00
akkana%netscape.com
b2d91b9ad4 251710: center is the wrong attribute, should be middle
git-svn-id: svn://10.0.0.236/trunk@12746 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:34:52 +00:00
kipp%netscape.com
b2cb413058 Initialize some of the host-ent data in case windoze doesn't; this fixes a purify warning
git-svn-id: svn://10.0.0.236/trunk@12745 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:32:26 +00:00
terry%netscape.com
97473fe3df Removed some files that aren't used by anything.
git-svn-id: svn://10.0.0.236/trunk@12744 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:27:11 +00:00
terry%netscape.com
7618086a4f Removed some old commented-out tcl stuff.
git-svn-id: svn://10.0.0.236/trunk@12743 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:24:56 +00:00
radha%netscape.com
97468bbadf When built with MOZ_SELECTOR_BAR set, Create the selector bar only for docked
modes. Alt-B and Alt-H wouldn't
show the selector bar though the tree is built with MOZ_SELECTOR_BAR set.


git-svn-id: svn://10.0.0.236/trunk@12742 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:24:00 +00:00
radha%netscape.com
9a2c14992b Create compositor for images. Fix for the bugzilla bug 1017
git-svn-id: svn://10.0.0.236/trunk@12741 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:22:06 +00:00
kipp%netscape.com
a59941bb28 Init minWidth,minHeight to keep purify happy
git-svn-id: svn://10.0.0.236/trunk@12740 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:08:34 +00:00
kipp%netscape.com
33806af9b8 Removed unused maxWidth,maxHeight variables
git-svn-id: svn://10.0.0.236/trunk@12739 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 22:08:15 +00:00
rpotts%netscape.com
3e2cda5d0a Changes to make the vector<Property> type compile...
git-svn-id: svn://10.0.0.236/trunk@12738 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:53:38 +00:00
beard%netscape.com
fa96bee2d3 Added GetSecureJNI
git-svn-id: svn://10.0.0.236/trunk@12737 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:39:15 +00:00
morse%netscape.com
08121ac830 fix up reference to privacy_policy.html string
git-svn-id: svn://10.0.0.236/trunk@12736 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:31:34 +00:00
karnaze%netscape.com
fd96ba4fea fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress.
git-svn-id: svn://10.0.0.236/trunk@12735 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:31:26 +00:00
michaelp%netscape.com
75b9d4a08c fixed troys' bug with scrolling frames. was actually not related to that, just
tickled a bug in the new compositor code.


git-svn-id: svn://10.0.0.236/trunk@12734 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:27:11 +00:00
beard%netscape.com
029abfce97 Removed ; after }
git-svn-id: svn://10.0.0.236/trunk@12733 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:15:47 +00:00
valeski%netscape.com
ce0012353f call me with questions
git-svn-id: svn://10.0.0.236/trunk@12732 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:15:04 +00:00
beard%netscape.com
dd74c5aed1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@12731 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:14:53 +00:00
cmanske%netscape.com
d2150d71f0 Fixed sizing, caret garbage, and prefs bugs for Composer. Initial implementation of 'freeze frame' concept.
git-svn-id: svn://10.0.0.236/trunk@12730 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:01:06 +00:00
cmanske%netscape.com
d6ad711ae6 Fixed object sizing bugs and crash in PRE text in Composer
git-svn-id: svn://10.0.0.236/trunk@12729 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:59:49 +00:00
slamm%netscape.com
67a39a1228 Set the instance pointer to 'this' for the updateCommand.
Call HT_Launch before we open a url.  HT may want to handle it for us.


git-svn-id: svn://10.0.0.236/trunk@12728 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:47:03 +00:00
slamm%netscape.com
7d4c6bb773 Notify HT of column width changes.
Set the colors on the cell colors background
since the tree does not take otherwise take the colors.
ramiro volunteered to fix the widget, but this gets up
part of the way there for now.


git-svn-id: svn://10.0.0.236/trunk@12727 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:46:45 +00:00
slamm%netscape.com
2f4c510318 Rehook up the updateCommand functions.
This sets back/forward/reload/stop sensitivity again.


git-svn-id: svn://10.0.0.236/trunk@12726 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:46:41 +00:00
slamm%netscape.com
3c3581178a Take out openPage URLBar hack since we have one now.
Call HT_Launch before we open a url.  HT may want to handle it for us.


git-svn-id: svn://10.0.0.236/trunk@12725 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:46:37 +00:00
waterson%netscape.com
548b9d6c4c Bug 328922. Added calls to PM_StartBinding() and PM_StopBinding() in NET_SetNewContext(). This ensures that a URL that gets moved is properly tracked by the progress managers.
git-svn-id: svn://10.0.0.236/trunk@12724 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:46:13 +00:00
kipp%netscape.com
6332064074 Disabled the code
git-svn-id: svn://10.0.0.236/trunk@12723 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:43:05 +00:00
kipp%netscape.com
c4f659ca8c Removed nsCSSLayout from the build
git-svn-id: svn://10.0.0.236/trunk@12722 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:42:49 +00:00
kipp%netscape.com
8c5475f152 New and improved vertical alignment code
git-svn-id: svn://10.0.0.236/trunk@12721 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:42:08 +00:00
blizzard%appliedtheory.com
62e6e57ecd Integrate patches from Michael O'Reilly <michael@metal.iinet.net.au>
and Frank Visser <fvisser@hgmp.mrc.ac.uk>.  This works on pixmap display
and font preferences and selection.


git-svn-id: svn://10.0.0.236/trunk@12720 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:38:20 +00:00
kin%netscape.com
2c0cdb4289 Commented out call to AddImagesToSafeList() in PastHTML to prevent possible
security hole.


git-svn-id: svn://10.0.0.236/trunk@12719 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:35:26 +00:00
cmanske%netscape.com
14a3005a7c Fixed crashing when setting doc title to NULL. R/A by brendon
git-svn-id: svn://10.0.0.236/trunk@12718 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:32:21 +00:00
waterson%netscape.com
339c214ae5 Fixed some cruft I missed for the progress bar landing in autoconf.
git-svn-id: svn://10.0.0.236/trunk@12717 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:25:32 +00:00
cls%seawood.org
ee3c8f24c2 Changed -mieee-with-inexact to -mieee for Linux Alpha
git-svn-id: svn://10.0.0.236/trunk@12715 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:02:45 +00:00
peterl%netscape.com
9f7cc4d959 set border style
git-svn-id: svn://10.0.0.236/trunk@12713 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:17:57 +00:00
peterl%netscape.com
b0bdb0dfe9 expanded font size table
git-svn-id: svn://10.0.0.236/trunk@12712 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:17:25 +00:00
peterl%netscape.com
3762f96a42 cleanup
git-svn-id: svn://10.0.0.236/trunk@12711 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:14:19 +00:00
peterl%netscape.com
475ac7e1df shifted CSS absolute font sizes
git-svn-id: svn://10.0.0.236/trunk@12710 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:13:59 +00:00
peterl%netscape.com
fbb54196c3 corrected order of properties
git-svn-id: svn://10.0.0.236/trunk@12709 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:13:14 +00:00
peterl%netscape.com
2c0825655a shifted absolute font sizes so initial value matches HTML
removed table border style


git-svn-id: svn://10.0.0.236/trunk@12708 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:12:19 +00:00
peterl%netscape.com
12b4734f6d made type optional on linked style sheets
git-svn-id: svn://10.0.0.236/trunk@12707 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:11:42 +00:00
peterl%netscape.com
5822084a51 set correct border style
git-svn-id: svn://10.0.0.236/trunk@12706 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:10:25 +00:00
peterl%netscape.com
4379b22868 added recycler for rules array
git-svn-id: svn://10.0.0.236/trunk@12705 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:09:39 +00:00
peterl%netscape.com
f26f34527e guess at x-height since text metrics is unreliable on windows
git-svn-id: svn://10.0.0.236/trunk@12704 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:08:43 +00:00
terry%netscape.com
4ef443b405 Fixed bug 1083 -- was some stupid problems with creating a new account.
git-svn-id: svn://10.0.0.236/trunk@12703 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 18:15:37 +00:00
jsun%netscape.com
e432b92ff1 Move Nova bug fix 328185 to Zulu.
git-svn-id: svn://10.0.0.236/trunk@12701 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 17:32:43 +00:00
dcone%netscape.com
8d3cdccd9b added support to offset child window to correct location.
git-svn-id: svn://10.0.0.236/trunk@12700 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 16:33:39 +00:00
ramiro%netscape.com
bf11c69c53 Move "More..." button hackery to XFE_MenuUtils.
git-svn-id: svn://10.0.0.236/trunk@12699 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 14:47:43 +00:00
ramiro%netscape.com
16ac2997a7 Move configure functions to XFE_RDFUtils.
git-svn-id: svn://10.0.0.236/trunk@12698 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 14:23:57 +00:00
kin%netscape.com
cb61debdb9 Fix build bustage on Unix when MOZ_ENDER_MIME is defined by checking for
MOZ_MAIL_COMPOSE.


git-svn-id: svn://10.0.0.236/trunk@12697 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 14:14:24 +00:00
ramiro%netscape.com
eb2a18d4ae Move getStyleAndLayout() functions to XFE_RDFUtils.
git-svn-id: svn://10.0.0.236/trunk@12696 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 14:06:26 +00:00
ramiro%netscape.com
282a985095 Move getPixmapsForEntry() to XFE_RDFUtils.
git-svn-id: svn://10.0.0.236/trunk@12695 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 13:52:43 +00:00
ramiro%netscape.com
943a65a6f0 Add menu utils. The menu hackery code cut-and-paste is really out of hand.
git-svn-id: svn://10.0.0.236/trunk@12694 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 13:50:45 +00:00
ramiro%netscape.com
b440092bca Add ToolbarCascade.cpp.
git-svn-id: svn://10.0.0.236/trunk@12693 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 11:32:34 +00:00
ramiro%netscape.com
cf926dbbdb Make the tooltip interface more useful. Do all the magic in the super class.
Add callback interface.  Update XFE_ToolbarCascade.


git-svn-id: svn://10.0.0.236/trunk@12692 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 11:32:17 +00:00
ramiro%netscape.com
00bb442e13 Add gNavCenter declaration.
git-svn-id: svn://10.0.0.236/trunk@12691 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 11:29:24 +00:00
rpotts%netscape.com
29365a7bda Commented out the template vector code for now since it is busting the build :-(
git-svn-id: svn://10.0.0.236/trunk@12690 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 11:19:15 +00:00
rpotts%netscape.com
2d5cf48d3a Move the /GX flag into a LCFLAGS define, since the core config.mak overwrites OS_CLFAGS...
git-svn-id: svn://10.0.0.236/trunk@12689 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 11:18:01 +00:00
nisheeth%netscape.com
187de8be31 Windows now refresh properly when you resize them on the WinFe. Fixes Bugzilla
bug 1079 and bugsplat bug 313562.


git-svn-id: svn://10.0.0.236/trunk@12688 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 10:44:54 +00:00
nisheeth%netscape.com
fe449b9657 Fixed bug 328921. Resizing no longer jumps to the top of the document. The
position that you are at when you resize is remembered.


git-svn-id: svn://10.0.0.236/trunk@12687 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 10:01:53 +00:00
mcafee%netscape.com
29a0696e9c Adding libns_mime.a for SMART_MAIL + MOZ_SECURITY case
git-svn-id: svn://10.0.0.236/trunk@12685 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 09:45:20 +00:00
nisheeth%netscape.com
fc27316259 Fix Mac build bustage by doing an explicit cast to an LO_Element *.
git-svn-id: svn://10.0.0.236/trunk@12684 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 08:05:10 +00:00
ramiro%netscape.com
2ff677c5ee Make the sensitive interface more useful.
git-svn-id: svn://10.0.0.236/trunk@12683 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 07:32:03 +00:00
ramiro%netscape.com
81bfcd2a88 Add *.flc - xemacs font lock cache files.
git-svn-id: svn://10.0.0.236/trunk@12682 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 07:25:53 +00:00
ramiro%netscape.com
342dd37103 Improve the toolbar item configure and initialize interfaces
git-svn-id: svn://10.0.0.236/trunk@12681 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 07:22:09 +00:00
ramiro%netscape.com
455d111643 Use XFE_ToolbarItem instead of widget hacks
git-svn-id: svn://10.0.0.236/trunk@12680 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 07:22:01 +00:00
ramiro%netscape.com
92d99aa71b Add ToolbarSeparator.cpp
git-svn-id: svn://10.0.0.236/trunk@12679 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 07:21:55 +00:00
ramiro%netscape.com
7e6479a2d5 Add toolbar separator.
git-svn-id: svn://10.0.0.236/trunk@12678 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 07:17:38 +00:00
racham%netscape.com
64dd0d0c4d Removing RegServ.IAS for 4.5 release
git-svn-id: svn://10.0.0.236/trunk@12677 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 06:52:31 +00:00
racham%netscape.com
57aa62b576 Modified for 4.5 release
git-svn-id: svn://10.0.0.236/trunk@12676 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 06:47:52 +00:00
waterson%netscape.com
1346b87b70 Landed progress bar changes from PROGRESS_19981006_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@12675 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 06:47:43 +00:00
racham%netscape.com
e255a1fd19 Modified prompt message
git-svn-id: svn://10.0.0.236/trunk@12674 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 06:40:30 +00:00
racham%netscape.com
31bc917f97 Added 2step server option to global options
git-svn-id: svn://10.0.0.236/trunk@12673 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 06:38:18 +00:00
racham%netscape.com
311426a6dd Added supporting code to new global options UI
git-svn-id: svn://10.0.0.236/trunk@12672 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 06:36:25 +00:00
cyeh%netscape.com
f5ee6c472f something is wrong. for whatever reason there was a -DNO_SECURITY
that was always enabled, whether security was enabled or not. this caused
a confusion on the compile line, there -DMOZ_SECURITY and -DNO_SECURITY would
be simultaneously defined.
as a temporary hack, duplicate the logic on mozilla/config/config.mk
so that ifdef NO_SECURITY -DNO_SECURITY, else -DMOZ_SECURITY.

what a mess. this needs to be fixed right.


git-svn-id: svn://10.0.0.236/trunk@12671 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 06:08:31 +00:00
gagan%netscape.com
d2c44f767c NuCache defines for mozilla.mak.
git-svn-id: svn://10.0.0.236/trunk@12670 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 05:44:34 +00:00
nisheeth%netscape.com
1fda8731c7 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@12669 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 05:32:09 +00:00
waterson%netscape.com
c23f5ac38e Removed #ifdef SMOOTH_PROGRESS to get Mac compiling.
git-svn-id: svn://10.0.0.236/trunk@12668 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 05:06:02 +00:00
sman%netscape.com
1a80c8258c cleaned up the interfaces a bit.
git-svn-id: svn://10.0.0.236/trunk@12667 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 04:53:35 +00:00
troy%netscape.com
0dca929694 More work in progress for scroll frame
git-svn-id: svn://10.0.0.236/trunk@12666 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 04:48:58 +00:00
nisheeth%netscape.com
b9be4b3dd0 Changes to make Layer/Ilayer reflow work. This should fix sites like
altavista and slashdot.org.


git-svn-id: svn://10.0.0.236/trunk@12665 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 04:48:49 +00:00
ramiro%netscape.com
bd875567cd Fix fos bugzilla bug 1074. Assert and crash in tooltip stage two handler.
git-svn-id: svn://10.0.0.236/trunk@12664 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 04:26:38 +00:00
troy%netscape.com
5b42f0064d Added reference to NS_NewScrollFrame()
git-svn-id: svn://10.0.0.236/trunk@12663 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 03:32:49 +00:00
waterson%netscape.com
3b60cb0ec6 Touch down progress bar changes from PROGRESS_19981006_BRANCH. a=saari.
git-svn-id: svn://10.0.0.236/trunk@12661 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 02:53:01 +00:00
mcafee%netscape.com
0f35d8b2bc putting -DNO_X11 in the right place
git-svn-id: svn://10.0.0.236/trunk@12660 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 02:49:30 +00:00
waterson%netscape.com
c7e7cf6692 Updated Makefile.in for progress bar changes.
git-svn-id: svn://10.0.0.236/trunk@12659 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 02:43:56 +00:00
terry%netscape.com
2007494741 Added -f flag to cvsmailfilter.pl.
git-svn-id: svn://10.0.0.236/trunk@12658 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 02:30:29 +00:00
spider%netscape.com
09cbe71a86 fix bustage
git-svn-id: svn://10.0.0.236/trunk@12657 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 02:16:43 +00:00
gagan%netscape.com
0da65bb90f Temp fix for NuCache build on unix.
git-svn-id: svn://10.0.0.236/trunk@12656 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 02:11:49 +00:00
robinf%netscape.com
05ea421cc7 updating these files with final text/UI changes to ASE Global Options screen
git-svn-id: svn://10.0.0.236/trunk@12655 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 02:08:24 +00:00
waterson%netscape.com
cfd164684f Added code to parse ampersand escape sequences in *all* properties.
git-svn-id: svn://10.0.0.236/trunk@12654 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 02:06:56 +00:00
spider%netscape.com
352f3ffb50 Linux fix
git-svn-id: svn://10.0.0.236/trunk@12653 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 02:02:01 +00:00
spider%netscape.com
bfdcc1dcc8 Linux fixes
git-svn-id: svn://10.0.0.236/trunk@12651 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 01:45:50 +00:00
peterl%netscape.com
454a9e032a Added GetMargin/Padding/... to replace CalcMargin/Padding/...
Corrected border width initial value


git-svn-id: svn://10.0.0.236/trunk@12649 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 01:05:52 +00:00
gagan%netscape.com
efe1df531c Temporary fix for NuCache build on unix.
git-svn-id: svn://10.0.0.236/trunk@12645 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 00:58:05 +00:00
gagan%netscape.com
d50230b4a3 Renamed cachelib.lib to cache.lib for NuCache.
git-svn-id: svn://10.0.0.236/trunk@12643 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 00:46:23 +00:00
gagan%netscape.com
5a89b7676b Makefile changes for NuCache.
git-svn-id: svn://10.0.0.236/trunk@12642 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 00:38:28 +00:00
gagan%netscape.com
5e51556fa4 Makefile changes for NU_Cache.
git-svn-id: svn://10.0.0.236/trunk@12641 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 00:33:27 +00:00
terry%netscape.com
b00d237b2e Stupid formatting changes.
git-svn-id: svn://10.0.0.236/trunk@12640 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 00:24:21 +00:00
terry%netscape.com
9b798c58b4 Use new cvsfiltermail hack for webtools.
git-svn-id: svn://10.0.0.236/trunk@12639 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 00:17:49 +00:00
cyeh%netscape.com
003d8e7e66 another trivial change to check the check-in mailer
git-svn-id: svn://10.0.0.236/trunk@12637 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 23:55:16 +00:00
cyeh%netscape.com
890aa52090 trivial (yet useless) change to add Chuck Boatwright as owner of ldap modules.
This is to test the notifcation script for touches to the modules file.


git-svn-id: svn://10.0.0.236/trunk@12635 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 23:44:33 +00:00
terry%netscape.com
2d4f140614 Installed new version of mail notification thingy -- cvsmailfilter.pl.
git-svn-id: svn://10.0.0.236/trunk@12634 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 23:40:25 +00:00
gagan%netscape.com
a27ce79837 Renamed cachelib to cache for NuCache.
git-svn-id: svn://10.0.0.236/trunk@12632 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 23:25:24 +00:00
gagan%netscape.com
b0c2910017 All NuCache changes. Updated unix makefiles for correct export files. Changed XP_Bool to PRBool in mkcache. Renamed cachelib to just cache.
git-svn-id: svn://10.0.0.236/trunk@12631 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 23:16:44 +00:00
slamm%netscape.com
128bf4e0e9 Add MOZ_SECURITY to DEFINES if !NO_SECURITY. cyeh will clean this up later and replace !NO_SECURITY with the more straightforward MOZ_SECURITY.
git-svn-id: svn://10.0.0.236/trunk@12630 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 23:12:45 +00:00
spider%netscape.com
9259fe97e2 Fixes for building on SunOS
git-svn-id: svn://10.0.0.236/trunk@12629 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 23:05:16 +00:00
slamm%netscape.com
7615b5ea60 Hook up getHtResource(). (Native sun compiler requires that it return a value).
git-svn-id: svn://10.0.0.236/trunk@12628 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:44:54 +00:00
locka%iol.ie
1924467f93 Added some pattern matching facilities
git-svn-id: svn://10.0.0.236/trunk@12627 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:42:22 +00:00
locka%iol.ie
7be85096a1 Added exception handling flag to compile options
git-svn-id: svn://10.0.0.236/trunk@12625 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:37:02 +00:00
locka%iol.ie
a423a51195 Added some more initial implementations of more IWebBrowserApp methods
git-svn-id: svn://10.0.0.236/trunk@12624 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:35:18 +00:00
locka%iol.ie
ad28c21c1f New look and feel
git-svn-id: svn://10.0.0.236/trunk@12620 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:32:05 +00:00
slamm%netscape.com
83752c0f9f Use i18n calls for treeview strings.
git-svn-id: svn://10.0.0.236/trunk@12619 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:24:13 +00:00
spider%netscape.com
f3d1e1ef76 Fix bug where when pulling by MOZ_DATE, we should be pulling the XPCOM_BRANCH
of libpref (just like windows)


git-svn-id: svn://10.0.0.236/trunk@12618 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:22:04 +00:00
spider%netscape.com
4115576894 Adding CommandState Observer interface
git-svn-id: svn://10.0.0.236/trunk@12617 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:20:59 +00:00
cmanske%netscape.com
757a4afe34 Fixed crashing and other problems with Replace All in Composer
git-svn-id: svn://10.0.0.236/trunk@12616 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:13:42 +00:00
troy%netscape.com
9c33f4f9c2 Work in progress on scroll frame code
git-svn-id: svn://10.0.0.236/trunk@12615 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:13:23 +00:00
spider%netscape.com
3cd94f6cbd Fix Linux bustage
git-svn-id: svn://10.0.0.236/trunk@12613 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 21:59:05 +00:00
kin%netscape.com
93570f0e55 Fixes for build Unix bustage when MOZ_ENDER_MIME is defined. Added checks
for MOZ_MAIL_COMPOSE.


git-svn-id: svn://10.0.0.236/trunk@12612 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 21:50:42 +00:00
spider%netscape.com
62d14b55d8 Have the Model support the Observable interfaces
git-svn-id: svn://10.0.0.236/trunk@12611 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 21:29:16 +00:00
cyeh%netscape.com
3aebc76c7e Flip security logic from #ifndef NO_SECURITY to #ifdef MOZ_SECURITY
git-svn-id: svn://10.0.0.236/trunk@12609 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 21:27:12 +00:00
michaelp%netscape.com
8ac619f636 added comment.
git-svn-id: svn://10.0.0.236/trunk@12608 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 21:12:06 +00:00
cyeh%netscape.com
294bc0f649 remove old NSPR20 conditional macros
git-svn-id: svn://10.0.0.236/trunk@12607 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 21:08:57 +00:00
spider%netscape.com
57b27feb1d Fix linux bustage
git-svn-id: svn://10.0.0.236/trunk@12605 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 20:44:48 +00:00
spider%netscape.com
e4011231b1 Fix for crash when loading New Layer
git-svn-id: svn://10.0.0.236/trunk@12604 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 20:25:17 +00:00
cyeh%netscape.com
5b84b1bad0 NSPR20 will always be defined, so simplify makefile
git-svn-id: svn://10.0.0.236/trunk@12603 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 20:17:45 +00:00
sman%netscape.com
a24888cb6b allow 3 weeks worth of days in the multiday view
git-svn-id: svn://10.0.0.236/trunk@12602 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 20:17:18 +00:00
spider%netscape.com
d27980931b Move ObserverManager to XPCOM ServiceManager. Fix Netlib bug
where data not complete


git-svn-id: svn://10.0.0.236/trunk@12601 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 20:16:50 +00:00
spider%netscape.com
df8ee4f952 Fix unresolved externals
git-svn-id: svn://10.0.0.236/trunk@12600 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 19:55:23 +00:00
sman%netscape.com
63e4e055bd Fixes to loading, caching, and UI.
git-svn-id: svn://10.0.0.236/trunk@12599 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 19:50:04 +00:00
spider%netscape.com
c0b17138e9 Fix IRIX build bustage
git-svn-id: svn://10.0.0.236/trunk@12598 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 19:36:15 +00:00
morse%netscape.com
3c6086a706 changes for privacy policy
git-svn-id: svn://10.0.0.236/trunk@12597 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 19:34:01 +00:00
cyeh%netscape.com
4f69710047 remove NSPR20 !ifdef
git-svn-id: svn://10.0.0.236/trunk@12596 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 19:24:31 +00:00
cyeh%netscape.com
faa834a3ee change JSClient to pull all of mozilla/js/jsd by default to eliminate
errors when checking out over existing trees.


git-svn-id: svn://10.0.0.236/trunk@12595 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 19:08:55 +00:00
kipp%netscape.com
ae9687b74c Removed an unused include
git-svn-id: svn://10.0.0.236/trunk@12594 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:45:25 +00:00
cyeh%netscape.com
131f763acd more NSPR20 removal. well never go back to NSPR1 again.
git-svn-id: svn://10.0.0.236/trunk@12593 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:45:02 +00:00
kipp%netscape.com
b951ea47e4 Return break-before when none of the text gets used
git-svn-id: svn://10.0.0.236/trunk@12592 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:44:58 +00:00
kipp%netscape.com
b42085b40d Removed maxAscent/maxDescent; made them computed values
git-svn-id: svn://10.0.0.236/trunk@12591 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:44:18 +00:00
kipp%netscape.com
b8c6ff499b use new vertical-align-frames api
git-svn-id: svn://10.0.0.236/trunk@12590 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:43:41 +00:00
kipp%netscape.com
4e68055c90 Update frame count when frames are pushed to a new line so that alignment behaves properly
git-svn-id: svn://10.0.0.236/trunk@12589 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:43:07 +00:00
rods%netscape.com
b21a0a3dc2 NS_IMPL_ISUPPORTS was used incorrectly
git-svn-id: svn://10.0.0.236/trunk@12587 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:22:07 +00:00
kin%netscape.com
0bcbcd1274 Fixed buf in PasteHTML that was adding the wrong images to the safe list.
git-svn-id: svn://10.0.0.236/trunk@12586 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:17:38 +00:00
jsun%netscape.com
e93ac54f9b Removed "Content-Disposition" line from outgoing IMIP
git-svn-id: svn://10.0.0.236/trunk@12585 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:14:32 +00:00
michaelp%netscape.com
b8fac6a0d6 changes per-kipp to make views transparent.
git-svn-id: svn://10.0.0.236/trunk@12584 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:07:28 +00:00
dcone%netscape.com
3f930cae77 update to include a file needed for nsBrowserWindow
git-svn-id: svn://10.0.0.236/trunk@12583 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:01:16 +00:00
spider%netscape.com
c595feae21 Fix for double update
git-svn-id: svn://10.0.0.236/trunk@12581 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 17:38:57 +00:00
kipp%netscape.com
7f9873ef37 Fixed a bug with identifying inline-replaced elements
git-svn-id: svn://10.0.0.236/trunk@12579 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 17:09:57 +00:00
kipp%netscape.com
df3aef5b18 Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state
git-svn-id: svn://10.0.0.236/trunk@12578 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 17:00:32 +00:00
dcone%netscape.com
b4cf5d55e6 took off the class name infront of the routine. Mac does not like this
git-svn-id: svn://10.0.0.236/trunk@12576 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 15:57:41 +00:00
kipp%netscape.com
3af8f78a16 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling
git-svn-id: svn://10.0.0.236/trunk@12575 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 14:48:02 +00:00
ramiro%netscape.com
8e2e7cc31d Move setItemLabelString() to XFE_RDFUtils.
git-svn-id: svn://10.0.0.236/trunk@12574 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 14:36:51 +00:00
ramiro%netscape.com
8e448ca0aa Move getStringFromResource() to XFE_RDFUtils.
git-svn-id: svn://10.0.0.236/trunk@12573 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 14:28:42 +00:00
ramiro%netscape.com
b2789762d5 Move XmString utilities to XFE_RDFUtils.
git-svn-id: svn://10.0.0.236/trunk@12572 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 14:19:37 +00:00
ramiro%netscape.com
e116d0734f Move a bunch of ht_ utilities to RDFUtils.
git-svn-id: svn://10.0.0.236/trunk@12571 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 14:09:43 +00:00
dcone%netscape.com
a5b68a51d4 added the gfx:public:manifest exection
git-svn-id: svn://10.0.0.236/trunk@12570 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 13:51:13 +00:00
dcone%netscape.com
ec4e745fd7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@12569 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 13:50:27 +00:00
ramiro%netscape.com
d3f5a11ce2 Added RDFUtils.cpp.
git-svn-id: svn://10.0.0.236/trunk@12568 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 13:50:01 +00:00
ramiro%netscape.com
62d99fd16c Move utility functions to their own class.
git-svn-id: svn://10.0.0.236/trunk@12567 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 13:48:15 +00:00
ftang%netscape.com
561fb77158 Change IsUTF8String more restrict. Do not allow surrogate char encode as UTF8
git-svn-id: svn://10.0.0.236/trunk@12566 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 13:21:31 +00:00
ftang%netscape.com
4846ccbd06 fix 327917
git-svn-id: svn://10.0.0.236/trunk@12565 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 12:22:41 +00:00
ftang%netscape.com
08f8c7b913 fix 327919
git-svn-id: svn://10.0.0.236/trunk@12564 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 12:17:05 +00:00
ftang%netscape.com
1413e61bb7 change the drawing routine to INTL one
git-svn-id: svn://10.0.0.236/trunk@12563 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 12:10:59 +00:00
ftang%netscape.com
3d1105a304 break one line into two line so ftang could easily verify UTF8 text drawing before implement
better Unicode drawing function


git-svn-id: svn://10.0.0.236/trunk@12562 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 12:08:58 +00:00
ftang%netscape.com
e81453f9cc fix crop problem for multibyte charset in WFE DrawTextEx
git-svn-id: svn://10.0.0.236/trunk@12561 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 12:06:53 +00:00
ftang%netscape.com
78c4ef3027 implement better DrawTextW
git-svn-id: svn://10.0.0.236/trunk@12560 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 12:01:51 +00:00
ramiro%netscape.com
a6d8a01dbe Fix IRIX dumbass-ness.
git-svn-id: svn://10.0.0.236/trunk@12559 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 11:35:41 +00:00
ramiro%netscape.com
09445da482 Kepp track of the ht resource that created the item. Make the urlbar
useable.


git-svn-id: svn://10.0.0.236/trunk@12558 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 10:19:42 +00:00
ramiro%netscape.com
2c4799cb6a Add getURL(). This is needed for the new configurable rdf toolbars which
dont know anything about BrowserFrame.  They know about Frame and they
need to cann getURL().  So im putting it here and making it a virtual noop
by default.


git-svn-id: svn://10.0.0.236/trunk@12557 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 10:18:56 +00:00
ramiro%netscape.com
a27d9ef42b Add XfeComboBoxSetTextString().
git-svn-id: svn://10.0.0.236/trunk@12556 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 10:09:30 +00:00
cls%seawood.org
d4cf794f56 Changed /bin/true to : to fix problems with true being in /usr/bin/true.
Added -mieee-with-inexact to CFLAGS for Linux Alpha to fix FPU problems.  Thanks to Steve Willis <steve@redhat.com> for this fix.


git-svn-id: svn://10.0.0.236/trunk@12555 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 08:31:19 +00:00
fur%netscape.com
3a7487e541 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@12552 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 08:05:36 +00:00
jonas.utterstrom%vittran.norrnod.se
85ddbf48a3 Added Mail stub functions to avoid linking errors.
git-svn-id: svn://10.0.0.236/trunk@12550 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 07:18:21 +00:00
ramiro%netscape.com
b82a67ec4d Here are some changes to the XFE Tab code. The existing code has a
bug: in case the bounds are crossed to start, it goes on a big loop
which takes a long time.  Probably this should not happen normally,
but it can't hurt to guard against it.
Thanks to Joe Keane <jgk@jgk.org> for providing the fix.


git-svn-id: svn://10.0.0.236/trunk@12549 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 06:36:18 +00:00
ramiro%netscape.com
01d32f802c Patch to make RDF menus a lot faster. They are a lot faster now!
Thanks to skinny <skinny@knowhere.net> for providing the patch.


git-svn-id: svn://10.0.0.236/trunk@12548 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 06:26:30 +00:00
jfrancis%netscape.com
ec4e8ae657 fixing some printing probs with forms and adding javascript support for html textarea form elements (ENDER)
git-svn-id: svn://10.0.0.236/trunk@12547 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 04:59:04 +00:00
jfrancis%netscape.com
97a581c802 fixing some printing bugs for HTML forms
git-svn-id: svn://10.0.0.236/trunk@12546 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 04:57:12 +00:00
racham%netscape.com
7f5458a00a Saved global information about paths in the parent varaibles
git-svn-id: svn://10.0.0.236/trunk@12544 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 23:52:17 +00:00
racham%netscape.com
4e2f5b2591 Increased the options box width appropriately
git-svn-id: svn://10.0.0.236/trunk@12543 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 23:51:01 +00:00
racham%netscape.com
7119ca03d7 Adjusted parentheses in the options box
git-svn-id: svn://10.0.0.236/trunk@12542 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 23:48:18 +00:00
racham%netscape.com
f2e54cb30b Fixed file save bug
git-svn-id: svn://10.0.0.236/trunk@12541 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 23:45:26 +00:00
waterson%netscape.com
fa809ac509 Progress bar changes, langed from PROGRESS_19981006_BRANCH. a=ramiro
git-svn-id: svn://10.0.0.236/trunk@12540 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 20:30:20 +00:00
buster%netscape.com
86cad4cf3a WIP for inner table incremental reflow
lots of interface cleanup


git-svn-id: svn://10.0.0.236/trunk@12539 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 09:18:27 +00:00
briano%netscape.com
c9b0ed62d3 Corrected some minor errors. Now builds on Linux 1.2.13. Whee....
git-svn-id: svn://10.0.0.236/trunk@12538 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 08:41:04 +00:00
toshok%netscape.com
de6720ce96 include config.mk - fixes DOM problem (export lm_dom, etc.)
git-svn-id: svn://10.0.0.236/trunk@12537 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 01:10:11 +00:00
michaelp%netscape.com
a532925345 two pass compositing now works.
git-svn-id: svn://10.0.0.236/trunk@12536 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 01:00:59 +00:00
michaelp%netscape.com
6ba44ce798 fixed for new passing of pres context into API.
git-svn-id: svn://10.0.0.236/trunk@12535 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 00:58:53 +00:00
toshok%netscape.com
ae59ee1212 include config.mk before we check for DOM.
git-svn-id: svn://10.0.0.236/trunk@12534 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 00:57:43 +00:00
michaelp%netscape.com
4701d5873e fixed leak of regions in state cloning.
git-svn-id: svn://10.0.0.236/trunk@12533 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 00:40:10 +00:00
troy%netscape.com
75b7e14a4c Added back public
git-svn-id: svn://10.0.0.236/trunk@12532 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 00:35:55 +00:00
troy%netscape.com
5305b9b5e4 Removed public from list of source directories, because there isn't one,
and this was causing clobber to fail


git-svn-id: svn://10.0.0.236/trunk@12531 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 00:05:39 +00:00
sspitzer%netscape.com
22f8a0f5e7 tweak the icon so that the colors fit the mozilla palette
this will get rid of the warnings that look like this:
Bad color:   40  20   0   try   34  34  34  Desk_Navigator


git-svn-id: svn://10.0.0.236/trunk@12530 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 21:54:12 +00:00
briano%netscape.com
ecdbc35698 Added support for Rhapsody.
git-svn-id: svn://10.0.0.236/trunk@12529 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 20:57:11 +00:00
blythe%netscape.com
52af6edc27 Fix bug 82823, hard coded string
git-svn-id: svn://10.0.0.236/trunk@12528 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 15:33:38 +00:00
blythe%netscape.com
d392ac652b VC6 specific change to not produce trivial warning while building, thanks to david.gardiner@unisa.edu.au
git-svn-id: svn://10.0.0.236/trunk@12527 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 15:29:20 +00:00
kipp%netscape.com
57863c9016 Fixed some sign extension bugs
git-svn-id: svn://10.0.0.236/trunk@12526 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 15:28:53 +00:00
kipp%netscape.com
0d0b3ed9a6 Added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@12525 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 15:27:50 +00:00
rpotts%netscape.com
f54f8fe1ab Removed code to turn off the throbber from OnStopBinding(..). This should make the throbber work better :-)
git-svn-id: svn://10.0.0.236/trunk@12524 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 10:09:53 +00:00
rpotts%netscape.com
02ffa135a9 Fixed reference counting bug in GetMenuBarparent
git-svn-id: svn://10.0.0.236/trunk@12523 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 10:07:21 +00:00
law%netscape.com
6266cfc1da Fix for bug #87136 (must be the oldest bug ever fixed!); hack window invalidating for print preview
git-svn-id: svn://10.0.0.236/trunk@12522 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 07:32:34 +00:00
rpotts%netscape.com
41c1538be4 Moved composer defines inside of ifndef MODULAR_NETLIB blocks to get NGlayout building again...
git-svn-id: svn://10.0.0.236/trunk@12521 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 07:21:24 +00:00
morse%netscape.com
1293325ba5 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@12520 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 06:23:23 +00:00
rpotts%netscape.com
174c4ac0a9 Only fire the OnConnectionsComplete(...) notification once per document...
git-svn-id: svn://10.0.0.236/trunk@12519 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 05:54:58 +00:00
cls%seawood.org
c9b214227f Removed obsolete js/ref/Makefile from AC_OUTPUT. Thanks to Greg Noel <greg@qualcomm.com> for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@12518 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 05:12:03 +00:00
kipp%netscape.com
31714aef51 build in public directory too
git-svn-id: svn://10.0.0.236/trunk@12517 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 05:01:52 +00:00
rpotts%netscape.com
d38a282ad3 Removed assert that was not threadsafe...
git-svn-id: svn://10.0.0.236/trunk@12516 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 05:00:17 +00:00
rpotts%netscape.com
3c6600b488 Create an initial LoadAttributes instance.
git-svn-id: svn://10.0.0.236/trunk@12515 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:57:18 +00:00
kipp%netscape.com
98a0d64f08 Fixed unix build (hopefully)
git-svn-id: svn://10.0.0.236/trunk@12514 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:38:19 +00:00
rpotts%netscape.com
74d3829c90 renamed nsReload to nsURLReload since the enum has changed names...
git-svn-id: svn://10.0.0.236/trunk@12513 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:36:59 +00:00
kipp%netscape.com
a56b77c410 new
git-svn-id: svn://10.0.0.236/trunk@12512 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:36:27 +00:00
rpotts%netscape.com
eb1d96246c Added support for loading images as background URLs...
git-svn-id: svn://10.0.0.236/trunk@12511 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:35:59 +00:00
rpotts%netscape.com
8c9c348e14 Renamed nsReload to nsURLReload sincethe enum has changed...
git-svn-id: svn://10.0.0.236/trunk@12510 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:35:24 +00:00
kipp%netscape.com
02b5b864b2 Implement look-ahead logic for word breaking
git-svn-id: svn://10.0.0.236/trunk@12509 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:35:21 +00:00
kipp%netscape.com
af040c285a Added methods to support word breaking
git-svn-id: svn://10.0.0.236/trunk@12508 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:35:01 +00:00
rpotts%netscape.com
d016600b86 renamed some enums which moved into mozilla/network/module/nsILoadAttribs.h
git-svn-id: svn://10.0.0.236/trunk@12507 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:34:35 +00:00
kipp%netscape.com
2845653597 Added mInNBU flag (used to cache line layout's value so that it doesn't change out from under inline reflow)
git-svn-id: svn://10.0.0.236/trunk@12506 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:34:29 +00:00
kipp%netscape.com
70d3cb2ec6 check for line layout's InNonBreakingUnit flag and save it and apply to available space checks and CanPlaceFrame to avoid breaking in the middle of a non breakable unit
git-svn-id: svn://10.0.0.236/trunk@12505 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:33:56 +00:00
rpotts%netscape.com
1186f79958 Added support for the loading of background URLs...
git-svn-id: svn://10.0.0.236/trunk@12504 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:33:29 +00:00
kipp%netscape.com
f28564b030 Pass through text-runs to the line layout engine; removed a debug printf
git-svn-id: svn://10.0.0.236/trunk@12503 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:33:06 +00:00
rpotts%netscape.com
433fa79a05 Added a load type and reload type to the nsILoadAttribs interface and underlying implementation...
git-svn-id: svn://10.0.0.236/trunk@12502 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:32:18 +00:00
kipp%netscape.com
f5a16ffd4c Added nsJSRenderingContext to the build
git-svn-id: svn://10.0.0.236/trunk@12501 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 03:23:52 +00:00
kipp%netscape.com
b7747b61e3 new
git-svn-id: svn://10.0.0.236/trunk@12500 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 03:23:12 +00:00
ramiro%netscape.com
c177e3bf62 Add pref stuff to makefiles.
git-svn-id: svn://10.0.0.236/trunk@12495 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 03:09:15 +00:00
morse%netscape.com
95128e92b0 check privacy.html for privacy policy
git-svn-id: svn://10.0.0.236/trunk@12494 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 03:02:46 +00:00
morse%netscape.com
409055ee48 recognize -1 value for privacy_policy_url
git-svn-id: svn://10.0.0.236/trunk@12493 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 02:53:50 +00:00
sspitzer%netscape.com
a8edb6848a replace the old icon (the ship wheel) with a new and improved icon
git-svn-id: svn://10.0.0.236/trunk@12492 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 02:44:19 +00:00
ramiro%netscape.com
cb25518b9a Pref stuff.
git-svn-id: svn://10.0.0.236/trunk@12491 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 02:41:04 +00:00
despotdaemon%netscape.com
cb423e2566 Pseudo-automatic update of changes made by sspitzer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12489 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 02:23:16 +00:00
saari%netscape.com
c1da67728a Mac Only
Make Mozilla stop complaining about the lack of an Essential Files folder.
This is a temporary fix until the build system can agan generate the folder


git-svn-id: svn://10.0.0.236/trunk@12487 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 01:16:36 +00:00
akkana%netscape.com
98c60e7686 315829: disable most menu items if a plugin is running
git-svn-id: svn://10.0.0.236/trunk@12486 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 00:53:56 +00:00
akkana%netscape.com
b1eba9a94c Remove a debug print
git-svn-id: svn://10.0.0.236/trunk@12484 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 00:53:16 +00:00
akkana%netscape.com
acc952abd1 77901: get url comparison right even if extra slashes
git-svn-id: svn://10.0.0.236/trunk@12481 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 00:51:27 +00:00
kipp%netscape.com
538875f285 Handle completion status better
git-svn-id: svn://10.0.0.236/trunk@12480 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 23:56:29 +00:00
kipp%netscape.com
055d1a3d2f Removed skid marks; implement FindTextRuns again
git-svn-id: svn://10.0.0.236/trunk@12479 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 23:46:02 +00:00
kin%netscape.com
9d02ddd3e3 Added void * cast to fix win32 bustage when MOZ_ENDER_MIME defined.
git-svn-id: svn://10.0.0.236/trunk@12478 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 23:39:55 +00:00
gagan%netscape.com
99a80cc2c2 NuCache deletion fixes.
git-svn-id: svn://10.0.0.236/trunk@12477 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 23:37:59 +00:00
gagan%netscape.com
893ba89462 NuCache deletion working ok now.
git-svn-id: svn://10.0.0.236/trunk@12476 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 23:36:48 +00:00
kin%netscape.com
c96f9b6d3d Removed bogus include to fix build bustage on win32 when MOZ_ENDER_MIME defined.
git-svn-id: svn://10.0.0.236/trunk@12475 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 23:24:17 +00:00
kipp%netscape.com
985c0a2d54 Work around another unitialized-memory-read bug where sometimes (not sure why!) aEventStatus would not get set ever
git-svn-id: svn://10.0.0.236/trunk@12474 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:59:41 +00:00
kipp%netscape.com
5b20b0d8ef Mork work on floaters; support for clear style property
git-svn-id: svn://10.0.0.236/trunk@12473 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:58:25 +00:00
kipp%netscape.com
5936b33e09 Lame support for nsIDOMRenderingContext API
git-svn-id: svn://10.0.0.236/trunk@12472 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:57:36 +00:00
kipp%netscape.com
22025666c8 Added GetRc method
git-svn-id: svn://10.0.0.236/trunk@12471 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:56:58 +00:00
kmcclusk%netscape.com
aae96d7dab Fix for Linux build.
git-svn-id: svn://10.0.0.236/trunk@12470 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:53:19 +00:00
despotdaemon%netscape.com
ec22a125a0 Pseudo-automatic update of changes made by waqar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12469 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:44:16 +00:00
despotdaemon%netscape.com
daef014f1b Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12468 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:39:19 +00:00
kin%netscape.com
95df7f3db2 Removed C++ comments to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@12467 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:39:14 +00:00
kin%netscape.com
c302fdb3ed CVS update for previous checkin added EDT_CopyStyle() back in the file. Removing
it again.


git-svn-id: svn://10.0.0.236/trunk@12466 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:24:00 +00:00
kin%netscape.com
bdcabf7e0c Fix for bug #327946: ENDER: Items inserted via toolbar always to into 1st
ENDER on page.


git-svn-id: svn://10.0.0.236/trunk@12465 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:15:37 +00:00
kin%netscape.com
5d469b730b First pass implementation of safe list for ENDER multi-part mime output.
All safe list related changes are ifdef'd MOZ_ENDER_MIME.

Files modified this round:

  cmd/xfe/forms.c
  include/edt.h
  lib/layout/Makefile.in
  lib/layout/Makefile
  lib/layout/editor.cpp
  lib/layout/layfree.c
  lib/layout/layform.c
  lib/layout/edtbuf.cpp
  lib/layout/editor.h
  lib/layout/edtlist.h
  lib/layout/edtlist.cpp


git-svn-id: svn://10.0.0.236/trunk@12464 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:14:45 +00:00
rods%netscape.com
348d2a5427 Added xpfe to the nglayout build.
git-svn-id: svn://10.0.0.236/trunk@12463 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:13:38 +00:00
kin%netscape.com
7cbdf1f095 Initial checkin of edtlist.{h,cpp} files.
First pass implementation of safe list for ENDER multi-part mime output.
All safe list related changes are ifdef'd MOZ_ENDER_MIME.

Files modified this round:

  cmd/xfe/forms.c
  include/edt.h
  lib/layout/Makefile.in
  lib/layout/Makefile
  lib/layout/editor.cpp
  lib/layout/layfree.c
  lib/layout/layform.c
  lib/layout/edtbuf.cpp
  lib/layout/editor.h
  lib/layout/edtlist.h
  lib/layout/edtlist.cpp


git-svn-id: svn://10.0.0.236/trunk@12462 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:11:19 +00:00
rods%netscape.com
dd7e285f0a The Cross-platform widgets have been moved to widget/src, the makefile.win
was changed to include the platform specific directory


git-svn-id: svn://10.0.0.236/trunk@12461 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:08:28 +00:00
kin%netscape.com
7cf702542b First pass implementation of safe list for ENDER multi-part mime output.
All safe list related changes are ifdef'd MOZ_ENDER_MIME.

Files modified this round:

  cmd/xfe/forms.c
  include/edt.h
  lib/layout/Makefile.in
  lib/layout/Makefile
  lib/layout/editor.cpp
  lib/layout/layfree.c
  lib/layout/layform.c
  lib/layout/edtbuf.cpp
  lib/layout/editor.h
  lib/layout/edtlist.h
  lib/layout/edtlist.cpp


git-svn-id: svn://10.0.0.236/trunk@12460 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:08:19 +00:00
cmanske%netscape.com
4fee03ae06 Fixed lack of scrolling when selecting table and dragging, fixed scrolling bugs. Cleaned up font size message handlers and bugs
git-svn-id: svn://10.0.0.236/trunk@12459 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:06:36 +00:00
cmanske%netscape.com
363e1eda65 Moved some defines and removed unused function
git-svn-id: svn://10.0.0.236/trunk@12458 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:01:55 +00:00
cmanske%netscape.com
df78d821d3 Removed unused function
git-svn-id: svn://10.0.0.236/trunk@12457 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:01:35 +00:00
rods%netscape.com
bfa36304cf Fixed the menu compile error
git-svn-id: svn://10.0.0.236/trunk@12456 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 22:00:50 +00:00
law%netscape.com
4a3668af8a about:javascript
git-svn-id: svn://10.0.0.236/trunk@12455 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:58:09 +00:00
buster%netscape.com
766b603f84 made allocation of mColumnWidths more flexible
git-svn-id: svn://10.0.0.236/trunk@12454 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:53:07 +00:00
dcone%netscape.com
b0bf28b88a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@12453 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:46:39 +00:00
dcone%netscape.com
8a2b6ef6ab fixed some bugs
git-svn-id: svn://10.0.0.236/trunk@12452 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:46:30 +00:00
dcone%netscape.com
5da7e8508a added look and feel
git-svn-id: svn://10.0.0.236/trunk@12451 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:46:17 +00:00
dcone%netscape.com
da76a6c0c5 fixed gettext to return correct string, and use a null character at the end.
git-svn-id: svn://10.0.0.236/trunk@12450 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:46:01 +00:00
dcone%netscape.com
76af850276 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@12449 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:45:15 +00:00
dcone%netscape.com
3a64eaf734 fixed the mouseup event for the url processing
git-svn-id: svn://10.0.0.236/trunk@12448 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:44:00 +00:00
dcone%netscape.com
d6052a78b0 added to widget project, first version
git-svn-id: svn://10.0.0.236/trunk@12447 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:43:42 +00:00
dcone%netscape.com
2cf2f2781d added new menu source files, lookandfeel widget
git-svn-id: svn://10.0.0.236/trunk@12446 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:42:44 +00:00
cyeh%netscape.com
23fc533a11 removing old #ifdef NSPR stuff.
git-svn-id: svn://10.0.0.236/trunk@12445 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:38:30 +00:00
pnunn%netscape.com
8bb41097c9 fix for image width < 7 in mmx. ok'd by TL. bugzilla# 1025.
git-svn-id: svn://10.0.0.236/trunk@12444 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:36:53 +00:00
despotdaemon%netscape.com
3b969ae764 Pseudo-automatic update of changes made by nelsonb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12443 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 21:12:17 +00:00
troy%netscape.com
9e45c7f577 Moved nsStyleConsts.h from src->public, and reinstated IsBlockLevel()
member function


git-svn-id: svn://10.0.0.236/trunk@12442 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 20:54:22 +00:00
buster%netscape.com
c6417cadce support nsTableOuterFrame incremental reflow
git-svn-id: svn://10.0.0.236/trunk@12441 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 19:59:45 +00:00
buster%netscape.com
2602d0ba10 backed out troy's changes to fix the build
git-svn-id: svn://10.0.0.236/trunk@12440 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 19:55:02 +00:00
scullin%netscape.com
144346e743 Fixed forward button.
git-svn-id: svn://10.0.0.236/trunk@12439 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 19:06:19 +00:00
despotdaemon%netscape.com
fab44e06aa Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@12438 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 18:25:57 +00:00
spider%netscape.com
5e6e5a94e7 Fix bustage
git-svn-id: svn://10.0.0.236/trunk@12437 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 18:03:16 +00:00
spider%netscape.com
8947da8733 fix bustage
git-svn-id: svn://10.0.0.236/trunk@12436 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 18:00:01 +00:00
spider%netscape.com
f3e73ca9bd Fix bustage
git-svn-id: svn://10.0.0.236/trunk@12433 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 17:54:35 +00:00
troy%netscape.com
284c54a31f Added IsBlockLevel() inline member function
git-svn-id: svn://10.0.0.236/trunk@12432 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 17:53:36 +00:00
peterl%netscape.com
9c46fb1533 zero out border when style == none
fixed padding cache bug


git-svn-id: svn://10.0.0.236/trunk@12431 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 17:28:24 +00:00
rods%netscape.com
613b7ca9c8 Added nsISupports back in as the super class of nsViewerApp and
NS_INIT_REFCNT in the constructor


git-svn-id: svn://10.0.0.236/trunk@12430 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 17:25:36 +00:00
dcone%netscape.com
761517abf6 Addref on the nsViewerApp, so we dont destroy in the webcrawler on quit.
This is consistent with the window implementation, fixes crash on quit.


git-svn-id: svn://10.0.0.236/trunk@12429 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 17:13:21 +00:00
rods%netscape.com
8fcb880394 Fixed an error I introduced in DispatchEvent
git-svn-id: svn://10.0.0.236/trunk@12428 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 15:39:24 +00:00
rods%netscape.com
20bed4ce21 Added Invalidate method for a rect in a window.
git-svn-id: svn://10.0.0.236/trunk@12426 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 15:20:47 +00:00
rods%netscape.com
b14a5fe545 Added an Invalidate method for a rect in a window
git-svn-id: svn://10.0.0.236/trunk@12425 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 15:18:54 +00:00
dcone%netscape.com
8317b5ebf6 updated the invalidate method
git-svn-id: svn://10.0.0.236/trunk@12424 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 15:18:26 +00:00
morse%netscape.com
a934c7e47b added a missing initialization
git-svn-id: svn://10.0.0.236/trunk@12423 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 14:56:58 +00:00
ramiro%netscape.com
3fe780e607 The superclass already stores the parent toolbox - take it out.
git-svn-id: svn://10.0.0.236/trunk@12422 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 09:11:26 +00:00
ramiro%netscape.com
eb28a8ce7b Fix the 'view menu crashes' bug that mcafee just reported.
git-svn-id: svn://10.0.0.236/trunk@12420 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 07:52:51 +00:00
ramiro%netscape.com
128b450308 Rename the old toolbar to XFE_ObsoleteToolbar.
git-svn-id: svn://10.0.0.236/trunk@12419 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 07:45:04 +00:00
mcafee%netscape.com
2e1454d094 Turning SMART_MAIL on by default
git-svn-id: svn://10.0.0.236/trunk@12418 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 07:35:46 +00:00
racham%netscape.com
834b847c0c Setting temporary flag to FALSE to make successfully created accounts permanent
git-svn-id: svn://10.0.0.236/trunk@12417 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 06:44:08 +00:00
ramiro%netscape.com
4a52d75bc6 Add getAncestorFrame() and getAncestorContext().
git-svn-id: svn://10.0.0.236/trunk@12416 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 06:15:22 +00:00
rpotts%netscape.com
fd159ded8f Removed the Stop() call to the throbber from OnStopBinding... This should keep the throbber going throughout the entire document load...
git-svn-id: svn://10.0.0.236/trunk@12415 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 05:53:41 +00:00
rpotts%netscape.com
df9ec020e8 renamed docloader LoadURL to LoadDocument...
git-svn-id: svn://10.0.0.236/trunk@12414 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 05:50:29 +00:00
rpotts%netscape.com
9dcfa94a21 Wired up notifications of URLs loaded via OpenStream out to the StreamObserver...
git-svn-id: svn://10.0.0.236/trunk@12413 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 05:49:34 +00:00
rpotts%netscape.com
9d8cc89730 Renamed LoadURL to LoadDocument...
git-svn-id: svn://10.0.0.236/trunk@12412 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 05:47:40 +00:00
ramiro%netscape.com
f7981d9440 Fix IRIX dumbass-ness.
git-svn-id: svn://10.0.0.236/trunk@12411 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 05:24:57 +00:00
robinf%netscape.com
eb2cbabd5a Fixing bug # 321155
git-svn-id: svn://10.0.0.236/trunk@12410 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 05:04:12 +00:00
waterson%netscape.com
69cecdbaa9 Touch down progress bar changes from PROGRESS_19981006_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@12409 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 04:34:47 +00:00
ramiro%netscape.com
311fafd918 Add support for accent borders to all managers. Add more combobox string
methods.


git-svn-id: svn://10.0.0.236/trunk@12408 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 04:33:32 +00:00
waterson%netscape.com
941183eb4c Touch down progress bar changes from PROGRESS_19981006_BRANCH. a=briano.
git-svn-id: svn://10.0.0.236/trunk@12407 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 04:33:07 +00:00
ramiro%netscape.com
0109aa76a9 Use portable __alpha instead of Mozilla specific _ALPHA_.
git-svn-id: svn://10.0.0.236/trunk@12406 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 04:30:15 +00:00
ramiro%netscape.com
b3fa00ca58 Add textActivate().
git-svn-id: svn://10.0.0.236/trunk@12405 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 04:24:56 +00:00
morse%netscape.com
3585aabb2b moved NET_GetTrustList from mkaccess.h to mkgeturl.h
git-svn-id: svn://10.0.0.236/trunk@12404 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 03:05:49 +00:00
mjudge%netscape.com
a71f603e16 changing toolbar around for ender. removing paragraph style. forced a change to how we measure text
git-svn-id: svn://10.0.0.236/trunk@12403 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:59:59 +00:00
mjudge%netscape.com
db07330732 shouldcall parent added for ENDER. other fix is for international. should not interact if ime is on!
git-svn-id: svn://10.0.0.236/trunk@12402 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:59:08 +00:00
mjudge%netscape.com
deb55dfde8 removed underline
git-svn-id: svn://10.0.0.236/trunk@12401 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:57:37 +00:00
mjudge%netscape.com
d145ae30ec only need strip_continuous
git-svn-id: svn://10.0.0.236/trunk@12400 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:56:30 +00:00
mjudge%netscape.com
4fe7797685 changing MOZ_MAIL_COMPOSE to MOZ_ENDER_MIME
git-svn-id: svn://10.0.0.236/trunk@12399 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:50:41 +00:00
mjudge%netscape.com
0ed519b947 adding ifdefs that should be harmless
git-svn-id: svn://10.0.0.236/trunk@12398 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:49:52 +00:00
mjudge%netscape.com
18aa5b9c5e this will fix a crahing bug and also fix an editor bug
git-svn-id: svn://10.0.0.236/trunk@12397 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:49:20 +00:00
mjudge%netscape.com
522e3088ae Mailto MOZ_ENDER_MIME will not be turned on yet
git-svn-id: svn://10.0.0.236/trunk@12396 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:48:53 +00:00
spider%netscape.com
48fe086e11 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@12395 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:31:53 +00:00
rjc%netscape.com
70a65f8fef Get toolbar collapsed/hidden state on createion, and save toolbar collapsed/hidden state on destruction. (Note: no event notification.)
git-svn-id: svn://10.0.0.236/trunk@12394 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 02:05:16 +00:00
ramiro%netscape.com
aaef1a76f2 Cleanup the old toolbar, urlbar and personal toolbar insanity.
git-svn-id: svn://10.0.0.236/trunk@12392 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:37:24 +00:00
ramiro%netscape.com
f5d2de2c00 Remove multiple inheritance bullshit.
git-svn-id: svn://10.0.0.236/trunk@12391 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:36:04 +00:00
ramiro%netscape.com
16ae67a435 Fix the toolbox item count off-by-one error.
Thanks to Joe Keane <jgk@jgk.org> for debugging this problem and providing
a fix.


git-svn-id: svn://10.0.0.236/trunk@12390 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:34:27 +00:00
rjc%netscape.com
7249976e60 Expose new toolbar APIs needed by FEs.
git-svn-id: svn://10.0.0.236/trunk@12389 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:32:10 +00:00
rjc%netscape.com
9654b38277 Fix DB opening code so that, if O_CREATE is set, so is O_TRUNC.
git-svn-id: svn://10.0.0.236/trunk@12388 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:31:31 +00:00
rjc%netscape.com
10fa5f97ae Fix HTML bookmark parsing code to look for actual tokens instead of just guessing.
git-svn-id: svn://10.0.0.236/trunk@12387 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:31:01 +00:00
jsun%netscape.com
bce7488ee7 Moving Nova bug fixes to Zulu.
327870 (quoted-printable)
328185 (content-dispostion and DTSTART in REPLY)


git-svn-id: svn://10.0.0.236/trunk@12382 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:12:26 +00:00
waterson%netscape.com
73856153bd Touch down progress bar changes from PROGRESS_19981006_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@12381 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:10:05 +00:00
waterson%netscape.com
3be0d61806 Touch down progress bar changes from PROGRESS_19981006_BRANCH. a=law.
git-svn-id: svn://10.0.0.236/trunk@12380 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:09:18 +00:00
slamm%netscape.com
735013e764 Reapply fix to formatItem (from 1.9). Accidentally got stomped.
git-svn-id: svn://10.0.0.236/trunk@12379 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:08:13 +00:00
shaver%netscape.com
fa23aaac85 Move DOM_StyleDatabaseFromContext and DOMMOZ_NewStyleDatabase into libmocha,
where we're already pulling in the entire client.
Updated TODO (still out of date?).


git-svn-id: svn://10.0.0.236/trunk@12378 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:50:27 +00:00
shaver%netscape.com
00df1faf1e Initialize variables and generally behave better.
All-singing, all-dancing HTML tag handling for better coping in the face
of malformed (slashdot.org) HTML and simplified logic.
LOCAL_ASSERTs are fatal for me, just annoying for everyone else.
Use ACTIVE_NODE instead of CURRENT_NODE where appropriate.
Moved DOMMOZ_NewStyleDatabase and DOM_StyleDatabaseFromContext here to
enhance libdom's purity of essence.


git-svn-id: svn://10.0.0.236/trunk@12377 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:48:51 +00:00
jsun%netscape.com
0f38838fc7 Moving Nova bug fix changes to Zulu.
git-svn-id: svn://10.0.0.236/trunk@12376 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:46:48 +00:00
shaver%netscape.com
4e51ebe3d3 Use ACTIVE_NODE now rather than CURRENT_NODE, and include lm_dom.h everywhere
to make that possible.
Move LM_ReflectNode call to laytags.c back-end from layout.c front-end (thank
you, Uncle Brendan).
Correct FIND_LAST_ELEMENT to handle newly-ended doc_states.


git-svn-id: svn://10.0.0.236/trunk@12375 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:46:05 +00:00
mcafee%netscape.com
0db6261ead Adding libpop3url.a for the SMART_MAIL=1 case. Thanks to skinny@knowhere.net for this fix.
git-svn-id: svn://10.0.0.236/trunk@12374 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:40:28 +00:00
mcafee%netscape.com
2586b71106 Add defines for SMART_MAIL. Thanks to skinny@knowhere.net for this fix
git-svn-id: svn://10.0.0.236/trunk@12373 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:38:50 +00:00
mcafee%netscape.com
c0dada7b24 Don't stub out NET_GetPopUsername() for the SMART_MAIL case. a=akkana.
git-svn-id: svn://10.0.0.236/trunk@12372 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:37:09 +00:00
jsun%netscape.com
45d9d51eea Moving Nova bug fix changes to Zulu.
git-svn-id: svn://10.0.0.236/trunk@12371 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:34:34 +00:00
mcafee%netscape.com
61449ac96f Add pop3 for SMART_MAIL=1 case. a=akkana
git-svn-id: svn://10.0.0.236/trunk@12370 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:32:56 +00:00
mcafee%netscape.com
915b078651 Wrapped POP stubs with !SMART_MAIL, network/protocol/pop3 picks these up when SMART_MAIL=1
git-svn-id: svn://10.0.0.236/trunk@12369 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:32:15 +00:00
slamm%netscape.com
07563be6c6 Fix bug in last checkin that ramiro found.
git-svn-id: svn://10.0.0.236/trunk@12368 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 00:08:21 +00:00
spider%netscape.com
a2ebe87eb7 Some fixes for startup
git-svn-id: svn://10.0.0.236/trunk@12361 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 23:34:41 +00:00
spider%netscape.com
3d29e46f9a Fix for IRIX not running
git-svn-id: svn://10.0.0.236/trunk@12360 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 23:32:20 +00:00
pierre%netscape.com
dc0c05aefd fixed link errors: added DragLib and NSPR20
git-svn-id: svn://10.0.0.236/trunk@12359 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 23:29:39 +00:00
cyeh%netscape.com
7156a1e413 ooops. backout previous change to remove NSRP defines. It's defined
everywhere on UNIX, Mac, and Win32 backend, but not the WinFE.
Try again later.


git-svn-id: svn://10.0.0.236/trunk@12358 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 23:29:28 +00:00
slamm%netscape.com
458688af89 Add three-state column sorting. Fix inplace editing (wasn't checking HT for editable state). Change name of *StandAloneState to *StandAlone. Add convenience function for setting/getting column data.
git-svn-id: svn://10.0.0.236/trunk@12357 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:14:05 +00:00
slamm%netscape.com
9f8d4f57aa Change name of setStandAloneState() to setStandAlone().
git-svn-id: svn://10.0.0.236/trunk@12356 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:13:41 +00:00
slamm%netscape.com
e150cd5e3a Adde test for the column sort indicator.
git-svn-id: svn://10.0.0.236/trunk@12355 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:13:33 +00:00
slamm%netscape.com
0e98047126 Change list of default CSRCS so that is works when XFE_WIDGETS_BUILD_UNUSED is not set.
git-svn-id: svn://10.0.0.236/trunk@12354 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:13:26 +00:00
slamm%netscape.com
2aba141d10 Change centered label to XmALIGNMENT_BEGINNING when too big to fit in space.
git-svn-id: svn://10.0.0.236/trunk@12353 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:13:23 +00:00
slamm%netscape.com
9fa76d6d7c Add column sort indicator.
git-svn-id: svn://10.0.0.236/trunk@12352 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:13:10 +00:00
slamm%netscape.com
7eb7367d16 Add column sort indicator. Change show/hide column buttons to take their own column space (previously they shared it with the last column.
git-svn-id: svn://10.0.0.236/trunk@12351 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:13:06 +00:00
locka%iol.ie
7b00ec064f Added some trace statements
git-svn-id: svn://10.0.0.236/trunk@12350 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:06:59 +00:00
locka%iol.ie
690dc7016d Added IWebBrowserApp and IWebBrowser2 methods (still unimplemented
git-svn-id: svn://10.0.0.236/trunk@12349 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:05:44 +00:00
ltabb%netscape.com
e47e03526f added doesn't match regular expression where regular expressions are handled.
git-svn-id: svn://10.0.0.236/trunk@12348 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 22:01:36 +00:00
locka%iol.ie
dda01456e4 Fixed NG_TRACE macro
git-svn-id: svn://10.0.0.236/trunk@12346 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:56:38 +00:00
pinkerton%netscape.com
021446b4b5 new constructor for creating attachments from code, not from Constructor.
git-svn-id: svn://10.0.0.236/trunk@12345 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:56:26 +00:00
slamm%netscape.com
dd5dc2a2a7 Add missing ')'.
git-svn-id: svn://10.0.0.236/trunk@12344 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:53:22 +00:00
waterson%netscape.com
5cb5b5865f Touch down progress bar changes from PROGRESS_19981006_BRANCH. a=valeski.
git-svn-id: svn://10.0.0.236/trunk@12343 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:49:38 +00:00
mlm%netscape.com
a56fb40bbd Fix for running with JS disabled; would core dump before.
git-svn-id: svn://10.0.0.236/trunk@12342 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:45:24 +00:00
wtc%netscape.com
ed92e6c79c Added USE_PTHREADS for the pthreads build. Deleted obsolete
macro define -D_PR_NTHREAD.


git-svn-id: svn://10.0.0.236/trunk@12341 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:43:43 +00:00
waterson%netscape.com
f143a20647 Touch down progress bar changes from PROGRESS_19981006_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@12340 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:42:19 +00:00
spider%netscape.com
058bc9121f Linux runtime fix to find netlib
git-svn-id: svn://10.0.0.236/trunk@12339 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:40:33 +00:00
law%netscape.com
1f12a32bfb Fix for bug #301397; handle about:document from composer windows; approved by gagan
git-svn-id: svn://10.0.0.236/trunk@12338 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:39:49 +00:00
troy%netscape.com
07f97631c5 Removed reference to widgetSupports
git-svn-id: svn://10.0.0.236/trunk@12337 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:39:25 +00:00
akkana%netscape.com
e98aae2c4a image dialog fixes: 117115 (remote img err msg), 301858 (alt text)
git-svn-id: svn://10.0.0.236/trunk@12336 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:36:20 +00:00
waterson%netscape.com
d37db67a53 Touch down smooth progress bar changes from PROGRESS_19981006_BRANCH. a=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@12335 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:35:07 +00:00
akkana%netscape.com
f278da9966 Add alt-- and alt-= acc text strings for outdent and indent
git-svn-id: svn://10.0.0.236/trunk@12334 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:33:38 +00:00
radha%netscape.com
860ccb8b34 DocString hooked up to HT and the new DocString API
git-svn-id: svn://10.0.0.236/trunk@12333 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:32:45 +00:00
akkana%netscape.com
e112906aac 122416: don't open same file at same time
git-svn-id: svn://10.0.0.236/trunk@12332 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:32:18 +00:00
cyeh%netscape.com
ebce126de1 make it so that failed automated testing causes the tree to have
a burning top.


git-svn-id: svn://10.0.0.236/trunk@12331 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:31:18 +00:00
wtc%netscape.com
90fdb6e3db Ports to many Unix variants. Added the OMIT_LIB_BUILD_TIME workaround
for platforms that don't have 'long long'.  In pr/src/Makefile and
lib/libc/src/Makefile, use single quotes so that we can avoid
using backslashes in double quotes (that doesn't work under
MKS shell).


git-svn-id: svn://10.0.0.236/trunk@12330 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:31:09 +00:00
waterson%netscape.com
4a3fbf987e Touch down SMOOTH_PROGRESS changes.
git-svn-id: svn://10.0.0.236/trunk@12329 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:30:14 +00:00
akkana%netscape.com
06ae91238c 106844: fix spellchecker hang
git-svn-id: svn://10.0.0.236/trunk@12328 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:29:24 +00:00
pinkerton%netscape.com
5a665baa18 start pullings toolbars from HT instead of hardcoded in constructor.
git-svn-id: svn://10.0.0.236/trunk@12327 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:26:27 +00:00
pinkerton%netscape.com
2ddcd0aae5 context menus, layout changes and fixes.
git-svn-id: svn://10.0.0.236/trunk@12326 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:25:18 +00:00
cyeh%netscape.com
3871aa776d remove #ifdef NSPR in preparation for turning off NSPR and NSPR20 compile defines
git-svn-id: svn://10.0.0.236/trunk@12325 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:24:44 +00:00
pinkerton%netscape.com
9c461df89e handle context menu commands and updates from the toolbars that their sizes have changed.
git-svn-id: svn://10.0.0.236/trunk@12324 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:24:43 +00:00
pinkerton%netscape.com
0519a437cd bevel outline, stuff for context menus on toolbars, resizing container when sizes change on toolbars.
git-svn-id: svn://10.0.0.236/trunk@12323 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:24:14 +00:00
troy%netscape.com
1ba7626853 Removed unused widgetSupports member of nsGUIEvent
git-svn-id: svn://10.0.0.236/trunk@12322 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:24:05 +00:00
pinkerton%netscape.com
a38f3ab5ab Added classes for toolbar and toolbar button context menus. Introduced a virtual parent class and renamed the context menu class for trees to be specific to that.
git-svn-id: svn://10.0.0.236/trunk@12321 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:23:22 +00:00
pinkerton%netscape.com
d2ce75c51d call clickSelf if not handled in a child class.
git-svn-id: svn://10.0.0.236/trunk@12320 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:22:27 +00:00
radha%netscape.com
847afec06f 1) RDF pane modes stored as enums and used in Pane creation
2) HT properties hooked for ControlBar, HTMl Pane


git-svn-id: svn://10.0.0.236/trunk@12319 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:22:26 +00:00
pinkerton%netscape.com
c274817669 added code for handling HT commands from context menus in toolbars.
git-svn-id: svn://10.0.0.236/trunk@12318 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:22:11 +00:00
pinkerton%netscape.com
880a51a0d7 new tree context menu relfects rearranging of HT context menu code.
git-svn-id: svn://10.0.0.236/trunk@12317 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:21:27 +00:00
radha%netscape.com
5d28fe921b Turn the new Tooltips api on/off based on what the prefs is set to.
git-svn-id: svn://10.0.0.236/trunk@12316 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:19:53 +00:00
radha%netscape.com
c172e24b7d Use the RDF pane's mode to create the RDF Pane accordingly
git-svn-id: svn://10.0.0.236/trunk@12315 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:19:16 +00:00
spider%netscape.com
5387d5abd7 Updates for latest raptor code
git-svn-id: svn://10.0.0.236/trunk@12314 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:16:29 +00:00
law%netscape.com
d4394128cb Fix for bug #308996; get mime-type to fe_URLToLocalName so file is saved with proper extension
git-svn-id: svn://10.0.0.236/trunk@12313 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:14:01 +00:00
hyatt%netscape.com
4ca84e93c6 Backing out change to make bookmarks top-level menu. It's beyond me.
git-svn-id: svn://10.0.0.236/trunk@12312 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:06:36 +00:00
hyatt%netscape.com
5d5fa27aee Backing out Bookmarks top-level menu change. I have no idea what went wrong.
git-svn-id: svn://10.0.0.236/trunk@12311 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:04:00 +00:00
troy%netscape.com
8d58e27d2b Rearranged member functions to better group child frame enumeration related
functions


git-svn-id: svn://10.0.0.236/trunk@12310 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:03:59 +00:00
spider%netscape.com
80283497f0 Fix Linux Tinderbox
git-svn-id: svn://10.0.0.236/trunk@12309 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:01:54 +00:00
pinkerton%netscape.com
d5dc9ff6e1 Adding QAP_AssistPP.cp to project and fixes for Pro4 to QAP.
git-svn-id: svn://10.0.0.236/trunk@12308 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 20:59:09 +00:00
troy%netscape.com
ab9971c67b Removed GetContentIndex() from nsIFrame
git-svn-id: svn://10.0.0.236/trunk@12307 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 20:35:16 +00:00
despotdaemon%netscape.com
807fe75522 Pseudo-automatic update of changes made by jonas.utterstrom@vittran.norrnod.se.
git-svn-id: svn://10.0.0.236/trunk@12303 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 20:03:38 +00:00
spider%netscape.com
db03fbf4f3 Remove msgc from link list
git-svn-id: svn://10.0.0.236/trunk@12302 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 19:50:05 +00:00
dcone%netscape.com
fc6f4f2fc1 updated make
git-svn-id: svn://10.0.0.236/trunk@12301 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 19:46:01 +00:00
spider%netscape.com
2579c01b82 nlsstub fixes
git-svn-id: svn://10.0.0.236/trunk@12300 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 19:45:40 +00:00
spider%netscape.com
f5a66e0f70 Support Free ZULU
git-svn-id: svn://10.0.0.236/trunk@12299 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 19:45:01 +00:00
karnaze%netscape.com
107df7ce69 inline, shrinkwrap support for fieldsets, legneds
git-svn-id: svn://10.0.0.236/trunk@12298 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 19:04:57 +00:00
spider%netscape.com
a18aaeb0b9 Getting nlsstub to build again
git-svn-id: svn://10.0.0.236/trunk@12297 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 18:57:39 +00:00
spider%netscape.com
1607de86fd Add nls when FREE is set
git-svn-id: svn://10.0.0.236/trunk@12296 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 18:56:27 +00:00
spider%netscape.com
e5aa4764c2 Change TREX to ZULU
git-svn-id: svn://10.0.0.236/trunk@12295 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 18:56:06 +00:00
kmcclusk%netscape.com
60895b0f06 Removed nsObject.cpp and nsObject.h. Removed commented out code.
added NS_ERROR_NO_AGGREATION to widget factory. marked code with XXX where
additional work is required. Removed unused global variables in nsWindow.cpp


git-svn-id: svn://10.0.0.236/trunk@12294 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 18:33:48 +00:00
troy%netscape.com
722c237c17 Moved HandlePress,HandleDrag,HandleRelease from nsIFrame to nsFrame
git-svn-id: svn://10.0.0.236/trunk@12293 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 18:21:32 +00:00
racham%netscape.com
8a0149a03d BUG324100 : Fix for Show Intro Scrrens. Set Show_Intro_Screens depending on the flag in ACCTSET.INI
git-svn-id: svn://10.0.0.236/trunk@12292 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 18:19:57 +00:00
racham%netscape.com
b286765b4f BUG324100 : Fix for Show Intro Scrrens. Added a layer around previews
git-svn-id: svn://10.0.0.236/trunk@12291 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 18:18:33 +00:00
spider%netscape.com
c8e0dd8aaa Memory Leak fixes
git-svn-id: svn://10.0.0.236/trunk@12290 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 18:00:07 +00:00
spider%netscape.com
752c7f5826 Fix compile errors on IRIX
git-svn-id: svn://10.0.0.236/trunk@12289 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 17:54:07 +00:00
dcone%netscape.com
c98991f7d9 fixed some small declaration problems
git-svn-id: svn://10.0.0.236/trunk@12288 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 17:48:50 +00:00
dcone%netscape.com
6d4b8c3411 updated some files that needed to be in the build
git-svn-id: svn://10.0.0.236/trunk@12287 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 17:48:11 +00:00
sman%netscape.com
4341326ef4 caching updates
git-svn-id: svn://10.0.0.236/trunk@12286 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 16:53:57 +00:00
sman%netscape.com
56a5fca4ea Character fixes
git-svn-id: svn://10.0.0.236/trunk@12285 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 15:42:44 +00:00
kipp%netscape.com
ceb99b237f Fixed top relative position bug #1024
git-svn-id: svn://10.0.0.236/trunk@12284 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 15:37:34 +00:00
buster%netscape.com
5377ebdea8 all frames properly setting ascent and descent values for reflow
WIP incremental reflow in nsTableOuterFrame


git-svn-id: svn://10.0.0.236/trunk@12283 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 15:34:48 +00:00
rods%netscape.com
dec17db9e2 Fixed ref count problem
git-svn-id: svn://10.0.0.236/trunk@12282 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 15:23:03 +00:00
karnaze%netscape.com
02c10d948a fixed Mac bug due to undeclared index in for loop
git-svn-id: svn://10.0.0.236/trunk@12281 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 14:58:32 +00:00
sman%netscape.com
6d9d89b5de adding test scripts
git-svn-id: svn://10.0.0.236/trunk@12280 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 14:55:13 +00:00
rpotts%netscape.com
78300b53dc Attempting to fix unix build bustage...
git-svn-id: svn://10.0.0.236/trunk@12279 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 07:55:23 +00:00
briano%netscape.com
06598ae83e Forgot to add the NPL blurb.
git-svn-id: svn://10.0.0.236/trunk@12278 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 07:47:02 +00:00
rickg%netscape.com
6d17d339e4 more bad content parsing improvements
git-svn-id: svn://10.0.0.236/trunk@12277 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 07:32:34 +00:00
racham%netscape.com
60aa35dd24 Added the global variable debugFlag
git-svn-id: svn://10.0.0.236/trunk@12276 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 06:54:42 +00:00
racham%netscape.com
6c7e079638 Added code to set the debugFlag
git-svn-id: svn://10.0.0.236/trunk@12275 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 06:53:38 +00:00
racham%netscape.com
740a12a67b Setting debugMode value to NO
git-svn-id: svn://10.0.0.236/trunk@12274 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 06:51:45 +00:00
racham%netscape.com
cca46cf095 Added debug statements with a flag and additional fixes
git-svn-id: svn://10.0.0.236/trunk@12273 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 06:49:33 +00:00
racham%netscape.com
bca9abbeda BUG327804: Fixes added to prevent entering paths in the filename and to refresh IAS list on the fly
git-svn-id: svn://10.0.0.236/trunk@12272 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 06:46:34 +00:00
racham%netscape.com
3ee59c3e3b Added code to allow users to identify the configuration along with filename
git-svn-id: svn://10.0.0.236/trunk@12271 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 06:45:35 +00:00
racham%netscape.com
c718ed97f9 BUG327804: Fixes added to prevent entering paths in the filename and to refresh NCI list on the fly
git-svn-id: svn://10.0.0.236/trunk@12270 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 06:40:28 +00:00
despotdaemon%netscape.com
1f07d788eb Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12269 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 06:07:11 +00:00
terry%netscape.com
f857acecd4 Wasn't calculating the branch correctly.
git-svn-id: svn://10.0.0.236/trunk@12268 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 06:01:44 +00:00
rpotts%netscape.com
bac0341f1d temporary fix to get unix building again... Get rid of the constness before calling PR_Free(...)
git-svn-id: svn://10.0.0.236/trunk@12267 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 05:06:30 +00:00
karnaze%netscape.com
fbe88e6504 fieldset, legend support. fixed bug #987
git-svn-id: svn://10.0.0.236/trunk@12266 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 04:38:41 +00:00
rpotts%netscape.com
db0dc5b3c1 Fixed crash due to null pointer...
git-svn-id: svn://10.0.0.236/trunk@12265 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 04:14:18 +00:00
spider%netscape.com
1eb3e40724 Memory leak fix
git-svn-id: svn://10.0.0.236/trunk@12264 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 03:07:22 +00:00
spider%netscape.com
f10132e682 Fix memory leak. Layout should not hold ref to canvas
git-svn-id: svn://10.0.0.236/trunk@12263 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 03:00:12 +00:00
spider%netscape.com
308a0243aa Fix memory leak
git-svn-id: svn://10.0.0.236/trunk@12262 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 02:54:28 +00:00
spider%netscape.com
5bf87469fd Some memory leak fixes
git-svn-id: svn://10.0.0.236/trunk@12261 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 02:21:26 +00:00
pierre%netscape.com
c4abb0434a fix build on mac after rods's changes in DispatchEvent
git-svn-id: svn://10.0.0.236/trunk@12260 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 02:00:23 +00:00
peterl%netscape.com
c210a3ec43 added css2 properties
git-svn-id: svn://10.0.0.236/trunk@12259 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:34:58 +00:00
peterl%netscape.com
abfa5f2d67 init hash code to make purify happy
git-svn-id: svn://10.0.0.236/trunk@12258 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:32:41 +00:00
peterl%netscape.com
078568c201 added CSS2 properties
git-svn-id: svn://10.0.0.236/trunk@12257 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:31:58 +00:00
peterl%netscape.com
a9c7adf8ce sync to css declaration changes
git-svn-id: svn://10.0.0.236/trunk@12256 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:31:38 +00:00
peterl%netscape.com
1aeed8d11e moved from nsCSSDeclaration
git-svn-id: svn://10.0.0.236/trunk@12255 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:29:29 +00:00
peterl%netscape.com
20741b8586 moved nsCSSValue to seperate file
git-svn-id: svn://10.0.0.236/trunk@12254 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:29:01 +00:00
peterl%netscape.com
b785a26b0a use loose hex to rgb color conversion for color parsing
git-svn-id: svn://10.0.0.236/trunk@12253 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:28:18 +00:00
peterl%netscape.com
17563e175a improve speed of finding children
git-svn-id: svn://10.0.0.236/trunk@12252 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:27:38 +00:00
peterl%netscape.com
4695efe278 added loose hex to rgb conversion (more NAV compliant)
git-svn-id: svn://10.0.0.236/trunk@12251 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:24:38 +00:00
kmcclusk%netscape.com
1581ad665e Fixed key events.
git-svn-id: svn://10.0.0.236/trunk@12248 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 00:47:10 +00:00
kmcclusk%netscape.com
f5e612ce2f Removed debug printf
git-svn-id: svn://10.0.0.236/trunk@12247 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 00:30:21 +00:00
kmcclusk%netscape.com
88e7ad86b5 Removed references to widgets which are not checked in yet
git-svn-id: svn://10.0.0.236/trunk@12246 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 00:13:39 +00:00
rods%netscape.com
a834674942 Added an NS_ADDREF to InitEvent and then put in NS_RELEASE in all the proper places.
This was necessary because an Exit menu event was deleting the Windows object
before event processing could complete.


git-svn-id: svn://10.0.0.236/trunk@12245 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 00:04:21 +00:00
rods%netscape.com
53633a4eae Changed back
git-svn-id: svn://10.0.0.236/trunk@12243 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:39:27 +00:00
rods%netscape.com
e6b8074d4e Removed "::" from XmCall (trying to fix the IRIX build)
git-svn-id: svn://10.0.0.236/trunk@12242 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:38:52 +00:00
rods%netscape.com
071ff7bed5 Made an attempt at fixing the Mac port for the DispatchEvent change
git-svn-id: svn://10.0.0.236/trunk@12241 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:33:52 +00:00
valeski%netscape.com
5a91e6e10a Removed the nsINetContainerApplication interface. The methods that were part of this interface are now implemented by nsINetService.
Changed mozilla\network\module\makefiles so they no longer export nsINetContainerApplication.h.

M dom/src/base/nsGlobalWindow.cpp
Changed javascript so it retreives the user-agent tokens via nsINetService.

M network/module/nsINetService.h
Added the application user-agent token methods to the nsINetService interface.

M network/module/nsNetFactory.cpp
The netservice constructor no longer takes a pointer to a nsINetContainerApplication.

M network/module/nsNetService.cpp
M network/module/nsNetService.h
Added the implementation of the application user-agent token methods.

M webshell/tests/viewer/nsViewerApp.cpp
M webshell/tests/viewer/nsViewerApp.h
Removed old containerapplication implementation

M xpfe/xpviewer/src/nsViewerApp.cpp
M xpfe/xpviewer/src/nsViewerApp.h
Removed old containerapplication implementation


git-svn-id: svn://10.0.0.236/trunk@12240 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:19:39 +00:00
rods%netscape.com
89121804ff More changes so DispatchEvent works
git-svn-id: svn://10.0.0.236/trunk@12239 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:18:34 +00:00
spider%netscape.com
9beb27f64c Fix memory corruption and leaks
git-svn-id: svn://10.0.0.236/trunk@12238 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:07:29 +00:00
cmanske%netscape.com
de5cf7de79 Trying to fix automated test breakage
git-svn-id: svn://10.0.0.236/trunk@12234 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:01:26 +00:00
kmcclusk%netscape.com
6582d8b4f9 Changed the name of the netlib.so to libnetlib.so to correctly match the file
that is built under unix. This makes the viewer run again.


git-svn-id: svn://10.0.0.236/trunk@12233 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 22:54:48 +00:00
kmcclusk%netscape.com
ba7be96cbb Moved libjsdomcss_s above libjsdomcore_s to fix Linux build. libjsdomcss uses
InitStyleSheetClass which is defined in libjsdomcore.


git-svn-id: svn://10.0.0.236/trunk@12232 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 22:47:06 +00:00
spider%netscape.com
fd1d1357db Pull zulu version of libnls rather than Normandy
git-svn-id: svn://10.0.0.236/trunk@12231 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 22:40:08 +00:00
rods%netscape.com
1449161be0 Fixed menus and add DispatchEvent to nsIWidget Interface.
git-svn-id: svn://10.0.0.236/trunk@12230 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 22:11:37 +00:00
troy%netscape.com
5455049d1f Added some more documentation
git-svn-id: svn://10.0.0.236/trunk@12228 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 22:00:44 +00:00
danm%netscape.com
9f0d27491e fix crash opening page through File/Open dialog from blank context. r:law
git-svn-id: svn://10.0.0.236/trunk@12227 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 21:53:12 +00:00
despotdaemon%netscape.com
5ebe577cad Pseudo-automatic update of changes made by agulbra@troll.no.
git-svn-id: svn://10.0.0.236/trunk@12226 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 21:48:42 +00:00
spider%netscape.com
e373ea9586 Memory corruption fix.
git-svn-id: svn://10.0.0.236/trunk@12225 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 21:38:54 +00:00
kmcclusk%netscape.com
8c3cec979a Added method to execute JavaScript. Changed forward, back, home to execute a
JavaScript routine instead of directly calling a method on nsWebShell.


git-svn-id: svn://10.0.0.236/trunk@12222 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 21:19:46 +00:00
rods%netscape.com
55bfc3dfe1 Added menu support
git-svn-id: svn://10.0.0.236/trunk@12219 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 21:07:40 +00:00
spider%netscape.com
c3cd40a03d Multi-User View support. Add dynamic layout support in Multi User and
Day Views


git-svn-id: svn://10.0.0.236/trunk@12218 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 20:50:12 +00:00
dcone%netscape.com
535ab52072 updated the mac menu command to the new event structure type
git-svn-id: svn://10.0.0.236/trunk@12216 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 20:17:14 +00:00
dcone%netscape.com
1f2f92626a updated Dispatch to new interface.
git-svn-id: svn://10.0.0.236/trunk@12215 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 20:15:45 +00:00
dcone%netscape.com
28a50d4618 Updated to Rod S's changes
git-svn-id: svn://10.0.0.236/trunk@12214 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 20:15:05 +00:00
despotdaemon%netscape.com
a1b6476723 Pseudo-automatic update of changes made by cpatrick@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12213 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 20:09:05 +00:00
rods%netscape.com
43169028f9 I fixed rendering part
git-svn-id: svn://10.0.0.236/trunk@12212 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 20:06:50 +00:00
spider%netscape.com
5968b4765b WIP: Multi-User View. Move calxml UI files to UI tree
git-svn-id: svn://10.0.0.236/trunk@12211 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 19:56:16 +00:00
rods%netscape.com
c9ff7569ee Added SetHorizontalLayout method
git-svn-id: svn://10.0.0.236/trunk@12210 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 19:50:42 +00:00
rods%netscape.com
4f840c3573 Updated Interfaces to support UNIX
git-svn-id: svn://10.0.0.236/trunk@12209 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 19:49:36 +00:00
despotdaemon%netscape.com
8c907be393 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@12208 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 19:34:33 +00:00
blizzard%appliedtheory.com
64cd086b4e Adding the first pass at a bonsai faq. This answers some administration
questions, no install information in here yet.


git-svn-id: svn://10.0.0.236/trunk@12207 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 19:29:26 +00:00
terry%netscape.com
9977348a3d Improve the error message a bit.
git-svn-id: svn://10.0.0.236/trunk@12206 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 19:28:19 +00:00
terry%netscape.com
9fed7948b0 Added 'Despot'.
git-svn-id: svn://10.0.0.236/trunk@12205 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 18:58:55 +00:00
kmcclusk%netscape.com
b9285d9327 Added forward(), back(), home(), and stop() to nglayout, JavaScript
git-svn-id: svn://10.0.0.236/trunk@12204 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 18:06:23 +00:00
dcone%netscape.com
e3ae8328f3 re-wrote the ConvertToDeviceCoordinates to offset the event point.
git-svn-id: svn://10.0.0.236/trunk@12203 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 17:59:26 +00:00
dcone%netscape.com
f8b225a30d Calculated the offset for the event and added that to the point before event processing
git-svn-id: svn://10.0.0.236/trunk@12202 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 17:57:07 +00:00
dcone%netscape.com
8c80a91e55 Fixed an offset problem
git-svn-id: svn://10.0.0.236/trunk@12201 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 17:55:57 +00:00
spider%netscape.com
af589250e2 WIP: Multi-User Canvas - some API changes and fixes for
Horizontal rendering


git-svn-id: svn://10.0.0.236/trunk@12199 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 16:32:28 +00:00
ramiro%netscape.com
d3d34b70b0 Backout previous hack. Not needed anymore. I fixed the real problem.
git-svn-id: svn://10.0.0.236/trunk@12198 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:36:41 +00:00
ramiro%netscape.com
1b09b95c17 Fix the broken unix builds.
git-svn-id: svn://10.0.0.236/trunk@12197 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:34:47 +00:00
ramiro%netscape.com
34c434b2cf Try to fix unix bustage by hard coding an include.
git-svn-id: svn://10.0.0.236/trunk@12196 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:30:48 +00:00
dcone%netscape.com
b93d1f46fc Fixed a mac problem, a variable scoping problem was fixed in the handle method.
git-svn-id: svn://10.0.0.236/trunk@12195 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:17:27 +00:00
dcone%netscape.com
a22a304673 small offset problem fixed
git-svn-id: svn://10.0.0.236/trunk@12194 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:14:48 +00:00
ramiro%netscape.com
5d7f64ce0b Try to fix the unix bustage.
git-svn-id: svn://10.0.0.236/trunk@12193 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:14:06 +00:00
dcone%netscape.com
2eaa1cb143 calculate the correct offset
git-svn-id: svn://10.0.0.236/trunk@12192 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:13:48 +00:00
dcone%netscape.com
3132200b6b fixed offset problems
git-svn-id: svn://10.0.0.236/trunk@12191 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:13:19 +00:00
dcone%netscape.com
62280206de fix the size problem
git-svn-id: svn://10.0.0.236/trunk@12190 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:12:57 +00:00
dcone%netscape.com
7c6993ea3a selection fix
git-svn-id: svn://10.0.0.236/trunk@12189 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:10:40 +00:00
dcone%netscape.com
c76f2051bd update fix
git-svn-id: svn://10.0.0.236/trunk@12188 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 15:09:03 +00:00
rpotts%netscape.com
4362b9b650 Fixed RefCounting bug where following links would decrement the WebShell ref count :-(
git-svn-id: svn://10.0.0.236/trunk@12187 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 12:15:48 +00:00
racham%netscape.com
1ef21c1927 BUG327094 : PREF callbacks replaces the Netscape Registry calls. Problem of deleting an existing profile is corrected.
git-svn-id: svn://10.0.0.236/trunk@12186 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 10:31:25 +00:00
ramiro%netscape.com
9ab8d1728a Fix broken test.
git-svn-id: svn://10.0.0.236/trunk@12185 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 10:28:21 +00:00
ramiro%netscape.com
d37f9ef601 Fix broken tests.
git-svn-id: svn://10.0.0.236/trunk@12184 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 10:23:59 +00:00
racham%netscape.com
e8ec4dfbba BUG327094 : Adding library references to support profile.cpp changes
git-svn-id: svn://10.0.0.236/trunk@12183 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 10:23:07 +00:00
racham%netscape.com
b25e4be24c Commenting out some debug statements
git-svn-id: svn://10.0.0.236/trunk@12182 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 10:19:01 +00:00
racham%netscape.com
4faca1ae22 BUGS 327325, 327726: fixes to IAS file related bugs
git-svn-id: svn://10.0.0.236/trunk@12181 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 10:17:47 +00:00
racham%netscape.com
5ef4de9db7 BUGS 327325, 327726: fixes to NCI file related bugs
git-svn-id: svn://10.0.0.236/trunk@12180 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 10:14:51 +00:00
ramiro%netscape.com
1f34b436a5 Fix broken tests.
git-svn-id: svn://10.0.0.236/trunk@12179 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 10:03:08 +00:00
ramiro%netscape.com
61ec699ddb Rename misnamed XmNraisedBorderThickness to XmNaccentBorderThickness.
git-svn-id: svn://10.0.0.236/trunk@12178 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 09:58:51 +00:00
ramiro%netscape.com
8a4e70b97f Fix broken tests.
git-svn-id: svn://10.0.0.236/trunk@12177 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 09:45:58 +00:00
ramiro%netscape.com
bbbfef92bf Fix comment.
git-svn-id: svn://10.0.0.236/trunk@12176 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 09:34:03 +00:00
ramiro%netscape.com
6837cc69bd Fix IRIX bustage.
git-svn-id: svn://10.0.0.236/trunk@12175 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 09:06:56 +00:00
ramiro%netscape.com
8b634f27c8 Sync.
git-svn-id: svn://10.0.0.236/trunk@12174 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 08:57:54 +00:00
ramiro%netscape.com
b06c892a20 Undo the old urlbar hack.
git-svn-id: svn://10.0.0.236/trunk@12173 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:50:56 +00:00
ramiro%netscape.com
ad65ad72a4 Add support for url bars.
git-svn-id: svn://10.0.0.236/trunk@12172 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:50:40 +00:00
ramiro%netscape.com
0d45225d77 New toolbar classes.
git-svn-id: svn://10.0.0.236/trunk@12171 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:45:26 +00:00
ramiro%netscape.com
57db10d55b Sync.
git-svn-id: svn://10.0.0.236/trunk@12170 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:44:33 +00:00
ramiro%netscape.com
2c28b95f05 New toolbar button class.
git-svn-id: svn://10.0.0.236/trunk@12169 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:42:27 +00:00
ramiro%netscape.com
697a6b5ade New proxy icon.
git-svn-id: svn://10.0.0.236/trunk@12168 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:24:33 +00:00
ramiro%netscape.com
7805a0e390 Link with combo box lib.
git-svn-id: svn://10.0.0.236/trunk@12167 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:24:19 +00:00
ramiro%netscape.com
d93742acd3 Adding new toolbar item classes.
git-svn-id: svn://10.0.0.236/trunk@12166 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:22:11 +00:00
ramiro%netscape.com
a92404479b Make setSensitive() and isSensitive() virtual.
Also, ass some assertions.


git-svn-id: svn://10.0.0.236/trunk@12165 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:19:13 +00:00
ramiro%netscape.com
67fcd627a5 Accept combo box children.
Also, turn off the force dimensions crap since its broken badly.


git-svn-id: svn://10.0.0.236/trunk@12164 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 07:18:17 +00:00
cmanske%netscape.com
47dbb49f6a Fixed bug in new Open URL dialog (unitinialized list pointers)
git-svn-id: svn://10.0.0.236/trunk@12163 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 05:31:05 +00:00
ramiro%netscape.com
5397e4750e Moved XFE_DoCommandArgs from Command.h to Button.h.
git-svn-id: svn://10.0.0.236/trunk@12162 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 05:08:07 +00:00
cmanske%netscape.com
99cf8567e9 Changed 'Preview' to 'Browse' in toolbar and removed 'Navigator' reference
git-svn-id: svn://10.0.0.236/trunk@12161 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 05:07:14 +00:00
troy%netscape.com
e4904f2ddf Updated the comments
git-svn-id: svn://10.0.0.236/trunk@12160 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 04:56:30 +00:00
cmanske%netscape.com
605c2c07eb Fixed right-mouse popup memu bugs, added Insert object submenu and jump to internal target
git-svn-id: svn://10.0.0.236/trunk@12159 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 04:55:11 +00:00
cmanske%netscape.com
e7701a4f07 Added function to test if link is to internal target
git-svn-id: svn://10.0.0.236/trunk@12158 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 04:54:05 +00:00
cmanske%netscape.com
292e86c3dd Add function protype for test for internal target link
git-svn-id: svn://10.0.0.236/trunk@12157 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 04:53:08 +00:00
ramiro%netscape.com
67c0504330 Add text set/get methods.
git-svn-id: svn://10.0.0.236/trunk@12156 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 04:36:29 +00:00
mlm%netscape.com
716e981979 Fix broken merge madness: Only start a window group after it is safe to do
so, and do not exit a monitor twice.  (Also do not call Notify when not
inside the monitor.)


git-svn-id: svn://10.0.0.236/trunk@12155 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 04:35:55 +00:00
sdagley%netscape.com
99606bcb7d Added pref item to control URL Autocompletion (network.enableUrlMatch)
git-svn-id: svn://10.0.0.236/trunk@12153 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 04:22:49 +00:00
pinkerton%netscape.com
d1097c803c add resizeFrameBy to relayout on resize.
git-svn-id: svn://10.0.0.236/trunk@12152 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 04:11:02 +00:00
pinkerton%netscape.com
58df60018c calc button size stuff at startup not at draw time for layout.
git-svn-id: svn://10.0.0.236/trunk@12151 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 04:10:21 +00:00
gagan%netscape.com
1c5a533798 Removed nucacheproto.* This functionality is now wrapped inside mkmemcac.*
git-svn-id: svn://10.0.0.236/trunk@12150 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 03:26:25 +00:00
sdagley%netscape.com
e9260deb0f Implement Privacy menu on Mac
git-svn-id: svn://10.0.0.236/trunk@12145 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 01:34:35 +00:00
sdagley%netscape.com
07b3aeec3e Changed vertical dimension of HTML dialog so Ok button appears on Mac.
git-svn-id: svn://10.0.0.236/trunk@12144 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 01:32:57 +00:00
sdagley%netscape.com
3800794af9 Fix else/#else error.
git-svn-id: svn://10.0.0.236/trunk@12143 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 01:32:07 +00:00
cmanske%netscape.com
0d9374d747 Fixed problem with Composer's right mouse popup menu when over a link
git-svn-id: svn://10.0.0.236/trunk@12140 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:57:35 +00:00
cmanske%netscape.com
bf6517eadc Make URLs in images absolute before copying to the clipboard stream
git-svn-id: svn://10.0.0.236/trunk@12137 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:43:09 +00:00
troy%netscape.com
d33758be36 Fixed circular ref counting problem that was keeping throbber from being
freed


git-svn-id: svn://10.0.0.236/trunk@12135 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:38:57 +00:00
wtc%netscape.com
c364bab257 Do not use the -x assembler-with-cpp for gcc in ASFLAGS. This flag
doesn't seem to work on Solaris x86.  At least, gcc can't assemble
pr/src/md/unix/os_SunOS_x86.s with this flag.


git-svn-id: svn://10.0.0.236/trunk@12134 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:36:44 +00:00
cmanske%netscape.com
63aff94a31 More Composer Publishing fixes
git-svn-id: svn://10.0.0.236/trunk@12133 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:35:30 +00:00
wtc%netscape.com
dbef7f99ba Restored libultrasparc.so. Our prior attempt to eliminate this
library doesn't work.
Modified files: Makefile, objs.mk, os_SunOS_ultrasparc.s, solaris.c.


git-svn-id: svn://10.0.0.236/trunk@12132 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:34:51 +00:00
cmanske%netscape.com
a9d56d320f Composer Publishing improvements. Added error codes for EDT_CheckPublishURL and improved feedback strings
git-svn-id: svn://10.0.0.236/trunk@12131 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:34:05 +00:00
cmanske%netscape.com
1a7715f45b Composer Publishing improvements
git-svn-id: svn://10.0.0.236/trunk@12130 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:32:42 +00:00
gagan%netscape.com
5e920bb964 Removed some asserts.
git-svn-id: svn://10.0.0.236/trunk@12129 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:29:52 +00:00
scc%netscape.com
adad288983 the real LayoutButtons method
git-svn-id: svn://10.0.0.236/trunk@12128 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:06:48 +00:00
racham%netscape.com
af86e9f409 Changes to reflect the regtest machine move
git-svn-id: svn://10.0.0.236/trunk@12125 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 23:50:20 +00:00
law%netscape.com
a77d6a348a Fix for bug #105440; handle multiple file extensions in fe_NewFileType
git-svn-id: svn://10.0.0.236/trunk@12123 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 23:45:58 +00:00
pinkerton%netscape.com
a915845978 Changes for laying out toolbars
git-svn-id: svn://10.0.0.236/trunk@12119 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 23:28:42 +00:00
pinkerton%netscape.com
c0ef1db7eb Fix bug where the toolbars in the first window were never enabled.
git-svn-id: svn://10.0.0.236/trunk@12118 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 23:28:07 +00:00
pinkerton%netscape.com
88c80fcd25 break out hooking up the context to the toolbars so that it can be called when the url bar streams in.
git-svn-id: svn://10.0.0.236/trunk@12117 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 23:27:37 +00:00
hyatt%netscape.com
64c080e708 Tweaks to top-level menus to move bookmarks back to where it BELONGS!!!
git-svn-id: svn://10.0.0.236/trunk@12115 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 23:23:26 +00:00
pinkerton%netscape.com
537b28d413 fix build bustage. Declare prototype for NET_GetTrustList.
git-svn-id: svn://10.0.0.236/trunk@12114 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 23:20:54 +00:00
pinkerton%netscape.com
1bae7697f3 Fix build bustage. Add default constructor so we can create w/out an LStream.
git-svn-id: svn://10.0.0.236/trunk@12111 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:54:15 +00:00
despotdaemon%netscape.com
422ddc41ee Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12110 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:42:06 +00:00
despotdaemon%netscape.com
210d583aa2 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12109 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:41:48 +00:00
despotdaemon%netscape.com
fb48028b27 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12108 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:41:35 +00:00
despotdaemon%netscape.com
4ca9ef2eea Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12107 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:41:21 +00:00
despotdaemon%netscape.com
915214d241 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12106 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:40:57 +00:00
troy%netscape.com
3e2fc3f001 Changed throbber and web shell to not aggregate in the widget
git-svn-id: svn://10.0.0.236/trunk@12105 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:33:13 +00:00
troy%netscape.com
de3bfc3ed5 Changed factory CreateInstance() code to return NS_ERROR_NO_AGGREGATION
if the caller is trying to aggregate the widget


git-svn-id: svn://10.0.0.236/trunk@12103 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:32:30 +00:00
danm%netscape.com
c496039c2e individual toolbar buttons now respond to RDF display mode overrides. r:hyatt.
git-svn-id: svn://10.0.0.236/trunk@12101 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:26:40 +00:00
cyeh%netscape.com
da033fa614 notify people about modules change
git-svn-id: svn://10.0.0.236/trunk@12100 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:22:22 +00:00
cyeh%netscape.com
77f687bb5d remove useless tags
git-svn-id: svn://10.0.0.236/trunk@12098 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:21:10 +00:00
mjudge%netscape.com
6e055bfbf7 network changes for multipart related mime encoding with ender. gagan-ok
git-svn-id: svn://10.0.0.236/trunk@12096 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:12:52 +00:00
cyeh%netscape.com
1c2d4f456e use basename and dirname instead of sed
git-svn-id: svn://10.0.0.236/trunk@12095 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 22:10:54 +00:00
terry%netscape.com
a60790f86c Removed the old "Bugzilla" product; those bugs are now part of the
new "Webtools" product.


git-svn-id: svn://10.0.0.236/trunk@12094 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:52:09 +00:00
cmanske%netscape.com
1baf259552 Fixed problem with Open Page dialog not loading URL
git-svn-id: svn://10.0.0.236/trunk@12093 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:45:33 +00:00
terry%netscape.com
bff600bc3f Added new "Webtools" product.
git-svn-id: svn://10.0.0.236/trunk@12092 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:44:41 +00:00
vidur%netscape.com
78019ab5b6 Reimplemented nsiDOMNSHTMLFormElement interface on form class
git-svn-id: svn://10.0.0.236/trunk@12090 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:41:47 +00:00
ramiro%netscape.com
88833ac4e9 Fix a dumbass typo.
git-svn-id: svn://10.0.0.236/trunk@12088 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:27:59 +00:00
cmanske%netscape.com
82fceb85d3 Fixing build bustage in editor.cpp
git-svn-id: svn://10.0.0.236/trunk@12087 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:26:36 +00:00
cyeh%netscape.com
4348299e94 adding cvsmailfilter so we can get mail on interesting changes
git-svn-id: svn://10.0.0.236/trunk@12084 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:20:44 +00:00
racham%netscape.com
921495363c Adding -reg_mode flag related changes
git-svn-id: svn://10.0.0.236/trunk@12083 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:12:46 +00:00
racham%netscape.com
678c875109 Adding RunTimeSwitch -reg_mode
git-svn-id: svn://10.0.0.236/trunk@12082 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:08:39 +00:00
kipp%netscape.com
7b96918d6e Allocated an IID
git-svn-id: svn://10.0.0.236/trunk@12081 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:05:42 +00:00
racham%netscape.com
89e6132658 Adding -reg_mode flag related changes
git-svn-id: svn://10.0.0.236/trunk@12080 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:04:19 +00:00
racham%netscape.com
e369b01490 Adding filecode base check routine for -reg_mode flag
git-svn-id: svn://10.0.0.236/trunk@12079 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:02:03 +00:00
kipp%netscape.com
07bee3eb41 Support onPaint
git-svn-id: svn://10.0.0.236/trunk@12078 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:01:59 +00:00
kipp%netscape.com
fddaf4aeda Preliminary support for onPaint event handling
git-svn-id: svn://10.0.0.236/trunk@12077 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:01:41 +00:00
kipp%netscape.com
285c25a13e Added a new atom
git-svn-id: svn://10.0.0.236/trunk@12076 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:01:08 +00:00
kipp%netscape.com
6a42a14f72 Disabled overflow:visible handling for now
git-svn-id: svn://10.0.0.236/trunk@12075 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:00:58 +00:00
racham%netscape.com
87d6fe404b Adding -reg_mode flag related APIs
git-svn-id: svn://10.0.0.236/trunk@12074 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:00:36 +00:00
racham%netscape.com
51fb5cc6b6 Adding filecode base check routine
git-svn-id: svn://10.0.0.236/trunk@12073 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:59:47 +00:00
kipp%netscape.com
cbfa97d69b Added support for onPaint methods
git-svn-id: svn://10.0.0.236/trunk@12072 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:59:39 +00:00
kipp%netscape.com
ed010e32b8 Add new file to the build
git-svn-id: svn://10.0.0.236/trunk@12071 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:58:59 +00:00
kipp%netscape.com
c6ca744ddd new
git-svn-id: svn://10.0.0.236/trunk@12070 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:58:46 +00:00
morse%netscape.com
38c5ca5403 fix bugs with trust labels
git-svn-id: svn://10.0.0.236/trunk@12069 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:56:26 +00:00
pinkerton%netscape.com
95fc0f6f14 url bar now works, redraw fixes, buttons actually do what they are supposed to do.
git-svn-id: svn://10.0.0.236/trunk@12068 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:55:43 +00:00
pinkerton%netscape.com
f6f7371bcd more strawman layout changes and button init routines.
git-svn-id: svn://10.0.0.236/trunk@12067 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:55:14 +00:00
pinkerton%netscape.com
5505161df6 new command for general toolbar buttons in FindCommandStatus.
git-svn-id: svn://10.0.0.236/trunk@12066 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:54:37 +00:00
pinkerton%netscape.com
2dbf0d0b39 consolodate some commands into Netscape_constants and add a new one for general toolbar buttons.
git-svn-id: svn://10.0.0.236/trunk@12065 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:54:03 +00:00
cyeh%netscape.com
cfa74f7b0c remove -DMOCHA from all builds
git-svn-id: svn://10.0.0.236/trunk@12064 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:48:56 +00:00
cyeh%netscape.com
49e2a302ef remove old MOCHA define, on by default in mozilla build
git-svn-id: svn://10.0.0.236/trunk@12063 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:47:49 +00:00
cyeh%netscape.com
04b8119dbf obsolete old modules, add JSClient module
git-svn-id: svn://10.0.0.236/trunk@12062 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:46:54 +00:00
waterson%netscape.com
65fe38bd7a Merge from PROGRESS_19980920_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@12059 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:32:11 +00:00
cmanske%netscape.com
1f14fdbf03 Fixed Composer bugs in Publishing. Added history lists to Open Page dialog
git-svn-id: svn://10.0.0.236/trunk@12058 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:29:52 +00:00
cmanske%netscape.com
7494fba344 New strings and functions for Publishing in Composer
git-svn-id: svn://10.0.0.236/trunk@12057 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:26:54 +00:00
cmanske%netscape.com
b70785e02b Fixed Composer bugs - mostly for Publishing
git-svn-id: svn://10.0.0.236/trunk@12056 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:25:59 +00:00
terry%netscape.com
c62b24b506 Added new "products" table, which contains a description for each
product.  This description is presented when the user is entering a
new bug.


git-svn-id: svn://10.0.0.236/trunk@12055 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:23:40 +00:00
waterson%netscape.com
9a8f60cf9e Initial revision on the trunk, merged from PROGRESS_19980920_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@12051 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:09:50 +00:00
waterson%netscape.com
3f9e984507 Fixed linkage problems with nsInt64 and nsTime classes.
git-svn-id: svn://10.0.0.236/trunk@12050 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:06:06 +00:00
despotdaemon%netscape.com
665ff23b1d Pseudo-automatic update of changes made by neeti@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@12047 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 17:18:17 +00:00
dcone%netscape.com
868a5f054c fixed an offset bug, setting the orgin setting for the correct grafports
git-svn-id: svn://10.0.0.236/trunk@12042 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 13:30:46 +00:00
dcone%netscape.com
276f643418 fixed some offset bugs
git-svn-id: svn://10.0.0.236/trunk@12041 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 13:28:53 +00:00
buster%netscape.com
a7bcace080 fixed calculation for width of auto-width cells in constrained layout
git-svn-id: svn://10.0.0.236/trunk@12040 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 08:00:07 +00:00
mcafee%netscape.com
7af035a69d Fixing security breakage
git-svn-id: svn://10.0.0.236/trunk@12039 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 07:22:41 +00:00
jevering%netscape.com
8cc930d521 Release mode now compiles and links.
We are getting too many ifdef NS_DEBUG strings in the code and
are ignoring them.  We should stop doing this.


git-svn-id: svn://10.0.0.236/trunk@12038 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 07:19:33 +00:00
jevering%netscape.com
e966b92b95 Added GetWindowBounds to sync up window nsIBrowserWindow interface.
Fixed EvaluateString call in jsconsole to pass the proper parameters.


git-svn-id: svn://10.0.0.236/trunk@12037 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 07:14:41 +00:00
ramiro%netscape.com
2cb4ce7679 Add check for motifs that have builtin Xpm support (such as solaris 2.6).
git-svn-id: svn://10.0.0.236/trunk@12036 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:19:40 +00:00
rpotts%netscape.com
76e07b70fb Changed the threadsafe implementations of addRef() and Release() to use interlockedIncrement and decrement on win32...
git-svn-id: svn://10.0.0.236/trunk@12035 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:18:20 +00:00
rpotts%netscape.com
1a35e3c209 Added an include for <windows.h> to declare the InterlockedIncrement/Decrement APIs which are now used in the Win32 threadsafe ISupports implementation...
git-svn-id: svn://10.0.0.236/trunk@12034 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:17:25 +00:00
rpotts%netscape.com
f0011a1546 Changed the proxy routines to only call via PL_Events when needed (ie a thread boundary will be crossed...)
git-svn-id: svn://10.0.0.236/trunk@12033 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:15:47 +00:00
rpotts%netscape.com
cf386caabe Changes to get javascript: URLs working again when netlib is on its own thread...
git-svn-id: svn://10.0.0.236/trunk@12031 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:14:42 +00:00
warren%netscape.com
e76bd0c3c1 Adding new files, breaking things out of nsplugin.cpp (not online yet).
git-svn-id: svn://10.0.0.236/trunk@12030 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:03:11 +00:00
warren%netscape.com
73865d3b91 Adding new files, breaking things out of jvmmgr.cpp (not online yet).
git-svn-id: svn://10.0.0.236/trunk@12027 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 05:59:16 +00:00
pierre%netscape.com
37d864bc01 fix mozilla build: for some reason, the XP strings (yep, allxpstr.h) are declared and allocated in that file.
git-svn-id: svn://10.0.0.236/trunk@12026 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 05:01:55 +00:00
pierre%netscape.com
4c58e3d1d8 fix build: added nsDOMCSSDeclaration.cpp
git-svn-id: svn://10.0.0.236/trunk@12024 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 04:02:54 +00:00
pinkerton%netscape.com
cebfd85964 Fix hidden virtuals.
git-svn-id: svn://10.0.0.236/trunk@12023 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:59:05 +00:00
pinkerton%netscape.com
56d46c1f2c Added tooltip support, better icon drawing support.
git-svn-id: svn://10.0.0.236/trunk@12022 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:58:30 +00:00
pinkerton%netscape.com
102595fcd9 Fix hidden virtual functions.
git-svn-id: svn://10.0.0.236/trunk@12021 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:57:25 +00:00
pinkerton%netscape.com
8cb84ab943 Added GetImageDimensions() so clients can tell the size of the image. Will fail gracefully if that info is not present.
git-svn-id: svn://10.0.0.236/trunk@12020 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:56:56 +00:00
pierre%netscape.com
58372c3183 fix build: remove nsDOMStyleDeclaration.cpp
git-svn-id: svn://10.0.0.236/trunk@12019 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:49:40 +00:00
hyatt%netscape.com
d45942f42b WinFE now understands buttonBorderStyle on toolbars.
git-svn-id: svn://10.0.0.236/trunk@12018 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:41:14 +00:00
pierre%netscape.com
eae35a983d fix 1000s of link warnings in Mac Raptor / some XP stubs were hiding actual functions
git-svn-id: svn://10.0.0.236/trunk@12017 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:00:28 +00:00
pierre%netscape.com
80a468f38c getting obsolete: added #error "use CWPro4 version"
git-svn-id: svn://10.0.0.236/trunk@12016 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:56:07 +00:00
pierre%netscape.com
a2d4acfea1 implemented Copy for Mac
git-svn-id: svn://10.0.0.236/trunk@12015 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:54:00 +00:00
pierre%netscape.com
9252e79f7d some clean-up and comments
git-svn-id: svn://10.0.0.236/trunk@12014 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:52:09 +00:00
rickg%netscape.com
2ee25392b3 added autoclose to DT
git-svn-id: svn://10.0.0.236/trunk@12013 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:38:45 +00:00
wtc%netscape.com
fdcdb54326 Removed the "make depend = make clean" hack.
git-svn-id: svn://10.0.0.236/trunk@12012 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:38:35 +00:00
wtc%netscape.com
4931f7bde9 Fixed HP-UX classic NSPR build breakage.
git-svn-id: svn://10.0.0.236/trunk@12011 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:31:53 +00:00
danm%netscape.com
9da631e64c adding (optional) GlowCode build info. a:warren
git-svn-id: svn://10.0.0.236/trunk@12010 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:31:45 +00:00
hyatt%netscape.com
8c4a232466 Changes to support the toolbar icons (in their four different states).
git-svn-id: svn://10.0.0.236/trunk@12009 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:31:01 +00:00
hyatt%netscape.com
4b82dfffab Changes to support toolbar icons (the four different states).
git-svn-id: svn://10.0.0.236/trunk@12008 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:30:25 +00:00
troy%netscape.com
098c316d23 Fixed ref counting problem that was causing a widget memory leak
git-svn-id: svn://10.0.0.236/trunk@12004 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:00:54 +00:00
ramiro%netscape.com
62ecfff5da Replace tab with space.
git-svn-id: svn://10.0.0.236/trunk@11999 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:53:36 +00:00
ramiro%netscape.com
e3c23cad0e Comment out unused motif.mk until cls@seawood.org explains why the
FOO_MOTIF_FLAGS are not used here.


git-svn-id: svn://10.0.0.236/trunk@11998 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:53:14 +00:00
cls%seawood.org
a52a872ba0 Removed static kludge. Some platforms don't have a static libdl.
git-svn-id: svn://10.0.0.236/trunk@11997 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:50:29 +00:00
vidur%netscape.com
f98b82c871 Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports.
git-svn-id: svn://10.0.0.236/trunk@11996 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:39:33 +00:00
sdagley%netscape.com
42015f4a45 Picked up sfraser's fix from 4.5 that allows URLs of up to 1K to be dragged to a browser window (old limit was 255 characters)
git-svn-id: svn://10.0.0.236/trunk@11995 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:29:50 +00:00
spider%netscape.com
4e42861d4a WIP: MultiUser View
git-svn-id: svn://10.0.0.236/trunk@11994 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:27:21 +00:00
kipp%netscape.com
d8069b04db use new body factory method
git-svn-id: svn://10.0.0.236/trunk@11993 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:44:35 +00:00
kipp%netscape.com
29aeb0fb6a never create frames when display is none
git-svn-id: svn://10.0.0.236/trunk@11992 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:43:48 +00:00
kipp%netscape.com
8d9293f709 Propogate carried out margin flags
git-svn-id: svn://10.0.0.236/trunk@11991 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:41:54 +00:00
kipp%netscape.com
55c1c69648 Add in carried out margin values
git-svn-id: svn://10.0.0.236/trunk@11990 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:41:35 +00:00
kipp%netscape.com
a363dc37c3 Setup carried out margin state for block reflow
git-svn-id: svn://10.0.0.236/trunk@11989 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:41:16 +00:00
kipp%netscape.com
439be2dde9 Export revised body/block factory methods
git-svn-id: svn://10.0.0.236/trunk@11988 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:40:54 +00:00
kipp%netscape.com
a0ba1b2fae Use new body ctor api
git-svn-id: svn://10.0.0.236/trunk@11987 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:40:41 +00:00
kipp%netscape.com
641a09af8c Support revised margin code
git-svn-id: svn://10.0.0.236/trunk@11986 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:40:17 +00:00
kipp%netscape.com
adc78c6515 Parameterized body frame behavior
git-svn-id: svn://10.0.0.236/trunk@11985 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:39:17 +00:00
kipp%netscape.com
a38a2a63c2 Cleaned up margin handling some more; added flags to control behavior of the block frame; fixed table reflow bug
git-svn-id: svn://10.0.0.236/trunk@11984 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:38:56 +00:00
dp%netscape.com
33c49d9143 Adding NU_CACHE specific defitions for compilation error with VC 5.0
git-svn-id: svn://10.0.0.236/trunk@11983 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:36:10 +00:00
troy%netscape.com
f910aa1e8b Changed ReflowChild() to send the WillReflow() notification as well
git-svn-id: svn://10.0.0.236/trunk@11982 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:27:22 +00:00
despotdaemon%netscape.com
5212e25a52 Pseudo-automatic update of changes made by relliott@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11981 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:26:54 +00:00
slamm%netscape.com
7df4b316f8 Use a red background cell instead of the animated gif with the 'nocrap' option.
git-svn-id: svn://10.0.0.236/trunk@11979 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:24:11 +00:00
despotdaemon%netscape.com
a37ca6d429 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11978 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:20:05 +00:00
tomw%netscape.com
27af50b1a7 Remove bad typedef.
git-svn-id: svn://10.0.0.236/trunk@11975 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:05:06 +00:00
raman%netscape.com
3df94627a4 Minor fixes to make smartupdate to build
git-svn-id: svn://10.0.0.236/trunk@11969 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 23:39:28 +00:00
slamm%netscape.com
186870f028 Set the sensitivity of the show/hide column buttons.
git-svn-id: svn://10.0.0.236/trunk@11964 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 23:30:45 +00:00
pinkerton%netscape.com
2b53d13163 Better drawing for control tracking on push buttons. Now selects/unselects correctly for mouse clicks.
git-svn-id: svn://10.0.0.236/trunk@11962 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 23:02:49 +00:00
saari%netscape.com
78e84e6836 Merged sfraser's realloc improvements for the Mac memory allocator from Nova to Mozilla.
Referenced by bug #326465


git-svn-id: svn://10.0.0.236/trunk@11961 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 23:00:21 +00:00
gagan%netscape.com
d14117dfe8 Added nsMonitorable.cpp for uninlined functions.
git-svn-id: svn://10.0.0.236/trunk@11960 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:58:10 +00:00
gagan%netscape.com
6d1b2c92ca Moved nsMonitorable::MonitorLocker constructor and destructor into their
own cpp file. IRIX NuCache was not accepting inlined ones.


git-svn-id: svn://10.0.0.236/trunk@11957 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:48:38 +00:00
tomw%netscape.com
8c5685e51e Pull changes forward from Nova.
New generalized hashing API.


git-svn-id: svn://10.0.0.236/trunk@11956 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:47:44 +00:00
beard%netscape.com
5d81fd88c1 Deleted FullSoft Access paths (for sure, this time).
git-svn-id: svn://10.0.0.236/trunk@11955 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:47:39 +00:00
tomw%netscape.com
8f57f4ebe9 Pull changes forward from Nova.
Missing typedef.


git-svn-id: svn://10.0.0.236/trunk@11954 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:47:13 +00:00
tomw%netscape.com
e076a21847 Pull changes forward from Nova.
Remove unused code.


git-svn-id: svn://10.0.0.236/trunk@11953 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:44:57 +00:00
pinkerton%netscape.com
38294b1e0a support toolbarBitmapPosition property.
git-svn-id: svn://10.0.0.236/trunk@11952 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:44:47 +00:00
pinkerton%netscape.com
ba6fe71ccc Simple hack to strawman layout to make toolbars with icon on the side create narrow buttons.
git-svn-id: svn://10.0.0.236/trunk@11951 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:44:21 +00:00
scc%netscape.com
374f85f6f1 Exploited better syntax for class constants; delay hooking up HT_FEData until creating the HT_Pane to hook it up to; fixed formatting
git-svn-id: svn://10.0.0.236/trunk@11950 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:41:32 +00:00
beard%netscape.com
f6c6701b08 Removed extraneous ; from IID macro.
git-svn-id: svn://10.0.0.236/trunk@11949 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:37:22 +00:00
beard%netscape.com
d51f6ab011 Now unwraps JSObject references properly.
git-svn-id: svn://10.0.0.236/trunk@11948 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:36:51 +00:00
cyeh%netscape.com
9cc05462d5 removing -DMOCHA from Windows build.
git-svn-id: svn://10.0.0.236/trunk@11947 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:15:43 +00:00
ramiro%netscape.com
7482281dee Make sure mozilla-export builds even if only one of static/dynamic motif is
present on the system.


git-svn-id: svn://10.0.0.236/trunk@11946 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:09:11 +00:00
cls%seawood.org
9cf7c5a5fc ifndef NO_STATIC_LIB, compile mkicons statically to avoid problems during the build due to dynamic libs not being in the LD_LIBRARY_PATH.
git-svn-id: svn://10.0.0.236/trunk@11943 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:54:08 +00:00
gagan%netscape.com
11fc8bafe6 NuCache changes.
git-svn-id: svn://10.0.0.236/trunk@11942 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:45:37 +00:00
gagan%netscape.com
b7eaabc58c Prefs changed. NuCache prefs handled there.
git-svn-id: svn://10.0.0.236/trunk@11941 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:41:01 +00:00
michaelp%netscape.com
6acae2f485 fixed bug where scrolling with the thumb would cause the thumb
to jump down too far on long documents.


git-svn-id: svn://10.0.0.236/trunk@11938 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:20:54 +00:00
mjudge%netscape.com
ecc9f4f916 added mailto as dir for MOZ_MAIL_COMPOSE
git-svn-id: svn://10.0.0.236/trunk@11937 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:19:47 +00:00
mjudge%netscape.com
cc0165c11c Getting Multipartrelated mime working for Ender mjudge- reviewed kin
git-svn-id: svn://10.0.0.236/trunk@11936 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:19:21 +00:00
pinkerton%netscape.com
23c4f86c0f More rollover stuff and pure virtual interfaces in CRDFToolbarItem to get rid of LView reliance in base class.
git-svn-id: svn://10.0.0.236/trunk@11935 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 20:56:03 +00:00
spider%netscape.com
1ea2351bd5 WIP: Multi-user
git-svn-id: svn://10.0.0.236/trunk@11932 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 20:43:12 +00:00
spider%netscape.com
08badee4a8 WIP: Multi-User XML
git-svn-id: svn://10.0.0.236/trunk@11931 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 20:05:01 +00:00
cyeh%netscape.com
0bd4b7509c Remove #define MOCHA 1 from Mac builds.
git-svn-id: svn://10.0.0.236/trunk@11930 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 20:00:01 +00:00
spider%netscape.com
cb70c71f61 WIP: MultiUserView
git-svn-id: svn://10.0.0.236/trunk@11929 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:52:15 +00:00
cltbld%netscape.com
f022f86742 Deleted FullSoft Access path
git-svn-id: svn://10.0.0.236/trunk@11928 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:41:12 +00:00
ramiro%netscape.com
f99f1f1825 Fix for bugzilla bug 886. compiler warning for missing brakets.
Thanks to Raffaele Sena <raff@aromatic.com> for providing a fix.


git-svn-id: svn://10.0.0.236/trunk@11927 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:35:48 +00:00
wtc%netscape.com
c8483143ad Backed out the previous change. We are trying not to introduce
new dependencies on Mozilla into NSPR.


git-svn-id: svn://10.0.0.236/trunk@11926 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:34:12 +00:00
ramiro%netscape.com
2b9f774400 Here's a quick patch to get the autoconf build to work under
FreeBSD.  I think this is needed because the old build system
would define BSDI for FreeBSD systems, while autoconf doesn't.
Thanks to skinny <skinny@knowhere.net> for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@11923 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:24:33 +00:00
despotdaemon%netscape.com
4b74758833 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11922 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:23:05 +00:00
wtc%netscape.com
eda3f587e1 Removed all the autoconf *.in files in mozilla/nsprpub.
git-svn-id: svn://10.0.0.236/trunk@11919 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:19:56 +00:00
wtc%netscape.com
7c127508ee More mozilla/nsprpub updates, including:
- Patch for MkLinux and glibc 2.1.  Removed the MKLINUX macro.
  This patch is contributed by Tom Rini <trini@kernel.crashing.org>.
- Patch to make the emulated threads work on ARM/Linux.  Contributed
  by raff@netwinder.org.


git-svn-id: svn://10.0.0.236/trunk@11916 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:58:25 +00:00
pinkerton%netscape.com
17fb83237d Getting the button class drawing and showing rollover feedback.
git-svn-id: svn://10.0.0.236/trunk@11915 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:47:21 +00:00
pinkerton%netscape.com
85c40549cb More code to better create the correct item class, EraseBackground() to do the right thing when HT specifies a colored bg, and some more minor tweaks.
git-svn-id: svn://10.0.0.236/trunk@11914 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:46:54 +00:00
cyeh%netscape.com
24bc22fe14 removing obsolete files. use MANIFEST instead.
git-svn-id: svn://10.0.0.236/trunk@11913 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:42:02 +00:00
despotdaemon%netscape.com
63034233e4 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11908 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 17:28:32 +00:00
terry%netscape.com
33b9f02a45 Whoops; any "Open" partition was just being treated as the same as the
"default".  Which it isn't!


git-svn-id: svn://10.0.0.236/trunk@11907 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 17:27:44 +00:00
cyeh%netscape.com
2143514b37 back out attempted changes
git-svn-id: svn://10.0.0.236/trunk@11906 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 17:20:01 +00:00
ftang%netscape.com
73192ae0f5 add menu csid selector
git-svn-id: svn://10.0.0.236/trunk@11905 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:56:00 +00:00
ftang%netscape.com
8bbe6747ef add one selector to access the csid for menu and menu bar
git-svn-id: svn://10.0.0.236/trunk@11904 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:29:57 +00:00
ftang%netscape.com
db4afc138e add one selector to access the csid of the menu
git-svn-id: svn://10.0.0.236/trunk@11903 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:28:01 +00:00
ftang%netscape.com
920ca2232d add one selector to access the csid id of the resource
git-svn-id: svn://10.0.0.236/trunk@11902 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:27:13 +00:00
ftang%netscape.com
7415bbe893 add two API to access cross-platform string
git-svn-id: svn://10.0.0.236/trunk@11901 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:25:56 +00:00
ftang%netscape.com
34e5a53d06 add new selector to access csid, add two new interface to access cross-platform string
git-svn-id: svn://10.0.0.236/trunk@11900 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:24:57 +00:00
troy%netscape.com
7c7212336e Changed some code to use XPCOM ref counting related macros
git-svn-id: svn://10.0.0.236/trunk@11893 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 05:11:18 +00:00
ramiro%netscape.com
1262860472 This patch makes cmd/xfe link on BSD/OS 4.0. My private patch tree now
is down to 20K, and the majority of lines pertain to the "#ifdef BSD"
warning fixes of Bugzilla bug #424. Mozilla on BSD/OS certainly is
coming along!  Thanks to Bert Driehuis <driehuis@playbeing.org> for
providing the patch.


git-svn-id: svn://10.0.0.236/trunk@11892 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 02:18:33 +00:00
troy%netscape.com
31a923050a Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this
sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()


git-svn-id: svn://10.0.0.236/trunk@11891 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 00:58:32 +00:00
blizzard%appliedtheory.com
78801239f4 Cleanup of the pixmap rendering code.
git-svn-id: svn://10.0.0.236/trunk@11888 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 22:29:34 +00:00
locka%iol.ie
a29fa44634 IE patcher application
git-svn-id: svn://10.0.0.236/trunk@11887 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:49:16 +00:00
locka%iol.ie
197b35a0b5 Added a few more URLs to the drop down and simple busy/idle indicator
git-svn-id: svn://10.0.0.236/trunk@11886 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:43:16 +00:00
locka%iol.ie
f557b05110 File is autogenerated and does not need to be in CVS
git-svn-id: svn://10.0.0.236/trunk@11885 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:41:23 +00:00
locka%iol.ie
fa21f08db7 Added enumeration used by the IWebBrowser::Refresh2 method
git-svn-id: svn://10.0.0.236/trunk@11884 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:39:58 +00:00
locka%iol.ie
a515845482 Removed some autogenerated files from file list
git-svn-id: svn://10.0.0.236/trunk@11883 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:38:59 +00:00
locka%iol.ie
7f5769decc Added more assertions and type checking
Added initial implementations of more IWebBrowser methods


git-svn-id: svn://10.0.0.236/trunk@11882 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:38:05 +00:00
locka%iol.ie
56620ecaf1 Improved diagnostic macros
git-svn-id: svn://10.0.0.236/trunk@11881 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:36:06 +00:00
locka%iol.ie
8ab55b7392 File is automatically generated by build and does not need to be in CVS
git-svn-id: svn://10.0.0.236/trunk@11880 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 13:21:55 +00:00
locka%iol.ie
46e52d9e7e File is generated during build and does not need to be in CVS
git-svn-id: svn://10.0.0.236/trunk@11879 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 13:17:25 +00:00
rickg%netscape.com
9f85360cbc fixed a bunch-O-bugs
git-svn-id: svn://10.0.0.236/trunk@11878 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 04:56:55 +00:00
rickg%netscape.com
0a294fc002 added radix support in ToInteger()
git-svn-id: svn://10.0.0.236/trunk@11877 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 04:52:10 +00:00
cls%seawood.org
f48d02cccf Changed make-resources to accept resources-translations on the commandline.
This fixes the long standing unclickable links problem under autoconf.  Thanks to Ramiro Estrugo <ramiro@netscape.com> for the pointers that led to this fix.


git-svn-id: svn://10.0.0.236/trunk@11876 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 03:01:35 +00:00
briano%netscape.com
9904842381 Fixes to help get UnixWare 7 builds off the floor.
git-svn-id: svn://10.0.0.236/trunk@11875 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 00:28:14 +00:00
locka%iol.ie
a0cda1dc26 VB test app
git-svn-id: svn://10.0.0.236/trunk@11874 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:18:54 +00:00
locka%iol.ie
7527cd9720 C++ sample
git-svn-id: svn://10.0.0.236/trunk@11873 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:15:56 +00:00
locka%iol.ie
a5829f2791 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@11872 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:14:15 +00:00
locka%iol.ie
a86200f2d9 Added icon back but with binary mode turned on
git-svn-id: svn://10.0.0.236/trunk@11871 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:04:53 +00:00
locka%iol.ie
1f1e7231fb Added binary file as text, trying again
git-svn-id: svn://10.0.0.236/trunk@11870 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:03:45 +00:00
locka%iol.ie
d8bafa5c50 Added DevStudio project file for convenient editing
git-svn-id: svn://10.0.0.236/trunk@11869 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:52:55 +00:00
locka%iol.ie
7d1d696f52 Added icon (same as Mozilla executable) for control
git-svn-id: svn://10.0.0.236/trunk@11868 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:51:36 +00:00
locka%iol.ie
105fe4f81b Diagnostic macro file
git-svn-id: svn://10.0.0.236/trunk@11867 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:49:47 +00:00
rjc%netscape.com
5033c14fa5 New animation support for containers which are loading. Also, if a load fails for a container, close it and report error to user.
git-svn-id: svn://10.0.0.236/trunk@11866 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:39:25 +00:00
locka%iol.ie
f23fda9c45 Updated to reflect recent modifications
git-svn-id: svn://10.0.0.236/trunk@11865 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:35:08 +00:00
cls%seawood.org
d533d6b64a Cleaned up check for NSPR libs.
Added check for NSPR headers.
The build will stop if either are not found.


git-svn-id: svn://10.0.0.236/trunk@11864 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 21:27:30 +00:00
cmanske%netscape.com
17132a3598 Fixed infinite loop when dropping table cells, added FE_Alert when not all cells are pasted
git-svn-id: svn://10.0.0.236/trunk@11863 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 20:21:06 +00:00
cls%seawood.org
addb77e373 Modified DEBUG kludge to work with default qt headers.
git-svn-id: svn://10.0.0.236/trunk@11862 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 20:13:57 +00:00
briano%netscape.com
af25256fa4 Yet another case where the perl used by earlier product releases is perl 4, so we (Netscape) will work around it.
git-svn-id: svn://10.0.0.236/trunk@11861 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 19:42:56 +00:00
cmanske%netscape.com
77b77bc5c9 Fixed complete bustage of dragging table cells in Composer
git-svn-id: svn://10.0.0.236/trunk@11860 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 18:38:36 +00:00
ramiro%netscape.com
d08a9fe09d Ok, dammit - we cant link that bastard mkicons dynamically on many dumbass
platforms.  So forgetaboutit, just link the damn binary statically.  It doesnt
get shipped anyway, so who cares ?


git-svn-id: svn://10.0.0.236/trunk@11859 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 15:27:19 +00:00
ramiro%netscape.com
17cb1d8ab7 Define both LIB and DSO MACROS for jpeg, png and zlib.
Should fix the F#(&!%G solaris and IRIX builds.


git-svn-id: svn://10.0.0.236/trunk@11858 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 14:17:39 +00:00
ramiro%netscape.com
6b81b8b1ff Define both LIB and DSO MACROS to conform to the "standard".
Should fix the F#(&!%G solaris and IRIX builds.


git-svn-id: svn://10.0.0.236/trunk@11857 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 14:17:37 +00:00
ramiro%netscape.com
d151ef2f79 Fix irix build. Add -L$(DIST)/bin when needed to catch the dep shared libs.
Should fix the irix build.  Also, add REQUIRES defines for graphics libs.


git-svn-id: svn://10.0.0.236/trunk@11856 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 12:11:33 +00:00
ramiro%netscape.com
fb51a2df5b Add rules for dynamic and shared linking of mkicons. Should fix the irix
build.


git-svn-id: svn://10.0.0.236/trunk@11855 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 12:09:12 +00:00
ramiro%netscape.com
bd18a771ff Include a common makefile and share the damn rules instead of
cut-and-paste-and-hack-and-paste-and-cut-and-break the unix fes all over
the place.


git-svn-id: svn://10.0.0.236/trunk@11854 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 11:03:26 +00:00
ramiro%netscape.com
17582ae7de Add mozilla/cmd/unixfe to MozillaSourceUnixOnly.
git-svn-id: svn://10.0.0.236/trunk@11853 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 10:01:48 +00:00
ramiro%netscape.com
4020c1865b Makefile hackery shared across unix and unik-like Mozilla front ends.
The purpose of this file is to STOP THE INSANITY that has become the XFE
Makefile and that will soon be the gnomefe, qtfe, ybfe and foofe Makfiles.

Anything that can be shared between the unix fes, should be shared.  Always
look here first before adding anything to the toolkit specific Makefiles,
or you will suffer dearly.


git-svn-id: svn://10.0.0.236/trunk@11852 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 09:55:49 +00:00
rjc%netscape.com
fa5945b21d Initialize tv to true.
git-svn-id: svn://10.0.0.236/trunk@11851 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 06:59:01 +00:00
rjc%netscape.com
ab66dd7752 Get "tv" from attribute list before handling assertion.
git-svn-id: svn://10.0.0.236/trunk@11850 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 06:00:40 +00:00
rjc%netscape.com
0821c0ad8e Icon handling rewritten.
git-svn-id: svn://10.0.0.236/trunk@11849 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 06:00:13 +00:00
cls%seawood.org
dba78bf566 Removed NSPR build kludge.
git-svn-id: svn://10.0.0.236/trunk@11848 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 05:02:15 +00:00
troy%netscape.com
576757f155 Removed nsIInlineReflow and folded it into nsIHTMLReflow
git-svn-id: svn://10.0.0.236/trunk@11847 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 04:28:05 +00:00
beard%netscape.com
178d9c9595 Added ::public: to access paths, added nsJNI.cpp, proxy JNI.
git-svn-id: svn://10.0.0.236/trunk@11846 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:40:42 +00:00
ramiro%netscape.com
ab234c1b9e Remove really really really dead code.
git-svn-id: svn://10.0.0.236/trunk@11845 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:38:58 +00:00
ramiro%netscape.com
64f4744176 Remove really really dead code.
git-svn-id: svn://10.0.0.236/trunk@11844 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:32:22 +00:00
beard%netscape.com
0dac3b0b54 Finished proxy JNIEnv. Added security context parameters.
git-svn-id: svn://10.0.0.236/trunk@11841 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:18:00 +00:00
beard%netscape.com
ea74314ffe Added NewObjectArray, changed NewArray.
git-svn-id: svn://10.0.0.236/trunk@11840 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:16:30 +00:00
cmanske%netscape.com
8efdae1533 More Composer publishing improvements
git-svn-id: svn://10.0.0.236/trunk@11839 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 02:25:13 +00:00
cmanske%netscape.com
435433de1c More Composer publishing improvements. Change cursor when Ctrl is pressed over a link in Composer
git-svn-id: svn://10.0.0.236/trunk@11838 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 02:23:39 +00:00
cls%seawood.org
7af64f49ef Fail if specified FE dir does not exist rather than just warn.
git-svn-id: svn://10.0.0.236/trunk@11837 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 02:21:18 +00:00
cls%seawood.org
907fb412ae Added artificial $(DISTTARGETS) to make parallel builds play nice.
git-svn-id: svn://10.0.0.236/trunk@11836 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 01:37:09 +00:00
kipp%netscape.com
e6c8df823f Fixed to not render trailing whitespace
git-svn-id: svn://10.0.0.236/trunk@11835 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:48:19 +00:00
rjc%netscape.com
78cec0025c Revert to only #include "allxpstr.h" for Mac.
git-svn-id: svn://10.0.0.236/trunk@11834 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:37:49 +00:00
rjc%netscape.com
2e099bbdb3 When HT wants to send an event to the FE, if its not running on the mozilla_thread, post an event instead of sending the event directly.
git-svn-id: svn://10.0.0.236/trunk@11833 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:36:23 +00:00
akkana%netscape.com
73a73407cc Oops, used CF_BACK_COLOR instead of CF_BACK_IMAGE
git-svn-id: svn://10.0.0.236/trunk@11832 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:33:50 +00:00
akkana%netscape.com
59ea68234a 314338,325650: fix some table problems
git-svn-id: svn://10.0.0.236/trunk@11831 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:29:03 +00:00
slamm%netscape.com
5f77f7a58a Hacks for URLBar. Just bring up the 'Open Page' dialog for now.
git-svn-id: svn://10.0.0.236/trunk@11830 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:27:46 +00:00
cls%seawood.org
86328451a6 Fixed silly variable mistake.
git-svn-id: svn://10.0.0.236/trunk@11829 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:23:04 +00:00
kipp%netscape.com
4072413f71 Preliminary support for negative top/bottom margins
git-svn-id: svn://10.0.0.236/trunk@11827 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:17:44 +00:00
cls%seawood.org
ca11348181 Added -L$(QTDIR)/lib to FE_QT_LIBS
git-svn-id: svn://10.0.0.236/trunk@11826 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:09:51 +00:00
slamm%netscape.com
68e524347a Clean up some icon code.
git-svn-id: svn://10.0.0.236/trunk@11825 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:03:37 +00:00
slamm%netscape.com
d8dbe1f2d0 Rip out old toolbar code. (Actually, ifdef it out for now).
git-svn-id: svn://10.0.0.236/trunk@11824 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:03:29 +00:00
rjc%netscape.com
891b5bea1c When RDF wants to call NET_GetURL(), if its not running on the mozilla_thread, post an event instead of calling NET_GetURL() directly.
git-svn-id: svn://10.0.0.236/trunk@11823 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:02:25 +00:00
cls%seawood.org
71b0a31a59 Always use -L$(QTDIR)/lib when looking for -lqt. This means that QTDIR must be set when building.
git-svn-id: svn://10.0.0.236/trunk@11822 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 23:46:18 +00:00
slamm%netscape.com
2b732dc45c Fix growing cascades on the toolbar. #938. The cascade callback was called for enter and leave events.
git-svn-id: svn://10.0.0.236/trunk@11821 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 23:26:53 +00:00
rjc%netscape.com
dd2cf5ca2b Pass RDFT into gRDFMWContext().
git-svn-id: svn://10.0.0.236/trunk@11820 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 23:07:27 +00:00
joki%netscape.com
243c9f3a96 Don't look for new webshell during link clicks if no target specified
git-svn-id: svn://10.0.0.236/trunk@11819 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:56:52 +00:00
briano%netscape.com
3750297062 Now supports MOZ_DOM, compliments of toshok@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11818 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:43:52 +00:00
cmanske%netscape.com
687b94ff65 Rewrote NET_ParseUploadURL to use NET_ParseURL as much as possible for getting username and password from a URL. Reviewed/approved by valeski
git-svn-id: svn://10.0.0.236/trunk@11817 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:36:09 +00:00
warren%netscape.com
f0ffc7b067 Fixed nsIPluginInputStream::Close method to not crash.
git-svn-id: svn://10.0.0.236/trunk@11816 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:28:51 +00:00
cmanske%netscape.com
451e941a23 Modified Composer Publishing dialog
git-svn-id: svn://10.0.0.236/trunk@11815 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:20:37 +00:00
cmanske%netscape.com
3b8450b511 Added callback to tell Composer when username is entered when uploading. Fixed bug getting username, password for this dialog. Approved/reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@11814 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:19:06 +00:00
cmanske%netscape.com
8731de2fe9 Added new function prototype and a parameter to EDT_SavePublishUsername
git-svn-id: svn://10.0.0.236/trunk@11813 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:18:49 +00:00
cmanske%netscape.com
43c841d06d Changes to use SingleSignon for password rememembering
git-svn-id: svn://10.0.0.236/trunk@11812 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:18:45 +00:00
cmanske%netscape.com
6bf44ad181 Implemented callback to get username after entered in NetLib's dialog during publishing. Finished removing old password saving in editor.
git-svn-id: svn://10.0.0.236/trunk@11811 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:18:24 +00:00
akkana%netscape.com
e64f9c8ba0 Show no-spellchecker-found dialog only if NETSCAPE_COMMERCIAL
git-svn-id: svn://10.0.0.236/trunk@11810 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:15:23 +00:00
rjc%netscape.com
4aa3b4b531 Pass RDFT into gRDFMWContext().
git-svn-id: svn://10.0.0.236/trunk@11809 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:11:27 +00:00
kipp%netscape.com
ea1e3ff86f Support changing the src url
git-svn-id: svn://10.0.0.236/trunk@11808 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:59:59 +00:00
cls%seawood.org
e78d06dd92 Added -lpthread to NSPR_LIBS if --enable-pthreads.
git-svn-id: svn://10.0.0.236/trunk@11807 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:59:13 +00:00
kipp%netscape.com
d600ab67e9 Reworked vertical margin collapsing
git-svn-id: svn://10.0.0.236/trunk@11806 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:50:53 +00:00
toshok%netscape.com
1ae5aeca9e add DOM_Node's to the other elements (that don't, for some reason, nest LO_Any).
git-svn-id: svn://10.0.0.236/trunk@11805 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:50:37 +00:00
kipp%netscape.com
dc27a22fb6 Return ascent/descent info too
git-svn-id: svn://10.0.0.236/trunk@11804 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:49:47 +00:00
buster%netscape.com
850f72356a merge goof fixed, now works with new reflow API
git-svn-id: svn://10.0.0.236/trunk@11803 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:35:44 +00:00
beard%netscape.com
cea73476ff First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11802 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:23:49 +00:00
beard%netscape.com
b83b9ec8ad Added nsISecureJNI2.h
git-svn-id: svn://10.0.0.236/trunk@11801 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:22:41 +00:00
scullin%netscape.com
b04b0c1c16 Removed unused, unexported header.
git-svn-id: svn://10.0.0.236/trunk@11800 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:09:26 +00:00
cls%seawood.org
586c5d41d8 Added SW_THREADS ifdef around PR_XGetXtHackFD() prototype and call. Removed redundant definiton of NOT_NULL. Moved local headers out of DEBUG_qt kludge which is meant to only affect qt headers.
git-svn-id: svn://10.0.0.236/trunk@11799 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:59:36 +00:00
cls%seawood.org
f79012eef3 Rearranged $(NSPR_LIBS) on link command. Removed $(NSPR_LIBS) from *_DEPLIBS. Removed Linux specific build section.
git-svn-id: svn://10.0.0.236/trunk@11798 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:50:52 +00:00
buster%netscape.com
68bbfa7e34 minor interface cleanup
git-svn-id: svn://10.0.0.236/trunk@11797 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:36:35 +00:00
buster%netscape.com
206051c0e7 fixed coord-width colspan handling in some complex cases
git-svn-id: svn://10.0.0.236/trunk@11796 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:34:11 +00:00
shaver%netscape.com
3b3275987e DOM: thread-correctness assertions
git-svn-id: svn://10.0.0.236/trunk@11795 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:21:31 +00:00
shaver%netscape.com
8eb40f5e2b DOM: add node to LO_Any and add an exported prototype
git-svn-id: svn://10.0.0.236/trunk@11794 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:20:42 +00:00
shaver%netscape.com
9bcb15843b DOM: move POP_LAYER handling into back end and start element->node wiring
git-svn-id: svn://10.0.0.236/trunk@11793 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:20:31 +00:00
spider%netscape.com
87aad70453 Removing extinct nsCalScheduler
Removing references to global mpCalendar in the shell (Now owned by nsILayer)
Have Canvas's ask the layer for events for painting


git-svn-id: svn://10.0.0.236/trunk@11790 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:40:44 +00:00
cyeh%netscape.com
17a91d1eff according to pinkerton, we no longer use mercutio anymore. poof, gone
git-svn-id: svn://10.0.0.236/trunk@11789 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:19:27 +00:00
pinkerton%netscape.com
f1d1af8bad Added CRDFToolbarItem.cp
git-svn-id: svn://10.0.0.236/trunk@11788 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:19:23 +00:00
pinkerton%netscape.com
e7852e1574 changes to use CRDFToolbarItem.h
git-svn-id: svn://10.0.0.236/trunk@11787 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:18:51 +00:00
pinkerton%netscape.com
78b48b94a6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11786 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:18:26 +00:00
scullin%netscape.com
a73c10d7e1 Fix further tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@11785 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:11:06 +00:00
leaf%mozilla.org
8b000ed357 Changed MozillaSource to pull all the unix fe's, instead of just xfe
git-svn-id: svn://10.0.0.236/trunk@11784 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:59:36 +00:00
scullin%netscape.com
188ca75e76 Fix tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@11783 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:50:36 +00:00
rpotts%netscape.com
c6827c6adb Added GetBrowserWindow() method and passed OnStatus and OnProgress messages out through the nsIBrowserWindow interface...
git-svn-id: svn://10.0.0.236/trunk@11782 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:44:56 +00:00
cls%seawood.org
38257c2405 Removed full relative include path for l10n headers. Added -I$(DEPTH)/l10n/us to INCLUDES. Removed $(NSPR_LIBS) from *_DEPLIBS.
git-svn-id: svn://10.0.0.236/trunk@11780 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:26:20 +00:00
michaelp%netscape.com
8079c8624c improved documentation. made font handling more robust in the case of
unspecified font.


git-svn-id: svn://10.0.0.236/trunk@11779 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:19:30 +00:00
spider%netscape.com
fd5f6a1065 Changes to allow pulling by Date stamp. Approved by kipp
git-svn-id: svn://10.0.0.236/trunk@11778 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:50:50 +00:00
spider%netscape.com
c9bcf6735e Make View Update requests Asynchronous
git-svn-id: svn://10.0.0.236/trunk@11777 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:34:26 +00:00
cls%seawood.org
cbe9f14862 Removed overlooked libplc21.a from MKICONS_LIB.
git-svn-id: svn://10.0.0.236/trunk@11776 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:34:08 +00:00
spider%netscape.com
f535eccc8e Set Font in Rendering Context so don't crash
git-svn-id: svn://10.0.0.236/trunk@11775 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:23:58 +00:00
troy%netscape.com
b284b79357 Fixed build bustage by having MyDocument derive from nsMarkupDocument
git-svn-id: svn://10.0.0.236/trunk@11774 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:13:41 +00:00
sman%netscape.com
1664f9749a updates to support layers
git-svn-id: svn://10.0.0.236/trunk@11773 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 16:56:30 +00:00
ramiro%netscape.com
019680fe7e Add support for DGUX. Remove my previous dumbass hack.
git-svn-id: svn://10.0.0.236/trunk@11766 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 13:15:23 +00:00
ftang%netscape.com
2d862bd393 convert from/to EDIT control CSID to/from UTF8 to make the inline edit work correctly for HyperTree Widget
git-svn-id: svn://10.0.0.236/trunk@11765 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 12:10:22 +00:00
ftang%netscape.com
f0683051c8 fix the non UTF8 HT_AddToContainer problem by using the UTF8 title from the history entry instead of the non UTF8 title from MWContext
git-svn-id: svn://10.0.0.236/trunk@11764 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 12:08:54 +00:00
ftang%netscape.com
9c4661e97d fix UTF8 html drawing problem problem introduced yesterday when remove cuv stuff
git-svn-id: svn://10.0.0.236/trunk@11763 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 12:03:28 +00:00
pierre%netscape.com
495f665baa as reported by michaelp: set the native font in GetWidth() or DrawString(), not in SetFont().
git-svn-id: svn://10.0.0.236/trunk@11762 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 09:48:30 +00:00
pierre%netscape.com
3ed3b2ff88 a little cleanup (removed the commented-out unix code etc...)
git-svn-id: svn://10.0.0.236/trunk@11761 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 09:44:51 +00:00
cls%seawood.org
63e246df0e Set NSPR_DIR to DIST if --with-nspr is not defined.
git-svn-id: svn://10.0.0.236/trunk@11760 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:59:56 +00:00
cls%seawood.org
28e8f85309 Moved NSPR libraries into $(NSPR_LIBS). Changed link commands to use $(NSPR_LDFLAGS) $(NSPR_LIBS).
git-svn-id: svn://10.0.0.236/trunk@11759 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:58:54 +00:00
cls%seawood.org
18fd148303 Added ifndef LOSE_NSPR around NSPR build kludge for testers.
git-svn-id: svn://10.0.0.236/trunk@11758 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:50:32 +00:00
briano%netscape.com
d22c29162f Added support for Rhapsody.
git-svn-id: svn://10.0.0.236/trunk@11757 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:20:52 +00:00
cls%seawood.org
866d101e59 Added NSPR_DIR, NSPR_INCLUDES, NSPR_LDFLAGS and NSPR_LIBS variables.
git-svn-id: svn://10.0.0.236/trunk@11756 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:10:31 +00:00
cls%seawood.org
96974a9da4 Added check so libXpm is only looked for if Motif requires it. Undefine certain motif variables if detect_motif.sh returns unknown. Added --with-static-motif. Added --with-nspr.
git-svn-id: svn://10.0.0.236/trunk@11755 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:06:03 +00:00
pierre%netscape.com
ea8acbc01c fix mac build: removed nsIRunaround.h
git-svn-id: svn://10.0.0.236/trunk@11754 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 06:18:01 +00:00
mcafee%netscape.com
0fb80f8fbb Adding uname -s entry for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@11753 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:57:44 +00:00
morse%netscape.com
5237d06306 fix single signon part of bug 300472
git-svn-id: svn://10.0.0.236/trunk@11752 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:54:27 +00:00
mcafee%netscape.com
490d8cc52e Adding X11 support for Rhapsody build
git-svn-id: svn://10.0.0.236/trunk@11751 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:46:02 +00:00
troy%netscape.com
c2f93fd8d3 Temp hack to fix Linux circular linkage problem
git-svn-id: svn://10.0.0.236/trunk@11750 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:32:11 +00:00
troy%netscape.com
e191c422d9 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure


git-svn-id: svn://10.0.0.236/trunk@11749 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:10:00 +00:00
cls%seawood.org
768e5cabcf Made tweak_nspr: an empty target for autoconf as $(MKDEPEND) requires it now.
git-svn-id: svn://10.0.0.236/trunk@11748 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:08:00 +00:00
blizzard%appliedtheory.com
403be84b54 Integrate patch from Michael O'Reilly <michael@metal.iinet.net.au>
This patch starts work on displaying pixmaps.


git-svn-id: svn://10.0.0.236/trunk@11747 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 03:01:01 +00:00
briano%netscape.com
efae58c5ae Netscape-specific change to deal with the fact that many of our machines
have Perl 4 installed on them, and need to keep it where it is for historic
reasons.  So, we needed a way to be sure we get Perl 5 when building mozilla.
This change takes care of that.  It may break some people *inside Netscape*
initially, but problems should be minimal, as the solution involves simply
creating a symlink.


git-svn-id: svn://10.0.0.236/trunk@11746 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:44:58 +00:00
cls%seawood.org
f01081de2d Changed LCFLAGS to CFLAGS. LCFLAGS doesn't work under autoconf.
git-svn-id: svn://10.0.0.236/trunk@11745 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:16:28 +00:00
shaver%netscape.com
7461b6934f (DOM) end style-forced layers
git-svn-id: svn://10.0.0.236/trunk@11744 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:12:47 +00:00
cls%seawood.org
02c981296d Removed obsolete autoconf version of tweak_nspr:
git-svn-id: svn://10.0.0.236/trunk@11743 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:12:21 +00:00
cls%seawood.org
fef712eced Moved checks for --disable-{shared,static}. Tested a few features. --enable-{java,oji} sets NO_SHARED_LIB= . Removed NSPR_MAKEFILES variable.
git-svn-id: svn://10.0.0.236/trunk@11742 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:10:37 +00:00
spider%netscape.com
5bac2746aa Fixes for latest raptor updates
git-svn-id: svn://10.0.0.236/trunk@11741 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:06:17 +00:00
toshok%netscape.com
a7a1b90509 remove asserts and replace them with helpful comments.
git-svn-id: svn://10.0.0.236/trunk@11739 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:56:37 +00:00
pinkerton%netscape.com
caee05e270 Skeleton code for adding buttons to the toolbars.
git-svn-id: svn://10.0.0.236/trunk@11738 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:26:25 +00:00
scc%netscape.com
8ec0ffe69a No relative paths for Mac, please. Wrapped #include in #ifdef XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@11737 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:16:14 +00:00
michaelp%netscape.com
7c2022dc32 modified for new fontmetrics/renderingcontext.
git-svn-id: svn://10.0.0.236/trunk@11736 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:12:39 +00:00
michaelp%netscape.com
ee87791baf modified for new fontmetrics/renderingcontext.
fixed memory leak.


git-svn-id: svn://10.0.0.236/trunk@11735 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:12:24 +00:00
michaelp%netscape.com
b0e5e179b1 moved GetWidth() APIs from fontmetrics to the renderingcontext.
git-svn-id: svn://10.0.0.236/trunk@11734 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:07:56 +00:00
mcafee%netscape.com
f5b9ebf9b3 Condensing the BSD case for STATFS #define
git-svn-id: svn://10.0.0.236/trunk@11733 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:59:50 +00:00
spider%netscape.com
767614a76e Add lesstif to include path. really need to use config script
for figuring the motif version


git-svn-id: svn://10.0.0.236/trunk@11732 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:47:17 +00:00
shaver%netscape.com
484b5c23d8 (#if DOM) initialize variables, check for NULL, call the right functions -- basically, don't be a total moron
git-svn-id: svn://10.0.0.236/trunk@11731 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:46:27 +00:00
brendan%netscape.com
9bb121615c nsIEventHandler is not a struct, has not been for a while, and anyway is known by its typedef name here.
git-svn-id: svn://10.0.0.236/trunk@11730 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:20:18 +00:00
shaver%netscape.com
9c4fc9bb0f add LM_Set/ClearNodeFlags
git-svn-id: svn://10.0.0.236/trunk@11729 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:10:16 +00:00
shaver%netscape.com
0ced7dbdf0 more DOM style stuff, fix some warnings, conditionally prune looks-dead-to-me code, support font-weight:bold/normal
git-svn-id: svn://10.0.0.236/trunk@11728 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:09:52 +00:00
shaver%netscape.com
1c2bd7b245 break out MOZILLA_CLIENT db creation for thread purity reasons
git-svn-id: svn://10.0.0.236/trunk@11727 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:03:54 +00:00
cls%seawood.org
4c5cd193d7 The first commit apparently didn't take. Restored inclusion of private nspr header in OJI ifdef.
git-svn-id: svn://10.0.0.236/trunk@11726 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:01:08 +00:00
joki%netscape.com
51bd8a30f9 Switching order of gfx - dom in build
git-svn-id: svn://10.0.0.236/trunk@11723 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:46:55 +00:00
cyeh%netscape.com
ed5c09b09c fix ep for mac
git-svn-id: svn://10.0.0.236/trunk@11722 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:35:40 +00:00
briano%netscape.com
8b7e99677f OS_MINOR is no longer needed.
git-svn-id: svn://10.0.0.236/trunk@11721 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:32:17 +00:00
briano%netscape.com
b8111503d7 Tweak for NetBSD. Eliminates the OS_MINOR macro that (1) didn't work properly, and (2) was being generated every time NetBSD.mk was included. Approved by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11720 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:29:47 +00:00
cls%seawood.org
94dcc80bee Sync'd with Makefile
git-svn-id: svn://10.0.0.236/trunk@11719 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:17:22 +00:00
joki%netscape.com
e8b18e86a6 Remove accidental checkin.
git-svn-id: svn://10.0.0.236/trunk@11718 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:10:22 +00:00
spider%netscape.com
e702c8ba52 pull zulu nls branch rather than normandy
git-svn-id: svn://10.0.0.236/trunk@11717 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:02:49 +00:00
joki%netscape.com
d69a86613b Add gfx libs to dom link list
git-svn-id: svn://10.0.0.236/trunk@11716 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:45:55 +00:00
joki%netscape.com
0cea84a3d0 Adding new js window methods/props, moving js string evaluation to UC strings.
git-svn-id: svn://10.0.0.236/trunk@11715 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:23:48 +00:00
joki%netscape.com
d5153ccc10 Adding new window methods, moving js evaluate methods to using UC strings.
git-svn-id: svn://10.0.0.236/trunk@11714 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:21:59 +00:00
cyeh%netscape.com
13c131ca21 remove old MOCHA define, in preparation for removing DMOCHA from build.
git-svn-id: svn://10.0.0.236/trunk@11712 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:04:27 +00:00
cyeh%netscape.com
a5272b4f70 this is a redundent define, since rules.mk includes config.mk, where MOCHA
is already defined. preparation to remove -DMOCHA from build


git-svn-id: svn://10.0.0.236/trunk@11711 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:01:24 +00:00
rpotts%netscape.com
0bc5b13542 Pass in a null nsIURLGroup to the image group...
git-svn-id: svn://10.0.0.236/trunk@11710 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:53:52 +00:00
rpotts%netscape.com
600c7d04a4 Fire the EndLoadURL(...) notification after all of the URLs have been loaded by the doc loader...
git-svn-id: svn://10.0.0.236/trunk@11709 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:49:50 +00:00
pinkerton%netscape.com
ad834619fe add RDF toolbar stuff.
git-svn-id: svn://10.0.0.236/trunk@11708 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:49:40 +00:00
pinkerton%netscape.com
415eb197d8 Fix to not merge 'cfrg' resources in Moz_resources and mozdark_resources (again).
Added CRDFToolbar and CRDFToolbarContainer.


git-svn-id: svn://10.0.0.236/trunk@11707 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:49:31 +00:00
cls%seawood.org
c4d043d470 Removed use of private NSPR headers. Approved by warren@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11706 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:48:18 +00:00
rpotts%netscape.com
5763a74bc6 The document loader now supports nsIURLGroup interface.
git-svn-id: svn://10.0.0.236/trunk@11705 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:48:12 +00:00
rpotts%netscape.com
f41a79a495 Added IsBusy() to determine if a doc loader is actively loading URLs...
git-svn-id: svn://10.0.0.236/trunk@11704 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:47:18 +00:00
rpotts%netscape.com
40b191f226 Pass a null nsIURLGroup into the ImageGroup initialize method...
git-svn-id: svn://10.0.0.236/trunk@11703 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:46:24 +00:00
rpotts%netscape.com
e21a064e33 Initialize the nsIURLGroup from the document base URL...
git-svn-id: svn://10.0.0.236/trunk@11702 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:45:20 +00:00
rpotts%netscape.com
58c795b984 Pass the nsIURLGroup into the ImageGroup...
git-svn-id: svn://10.0.0.236/trunk@11701 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:44:16 +00:00
rpotts%netscape.com
e2031c26ba Added GetDocumentURLGroup() method
git-svn-id: svn://10.0.0.236/trunk@11700 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:43:49 +00:00
rpotts%netscape.com
a908e3833c Added GetDocumentURLGroup() methodnsIDocument.h
git-svn-id: svn://10.0.0.236/trunk@11699 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:43:02 +00:00
pinkerton%netscape.com
087da919b0 oops, remove code that hardcoded the bg image url if one was not set.
git-svn-id: svn://10.0.0.236/trunk@11698 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:41:59 +00:00
rpotts%netscape.com
3282d32c99 Added a nsIURLGroup to image URL creation. This allows the URLs to be loaded via the same document loader and use the same load attributes...
git-svn-id: svn://10.0.0.236/trunk@11697 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:40:58 +00:00
pinkerton%netscape.com
4de54b5f20 More overrides for CDragBarContainer to not run the code that expects static layout.
git-svn-id: svn://10.0.0.236/trunk@11696 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:39:42 +00:00
blythe%netscape.com
7b76be14b2 Fix win95 build problems that do not show up as build errors, revd danm
git-svn-id: svn://10.0.0.236/trunk@11695 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:39:18 +00:00
pinkerton%netscape.com
e557c2564a toolbars now draw correctly in all windows (not just in 2nd on up) and respect HT background url property.
git-svn-id: svn://10.0.0.236/trunk@11694 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:38:31 +00:00
pinkerton%netscape.com
2311f9eb2b using auto_HT_Pane for managing HTPane ownership.
git-svn-id: svn://10.0.0.236/trunk@11693 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:37:50 +00:00
rpotts%netscape.com
900e52ffbe Added a Clone(...) method.
git-svn-id: svn://10.0.0.236/trunk@11692 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:37:32 +00:00
pinkerton%netscape.com
af41e832f6 using auto_HT_pane for HTPane ownership.
git-svn-id: svn://10.0.0.236/trunk@11691 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:37:23 +00:00
rpotts%netscape.com
74c9fed21f Added nsIURLGroup interface...
git-svn-id: svn://10.0.0.236/trunk@11690 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:36:57 +00:00
pinkerton%netscape.com
1f752a7cc1 Fix for #324974 where we weren't sync-ing the selection with HT correctly when nodes were unselected.
git-svn-id: svn://10.0.0.236/trunk@11689 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:36:44 +00:00
ramiro%netscape.com
141f180710 fraioli@dg-rtp.dg.com (Marc J. Fraioli) writes the following:
I used the SYS_BYTEORDER_H macro to decide whether or not to
include <sys/byteorder.h>.  This seems appropriate, but I'm happy to
have the feature test changed to DGUX if this breaks some other
platform.

ramiro@netscape.com writes the follwing:

There probably is a proper way to do this in a completely XP way,
but dbm has been hacked so much that such a change is likely to
break a random platform out there.  Im protecting this code with
#if defined(DGUX) to be really safe.


git-svn-id: svn://10.0.0.236/trunk@11688 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:36:17 +00:00
pinkerton%netscape.com
c90e722195 fixes so that RDF toolbars can work too.
git-svn-id: svn://10.0.0.236/trunk@11687 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:35:41 +00:00
cyeh%netscape.com
ee89664b81 Remove old MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11686 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:24:22 +00:00
ramiro%netscape.com
4d9c882b95 Add support for DGUX. These are simple #ifdefs that dont affect any other
platforms.  Thanks to fraioli@dg-rtp.dg.com (Marc J. Fraioli) for providing
the patch.


git-svn-id: svn://10.0.0.236/trunk@11685 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:22:42 +00:00
rods%netscape.com
e10114cda3 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@11684 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:06:09 +00:00
ramiro%netscape.com
3be55f59cd Renamed badly named raise_border to accent_border.
git-svn-id: svn://10.0.0.236/trunk@11683 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:00:04 +00:00
kin%netscape.com
54d4f6807c Removed the ... from the editorGoodiesMenu insertHorizontalLine label string
since it doesn't bring up a dialog.


git-svn-id: svn://10.0.0.236/trunk@11682 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 20:56:29 +00:00
scullin%netscape.com
39357fe461 Don't crash if the pref dll isn't registered.
git-svn-id: svn://10.0.0.236/trunk@11681 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:59:32 +00:00
dcone%netscape.com
a19bc614b4 Fixed the location problem
git-svn-id: svn://10.0.0.236/trunk@11680 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:48:52 +00:00
dcone%netscape.com
8669e95c2b Fixed the thumbsize problem
git-svn-id: svn://10.0.0.236/trunk@11679 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:48:31 +00:00
despotdaemon%netscape.com
4b1c1110af Pseudo-automatic update of changes made by wynholds@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11677 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:22:47 +00:00
pierre%netscape.com
16dfef1d5d fixed GetWidth for italic strings
fixed GetMaxAdvance, strikeout, underline, superscript etc...


git-svn-id: svn://10.0.0.236/trunk@11676 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:20:09 +00:00
rods%netscape.com
435beabab3 Added {} block in switch statement to make it compile on Linux
git-svn-id: svn://10.0.0.236/trunk@11675 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:19:45 +00:00
pierre%netscape.com
df1f7f1a55 Raptor only. Display images on Mac.
git-svn-id: svn://10.0.0.236/trunk@11674 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:17:51 +00:00
cltbld%netscape.com
bd3a731b2c Set NavigationLib to weak linked
git-svn-id: svn://10.0.0.236/trunk@11673 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:08:39 +00:00
warren%netscape.com
c56943c7b7 Cleaned up messages.
git-svn-id: svn://10.0.0.236/trunk@11672 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:07:36 +00:00
buster%netscape.com
c82e3e07ed much better backwards compatibility for autowidth tables
now autowidth columns as assigned a width starting from their minimum.  The remaining
space is proportionately divided among them, never allowing a column to go over its max (for
autowidth tables only.)


git-svn-id: svn://10.0.0.236/trunk@11671 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 18:39:31 +00:00
cyeh%netscape.com
fe26aad290 loosen up check for this error parser since it wasn't finding this
string properly


git-svn-id: svn://10.0.0.236/trunk@11669 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 17:38:04 +00:00
spider%netscape.com
1ee9da5e94 Making LineDDA Much Much Faster ...
git-svn-id: svn://10.0.0.236/trunk@11668 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 17:00:10 +00:00
spider%netscape.com
89bb614f74 Fixes to support Visual C++ 6.0
git-svn-id: svn://10.0.0.236/trunk@11667 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 16:11:36 +00:00
dcone%netscape.com
a4bbf91ad9 Changed the sub projects of some files, Added Troys, Steve C and Peters changes.
git-svn-id: svn://10.0.0.236/trunk@11666 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 15:59:13 +00:00
terry%netscape.com
64e2db8908 Added a link which will generate a script of CVS commands which would
back out the changes listed on the page.


git-svn-id: svn://10.0.0.236/trunk@11665 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 15:05:46 +00:00
ftang%netscape.com
ff645f2c12 removed reference to empty header file
git-svn-id: svn://10.0.0.236/trunk@11664 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 14:33:17 +00:00
dcone%netscape.com
441d17e865 Took out obsolete file (nsFontsache)
git-svn-id: svn://10.0.0.236/trunk@11663 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 14:30:47 +00:00
dcone%netscape.com
2674f559fa fixed a compile error in the stubbed setfont.
git-svn-id: svn://10.0.0.236/trunk@11662 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 14:30:07 +00:00
ftang%netscape.com
c3e31f76c3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11661 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 13:45:28 +00:00
ftang%netscape.com
c1996452da remove unused win16 code
git-svn-id: svn://10.0.0.236/trunk@11660 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 13:36:11 +00:00
ftang%netscape.com
9bf20bd0c2 remove unused code
git-svn-id: svn://10.0.0.236/trunk@11659 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 13:31:48 +00:00
ftang%netscape.com
3834660d1a remove a lot of unused win16 and AWT1.0 support stuff
git-svn-id: svn://10.0.0.236/trunk@11658 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 13:27:12 +00:00
ramiro%netscape.com
f5f97bfe7c Create logo only if needed.
git-svn-id: svn://10.0.0.236/trunk@11657 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 08:36:26 +00:00
warren%netscape.com
9b09f591eb Fixed up input stream buffering. Fixed some refcounting problems.
git-svn-id: svn://10.0.0.236/trunk@11656 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 08:08:09 +00:00
mcafee%netscape.com
a4ee4c6189 Rhapsody is building the viewer test app as the first stab at ybfe.
git-svn-id: svn://10.0.0.236/trunk@11655 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 07:51:49 +00:00
mcafee%netscape.com
c0d3255485 Added -lstdc++
git-svn-id: svn://10.0.0.236/trunk@11654 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 07:26:14 +00:00
mcafee%netscape.com
0938c3f4f0 Broke DSO_LDFLAGS out of MKSHLIB
git-svn-id: svn://10.0.0.236/trunk@11653 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 06:55:38 +00:00
radha%netscape.com
eab35c7fc0 Image rendering code back to where it used to be. Fixes the tiled background
rendering problem.


git-svn-id: svn://10.0.0.236/trunk@11652 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:57:23 +00:00
radha%netscape.com
19ea8191f4 Image rendering code modified. Normal image rendering now happens
in the usual place at image.cpp. only RDF cases are handled here.


git-svn-id: svn://10.0.0.236/trunk@11651 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:55:50 +00:00
radha%netscape.com
798e658b41 Don't free the client data. This makes the crash when you mouse over any
RDF toolbars for the second time.


git-svn-id: svn://10.0.0.236/trunk@11650 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:53:44 +00:00
troy%netscape.com
16da9b1f41 Added export of nsIFrameReflow.h
git-svn-id: svn://10.0.0.236/trunk@11647 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:47:10 +00:00
troy%netscape.com
7eac0bfdac Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface


git-svn-id: svn://10.0.0.236/trunk@11646 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:46:11 +00:00
ramiro%netscape.com
bf79d12156 Remove uneeded files. Look elsewhere for a demo.
git-svn-id: svn://10.0.0.236/trunk@11645 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:44:12 +00:00
ramiro%netscape.com
f79aa8ce77 Backout mcafee's libnetwork link change. For the following good reason. The
next time libnetwork changes, mkicons will break.  It is bad enough to have
the libimg dependancy.  The problem is that libimg depends on stuff in
libnetwork - which is questionable itself.  Instead of doing the "right"
thing, it is important the we do the "wrong" thing to avoid mkicons breaking
more often than it does now.  Add stubs to mkicons instead.  Someone is
working on removing the libimg dependancy on mkicons alltogether.


git-svn-id: svn://10.0.0.236/trunk@11644 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:37:51 +00:00
mcafee%netscape.com
bf2b0e13d0 libimg needs NET_EscapeDoubleQuote, which is in libnetwork.
git-svn-id: svn://10.0.0.236/trunk@11643 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:23:48 +00:00
michaelp%netscape.com
d3e223d8b6 added new SetFont() that takes fontmetrics.
git-svn-id: svn://10.0.0.236/trunk@11642 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:36:06 +00:00
ramiro%netscape.com
1cf449a4c4 Add another stub to the mkicons insanity. Fixes unix builds.
git-svn-id: svn://10.0.0.236/trunk@11641 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:31:51 +00:00
brendan%netscape.com
9be7c2eb5f Don't hold layout lock on error return; other misc. cleanups; XXXX todos.
git-svn-id: svn://10.0.0.236/trunk@11640 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:24:06 +00:00
mcafee%netscape.com
15398112f6 Moving libnetwork.a around to fix link problem. Still keeping two instances of this lib, looks like the circular dependency is still there.
git-svn-id: svn://10.0.0.236/trunk@11639 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:07:12 +00:00
warren%netscape.com
2290dc000a Removed unnecessary field for new networking stuff.
git-svn-id: svn://10.0.0.236/trunk@11638 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:01:39 +00:00
warren%netscape.com
0acad8cefd Added networking changes under ifdef NEW_PLUGIN_STREAM_API
git-svn-id: svn://10.0.0.236/trunk@11637 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 02:59:16 +00:00
sdagley%netscape.com
dd9f5e45fc Fix build bustage - if you're going to call an external function INCLUDE THE F**KING HEADER that defines the prototype (i.e. prmem.h for PR_Free()).
git-svn-id: svn://10.0.0.236/trunk@11635 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 02:47:26 +00:00
brendan%netscape.com
0b024eba67 Detabify, 80th column sacrilege fixups, etc.
git-svn-id: svn://10.0.0.236/trunk@11634 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 02:15:01 +00:00
ramiro%netscape.com
5d0b0fb52e I goofed and changed a default value by accident.
git-svn-id: svn://10.0.0.236/trunk@11633 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:35:08 +00:00
ramiro%netscape.com
fd27ea05ce Add enter/leave callbacks.
git-svn-id: svn://10.0.0.236/trunk@11632 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:28:31 +00:00
ramiro%netscape.com
a50c10eccf Add enter/leave and cell enter/cell leave callbacks.
git-svn-id: svn://10.0.0.236/trunk@11631 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:28:09 +00:00
ramiro%netscape.com
da2c95a934 Combine layout and preferred_geometry methods.
git-svn-id: svn://10.0.0.236/trunk@11630 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:27:29 +00:00
spider%netscape.com
5cfe3d4eb7 Code to allow MonthView to display VEvents
push mComponentColor from DayView to Component Canvas


git-svn-id: svn://10.0.0.236/trunk@11629 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:10:20 +00:00
ramiro%netscape.com
25fb7ecd13 Fix for bugzilla bug 955 just filed by akkana. Tooltip shell was using the
wrong visual and depth info.


git-svn-id: svn://10.0.0.236/trunk@11628 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:01:03 +00:00
cmanske%netscape.com
159ca99483 Fixed handling of Blockquote and fixed strings for this as well
git-svn-id: svn://10.0.0.236/trunk@11627 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:00:00 +00:00
cyeh%netscape.com
0503c60f2c remove TalkBack Glue shlb until we figure out some nifty wrapping thing for Netscape commercial builds.
git-svn-id: svn://10.0.0.236/trunk@11626 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:50:03 +00:00
pinkerton%netscape.com
1724ce9738 Fix for #324967 so that we draw open folders with an open transform if the triggers are not displayed. This matches the finder behavior when triggers are showing.
git-svn-id: svn://10.0.0.236/trunk@11625 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:38:56 +00:00
pinkerton%netscape.com
61c528f629 Fix problem where moz_resources target was merging in a bad 'cfrg' resource that caused the app not to launch ("app is damaged or cannot be run on this machine" error in finder).
git-svn-id: svn://10.0.0.236/trunk@11624 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:23:24 +00:00
norris%netscape.com
4fc2331228 Fix bug 326297: various security holes caused by lack of quoting around
displayed URLs.


git-svn-id: svn://10.0.0.236/trunk@11623 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:23:05 +00:00
cyeh%netscape.com
9da5ac7045 no more pics of bill please
git-svn-id: svn://10.0.0.236/trunk@11622 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:15:37 +00:00
cyeh%netscape.com
30fcc5e327 add macbuild directory to JSClient
git-svn-id: svn://10.0.0.236/trunk@11621 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 23:45:50 +00:00
cltbld%netscape.com
616d0ebb63 Added Full Circle Talk Back Glue
git-svn-id: svn://10.0.0.236/trunk@11616 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 23:19:08 +00:00
cyeh%netscape.com
0308b61c32 uncomment out required closed bracket
git-svn-id: svn://10.0.0.236/trunk@11615 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 23:11:09 +00:00
cyeh%netscape.com
65974f5086 add makefiles for Win and UNIX
git-svn-id: svn://10.0.0.236/trunk@11614 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:55:04 +00:00
vidur%netscape.com
6e80818402 Added makefile
git-svn-id: svn://10.0.0.236/trunk@11613 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:41:22 +00:00
spider%netscape.com
7aff193fb2 Implemented LineStyle's in RenderingContext
git-svn-id: svn://10.0.0.236/trunk@11610 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:24:46 +00:00
despotdaemon%netscape.com
f9c9b76aa6 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11609 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:05:59 +00:00
pnunn%netscape.com
fc16ce65d7 Patch from Adam Moss. Fixes problem with transparency mask on interlaced images.
Much thanks...pn


git-svn-id: svn://10.0.0.236/trunk@11608 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:03:58 +00:00
cyeh%netscape.com
a47efe515d wow. i've been really sloppy with the modules file lately. fix JSClient.
git-svn-id: svn://10.0.0.236/trunk@11605 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:49:04 +00:00
cyeh%netscape.com
785a91cb80 first pass at replacing mozilla/js line in MozillaSourceCommon with JSClient.
testing builds before replacing...


git-svn-id: svn://10.0.0.236/trunk@11604 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:48:03 +00:00
valeski%netscape.com
e9106742a3 HTTP header building optimization. reduced dependency on PL_strlen.
git-svn-id: svn://10.0.0.236/trunk@11602 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:45:18 +00:00
troy%netscape.com
bbc0bf61a9 Added XXX warning about retuning an unitialized variable...
git-svn-id: svn://10.0.0.236/trunk@11601 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:41:35 +00:00
troy%netscape.com
021a851e00 Missed adding this
git-svn-id: svn://10.0.0.236/trunk@11600 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:35:29 +00:00
despotdaemon%netscape.com
b00d6175f9 Pseudo-automatic update of changes made by val4@cornell.edu.
git-svn-id: svn://10.0.0.236/trunk@11598 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:15:24 +00:00
beard%netscape.com
900da7d7bf Fixed prototype for newJSPrincipalsFromArray(JSContext *cx, void *principalsArray, void *pNSISecurityContext).
git-svn-id: svn://10.0.0.236/trunk@11597 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:15:22 +00:00
troy%netscape.com
80f1fa3170 Moved some files around
git-svn-id: svn://10.0.0.236/trunk@11596 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:14:17 +00:00
troy%netscape.com
20f9f2ada0 Moved some files around
git-svn-id: svn://10.0.0.236/trunk@11595 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:01:11 +00:00
warren%netscape.com
b392af0777 Broke out LiveConnect callbacks into separate file.
git-svn-id: svn://10.0.0.236/trunk@11592 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:55:12 +00:00
sudu%netscape.com
45eadbd609 Changes to support secure liveconnect
git-svn-id: svn://10.0.0.236/trunk@11591 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:35 +00:00
sudu%netscape.com
5c9f54d6fa Changes to support secure liveconnect and compiling xpcom interfaces only when MOZ_OJI is defined
git-svn-id: svn://10.0.0.236/trunk@11590 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:25 +00:00
sudu%netscape.com
21583553d5 Added a variable to pass security context from java
git-svn-id: svn://10.0.0.236/trunk@11589 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:18 +00:00
sudu%netscape.com
e9584f137a Adding new files for secure liveconnect
git-svn-id: svn://10.0.0.236/trunk@11588 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:15 +00:00
cmanske%netscape.com
9dd48af52e Added more support to change list to blockquote
git-svn-id: svn://10.0.0.236/trunk@11587 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:30:51 +00:00
cyeh%netscape.com
d96a585530 Remove NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11586 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:24:05 +00:00
cls%seawood.org
4182b80068 Make autoconf ignore old setting of MOZ_MEDIUM as well as MOZ_LITE
git-svn-id: svn://10.0.0.236/trunk@11585 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:13:35 +00:00
beard%netscape.com
1465c1ea8c Made SpendTime method XP.
git-svn-id: svn://10.0.0.236/trunk@11584 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:07:45 +00:00
beard%netscape.com
a7d74f8cc6 Fix for RDF popdown clipping. This should be extended to handle tool tips.
git-svn-id: svn://10.0.0.236/trunk@11583 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:03:22 +00:00
spider%netscape.com
afe5d3fcb2 Updates to support latest raptor changes
git-svn-id: svn://10.0.0.236/trunk@11582 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 19:22:29 +00:00
michaelp%netscape.com
261f3660bc we no longer have a public font cache.
git-svn-id: svn://10.0.0.236/trunk@11581 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 19:01:46 +00:00
michaelp%netscape.com
9402cfce2c font cache is no longer public.
git-svn-id: svn://10.0.0.236/trunk@11580 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:59:31 +00:00
michaelp%netscape.com
43810cc9dd we now defer plugin enumeration until we need to load one for real.
git-svn-id: svn://10.0.0.236/trunk@11579 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:59:03 +00:00
michaelp%netscape.com
1143a7d6da we no longer have a public font cache. removed circular refs between font cache
and device context.


git-svn-id: svn://10.0.0.236/trunk@11578 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:58:24 +00:00
cls%seawood.org
a870562949 Moved defines for MOZ_MAIL_COMPOSE out of MOZ_MEDIUM ifdef and placed it under separate MOZ_MAIL_COMPOSE ifdef. Fixes --enable-mail-compose.
git-svn-id: svn://10.0.0.236/trunk@11577 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:58:15 +00:00
michaelp%netscape.com
0cac7ec55d added support for deferred plugin enumeration.
git-svn-id: svn://10.0.0.236/trunk@11576 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:57:27 +00:00
cls%seawood.org
de1d2d0f7f Moved files out of MOZ_EDITOR ifdef to fix breakage under MOZ_LITE. Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.
git-svn-id: svn://10.0.0.236/trunk@11575 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:40:05 +00:00
jfrancis%netscape.com
04b3a18fa9 Making the world safe for MacOS 8.1
git-svn-id: svn://10.0.0.236/trunk@11574 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:31:22 +00:00
kin%netscape.com
a5b24e3122 Fix for bug #325661: ENDER: Reseting a form with an HTMLArea displays a dialog.
mozilla/cmd/xfe/forms.c
mozilla/lib/layout/editor.cpp
  - Modified EDT_SetDefaultHTML() to call ReadFromBuffer instead
    of EDT_PasteHTML. It can also handle the case where pHTML is null.

mozilla/lib/layout/edtbuf.cpp
  - Modified ReadFromBuffer to handle case where pBuffer is null.


git-svn-id: svn://10.0.0.236/trunk@11573 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:26:53 +00:00
buster%netscape.com
24dc879e22 just synching up some minor cleanup work
git-svn-id: svn://10.0.0.236/trunk@11571 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:11:48 +00:00
raman%netscape.com
55e9f6a19d Checking in changes from hshaw. These changes are bug fixes from 4.5. Minor tweaks after the codereview by raman.
git-svn-id: svn://10.0.0.236/trunk@11570 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:07:26 +00:00
raman%netscape.com
a630d5010e Reenabled the code that fixes the memory leaks during startup. I have compiled these changes on windows, solaris, linux. Lasttime I checked in, Mac compiled ok.
git-svn-id: svn://10.0.0.236/trunk@11569 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:06:19 +00:00
spider%netscape.com
46a085738a Fix Linux Redhat 5.1 build to be compat with config
git-svn-id: svn://10.0.0.236/trunk@11568 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:02:28 +00:00
leaf%mozilla.org
6f7eb3d5f4 changed 'cvs co ns/client.mk' to 'cvs co MozillaSourceMotif'
git-svn-id: svn://10.0.0.236/trunk@11567 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 17:18:16 +00:00
spider%netscape.com
03ce3c488e WIP: MonthView canvas
Support for NewModel command in MultiView
support for "target=" in LoadUrl
hookup Day/Week/Month on toolbar and menubar


git-svn-id: svn://10.0.0.236/trunk@11563 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 16:40:31 +00:00
ramiro%netscape.com
b841237f04 Fix tabbing on new unix modules ;-)
git-svn-id: svn://10.0.0.236/trunk@11562 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 15:38:31 +00:00
despotdaemon%netscape.com
410245d9c9 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11561 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 15:09:48 +00:00
terry%netscape.com
5c43702c1a Fixed stupid typo.
git-svn-id: svn://10.0.0.236/trunk@11560 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 15:04:04 +00:00
leaf%mozilla.org
645fc600af Changed the mail-recipient to external-tinderbox-incoming@mozilla.org,
so you don't have to be inside the firewall to contribute cycles.


git-svn-id: svn://10.0.0.236/trunk@11559 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 14:58:58 +00:00
ramiro%netscape.com
8853f7e697 Always update the boundary before invoking preferred_geometry.
git-svn-id: svn://10.0.0.236/trunk@11558 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 13:01:25 +00:00
ramiro%netscape.com
21185789eb Remove dead code. Make sure GetChildDimensions() returns non zero values.
git-svn-id: svn://10.0.0.236/trunk@11557 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 13:00:42 +00:00
ramiro%netscape.com
758e338c94 Modularize defaults.
git-svn-id: svn://10.0.0.236/trunk@11556 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 12:55:29 +00:00
ramiro%netscape.com
ea93aeaed8 Modularize translations.
git-svn-id: svn://10.0.0.236/trunk@11555 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 12:20:26 +00:00
ftang%netscape.com
4c5a9df663 check in latest koiu patch. Thanks Dmitry Kohmany dk+mozilla@farm.org from the net
git-svn-id: svn://10.0.0.236/trunk@11554 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 12:16:01 +00:00
ramiro%netscape.com
3427acfaf4 Dont define the detect rules on autoconf builds, otherwise ac builds is
painfully slow.


git-svn-id: svn://10.0.0.236/trunk@11553 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 11:58:59 +00:00
ramiro%netscape.com
276e76e959 Modularize inheritance macros.
git-svn-id: svn://10.0.0.236/trunk@11552 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 11:58:37 +00:00
ftang%netscape.com
3f1dd32657 add two new files to support RDF related UI. I have not connect the RDF related UI code into these file yet...
git-svn-id: svn://10.0.0.236/trunk@11551 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:58:21 +00:00
ftang%netscape.com
d19a616951 First add these file to support RDF related UI. I have not connect the RDF related UI code into these file yet...
git-svn-id: svn://10.0.0.236/trunk@11550 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:57:15 +00:00
ftang%netscape.com
c08765cf66 check in Vietnamese cp1258 winfe changes . Thanks for Van Le from the net
git-svn-id: svn://10.0.0.236/trunk@11549 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:48:13 +00:00
ftang%netscape.com
a919ddc65e check in winfe changes for Vietnamese cp1258 work . Thanks Van Le from the net
git-svn-id: svn://10.0.0.236/trunk@11548 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:42:12 +00:00
ftang%netscape.com
825a955cf6 delete unused context argument
git-svn-id: svn://10.0.0.236/trunk@11547 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:34:28 +00:00
ftang%netscape.com
401757a253 check in vietnamese cp1258 XP patch from Van Le
git-svn-id: svn://10.0.0.236/trunk@11546 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:31:32 +00:00
ftang%netscape.com
971a5378de check in fix for Bugzilla bug 832. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@11543 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:28:34 +00:00
despotdaemon%netscape.com
8d6dff5003 Pseudo-automatic update of changes made by locka@cork.cig.mot.com.
git-svn-id: svn://10.0.0.236/trunk@11542 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 08:36:07 +00:00
brendan%netscape.com
35c54850af LO_GetBuiltinByIndex should not be ifdef JAVA or OJI.
git-svn-id: svn://10.0.0.236/trunk@11541 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 07:06:56 +00:00
rjc%netscape.com
a54d63b69f Finish Shack reflection into JavaScript for Win32 by setting HT_Pane reference in lo_builtin struct.
git-svn-id: svn://10.0.0.236/trunk@11540 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 06:12:35 +00:00
shaver%netscape.com
0e6ba073d6 we need RDF now
git-svn-id: svn://10.0.0.236/trunk@11539 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 06:11:58 +00:00
warren%netscape.com
8f2f0ece8a Renamed to shorter name for Mac.
git-svn-id: svn://10.0.0.236/trunk@11538 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 05:45:49 +00:00
valeski%netscape.com
3831bf98d5 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@11535 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 05:32:13 +00:00
warren%netscape.com
5f491ff820 New OJI networking APIs.
git-svn-id: svn://10.0.0.236/trunk@11533 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 05:29:48 +00:00
shaver%netscape.com
657b6cc157 start on DOM version of lo_SetStyleSheetLayerProperties
git-svn-id: svn://10.0.0.236/trunk@11532 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 05:03:27 +00:00
shaver%netscape.com
972fdcfd77 only build lm_dom.c if DOM set
git-svn-id: svn://10.0.0.236/trunk@11531 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 04:47:55 +00:00
troy%netscape.com
62662fd601 Reserved IID for nsIHTMLReflow
git-svn-id: svn://10.0.0.236/trunk@11530 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 04:15:35 +00:00
shaver%netscape.com
f5afb8bcb4 remove bogus (vestigial?) builtin_count reference
git-svn-id: svn://10.0.0.236/trunk@11529 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 03:48:49 +00:00
brendan%netscape.com
ecce3f68e3 - Need JS_THREADSAFE in mozilla.mak and config.mak (and because of the latter,
don't need it in js/src/makefile.win).
- Added DOM support.
- Break up really long lines in mozilla.mak using backslashes.
- Added /I../../lib/libdom to several places (ugh).
- factor some mime.lib stuff better, but still not consistent in how SMART_MAIL
  and MOZ_MAIL_NEWS select it.
- Include spans and transclusion stuff, shaver and toshok to clean up later.
- Use ?: instead of if/else in layout.c to minimize source and generated code.
- Use strong typing for struct DOM_foo * types without including domstyle.h,
  by using mighty struct tags.
- Fix doc_id signedness in lm_dom.h (also eliminate tabs, but use 8 for
  tab-width).


git-svn-id: svn://10.0.0.236/trunk@11524 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 02:07:26 +00:00
akkana%netscape.com
1094bbfc62 Add rdf dependancy -- fix Linux build
git-svn-id: svn://10.0.0.236/trunk@11523 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 02:05:19 +00:00
brendan%netscape.com
1f28471085 Use XP_ASSERT, not PR_ASSERT, for continuable assertbotches in mozilla.exe.
git-svn-id: svn://10.0.0.236/trunk@11521 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:41:04 +00:00
terry%netscape.com
19c004bc33 Mention the file 'checkoutlist' (as suggested by Todd Kennedy
<Todd.Kennedy@Eng.Sun.COM>).


git-svn-id: svn://10.0.0.236/trunk@11520 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:22:33 +00:00
cmanske%netscape.com
edae47c804 Added check for USEMAP when deciding default border width in image tag
git-svn-id: svn://10.0.0.236/trunk@11519 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:20:14 +00:00
peterl%netscape.com
2832ba164e use new get value as string api
git-svn-id: svn://10.0.0.236/trunk@11518 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:09:19 +00:00
peterl%netscape.com
b91b3cb2d5 added get value as string
git-svn-id: svn://10.0.0.236/trunk@11517 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:08:59 +00:00
peterl%netscape.com
98aaec70ef make text decoration always an enum
git-svn-id: svn://10.0.0.236/trunk@11516 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:08:44 +00:00
rjc%netscape.com
3388b59014 Reflect Shack into JavaScript. New file: lm_tree.c
git-svn-id: svn://10.0.0.236/trunk@11515 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:55:11 +00:00
karnaze%netscape.com
c99190b224 fixed case sensitive include for unix
git-svn-id: svn://10.0.0.236/trunk@11514 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:55:03 +00:00
rjc%netscape.com
f234b9d8da Reflect Shack into JavaScript. Approval: sdagley
git-svn-id: svn://10.0.0.236/trunk@11513 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:53:40 +00:00
cls%seawood.org
f61c2da239 Changed check for EDITOR to MOZ_EDITOR.
git-svn-id: svn://10.0.0.236/trunk@11512 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:53:10 +00:00
rjc%netscape.com
52eb848af9 Reflect Shack into JavaScript. Reviewed and approved by Brendan (libMocha) and Nisheeth (Layout).
git-svn-id: svn://10.0.0.236/trunk@11511 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:53:09 +00:00
rjc%netscape.com
9c2d9abe68 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11510 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:51:18 +00:00
cls%seawood.org
959419a5dc Replaced checks for NO_EDITOR with checks for MOZ_EDITOR. Changed check for EDITOR to MOZ_EDITOR.
git-svn-id: svn://10.0.0.236/trunk@11509 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:50:40 +00:00
cls%seawood.org
e36b6c8d7f Replaced checks for NO_EDITOR with checks for MOZ_EDITOR. Compile embed.cpp with $(CCC) instead of $(CC).
git-svn-id: svn://10.0.0.236/trunk@11508 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:49:28 +00:00
cls%seawood.org
e6d0bdcfb8 Replaced checks for NO_EDITOR with checks for MOZ_EDITOR. Removed check for NO_EDITOR from config.mk. Removed EDITOR=1 from config.mk. Set MOZ_EDITOR= ifdef MOZ_LITE.
git-svn-id: svn://10.0.0.236/trunk@11507 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:48:23 +00:00
akkana%netscape.com
0fe4cfe496 HFolder should already be caught by the earlier wildcard
git-svn-id: svn://10.0.0.236/trunk@11506 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:39:58 +00:00
cls%seawood.org
04bc6f853f Finished off MOZ_USER_DIR patch. This allows developers to change config-dir at compile time. Defaults to .netscape for classic build and .mozilla for autoconf build.
git-svn-id: svn://10.0.0.236/trunk@11505 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:38:49 +00:00
akkana%netscape.com
6704e7d531 List Person, People and MailAttach separately to try to unconfuse Linux
git-svn-id: svn://10.0.0.236/trunk@11504 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:36:48 +00:00
akkana%netscape.com
316523feef Add HFolder* to icon list -- help fix Linux build
git-svn-id: svn://10.0.0.236/trunk@11503 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:34:36 +00:00
sudu%netscape.com
d4a78dc325 Moved .cpp files to CPPSRCS from CSRCS. apprvd checkin cyeh
git-svn-id: svn://10.0.0.236/trunk@11502 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:24:03 +00:00
cls%seawood.org
1bad763353 Finished off MOZ_USER_DIR patch. This allows developers to change config-dir at compile time. Defaults to .netscape for classic build and .mozilla for autoconf build.
git-svn-id: svn://10.0.0.236/trunk@11501 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:23:45 +00:00
terry%netscape.com
245c74634f Added admin page for changing of default owners (code by Sam Ziegler <sam@ziegler.org>)
git-svn-id: svn://10.0.0.236/trunk@11500 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:05:25 +00:00
cmanske%netscape.com
24650b9378 Fixed more Composer bugs
git-svn-id: svn://10.0.0.236/trunk@11499 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:01:40 +00:00
toshok%netscape.com
1a5aca39ee include prsystem.h to fix build
git-svn-id: svn://10.0.0.236/trunk@11498 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:58:54 +00:00
peterl%netscape.com
3a2cfadc61 added nsCSSProps2.cpp
git-svn-id: svn://10.0.0.236/trunk@11497 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:51:47 +00:00
peterl%netscape.com
7a1f51163c added attribute & content changed code
git-svn-id: svn://10.0.0.236/trunk@11496 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:51:28 +00:00
peterl%netscape.com
42c7b6e79f added hint table
moved non-generated code to nsCSSProps2.cpp


git-svn-id: svn://10.0.0.236/trunk@11495 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:50:56 +00:00
cmanske%netscape.com
78ccc9bab1 More Composer bug fixes: Removed password remembering from Publish dialog and removed pixel to % conversion for table and cell widths
git-svn-id: svn://10.0.0.236/trunk@11494 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:50:44 +00:00
peterl%netscape.com
ce18c9d686 added change hint to parse declaration
git-svn-id: svn://10.0.0.236/trunk@11493 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:50:09 +00:00
peterl%netscape.com
6baee6145d added hint to parse delcaration
git-svn-id: svn://10.0.0.236/trunk@11492 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:49:19 +00:00
peterl%netscape.com
2b7136b4b7 added hint to attribute change notification
git-svn-id: svn://10.0.0.236/trunk@11491 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:48:38 +00:00
peterl%netscape.com
9b94d90eca moved attribute change code to style sheete
cleaned up content change api


git-svn-id: svn://10.0.0.236/trunk@11490 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:48:07 +00:00
peterl%netscape.com
cae2faa839 added content & attribute change to style frame construction
cleaned up api


git-svn-id: svn://10.0.0.236/trunk@11489 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:47:03 +00:00
peterl%netscape.com
439691029e added change hints
git-svn-id: svn://10.0.0.236/trunk@11488 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:46:25 +00:00
peterl%netscape.com
67328bc930 routed content & attribute change through style set
routed all style frame construction calls directly to style set


git-svn-id: svn://10.0.0.236/trunk@11487 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:46:05 +00:00
peterl%netscape.com
6796d080ab removed style frame construction methods
git-svn-id: svn://10.0.0.236/trunk@11486 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:44:53 +00:00
peterl%netscape.com
7b5bbd8c57 added change hint to attribute change api
cleaned up content change api


git-svn-id: svn://10.0.0.236/trunk@11485 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:44:25 +00:00
peterl%netscape.com
a6cd5428be added change hint to attribute change api
git-svn-id: svn://10.0.0.236/trunk@11484 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:43:39 +00:00
peterl%netscape.com
6976204834 added content changed & attribute changed to style frame construction api.
cleaned up api.
added attribute change hint.


git-svn-id: svn://10.0.0.236/trunk@11483 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:41:59 +00:00
bjorn%netscape.com
316f030593 Fix for negative values, similar to the one I put into jslock.c. This version
is used when gcc is *not* the compiler.


git-svn-id: svn://10.0.0.236/trunk@11482 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:39:11 +00:00
peterl%netscape.com
777dbb325d made alias font use static strings
git-svn-id: svn://10.0.0.236/trunk@11481 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:38:50 +00:00
valeski%netscape.com
597390284a fixed crasher. whoever did the mass removal of nspr20 #defines removed a necessary routine.
git-svn-id: svn://10.0.0.236/trunk@11480 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:36:58 +00:00
shaver%netscape.com
1af14a8a8d fix sloppy errors in DOM_GetStyleDatabaseFromContext
git-svn-id: svn://10.0.0.236/trunk@11479 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:32:58 +00:00
bjorn%netscape.com
1db1439f26 Additional fix to assembly to accommodate for nv < 0.
git-svn-id: svn://10.0.0.236/trunk@11477 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:31:27 +00:00
karnaze%netscape.com
ea20d275db initial fieldset, legend content classes. minor cleanup on form control content.
git-svn-id: svn://10.0.0.236/trunk@11476 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:22:42 +00:00
shaver%netscape.com
f5c72c7ee3 initialize toplevel <HTML> properly (duh)
git-svn-id: svn://10.0.0.236/trunk@11475 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:22:25 +00:00
buster%netscape.com
a0c05dcfa4 fixed a minor bug in colspan layout
the layout strategy can now query the outer frame for the caption min width,
and use it to expand the table if necessary
did some related cleanup while I was in there.


git-svn-id: svn://10.0.0.236/trunk@11473 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:15:01 +00:00
rjc%netscape.com
3377016e58 Expose support for Shack.
git-svn-id: svn://10.0.0.236/trunk@11472 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:11:32 +00:00
shaver%netscape.com
8d3f61e3ab lock layout when setting up style_db
git-svn-id: svn://10.0.0.236/trunk@11471 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:11:05 +00:00
terry%netscape.com
a738d0ced8 Fixed bug which was stomping on "file" field if there was no dir field
and the file field had no slash.


git-svn-id: svn://10.0.0.236/trunk@11470 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:54:59 +00:00
valeski%netscape.com
5c97f51f8e removed NET_HostName() routine to cut down on size.
git-svn-id: svn://10.0.0.236/trunk@11468 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:52:46 +00:00
valeski%netscape.com
a91fa34c33 removed NET_HostName() call as this routine is no longer implemented.
git-svn-id: svn://10.0.0.236/trunk@11467 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:51:30 +00:00
michaelp%netscape.com
b53c67c4da we only notify the plugin instance via the plugin host and only if the notify
data is non-null.


git-svn-id: svn://10.0.0.236/trunk@11466 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:47:42 +00:00
valeski%netscape.com
373f454837 Added get/set methods to nsINetService interface for http request version manipulation. You can specify whether or not you want 1.1 or 1.0.
git-svn-id: svn://10.0.0.236/trunk@11464 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:43:32 +00:00
akkana%netscape.com
1a84c2242a Turn on MOZ_MAIL_COMPOSE. Approved by Briano
git-svn-id: svn://10.0.0.236/trunk@11463 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:43:22 +00:00
bjorn%netscape.com
017dc6f116 Changed the assertion which used to trigger when nv < 0 in CompareAndSwap.
It now triggers when nv == -1. This is only relevant on a Solaris compiled
for SPARC v8.


git-svn-id: svn://10.0.0.236/trunk@11462 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:42:08 +00:00
despotdaemon%netscape.com
18c2c409a4 Pseudo-automatic update of changes made by harrison@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11461 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:41:24 +00:00
valeski%netscape.com
7dec1e0b00 initializing line_buffer in build_http_request. added ability to set different http request versions and some optimizations.
git-svn-id: svn://10.0.0.236/trunk@11460 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:40:53 +00:00
kipp%netscape.com
d33943c13b Create table-cell's body as a top-level body so that it doesn't shrink wrap around it's children during pass2 table reflow
git-svn-id: svn://10.0.0.236/trunk@11459 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:36:30 +00:00
gagan%netscape.com
5cb01b63fc NuCache wasn't building on Unix. Fixed.
git-svn-id: svn://10.0.0.236/trunk@11458 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:36:06 +00:00
kipp%netscape.com
70b47dedc6 Better margins
git-svn-id: svn://10.0.0.236/trunk@11457 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:35:24 +00:00
kipp%netscape.com
d280ea2fa3 Parse OL/UL type=A|a|I|i properly
git-svn-id: svn://10.0.0.236/trunk@11456 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:34:30 +00:00
kipp%netscape.com
42942a6501 Removed duplicate adjustment of the width/height; only use max-size-width if width is unconstrained AND it's a top-level body
git-svn-id: svn://10.0.0.236/trunk@11455 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:33:47 +00:00
slamm%netscape.com
f3d387c3e8 Fix build bustage. Put a newline at the end of the file.
git-svn-id: svn://10.0.0.236/trunk@11454 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:33:36 +00:00
kipp%netscape.com
51dce78d05 Add in a bottom-line-margin when dealing with a zero-height line that contains a BR frame
git-svn-id: svn://10.0.0.236/trunk@11453 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:32:56 +00:00
kipp%netscape.com
655a69e6ba Added SetBRFrame/GetBRFrame for handling 0 height line layout and BR's
git-svn-id: svn://10.0.0.236/trunk@11452 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:32:04 +00:00
kipp%netscape.com
4040cf15ce Made BR frames 0,0; inform line layout of presence of the BR frame
git-svn-id: svn://10.0.0.236/trunk@11449 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:31:22 +00:00
rods%netscape.com
fd81e0baf9 Added HWND cast for STRICT compiler problem.
git-svn-id: svn://10.0.0.236/trunk@11448 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:22:30 +00:00
rods%netscape.com
4a16ee4af9 Commented out the setup of the dispatch listener because the AppViewer
doesn't do anything.


git-svn-id: svn://10.0.0.236/trunk@11447 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:18:18 +00:00
rods%netscape.com
3eb99ad5e9 Run method now does an AddRef so it stays alive until the last message can
come through the pump.


git-svn-id: svn://10.0.0.236/trunk@11446 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:16:23 +00:00
jsun%netscape.com
cdab24e124 Renamed more classes from Julian* to nsCal*.
Didn't rename JulianPtrArray, JulianString, JulianFormFactory.


git-svn-id: svn://10.0.0.236/trunk@11445 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:11:18 +00:00
pinkerton%netscape.com
a74837fd01 remove semicolon after #ifdef.
git-svn-id: svn://10.0.0.236/trunk@11444 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:05:27 +00:00
kmcclusk%netscape.com
5f40f50f80 Initialize mFont to nsnull in constructor.
git-svn-id: svn://10.0.0.236/trunk@11443 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:01:50 +00:00
cyeh%netscape.com
03c1c646a2 hasta la vista, MOZ_GOLD
git-svn-id: svn://10.0.0.236/trunk@11442 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:57:03 +00:00
cyeh%netscape.com
b71a02dd2c Remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11441 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:55:00 +00:00
pinkerton%netscape.com
1529be322d weak-link against NavServices.
git-svn-id: svn://10.0.0.236/trunk@11440 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:43:27 +00:00
cyeh%netscape.com
0a4f762689 Remove old NSPR20 and MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11439 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:35:57 +00:00
kmcclusk%netscape.com
09cba4e0fd Moved common Create(nsIWidget... and Create(nsNativeWidget to a StandardWindowCreate
utility method then call it from each of the Creates.


git-svn-id: svn://10.0.0.236/trunk@11438 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:34:58 +00:00
cyeh%netscape.com
1f2dc12a8e If NSPR20 isn't defined, the makefile wouldn't look in the NSPR header directory.
git-svn-id: svn://10.0.0.236/trunk@11437 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:32:29 +00:00
rods%netscape.com
59628ebaa7 Changed the menu creation code
git-svn-id: svn://10.0.0.236/trunk@11436 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:32:21 +00:00
rods%netscape.com
02f7f7fe9f Reworked all the menu code and removed nsWindow from several classes
git-svn-id: svn://10.0.0.236/trunk@11435 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:30:31 +00:00
gagan%netscape.com
98d3667d0d Wrong version went in. Correcting.
git-svn-id: svn://10.0.0.236/trunk@11434 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:30:00 +00:00
cyeh%netscape.com
344f351c38 Remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11433 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:29:23 +00:00
cyeh%netscape.com
c446d724e8 Remove old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11432 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:28:25 +00:00
shaver%netscape.com
9b0250bbbe update DOM stuff for new style data, and make DOM_HTMLPushNode do more implicit-pop stuff
git-svn-id: svn://10.0.0.236/trunk@11431 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:23:15 +00:00
gagan%netscape.com
233be11345 Inlined pref accessor/modifiers.
git-svn-id: svn://10.0.0.236/trunk@11430 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:18:53 +00:00
cyeh%netscape.com
9a67de3b3b this file isn't used anymore and is very obsolete
git-svn-id: svn://10.0.0.236/trunk@11429 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:13:14 +00:00
cyeh%netscape.com
5e1e651ec3 Remove old NSPR20 and MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11428 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:12:32 +00:00
cyeh%netscape.com
8c4f04d2f1 Remove old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11427 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:02:23 +00:00
cyeh%netscape.com
b699559c9c Removing old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11426 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:59:25 +00:00
nisheeth%netscape.com
b8943d030a Ifdef out support for the window.hardware JS object. If you want support to
get compiled, define NAV_HARDWARE.


git-svn-id: svn://10.0.0.236/trunk@11425 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:57:59 +00:00
cyeh%netscape.com
cdf7f130f2 Remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11424 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:57:07 +00:00
nisheeth%netscape.com
b25b289a93 Remove support for the window.hardware JS object.
git-svn-id: svn://10.0.0.236/trunk@11423 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:56:19 +00:00
cyeh%netscape.com
048c08f8a0 Remove old MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11422 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:55:21 +00:00
cyeh%netscape.com
b5e3e00b52 Removing old NSPR20 and MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11421 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:50:44 +00:00
valeski%netscape.com
de0426f574 we're now respecting the "Proxy-Connection: close" header. we used to ignore it and eventually discover that the connection had closed. Now we close it when asked to by the proxy.
git-svn-id: svn://10.0.0.236/trunk@11420 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:50:20 +00:00
cyeh%netscape.com
fc5d6ce90b remove extra space at the end of a line. oops.
git-svn-id: svn://10.0.0.236/trunk@11418 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:34:33 +00:00
pierre%netscape.com
023c4787b4 removed LTextEdit.cp
removed "cmd/macfe/restext"


git-svn-id: svn://10.0.0.236/trunk@11417 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:31:42 +00:00
cyeh%netscape.com
383b90e206 adding modules for each unix fe. long live balkanization.
git-svn-id: svn://10.0.0.236/trunk@11416 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:31:01 +00:00
terry%netscape.com
a31855bef6 Don't do server-push if the user seems to be using Internet Explorer.
git-svn-id: svn://10.0.0.236/trunk@11415 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 19:20:59 +00:00
rods%netscape.com
0139444535 Changed casting of HMENU native data
git-svn-id: svn://10.0.0.236/trunk@11413 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 18:32:37 +00:00
cyeh%netscape.com
63f046a38e fix instance of C++ comments in a C file
git-svn-id: svn://10.0.0.236/trunk@11412 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 18:28:53 +00:00
rods%netscape.com
af68a75891 This should fix a casting error for VC++ 5.0 with STRICT
git-svn-id: svn://10.0.0.236/trunk@11411 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:50:50 +00:00
pinkerton%netscape.com
007000962c remove explicit LListener inheritance.
git-svn-id: svn://10.0.0.236/trunk@11410 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:35:23 +00:00
pinkerton%netscape.com
377be07e09 Use Client.mcp for stubs generation. These are now obsolete.
git-svn-id: svn://10.0.0.236/trunk@11409 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:35:12 +00:00
pinkerton%netscape.com
c88b3467ef pro4 namespace stuff.
git-svn-id: svn://10.0.0.236/trunk@11408 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:35:07 +00:00
pinkerton%netscape.com
fa9ab071be remove volatile.
git-svn-id: svn://10.0.0.236/trunk@11407 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:33:46 +00:00
terry%netscape.com
515fccd46a Put in some pointers to dolog.pl.
git-svn-id: svn://10.0.0.236/trunk@11406 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:33:37 +00:00
pinkerton%netscape.com
c656ccfa1d use new menu bar (no more mercutio)
git-svn-id: svn://10.0.0.236/trunk@11405 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:32:35 +00:00
pinkerton%netscape.com
250e6f2dc9 casts to make pro4 compiler happy
git-svn-id: svn://10.0.0.236/trunk@11404 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:32:11 +00:00
pinkerton%netscape.com
680bfd8e92 improper use of volatile
git-svn-id: svn://10.0.0.236/trunk@11403 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:31:52 +00:00
pinkerton%netscape.com
8a95424c44 use LTextEditView
git-svn-id: svn://10.0.0.236/trunk@11402 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:31:30 +00:00
pinkerton%netscape.com
9132e4aeb3 make sure we pick up right header files.
git-svn-id: svn://10.0.0.236/trunk@11401 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:31:08 +00:00
terry%netscape.com
75f55bbc32 Whoops; all the comments at the top got lost somehow. Restore them.
git-svn-id: svn://10.0.0.236/trunk@11400 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:30:55 +00:00
pinkerton%netscape.com
dedb0a861b make sure we pick up the correct defines.
git-svn-id: svn://10.0.0.236/trunk@11399 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:30:47 +00:00
pinkerton%netscape.com
914507e698 new pro4 exports.
git-svn-id: svn://10.0.0.236/trunk@11398 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:30:20 +00:00
pinkerton%netscape.com
b48dca7cec LTextEditView changes.
git-svn-id: svn://10.0.0.236/trunk@11397 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:30:01 +00:00
pinkerton%netscape.com
766c1c52b8 pro4 namespace stuff.
git-svn-id: svn://10.0.0.236/trunk@11396 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:29:34 +00:00
pinkerton%netscape.com
e89d08f8df new stuff from pro4
git-svn-id: svn://10.0.0.236/trunk@11395 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:29:08 +00:00
pinkerton%netscape.com
8aad8aafe6 Carbon fixes (if-def'd)
git-svn-id: svn://10.0.0.236/trunk@11394 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:28:57 +00:00
pinkerton%netscape.com
faaea0cb09 make sure defines are set right.
git-svn-id: svn://10.0.0.236/trunk@11393 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:28:38 +00:00
pinkerton%netscape.com
8ccd2c9870 const changes.
git-svn-id: svn://10.0.0.236/trunk@11392 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:28:24 +00:00
pinkerton%netscape.com
a1893d3501 const changes, LTextEditView changes
git-svn-id: svn://10.0.0.236/trunk@11391 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:28:06 +00:00
pinkerton%netscape.com
8693440d91 carbon fixes.
git-svn-id: svn://10.0.0.236/trunk@11390 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:27:42 +00:00
pinkerton%netscape.com
7e81e40bf7 some carbon stuff and LTextEditView
git-svn-id: svn://10.0.0.236/trunk@11389 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:26:59 +00:00
pinkerton%netscape.com
c2e9744557 fix warnings.
git-svn-id: svn://10.0.0.236/trunk@11388 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:25:45 +00:00
pinkerton%netscape.com
d7ae588afc carbon stuff.
git-svn-id: svn://10.0.0.236/trunk@11387 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:25:31 +00:00
pinkerton%netscape.com
d1810dc5f6 new menubar.
git-svn-id: svn://10.0.0.236/trunk@11386 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:25:13 +00:00
pinkerton%netscape.com
39020bc5b7 get ready for Carbon
git-svn-id: svn://10.0.0.236/trunk@11385 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:24:55 +00:00
pinkerton%netscape.com
7230c61711 Get/SetDescriptorLen changes.
git-svn-id: svn://10.0.0.236/trunk@11384 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:24:42 +00:00
pinkerton%netscape.com
e7bfd07afd pro4 stl changes.
git-svn-id: svn://10.0.0.236/trunk@11383 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:23:55 +00:00
pinkerton%netscape.com
ba1aa5767d add new[] and delete[] and fix other stuff (get rid of flushAlloc, etc)
git-svn-id: svn://10.0.0.236/trunk@11382 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:23:18 +00:00
pinkerton%netscape.com
f5670b3a00 extern C stuff.
git-svn-id: svn://10.0.0.236/trunk@11381 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:22:52 +00:00
pinkerton%netscape.com
d56873e49a use new menubar classes.
git-svn-id: svn://10.0.0.236/trunk@11380 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:22:26 +00:00
pinkerton%netscape.com
169698a260 remove obsolete stuff
git-svn-id: svn://10.0.0.236/trunk@11379 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:21:47 +00:00
pinkerton%netscape.com
fd7f64ffab Fixes for Pro4
git-svn-id: svn://10.0.0.236/trunk@11378 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:21:32 +00:00
pinkerton%netscape.com
6810e5d3d6 const changes for Pro4
git-svn-id: svn://10.0.0.236/trunk@11377 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:20:58 +00:00
pinkerton%netscape.com
cb41010640 fix warnings.
git-svn-id: svn://10.0.0.236/trunk@11376 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:20:41 +00:00
pinkerton%netscape.com
2b8037895e pro4 changes
git-svn-id: svn://10.0.0.236/trunk@11375 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:20:12 +00:00
pinkerton%netscape.com
79b39f86c9 pro4 changes.
git-svn-id: svn://10.0.0.236/trunk@11374 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:20:02 +00:00
pinkerton%netscape.com
63ef7ee5c6 changes for carbon (if-def'd)
git-svn-id: svn://10.0.0.236/trunk@11373 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:19:13 +00:00
pinkerton%netscape.com
fb021adc4a changes for Get/SetDescriptorLen
git-svn-id: svn://10.0.0.236/trunk@11372 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:17:20 +00:00
pinkerton%netscape.com
42b5afb8b0 improper use of volatile.
git-svn-id: svn://10.0.0.236/trunk@11371 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:16:59 +00:00
pinkerton%netscape.com
199c229ba3 use LTextEditView instead of LTextEdit
git-svn-id: svn://10.0.0.236/trunk@11370 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:16:40 +00:00
pinkerton%netscape.com
7abff9be9b Pro4 changes.
git-svn-id: svn://10.0.0.236/trunk@11369 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:16:24 +00:00
pinkerton%netscape.com
49373d9d48 fix link problems on mac.
git-svn-id: svn://10.0.0.236/trunk@11368 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:16:06 +00:00
pinkerton%netscape.com
e2a44faaf3 pull in relevant headers instead of defining things here.
git-svn-id: svn://10.0.0.236/trunk@11367 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:15:46 +00:00
pinkerton%netscape.com
700737ffbe make sure we pull in relevant headers.
git-svn-id: svn://10.0.0.236/trunk@11366 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:15:30 +00:00
pinkerton%netscape.com
3a0fba66de new export file for pro4.
git-svn-id: svn://10.0.0.236/trunk@11365 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:14:28 +00:00
pinkerton%netscape.com
214e438015 No longer pull imagelib off a branch. Generate CarbonLib wrapper project. Use Client.mcp for stubs instead of Navigator (which is obsolete).
git-svn-id: svn://10.0.0.236/trunk@11364 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:13:57 +00:00
pinkerton%netscape.com
c93817715c Make CarbonLib wrapper and use Client.mcp for stubs.
git-svn-id: svn://10.0.0.236/trunk@11363 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:12:49 +00:00
pinkerton%netscape.com
870556b705 Pro4 mods (casts).
git-svn-id: svn://10.0.0.236/trunk@11362 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:11:45 +00:00
pinkerton%netscape.com
2b2c1d0f7c Pro4 and Carbon mods. MacFE only.
git-svn-id: svn://10.0.0.236/trunk@11361 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:11:24 +00:00
pinkerton%netscape.com
c60a24416a Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon.
git-svn-id: svn://10.0.0.236/trunk@11359 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:11:00 +00:00
rods%netscape.com
8dc2b2c491 Additional signature changes for XPCOM
git-svn-id: svn://10.0.0.236/trunk@11358 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 16:32:04 +00:00
kipp%netscape.com
5d8504ddc6 Fixed nbsp bug on some win95 systems - it turns out the nbsp wasn't being mapped to space in a few of the compression cases (doh!)
git-svn-id: svn://10.0.0.236/trunk@11357 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 16:24:32 +00:00
rods%netscape.com
4f1f66b39a Changed all the signatures to NS_IMETHOD and NS_METHOD
git-svn-id: svn://10.0.0.236/trunk@11356 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 16:12:15 +00:00
rods%netscape.com
cf6fad9414 Added new interfaces
git-svn-id: svn://10.0.0.236/trunk@11355 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:32:04 +00:00
pierre%netscape.com
1e3bd4d855 fixed previous checkin
git-svn-id: svn://10.0.0.236/trunk@11354 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:26:03 +00:00
dcone%netscape.com
628c7c4c53 added new files from the xpviewer.
git-svn-id: svn://10.0.0.236/trunk@11353 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:16:57 +00:00
pierre%netscape.com
864086668f added nsIToolbarItem.h
git-svn-id: svn://10.0.0.236/trunk@11352 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:04:19 +00:00
rods%netscape.com
0127f5a5b8 Fixed the menubars are added to an nsWindow
Fixed last item layout for toolbars


git-svn-id: svn://10.0.0.236/trunk@11351 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:01:07 +00:00
cyeh%netscape.com
2834447c49 Removed missing file from the project.
git-svn-id: svn://10.0.0.236/trunk@11350 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:00:58 +00:00
wtc%netscape.com
1184dba161 Fixed Linux pthreads build breakage. Define _PR_POLL_AVAILABLE on
glibc systems.


git-svn-id: svn://10.0.0.236/trunk@11349 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 14:28:25 +00:00
rods%netscape.com
09621339cd Changed the menu code to use HMENUs instead of casted HWNDs
git-svn-id: svn://10.0.0.236/trunk@11348 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 14:15:32 +00:00
ramiro%netscape.com
4769f4ed9f Add #ifdef EDITOR around usage of edt_ForceTableSelection() which is only
defined if EDITOR is true.  Fixes the autoconf and MOZ_LITE builds.


git-svn-id: svn://10.0.0.236/trunk@11346 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 09:41:19 +00:00
shaver%netscape.com
0f25c0e2fd fix accidental non-OJI build breakage
git-svn-id: svn://10.0.0.236/trunk@11345 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 09:19:45 +00:00
shaver%netscape.com
6d9d3c85c4 track DOM Makefile changes
git-svn-id: svn://10.0.0.236/trunk@11344 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 09:15:05 +00:00
mcafee%netscape.com
3f145d3dcc Warning segfault possibility with XP_ASSERT(0). (bugzilla:349)
git-svn-id: svn://10.0.0.236/trunk@11341 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:28:50 +00:00
mcafee%netscape.com
7faca11f33 Woops backing out that last change.
git-svn-id: svn://10.0.0.236/trunk@11339 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:17:23 +00:00
mcafee%netscape.com
1c0aacd028 DU4.0 doesn't like casting to int and then enum. (Bugzilla:334)
git-svn-id: svn://10.0.0.236/trunk@11338 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:15:27 +00:00
cmanske%netscape.com
769534c943 Added question mark to save file prompt
git-svn-id: svn://10.0.0.236/trunk@11337 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:12:13 +00:00
mcafee%netscape.com
d6c1880df0 Cast needed for DU4.0 (Bugzilla:325)
git-svn-id: svn://10.0.0.236/trunk@11336 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:11:22 +00:00
mcafee%netscape.com
415902bd10 Cast needed for DU4.0 (Bugzilla:324)
git-svn-id: svn://10.0.0.236/trunk@11335 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:08:35 +00:00
mcafee%netscape.com
4e2d3181a2 Cast needed for DU4.0 (Bugzilla:323)
git-svn-id: svn://10.0.0.236/trunk@11334 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:05:31 +00:00
mcafee%netscape.com
3039b56681 Cast needed for DU4.0 (Bugzilla:322)
git-svn-id: svn://10.0.0.236/trunk@11333 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:02:39 +00:00
mcafee%netscape.com
2a85878803 Cast needed for DU4.0 (Bugzilla:320)
git-svn-id: svn://10.0.0.236/trunk@11332 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:58:21 +00:00
mcafee%netscape.com
bab7cabdaf Cast needed for DU4.0 (Bugzilla:319)
git-svn-id: svn://10.0.0.236/trunk@11331 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:55:47 +00:00
mcafee%netscape.com
d1cae73c52 Cast needed for DU4.0 (Bugzilla:318)
git-svn-id: svn://10.0.0.236/trunk@11330 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:43:05 +00:00
mcafee%netscape.com
5ca1634a4f Cast needed for DU4.0 (Bugzilla:316)
git-svn-id: svn://10.0.0.236/trunk@11329 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:37:03 +00:00
mcafee%netscape.com
3bd5da255c Cast needed for DU4.0 (Bugzilla:312)
git-svn-id: svn://10.0.0.236/trunk@11328 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:33:42 +00:00
briano%netscape.com
c0ed029036 Cleaned it up and made it work all platforms, not just the ones that support shared libs.
git-svn-id: svn://10.0.0.236/trunk@11327 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:30:14 +00:00
chuckb%netscape.com
f9133c97e8 added readme for 9.28
git-svn-id: svn://10.0.0.236/trunk@11324 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 05:33:50 +00:00
cmanske%netscape.com
9feb48edf3 Fixed Delete command inactive when it should be active
git-svn-id: svn://10.0.0.236/trunk@11323 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 05:26:13 +00:00
chuckb%netscape.com
603b4013e3 Java LDAP SDK 3.5 update
git-svn-id: svn://10.0.0.236/trunk@11322 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 05:16:18 +00:00
cmanske%netscape.com
eb0d2daa7e Fixed bug 123391
git-svn-id: svn://10.0.0.236/trunk@11321 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 05:10:58 +00:00
troy%netscape.com
a5e3d80369 Added back in support for absolutely positioned frames
git-svn-id: svn://10.0.0.236/trunk@11320 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 04:47:59 +00:00
mcafee%netscape.com
e8b72d2289 Missing slash, fixes Linux autoconf breakage. Thanks to <smorrison@gte.com>.
git-svn-id: svn://10.0.0.236/trunk@11319 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 04:36:29 +00:00
cmanske%netscape.com
acd3c39d6b Trying to fix Linux build problems
git-svn-id: svn://10.0.0.236/trunk@11318 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 04:12:14 +00:00
kipp%netscape.com
6b67547955 Changed factory method to parameterize the shrink wrapping behavior
git-svn-id: svn://10.0.0.236/trunk@11317 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 03:44:25 +00:00
cmanske%netscape.com
463bba0b61 Trying to appease fussy UNIX compiler
git-svn-id: svn://10.0.0.236/trunk@11316 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 02:42:30 +00:00
pierre%netscape.com
6ae061e2aa make aliases of broken-image and throbber gifs
git-svn-id: svn://10.0.0.236/trunk@11315 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 02:31:12 +00:00
troy%netscape.com
3847b443ca Fixed some bustage I introduced with the factoring
git-svn-id: svn://10.0.0.236/trunk@11314 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 02:18:09 +00:00
rods%netscape.com
ee09a7ae7a Added more casts to HMENU
git-svn-id: svn://10.0.0.236/trunk@11313 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 02:01:31 +00:00
cmanske%netscape.com
982a1ee908 Trying to fix build problem in Linux
git-svn-id: svn://10.0.0.236/trunk@11312 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 01:36:51 +00:00
rods%netscape.com
30de4ae748 Added NetService to SetupRegistry & made some other changes
git-svn-id: svn://10.0.0.236/trunk@11311 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 01:34:50 +00:00
rods%netscape.com
34fcb9def9 fixed menu casting problem.
git-svn-id: svn://10.0.0.236/trunk@11310 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 01:23:40 +00:00
kostello%netscape.com
7b2f4c649c Synch with Rod's changes to nsIWidget
git-svn-id: svn://10.0.0.236/trunk@11309 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:58:32 +00:00
kostello%netscape.com
478b06a76b Synch with Rod's new nsIWidget changes
git-svn-id: svn://10.0.0.236/trunk@11308 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:55:17 +00:00
shaver%netscape.com
f189c3d804 the perignon stuff can handle pseudoclasses like a real man, so pass them on
git-svn-id: svn://10.0.0.236/trunk@11307 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:40:52 +00:00
norris%netscape.com
6e8507905e Fix bug 325937.
Reviewed by brendan.


git-svn-id: svn://10.0.0.236/trunk@11306 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:31:47 +00:00
nisheeth%netscape.com
0d5766018c Defensive programming to avoid crashing on a NULL lo_image added to lo_ImageObserver(). Thanks a lot to ben@algroup.co.uk for reporting this problem and providing a partial fix.
git-svn-id: svn://10.0.0.236/trunk@11305 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:24:15 +00:00
pierre%netscape.com
1cc0f19cb7 fix drawing over other apps' windows
git-svn-id: svn://10.0.0.236/trunk@11304 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:20:50 +00:00
rods%netscape.com
31701a1151 Added the nsIToolbarItem interface and an additional init member to the interface and class
git-svn-id: svn://10.0.0.236/trunk@11303 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:12:09 +00:00
cmanske%netscape.com
d4143501ca Fixed problem with displaying borders in Navigator when we shouldn't
git-svn-id: svn://10.0.0.236/trunk@11302 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:02:29 +00:00
shaver%netscape.com
f5b3e91eb2 Wire up Perignon stuff #if DOM.
Remove some unused variables.


git-svn-id: svn://10.0.0.236/trunk@11301 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:39:17 +00:00
kipp%netscape.com
3d22089622 nuked
git-svn-id: svn://10.0.0.236/trunk@11300 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:32:03 +00:00
pierre%netscape.com
f2f80c5973 fixed crash due to missing {} after if() statement
git-svn-id: svn://10.0.0.236/trunk@11299 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:30:17 +00:00
troy%netscape.com
90bec832fd Partially enabled support for absolutely positioned elements
git-svn-id: svn://10.0.0.236/trunk@11298 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:24:37 +00:00
buster%netscape.com
59dc161081 minor cleanup, removed references to obsolete table content factory methods.
git-svn-id: svn://10.0.0.236/trunk@11297 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:16:39 +00:00
radha%netscape.com
e25e2b0762 Change thei default URL for the htmlpane
git-svn-id: svn://10.0.0.236/trunk@11296 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:15:24 +00:00
radha%netscape.com
d6a879b766 Toolbar properties hooked up to RDF. Toolbars get their tooltips from the new
tooltip api


git-svn-id: svn://10.0.0.236/trunk@11295 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:14:30 +00:00
radha%netscape.com
2ff37a6646 Really make the selector bar buttons work, so that people outside xfe can use
RDF bookmarks etc....
The images don't show up on the selector bar buttons
for some reason. Shall fix it later.


git-svn-id: svn://10.0.0.236/trunk@11294 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:11:12 +00:00
cmanske%netscape.com
e9897123d3 Fixed problem with font list
git-svn-id: svn://10.0.0.236/trunk@11293 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:07:42 +00:00
rods%netscape.com
d022499d52 Made changes to get it to come up
git-svn-id: svn://10.0.0.236/trunk@11292 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:02:09 +00:00
beard%netscape.com
b4c96d5b82 Moved LiveConnect initialization calls to end of lm_ReallyInitMocha, so that the rest of libmocha will be initialized properly.
git-svn-id: svn://10.0.0.236/trunk@11291 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:59:08 +00:00
cmanske%netscape.com
7b44c1ed64 Fixed lots and lots of Composer bugs. Implemented more feedback for mouse-over cursors
git-svn-id: svn://10.0.0.236/trunk@11290 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:51:56 +00:00
shaver%netscape.com
af556e9173 - Update Unix make goo to handle our new MOZILLA_CLIENT dependencies.
- Added TODO and STYLE_NOTES
- Added style data to DOM_Element
- Added GetCleanEntryData convenience function
- Added internal dom_SetElementAttribute with optional suppressing of callback
  invocation
- Added style init code
- Style support (everything)
- Fix text initialization thinko


git-svn-id: svn://10.0.0.236/trunk@11289 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:51:50 +00:00
cmanske%netscape.com
9ec704b72f Fixed lots of Composer bugs. Implemented delete/copy accross table cell boundaries
git-svn-id: svn://10.0.0.236/trunk@11288 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:51:10 +00:00
cmanske%netscape.com
5e503390a1 Added strings and error define for feedback when deleting across table boundary. Added new function prototypes
git-svn-id: svn://10.0.0.236/trunk@11287 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:48:43 +00:00
rods%netscape.com
612a7e66b8 Added interfaces
git-svn-id: svn://10.0.0.236/trunk@11286 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:37:16 +00:00
pinkerton%netscape.com
6a930c6a40 better fix for iterator problem.
git-svn-id: svn://10.0.0.236/trunk@11285 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:34:44 +00:00
pinkerton%netscape.com
2fc9e622cf Fix mac build bustage. Variables declared in the init section of a loop are not valid beyond the scope of the loop (regardless of what VC++ says).
git-svn-id: svn://10.0.0.236/trunk@11284 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:33:47 +00:00
rods%netscape.com
e8f77bc7cd XPCOM'ed most methods and added a couple of methods to BaseWidget
and added a lot of files


git-svn-id: svn://10.0.0.236/trunk@11283 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:32:48 +00:00
mccabe%netscape.com
b99526dfbb Initial checkin of PerlConnect, migrated from the private tree.
Perlconnect is a set of facilities for controlling and interacting
with a perl interpreter from javascript, and vice versa.  It supplies
several mechanisms for transparently reflecting perl scalars, hashes
and arrays as the corresponding types in javascript.

Currently maintained by Vladimir Livshits, val4@cornell.edu


git-svn-id: svn://10.0.0.236/trunk@11282 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:05:39 +00:00
cyeh%netscape.com
590829240e don't dist missing header
git-svn-id: svn://10.0.0.236/trunk@11281 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:53:14 +00:00
terry%netscape.com
9cc6947214 Akkana now owns Composer.
git-svn-id: svn://10.0.0.236/trunk@11280 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:53:08 +00:00
kipp%netscape.com
6e006d63ea Added FIELDSET and LEGEND preliminary support
git-svn-id: svn://10.0.0.236/trunk@11279 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:52:10 +00:00
hyatt%netscape.com
1ebd6fd1be Fixing a bug in the SHACK widget.
git-svn-id: svn://10.0.0.236/trunk@11278 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:43:34 +00:00
cmanske%netscape.com
153828e990 New function supplied by ftang for Composer checking of bad charsets when loading a page
git-svn-id: svn://10.0.0.236/trunk@11277 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:36:23 +00:00
jsun%netscape.com
0ae5282505 Renamed some classes from Julian.* to nsCal.* .
git-svn-id: svn://10.0.0.236/trunk@11276 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:35:33 +00:00
slamm%netscape.com
20210efbde Fix spelling errors.
git-svn-id: svn://10.0.0.236/trunk@11275 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:34:56 +00:00
karnaze%netscape.com
0c85a290ef bugs 642, 643; also removed unused files.
git-svn-id: svn://10.0.0.236/trunk@11274 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:32:24 +00:00
kostello%netscape.com
141b2ee43d Fix bug 658.
Needed to update to nsXIFDTD to match new nsSkippedContentToken API


git-svn-id: svn://10.0.0.236/trunk@11273 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:25:22 +00:00
ramiro%netscape.com
0c4c83e60e Add ClientData.[ch].
git-svn-id: svn://10.0.0.236/trunk@11272 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:22:45 +00:00
vidur%netscape.com
91958a5028 Fixed image.src=. Forwarded AttributeChanged notifications from nsPlaceholderFrame to its anchored item. Got rid of redundant calls to AttributeChanged.
git-svn-id: svn://10.0.0.236/trunk@11271 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:22:31 +00:00
dcone%netscape.com
2e34d13dbf Fixed the growing part of the window, setorigin was messing us up.
git-svn-id: svn://10.0.0.236/trunk@11270 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:08:09 +00:00
akkana%netscape.com
84d23710e9 Hope this syntax might make Linux and Solaris happier
git-svn-id: svn://10.0.0.236/trunk@11269 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:01:21 +00:00
cyeh%netscape.com
59c5e14f3a remove old MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11268 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:53:23 +00:00
jsun%netscape.com
9d40b2d0da Renamed files with Julian to nsCal.
git-svn-id: svn://10.0.0.236/trunk@11267 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:49:51 +00:00
cyeh%netscape.com
65c201a259 removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11266 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:49:33 +00:00
valeski%netscape.com
62f772cb7b Raptor only. Fix crasher.
git-svn-id: svn://10.0.0.236/trunk@11265 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:47:49 +00:00
jsun%netscape.com
4cde933916 Renamed classes with Julian.* in front to nsCal.*.
git-svn-id: svn://10.0.0.236/trunk@11264 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:47:07 +00:00
jsun%netscape.com
d9b95f11c1 Renamed several classes that had Julian in front.
Changed them to nsCal.
i.e. Julian_Duration -> nsCalDuration.
     JulianRecurrenceID -> nsCalRecurrenceID.


git-svn-id: svn://10.0.0.236/trunk@11263 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:46:22 +00:00
cyeh%netscape.com
46c981f3a0 remove old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11262 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:45:35 +00:00
gagan%netscape.com
89c84ffbf6 Prefs changes.
git-svn-id: svn://10.0.0.236/trunk@11261 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:42:58 +00:00
cyeh%netscape.com
a8429e9374 removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11260 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:42:14 +00:00
buster%netscape.com
1c6e6e88a1 fixed bug 915. Colgroup frames now get Init() calls properly with
synthesized COLs.


git-svn-id: svn://10.0.0.236/trunk@11259 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:38:10 +00:00
cyeh%netscape.com
5b7e92b84d removing old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11258 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:38:02 +00:00
kostello%netscape.com
aa8449482e raptor checkin, took out the asserts for reading in a file, just so the viewer will work correctly. While fix this soon.
git-svn-id: svn://10.0.0.236/trunk@11255 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:34:30 +00:00
gagan%netscape.com
b73b3d94c1 Assertion added.
git-svn-id: svn://10.0.0.236/trunk@11254 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:34:28 +00:00
gagan%netscape.com
7bdf6e2c14 Cache Prefs changes. All cache prefs are now read directly by NuCache.
git-svn-id: svn://10.0.0.236/trunk@11253 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:32:40 +00:00
kostello%netscape.com
b78ff88d4e updated the OJI build info
git-svn-id: svn://10.0.0.236/trunk@11252 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:31:11 +00:00
gagan%netscape.com
1d780b327d Prefs changes. All cache preferences are now read directly by NuCache.
git-svn-id: svn://10.0.0.236/trunk@11251 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:30:54 +00:00
cyeh%netscape.com
5f807008d6 removing old NSPR20 and MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11250 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:26:20 +00:00
cyeh%netscape.com
0c0e7341ef remove old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11249 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:22:36 +00:00
cyeh%netscape.com
12f69944f4 remove old #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11248 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:20:42 +00:00
wtc%netscape.com
49d1c3d821 Make 'gmake depend' do a 'gmake clean' temporarily, because I am
going to check in a change to the header file _linux.h and NSPR
makefiles don't implement 'gmake depend'.  I must force the
Tinderbox 'gmake depend' continuous builds to rebuild the files
after the header file change.  I really hate to do this hack but...


git-svn-id: svn://10.0.0.236/trunk@11247 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:19:41 +00:00
cyeh%netscape.com
fd70b163fa remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11246 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:19:24 +00:00
cyeh%netscape.com
30fe8ba751 removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11245 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:17:44 +00:00
cyeh%netscape.com
f4402032d4 removing old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11244 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:13:36 +00:00
wtc%netscape.com
e372290bb4 Fixed DG/UX build problems in NSPR20 v3.0 beta. The patch is
contributed by Marc J. Fraioli (fraioli@dg-rtp.dg.com).


git-svn-id: svn://10.0.0.236/trunk@11243 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:13:23 +00:00
ramiro%netscape.com
419e35b066 Add TIS-620 charset support. Thanks to Samphan Raruenrom <samphan@thai.com>
for providing the patch.


git-svn-id: svn://10.0.0.236/trunk@11242 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:09:23 +00:00
cyeh%netscape.com
cc400964fa remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11241 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:08:32 +00:00
ramiro%netscape.com
599c292c94 Fix bugzilla bug 885. Compiler warning. Thanks to raff@netwinder.org for
pointing this out and providing a fix.


git-svn-id: svn://10.0.0.236/trunk@11240 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:57:27 +00:00
cyeh%netscape.com
377c0b4ee8 removing old NSPR20 and MOCHA #ifdefs. Sorry for the rebuild.
git-svn-id: svn://10.0.0.236/trunk@11239 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:56:38 +00:00
despotdaemon%netscape.com
db076dcb00 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11238 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:51:46 +00:00
ramiro%netscape.com
40727f404b Use new tool tip api.
git-svn-id: svn://10.0.0.236/trunk@11237 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:42:46 +00:00
ramiro%netscape.com
0ad7be3cb8 Update for doc string callbacks.
git-svn-id: svn://10.0.0.236/trunk@11236 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:41:30 +00:00
ramiro%netscape.com
ec4bfbef44 Use the client data manager.
git-svn-id: svn://10.0.0.236/trunk@11234 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:39:44 +00:00
ramiro%netscape.com
6a564862be Add XfeToolTipShellSetString().
git-svn-id: svn://10.0.0.236/trunk@11233 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:38:57 +00:00
ramiro%netscape.com
039e0051cf Make sure child is centered.
git-svn-id: svn://10.0.0.236/trunk@11232 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:37:55 +00:00
kin%netscape.com
bc52ba4678 mozilla/cmd/xfe/resources
mozilla/cmd/xfe/src/EmbeddedEditor.cpp
mozilla/cmd/xfe/src/ComposeView.cpp
  - Modifications to get the insert menu (editorGoodiesMenu), on the embedded
    editor and compose view toolbar, to display text instead of icons.


git-svn-id: svn://10.0.0.236/trunk@11231 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:31:25 +00:00
ftang%netscape.com
e01b6671a1 fix cannot convert cases
git-svn-id: svn://10.0.0.236/trunk@11230 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:24:13 +00:00
ftang%netscape.com
bc29f82bbb move 4.5 fix into mozilla
git-svn-id: svn://10.0.0.236/trunk@11229 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:23:21 +00:00
ramiro%netscape.com
06749a4471 Comment out debug printfs.
git-svn-id: svn://10.0.0.236/trunk@11228 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:09:28 +00:00
akkana%netscape.com
3dc6f3ec61 Lotsa minor bug fixes
git-svn-id: svn://10.0.0.236/trunk@11227 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:09:26 +00:00
ramiro%netscape.com
74ca811e83 Add client data manager.
git-svn-id: svn://10.0.0.236/trunk@11226 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:08:46 +00:00
akkana%netscape.com
a11d6d1880 Eliminate a bunch of warnings
git-svn-id: svn://10.0.0.236/trunk@11225 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:06:17 +00:00
kipp%netscape.com
42adeed6a7 Get max-element-size from inline-reflow state and pass it upwards
git-svn-id: svn://10.0.0.236/trunk@11224 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:57:28 +00:00
kipp%netscape.com
d7fce242a3 Only set margins if auto/undefined margins are present
git-svn-id: svn://10.0.0.236/trunk@11223 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:51:23 +00:00
kipp%netscape.com
6635abfd9a Cleaned up and repaired floater placement and spacemanager manipulation; the comments clearly (hopefully!) state whats going on...
git-svn-id: svn://10.0.0.236/trunk@11222 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:50:59 +00:00
kipp%netscape.com
9d96689b75 Setup spacemanager translation correctly
git-svn-id: svn://10.0.0.236/trunk@11221 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:50:06 +00:00
rods%netscape.com
26b0390922 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@11220 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:02:21 +00:00
dcone%netscape.com
b519e7590e fixed a validrect problem needed for doublebuffer.
Cant call validrect in grow when doublebuffering.  Dont know why yet


git-svn-id: svn://10.0.0.236/trunk@11219 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 17:03:49 +00:00
dcone%netscape.com
bef7dd501e fixed double buffer stuff
git-svn-id: svn://10.0.0.236/trunk@11218 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 17:02:32 +00:00
dcone%netscape.com
49228fb0af fixed some double buffer things
git-svn-id: svn://10.0.0.236/trunk@11217 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 17:02:08 +00:00
rods%netscape.com
0dbf7155a8 Initial Checkin
git-svn-id: svn://10.0.0.236/trunk@11216 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 16:58:20 +00:00
rods%netscape.com
26bdcd45be Initial checkin
git-svn-id: svn://10.0.0.236/trunk@11215 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 16:57:48 +00:00
rods%netscape.com
7e647ddb9d Inial Checkin
git-svn-id: svn://10.0.0.236/trunk@11214 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 16:51:39 +00:00
rods%netscape.com
cd356bc27e Initial checkin
git-svn-id: svn://10.0.0.236/trunk@11213 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 16:32:12 +00:00
ramiro%netscape.com
6d8c13b75d Fix the realization problem so that tooltips can be added at any time whether
a widget, or gadget's parent are realized or not.


git-svn-id: svn://10.0.0.236/trunk@11212 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 11:03:11 +00:00
ramiro%netscape.com
34a324a827 Fix removal of info at item destruction. Fix positioning.
git-svn-id: svn://10.0.0.236/trunk@11211 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 08:11:25 +00:00
mcafee%netscape.com
2650c8148d Fixing more link errors.
git-svn-id: svn://10.0.0.236/trunk@11208 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 07:24:15 +00:00
mcafee%netscape.com
add9d08e27 Added Rhapsody to the long list of OS's that can't handle localtime_r().
git-svn-id: svn://10.0.0.236/trunk@11207 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 07:12:12 +00:00
mcafee%netscape.com
840850d6af Print out not-implemented warnings.
git-svn-id: svn://10.0.0.236/trunk@11206 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 07:06:46 +00:00
mcafee%netscape.com
a772f805cd closer..
git-svn-id: svn://10.0.0.236/trunk@11205 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 07:02:14 +00:00
mcafee%netscape.com
504061f9f5 First real link attempt
git-svn-id: svn://10.0.0.236/trunk@11204 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 06:54:37 +00:00
mcafee%netscape.com
0f4bd530c5 Rhapsody is having trouble linking this with the C++ compiler, linking with cc for now.
git-svn-id: svn://10.0.0.236/trunk@11203 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 06:01:12 +00:00
mcafee%netscape.com
355e72d632 Removing empty export: rule, minor whitespace-tab stuff.
git-svn-id: svn://10.0.0.236/trunk@11202 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 05:42:46 +00:00
mcafee%netscape.com
999f279f03 Removed two local rules, instead relying on global rules in config/rules.mk.
git-svn-id: svn://10.0.0.236/trunk@11201 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 05:37:23 +00:00
mcafee%netscape.com
5e0a3061d0 Missing slash
git-svn-id: svn://10.0.0.236/trunk@11200 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 01:41:50 +00:00
michaelp%netscape.com
529844045a removed libmsgc21.so from link list.
git-svn-id: svn://10.0.0.236/trunk@11199 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 00:28:17 +00:00
michaelp%netscape.com
332e700598 fixes unix build.
git-svn-id: svn://10.0.0.236/trunk@11198 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 23:59:42 +00:00
michaelp%netscape.com
345cf022f8 fix build bustage...
git-svn-id: svn://10.0.0.236/trunk@11197 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 23:49:21 +00:00
michaelp%netscape.com
2ace49bea4 fixes for unix bustage.
git-svn-id: svn://10.0.0.236/trunk@11196 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 23:44:28 +00:00
michaelp%netscape.com
0e5e64e79d hopefully will fix unix builds.
git-svn-id: svn://10.0.0.236/trunk@11195 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 23:30:56 +00:00
michaelp%netscape.com
a285a5c984 changes for new nsiplugininstanceowner.
git-svn-id: svn://10.0.0.236/trunk@11194 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:46:41 +00:00
michaelp%netscape.com
3d73ad1a59 object tag no longer processes it's children (i put troy's change from thursday
in a comment until the parser is sorted out).


git-svn-id: svn://10.0.0.236/trunk@11193 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:44:26 +00:00
michaelp%netscape.com
96fd8bbebe massive changes to support java plugins.
git-svn-id: svn://10.0.0.236/trunk@11192 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:42:48 +00:00
michaelp%netscape.com
6201c85ae3 added "param" atom.
git-svn-id: svn://10.0.0.236/trunk@11191 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:41:01 +00:00
michaelp%netscape.com
54869d3fb6 now reflects our dependence on OJI.
git-svn-id: svn://10.0.0.236/trunk@11190 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:40:10 +00:00
michaelp%netscape.com
00f8d8614f now supports direct draw using MSVC 5.0.
git-svn-id: svn://10.0.0.236/trunk@11189 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:35:54 +00:00
michaelp%netscape.com
5a27630275 obsolete.
git-svn-id: svn://10.0.0.236/trunk@11188 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:25:13 +00:00
michaelp%netscape.com
7c26bd90f5 added support for plugintaginfo2 and jvmtaginfo.
git-svn-id: svn://10.0.0.236/trunk@11187 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:24:54 +00:00
michaelp%netscape.com
d62a69de3c added support for pluginmanager2 methods.
git-svn-id: svn://10.0.0.236/trunk@11186 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:23:19 +00:00
michaelp%netscape.com
8674ae2b1c cleanup. now supports stream "as file" and "as file only." added support
for pluginmanager2 methods (largely stubs). now correctly handles URLNotify().
we noew report our user agent as 5.0. can now load 5.0 style plugins from DLLs
and instantiate them properly.


git-svn-id: svn://10.0.0.236/trunk@11185 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:21:39 +00:00
michaelp%netscape.com
54cd9ac8db removed attribute queries. added ShowStatus().
git-svn-id: svn://10.0.0.236/trunk@11184 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:17:00 +00:00
michaelp%netscape.com
2a0fe8f7ae we no longer consider failures from GetAttributes() or even expect the
plugin host to implement it.


git-svn-id: svn://10.0.0.236/trunk@11183 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:16:00 +00:00
michaelp%netscape.com
ff63394ad3 now properly handles queries for nsIFactory.
git-svn-id: svn://10.0.0.236/trunk@11182 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:14:15 +00:00
michaelp%netscape.com
f96f246d76 now reflect our dependency on OJI.
git-svn-id: svn://10.0.0.236/trunk@11181 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:12:59 +00:00
michaelp%netscape.com
3a2c5dab40 changes to support using OJI with raptor.
git-svn-id: svn://10.0.0.236/trunk@11180 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:11:12 +00:00
michaelp%netscape.com
5c7f29b898 now pulls modules/oji.
git-svn-id: svn://10.0.0.236/trunk@11179 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:09:41 +00:00
raman%netscape.com
0f3ebfecae Backing my last checkin
git-svn-id: svn://10.0.0.236/trunk@11174 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 03:15:11 +00:00
cls%seawood.org
a09bfd72e1 Added realclean target.
git-svn-id: svn://10.0.0.236/trunk@11173 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 01:30:07 +00:00
raman%netscape.com
2f8770d562 Fixed the memory leaks during startup
git-svn-id: svn://10.0.0.236/trunk@11172 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 01:22:41 +00:00
raman%netscape.com
e7290b1b56 exit gracefully if gNavCenter is NULL
git-svn-id: svn://10.0.0.236/trunk@11171 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 01:22:03 +00:00
cls%seawood.org
5b3d19ee63 Makes nsinstall not return an error if an intermediate directory already exists.
git-svn-id: svn://10.0.0.236/trunk@11169 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 00:02:21 +00:00
pinkerton%netscape.com
931ec67fb2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11168 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 23:14:53 +00:00
kipp%netscape.com
982b9a6b49 Fixed mac/unix build problem
git-svn-id: svn://10.0.0.236/trunk@11167 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 22:48:52 +00:00
pinkerton%netscape.com
7cd9153865 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@11166 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 22:25:10 +00:00
morse%netscape.com
eef70acbcd fix bug 325820
git-svn-id: svn://10.0.0.236/trunk@11165 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 21:46:15 +00:00
kipp%netscape.com
e5172e64c4 Fixed up list ordinal handling so that negatives don't work for roman numerals or for alphabetics, and that alphabetics count properly (a==1); this fixes bugzilla bug#589
git-svn-id: svn://10.0.0.236/trunk@11164 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 20:05:09 +00:00
kipp%netscape.com
6bec50c9d7 Added callback to image loading api
git-svn-id: svn://10.0.0.236/trunk@11163 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 18:36:59 +00:00
kipp%netscape.com
082fcd1838 use image-loader call back to trigger bullet frame reflows
git-svn-id: svn://10.0.0.236/trunk@11162 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 18:36:01 +00:00
kipp%netscape.com
1bf34c11eb Use callback to trigger frame reflows instead of hardwiring in a content-changed reflow
git-svn-id: svn://10.0.0.236/trunk@11161 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 18:35:21 +00:00
kipp%netscape.com
98c2ef3acc Dump client-data too
git-svn-id: svn://10.0.0.236/trunk@11160 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:39:54 +00:00
kipp%netscape.com
16f9284c0e Fixed background-image rendering so that when the entire background is not covered by the image the background color can be seen
git-svn-id: svn://10.0.0.236/trunk@11159 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:29:10 +00:00
kipp%netscape.com
679b3025ae Use modified css rendering API
git-svn-id: svn://10.0.0.236/trunk@11158 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:17:20 +00:00
kipp%netscape.com
557c249643 Support a dx,dy value to adjust origin of image rendering; add in partial support for background-position property
git-svn-id: svn://10.0.0.236/trunk@11157 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:16:56 +00:00
kipp%netscape.com
f28e3e4139 Diable body margin for now until rendering problem with background images is resolved
git-svn-id: svn://10.0.0.236/trunk@11156 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:15:07 +00:00
kipp%netscape.com
128812b271 Use modified css rendering API; handle background images differently (still not quite right)
git-svn-id: svn://10.0.0.236/trunk@11155 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:14:35 +00:00
wtc%netscape.com
8720d10f81 Temporary fix: comment out the exit() wrapper so that at least
Mozilla client builds and runs.  We will fix the wrong exit status
bug or zombie sproc bug later (which the exit() wrapper is for).


git-svn-id: svn://10.0.0.236/trunk@11154 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 14:32:11 +00:00
briano%netscape.com
5767fea1c2 Well, it turns out that gcc 2.8.1 for QNX has problems with error status returned by exit(). Seems to work fine, otherwise. Making the native (Watcom) compiler the default again.
git-svn-id: svn://10.0.0.236/trunk@11153 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 07:57:32 +00:00
wtc%netscape.com
80b381b2fb Temporarily comment out the symbol __exit, which is not found
on all versions of IRIX.


git-svn-id: svn://10.0.0.236/trunk@11152 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 07:28:04 +00:00
cls%seawood.org
3e3af38e98 Ok this time I actually removed libmsgc21.
git-svn-id: svn://10.0.0.236/trunk@11151 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 05:31:30 +00:00
pierre%netscape.com
59e5ec855b added nsJSHTMLFieldSetElement.cpp
git-svn-id: svn://10.0.0.236/trunk@11150 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 05:14:01 +00:00
vidur%netscape.com
3fcbc9e5a5 Added nsIDOMHTMLFieldSetElement.h back into the build...
git-svn-id: svn://10.0.0.236/trunk@11149 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:47:34 +00:00
vidur%netscape.com
22d8cb3e59 Added nsHTMLFieldSetElement.cpp back...
git-svn-id: svn://10.0.0.236/trunk@11148 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:44:53 +00:00
vidur%netscape.com
c15b4671e2 New DOM file
git-svn-id: svn://10.0.0.236/trunk@11147 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:41:59 +00:00
vidur%netscape.com
54f0032c94 New DOM header file...
git-svn-id: svn://10.0.0.236/trunk@11146 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:40:46 +00:00
kipp%netscape.com
14ab08a8c0 Backed out fieldset part of build
git-svn-id: svn://10.0.0.236/trunk@11145 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:28:35 +00:00
briano%netscape.com
9114d55f91 All Linux variants seem to have zip and unzip in /usr/bin, so no need for the extra ifeq to restrict it to ppc.
git-svn-id: svn://10.0.0.236/trunk@11144 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 03:15:26 +00:00
pierre%netscape.com
b51636a5a6 fixing the mac raptor build: undef some of the Mozilla specific stuff
git-svn-id: svn://10.0.0.236/trunk@11143 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:56:36 +00:00
pierre%netscape.com
9f185f2e65 removed mozilla/lib/htmldlgs added earlier today: it was a mistake
git-svn-id: svn://10.0.0.236/trunk@11142 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:55:14 +00:00
cls%seawood.org
9f87c5d98a Put libi18n after libmisc and added JAVA_OR_OJI ifdef for libjsj.
git-svn-id: svn://10.0.0.236/trunk@11141 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:33:18 +00:00
wtc%netscape.com
6c927fbaea Removed reference to nonexisting test file.
git-svn-id: svn://10.0.0.236/trunk@11140 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:28:57 +00:00
wtc%netscape.com
2a8fb8402d poll() doesn't work on some Linux machines, so we go back
to using select().


git-svn-id: svn://10.0.0.236/trunk@11139 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:23:06 +00:00
cls%seawood.org
86a4ef438d Removed --enable-nspr. Added check for moc.
git-svn-id: svn://10.0.0.236/trunk@11138 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:07:08 +00:00
spider%netscape.com
cbf6d101c2 WIP: Multi-Group View
git-svn-id: svn://10.0.0.236/trunk@11137 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:38:23 +00:00
briano%netscape.com
aa7252df55 Minor change to the 'test' commands. QNX breaks if there isn't an else block....
git-svn-id: svn://10.0.0.236/trunk@11136 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:30:16 +00:00
briano%netscape.com
47c9aa9a2f Minor tweaks to support QNX 4.24.
git-svn-id: svn://10.0.0.236/trunk@11135 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:28:27 +00:00
pierre%netscape.com
73efd633b7 fixing mac raptor build after landing of nspr20 v3: added mozilla/lib/htmldlgs to the checkout & makedist lists
git-svn-id: svn://10.0.0.236/trunk@11134 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:27:26 +00:00
pierre%netscape.com
dcd143edf3 fixing the mac raptor build after the landing of nspr20 v3
git-svn-id: svn://10.0.0.236/trunk@11133 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:00:00 +00:00
vidur%netscape.com
d188bf56ad More leak fixes
git-svn-id: svn://10.0.0.236/trunk@11132 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:44:40 +00:00
kipp%netscape.com
c8d5139b8e Fixed memory leak (bug #910)
git-svn-id: svn://10.0.0.236/trunk@11131 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:37:26 +00:00
pierre%netscape.com
ca559d3fdb fixed Mac build: removed nsIDOMHTMLFieldSetElement.h
git-svn-id: svn://10.0.0.236/trunk@11130 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:12:49 +00:00
wtc%netscape.com
6682416805 Include <sys/time.h> for the definition of FD_SETSIZE.
git-svn-id: svn://10.0.0.236/trunk@11129 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:08:49 +00:00
vidur%netscape.com
8bc093e8e2 Fixed memory leak in style change code
git-svn-id: svn://10.0.0.236/trunk@11128 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:06:26 +00:00
wtc%netscape.com
4fde6a01fa Define _PR_POLL_AVAILABLE and _PR_USE_POLL only for glibc2.
git-svn-id: svn://10.0.0.236/trunk@11127 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:01:16 +00:00
wtc%netscape.com
5a2946eacf Include <poll.h> instead of <sys/poll.h>. Some machines don't
have <sys/poll.h>.


git-svn-id: svn://10.0.0.236/trunk@11126 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:54:51 +00:00
pierre%netscape.com
52393d10d5 enabled debugger for some new files (nsScrollbar etc...)
git-svn-id: svn://10.0.0.236/trunk@11125 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:54:30 +00:00
cyeh%netscape.com
e3ec535a8f (Actually mlm)
- Remove definition of inline which is breaking linux build


git-svn-id: svn://10.0.0.236/trunk@11124 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:49:30 +00:00
cyeh%netscape.com
361e97bb7a (Actually mlm)
- Fix return of NULL that should be (JSCFResult) 0


git-svn-id: svn://10.0.0.236/trunk@11123 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:48:51 +00:00
cyeh%netscape.com
afb6aafabc (Actually mlm)
- Remove double definition of LMWindowGroup to avoid lossage


git-svn-id: svn://10.0.0.236/trunk@11122 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:48:24 +00:00
kipp%netscape.com
add47d2e83 Added support for percentage base margins to the root, root-content and block frames
git-svn-id: svn://10.0.0.236/trunk@11121 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:47:59 +00:00
kipp%netscape.com
e3fbcae900 Added in support for border/padding/background-* properties for the HTML frame; added support for margin properties on the child of the HTML frame
git-svn-id: svn://10.0.0.236/trunk@11120 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:39:06 +00:00
kipp%netscape.com
8d56d6cc3c Removed scrollbar sizing from body frame
git-svn-id: svn://10.0.0.236/trunk@11119 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:38:30 +00:00
kipp%netscape.com
f296734c02 Added rules to properly setup HTML and BODY and FRAMESET
git-svn-id: svn://10.0.0.236/trunk@11118 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:38:10 +00:00
kipp%netscape.com
4908e00095 Fixed the value of the background-image property when it's not set in the composite background property
git-svn-id: svn://10.0.0.236/trunk@11117 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:35:55 +00:00
cls%seawood.org
d2b277a624 Moved EDITOR ifdefs as moc does not seem to be able to handle ifdef'ing out entire functions.
git-svn-id: svn://10.0.0.236/trunk@11116 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:30:38 +00:00
cls%seawood.org
fab0aaa2cb Removed libmsgc21 from link line. Removed old history files. Removed msg from REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@11115 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:29:27 +00:00
cls%seawood.org
9c0f60d63a Removed libmsgc21 from link line.
git-svn-id: svn://10.0.0.236/trunk@11114 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:25:54 +00:00
vidur%netscape.com
894b6b95ba Added FieldSetElement interface
git-svn-id: svn://10.0.0.236/trunk@11113 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:23:53 +00:00
spider%netscape.com
8349810cb8 Have View look at their Model for deciding how to render
content


git-svn-id: svn://10.0.0.236/trunk@11112 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:13:11 +00:00
rpotts%netscape.com
950d054946 Fix build bustage of MODULAR_NETLIB...
git-svn-id: svn://10.0.0.236/trunk@11111 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:08:21 +00:00
kipp%netscape.com
e44efe2be7 Backed out last change since it was too aggressive
git-svn-id: svn://10.0.0.236/trunk@11109 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:53:48 +00:00
troy%netscape.com
8d229a5a6e Moved ContentReplaced() handler code to style system
git-svn-id: svn://10.0.0.236/trunk@11108 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:47:00 +00:00
jsun%netscape.com
7013cde6b8 Remove msgc from link list since not used
git-svn-id: svn://10.0.0.236/trunk@11107 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:33:49 +00:00
rpotts%netscape.com
effed693be Initialized the returned rect in GetBounds() even if the HWND is null. This fixed a reference to uninitialized memory...
git-svn-id: svn://10.0.0.236/trunk@11106 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:26:28 +00:00
rpotts%netscape.com
f7730500f8 Reworked the way that refresh URLs are handled...
git-svn-id: svn://10.0.0.236/trunk@11105 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:25:21 +00:00
rpotts%netscape.com
341298f9e8 Added reference counting to modular netlib Contexts...
git-svn-id: svn://10.0.0.236/trunk@11104 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:24:32 +00:00
rpotts%netscape.com
2f92cab9c9 Added a proxy routine for net_CallexitRoutine(...) so it would be called on the correct thread at the proper time...
git-svn-id: svn://10.0.0.236/trunk@11103 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:24:09 +00:00
dcone%netscape.com
a035d18976 fixed offset problems and parent heiarchy problems
git-svn-id: svn://10.0.0.236/trunk@11102 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:23:58 +00:00
dcone%netscape.com
a377c1f3a3 Added NS_NATIVE_OFFSETX and Y for getnativedata.
Mac needed for the renderingcontext


git-svn-id: svn://10.0.0.236/trunk@11101 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:22:57 +00:00
leaf%mozilla.org
998b16b969 (Actually mlm)
Branch landing: Multithreading libmocha in mozilla.

- Add new file lm_wngrp.c


git-svn-id: svn://10.0.0.236/trunk@11100 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:22:36 +00:00
rpotts%netscape.com
27c06f1cd0 moved the define of NETLIB_THREAD out into config/config.mak
git-svn-id: svn://10.0.0.236/trunk@11099 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:22:32 +00:00
rpotts%netscape.com
21686eca15 changed the call to net_CallExitRoutine to net_CallExitRoutineProxy() so that if netlib is running in its own thread, the call can be dispatched to the correct thread... IF netlib is running in the mozilla thread, net_CallExitRoutine(...) is called directly.
git-svn-id: svn://10.0.0.236/trunk@11098 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:21:50 +00:00
leaf%mozilla.org
28ab23b3c8 (Actually mlm)
Branch landing: Multithreading libmocha in mozilla.

- Remove lm_crippled_context from export list.


git-svn-id: svn://10.0.0.236/trunk@11097 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:21:40 +00:00
dcone%netscape.com
4af1230f05 Added setorigin to init and destructor
git-svn-id: svn://10.0.0.236/trunk@11096 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:19:54 +00:00
rpotts%netscape.com
69c68ff50f Added a reference count field to MWContext when MODULAR_NETLIB is defined. This is necessary because MWContexts are now shared by multiple threads...
git-svn-id: svn://10.0.0.236/trunk@11095 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:19:50 +00:00
rpotts%netscape.com
551891377c Added a define for NETLIB_THREAD when the MODULAR_NETLIB environment variable is defined
git-svn-id: svn://10.0.0.236/trunk@11094 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:18:43 +00:00
mlm%netscape.com
5654ab2b30 Branch landing: Multithreading libmocha in mozilla.
- Add context parameter to LM_LockJS and friends.


git-svn-id: svn://10.0.0.236/trunk@11092 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:12:33 +00:00
mlm%netscape.com
4e157f4183 Branch landing: Multithreading libmocha in mozilla.
- Move jscookie.h to include directory.
- Add JS_BeginRequest and JS_EndRequest for thread safety.


git-svn-id: svn://10.0.0.236/trunk@11091 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:11:47 +00:00
mlm%netscape.com
1b4059094b Branch landing: Multithreading in mozilla.
- Move JSCF_Execute to the mocha thread.
- Add JS_BeginRequest and JS_EndRequest for thread safety.


git-svn-id: svn://10.0.0.236/trunk@11090 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:10:49 +00:00
mlm%netscape.com
31361a78d0 Branch landing: Multithreading libmocha in mozilla.
- Remove reference to lm_crippled_context; add an accessor function instead.


git-svn-id: svn://10.0.0.236/trunk@11088 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:09:58 +00:00
mlm%netscape.com
039d692684 Branch landing: Multithreading libmocha in mozilla.
- Add cx parameter to LM_LockJS and friends.


git-svn-id: svn://10.0.0.236/trunk@11087 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:09:03 +00:00
mlm%netscape.com
4486571061 Branch landing: Multithreading libmocha in mozilla.
- Add JS_BeginRequest and JS_EndRequest calls
- Add context parameters to some functions


git-svn-id: svn://10.0.0.236/trunk@11086 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:08:28 +00:00
mlm%netscape.com
e8755f7471 Branch landing: Multithreading libmocha in mozilla.
- Add JS_BeginRequest() and JS_EndRequest() to make sure contexts don't
   stomp on each other.


git-svn-id: svn://10.0.0.236/trunk@11085 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:07:48 +00:00
michaelp%netscape.com
48c90e8167 New style test
git-svn-id: svn://10.0.0.236/trunk@11084 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:07:41 +00:00
mlm%netscape.com
3d33759927 Branch landing: Multithreading libmocha in mozilla.
- Add context parameter to LM_LockJS and friends.


git-svn-id: svn://10.0.0.236/trunk@11083 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:06:47 +00:00
mlm%netscape.com
8dd7bb2efd Branch landing: Multithreading in libmocha.
- Add parameters to LM_LockJS and friends.


git-svn-id: svn://10.0.0.236/trunk@11082 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:06:09 +00:00
mlm%netscape.com
5ae966a47b Branch landing: Multithreading libmocha in mozilla.
- New file to toss contexts into thread group lists and otherwise deal
   with multithreading data.


git-svn-id: svn://10.0.0.236/trunk@11081 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:05:22 +00:00
mlm%netscape.com
a7c8885a86 Branch landing: Multithreading libmocha in mozilla.
- Add multiple window groups to allow windows to execute JS on
   different threads.
- Add new context parameters to JS and libmocha functions for thread
   safety.


git-svn-id: svn://10.0.0.236/trunk@11080 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:04:34 +00:00
mlm%netscape.com
7d803aaedd Branch landing: Multithreading libmocha in mozilla.
- Change semantics of LM_LockJS to add context parameter.


git-svn-id: svn://10.0.0.236/trunk@11079 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:03:37 +00:00
mlm%netscape.com
aa0f94398c Branch landing: Multithreading libmocha in mozilla.
- Add casts to make -DJS_THREADSAFE work.


git-svn-id: svn://10.0.0.236/trunk@11078 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:02:47 +00:00
mlm%netscape.com
6b810bf31d Branch landing: Multithreading libmocha in mozilla.
- Add -DJS_THREADSAFE


git-svn-id: svn://10.0.0.236/trunk@11077 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:02:19 +00:00
mlm%netscape.com
c4e91102b0 Branch landing: Multithreading libmocha in mozilla.
- Add jscookie.h
- Move JSCF_ function to mocha thread for thread safety.
- Add functions to libevent.h to deal with multiple window groups.
- Add functions to libmocha.h to deal with multiple window groups.


git-svn-id: svn://10.0.0.236/trunk@11076 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:01:25 +00:00
mlm%netscape.com
8a333e014d Branch landing: Multithreading in mozilla.
- Add -DJS_THREADSAFE to builds.


git-svn-id: svn://10.0.0.236/trunk@11075 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:00:13 +00:00
mlm%netscape.com
9cc4047100 Branch landing: Multithreading in mozilla.
- Add -DJS_THREADSAFE and new file lm_wngrp.c.


git-svn-id: svn://10.0.0.236/trunk@11074 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:59:47 +00:00
toshok%netscape.com
dbf9441ea1 package is addresscard, not AddressCard
git-svn-id: svn://10.0.0.236/trunk@11073 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:25:57 +00:00
cyeh%netscape.com
c464bea451 removing obsolete project files
git-svn-id: svn://10.0.0.236/trunk@11072 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:18:14 +00:00
toshok%netscape.com
4efdbecf72 package is addresscard, not AddressCard
git-svn-id: svn://10.0.0.236/trunk@11068 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:14:20 +00:00
spider%netscape.com
efa1dde27d Shutdown Inet
git-svn-id: svn://10.0.0.236/trunk@11067 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:07:57 +00:00
spider%netscape.com
e7b9dd730e Fix for latest raptor code
git-svn-id: svn://10.0.0.236/trunk@11066 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:55:26 +00:00
wtc%netscape.com
4b4994d255 Removed unused macro and enum constant definitions.
git-svn-id: svn://10.0.0.236/trunk@11065 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:38:11 +00:00
wtc%netscape.com
c0b3e1fb5a NSPR20 v3.0 beta landing from NSPRPUB_RELEASE_3_0_LANDING_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@11064 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:34:39 +00:00
morse%netscape.com
f34368eb6a fix up wording for single signon
git-svn-id: svn://10.0.0.236/trunk@11063 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:11:05 +00:00
kipp%netscape.com
08a576b7dc Hooked up width/height attributes to style changed reflow
git-svn-id: svn://10.0.0.236/trunk@11062 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:25:20 +00:00
kipp%netscape.com
2d8ee39707 Setup repository so that netlib will work
git-svn-id: svn://10.0.0.236/trunk@11061 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:18:09 +00:00
kipp%netscape.com
c1117c47db Made SkipRuleSet actually work
git-svn-id: svn://10.0.0.236/trunk@11060 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:17:48 +00:00
kipp%netscape.com
194d9f3a48 new
git-svn-id: svn://10.0.0.236/trunk@11059 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:17:07 +00:00
rogerl%netscape.com
e47ccc415b Oops, checked in a call to decompileFunctionBody which was for debugging
purposes only.


git-svn-id: svn://10.0.0.236/trunk@11058 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:10:27 +00:00
ramiro%netscape.com
c64125cb32 Add comment
git-svn-id: svn://10.0.0.236/trunk@11057 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:06:15 +00:00
ramiro%netscape.com
564f6b97d8 Adding QtMozilla to repository (qtfe).
git-svn-id: svn://10.0.0.236/trunk@11056 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:04:00 +00:00
spider%netscape.com
b6ec3a6450 Modularized Julian now resided in Zulu
git-svn-id: svn://10.0.0.236/trunk@11055 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:58:12 +00:00
kipp%netscape.com
cdf708174f Resurrected tests
git-svn-id: svn://10.0.0.236/trunk@11054 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:55:03 +00:00
kipp%netscape.com
9cf94d314b Added tests back into the build
git-svn-id: svn://10.0.0.236/trunk@11053 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:54:48 +00:00
kipp%netscape.com
d09c4a01e4 Removed silly SIDE #define
git-svn-id: svn://10.0.0.236/trunk@11052 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:50:53 +00:00
kipp%netscape.com
973e769864 Support break-before/after for block frames
git-svn-id: svn://10.0.0.236/trunk@11051 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:50:09 +00:00
ramiro%netscape.com
d5ffdf24fe Fix busted build. Dont return a value for a void function.
git-svn-id: svn://10.0.0.236/trunk@11050 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:31:36 +00:00
kipp%netscape.com
5c11554cef Don't block incremental loading reflows because of mInMonolithicContainer (it was necessary early on, now it isn't)
git-svn-id: svn://10.0.0.236/trunk@11049 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:30:59 +00:00
sman%netscape.com
f35512299b use supplied date range rather than precalculated dates
git-svn-id: svn://10.0.0.236/trunk@11048 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:07:58 +00:00
kipp%netscape.com
487b69be96 Removed some dead crud and implemented AttributeChanged
git-svn-id: svn://10.0.0.236/trunk@11047 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:35:01 +00:00
kipp%netscape.com
6494f143f9 Support style changes for leaf frames
git-svn-id: svn://10.0.0.236/trunk@11046 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:33:38 +00:00
saari%netscape.com
60d87886da This should fix the burning Mac tree...
git-svn-id: svn://10.0.0.236/trunk@11045 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:29:55 +00:00
saari%netscape.com
3573cd6a6a next step in fixing the tree
git-svn-id: svn://10.0.0.236/trunk@11044 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:23:07 +00:00
kipp%netscape.com
6bf24eee8e Renamed FrameDeleted to FrameRemoved
git-svn-id: svn://10.0.0.236/trunk@11043 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:12:13 +00:00
kipp%netscape.com
414858d8e8 Renamed style-changed reflow method; fixed implementation to generate a reflow command
git-svn-id: svn://10.0.0.236/trunk@11042 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:11:36 +00:00
kipp%netscape.com
5c2bb7fdc6 Switch over to FrameRemoved instead of FrameDeleted
git-svn-id: svn://10.0.0.236/trunk@11041 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:10:49 +00:00
kipp%netscape.com
97462690f6 Support (weakly) style-changed reflow and fixup naming of frame-removed methods
git-svn-id: svn://10.0.0.236/trunk@11040 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:10:10 +00:00
kipp%netscape.com
e8d5d6f05d Added StyleChanged reflow command; renamed FrameDeleted to be consistent with everything else
git-svn-id: svn://10.0.0.236/trunk@11039 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:09:04 +00:00
saari%netscape.com
784b153508 One more step in fixing the burning tree
git-svn-id: svn://10.0.0.236/trunk@11038 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:08:48 +00:00
dcone%netscape.com
7cd8b2a49d updated resize
git-svn-id: svn://10.0.0.236/trunk@11037 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 15:13:29 +00:00
dcone%netscape.com
74febbdf92 fixed some resizing issues
git-svn-id: svn://10.0.0.236/trunk@11036 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 15:12:55 +00:00
dcone%netscape.com
2fbb21a5f0 fixed resizing issues
git-svn-id: svn://10.0.0.236/trunk@11035 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 15:12:22 +00:00
dcone%netscape.com
34f4d1198e fixed some sizing issues
git-svn-id: svn://10.0.0.236/trunk@11034 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 15:12:05 +00:00
saari%netscape.com
16653a269a MacOS only
Modifications to StringLib. It now functions like the Unix version where we have all of the strings in a giant case statement instead of in resources. 

This is necessary for moving to Pro4 and reducing the number of resources in the Mac Navigator.


git-svn-id: svn://10.0.0.236/trunk@11033 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 14:45:53 +00:00
ramiro%netscape.com
3c05de4713 dgux is now DGUX. Thanks to fraioli@dg-rtp.dg.com (Marc J. Fraioli) for
pointing this out.


git-svn-id: svn://10.0.0.236/trunk@11032 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 14:00:00 +00:00
ramiro%netscape.com
5807949b88 Restore the resources to non const. const was causing problems on some
platforms.  Thanks to "Marc J. Fraioli" <fraioli@dg-rtp.dg.com> for pointing
this out.


git-svn-id: svn://10.0.0.236/trunk@11031 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 11:38:07 +00:00
mcafee%netscape.com
5324f744e6 Uninitialized variable warning from gcc
git-svn-id: svn://10.0.0.236/trunk@11030 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:47:56 +00:00
mcafee%netscape.com
11448daeb1 More PostScript font names, courtesy <junker@jazz.snu.ac.kr>
git-svn-id: svn://10.0.0.236/trunk@11029 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:24:16 +00:00
mcafee%netscape.com
97f42bd09f Added support for paper size, thanks to <junker@jazz.snu.ac.kr> for this fix
git-svn-id: svn://10.0.0.236/trunk@11028 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:23:01 +00:00
mcafee%netscape.com
098ffb5bfa Unix Non-latin1 PostScript conversion enhancement, thanks to <junker@jazz.snu.ac.kr> for providing this fix. Details of the fix are at http://jazz.snu.ac.kr/~junker/work/mozilla/unixps.html. Non-latin1 title printing in xl_annotate_page. Give charset info and URL in postscript output. Give attribute info in postscript output. Give papersize info in DSC comment. Be more liberal in parsing AFM files. Non-latin1 underline and strikeout decoration enabled. Japanese printing charset is fixed to SJIS(in resource file).
git-svn-id: svn://10.0.0.236/trunk@11027 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:21:50 +00:00
mcafee%netscape.com
46fbd47212 Moved N_FONTS, PS_BBox, PS_CharInfo, PS_FontInfo to include/xlate.h, added XP_ParseAFMFile() to xlate.h
git-svn-id: svn://10.0.0.236/trunk@11026 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:19:18 +00:00
mcafee%netscape.com
45d2cd99d5 Added parseAFM.c
git-svn-id: svn://10.0.0.236/trunk@11025 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:17:52 +00:00
mcafee%netscape.com
f1617557ac Initial version, thanks to <junker@jazz.snu.ac.kr> for providing this pd source from Adobe.
git-svn-id: svn://10.0.0.236/trunk@11024 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:16:57 +00:00
pinkerton%netscape.com
d4c55cfc35 vidur's dom/css changes. Got the rest of them, I hope. Added new grouping (css) and all the files in dom:src:css.
git-svn-id: svn://10.0.0.236/trunk@11023 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 06:19:02 +00:00
pinkerton%netscape.com
cc455f7e52 vidur's dom/css changes. Added a couple of new files.
git-svn-id: svn://10.0.0.236/trunk@11022 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 05:22:06 +00:00
pinkerton%netscape.com
f9389463bb add dom:public:css to manifest list.
git-svn-id: svn://10.0.0.236/trunk@11021 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 05:21:27 +00:00
troy%netscape.com
be32dfbcc4 Moved ContentDeleted() document notification code to the style system which
generates the reflow command


git-svn-id: svn://10.0.0.236/trunk@11020 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 05:13:06 +00:00
wtc%netscape.com
4aaac00988 Removed the inclusion of private NSPR header "prosdep.h" on the Mac.
Reviewed and approved by Warren Harris.


git-svn-id: svn://10.0.0.236/trunk@11019 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 04:43:58 +00:00
wtc%netscape.com
d4861241b8 Removed calls to the obsolete function PR_GetGCInfo(). That function
is only for Java garbage collection and so doesn't matter any more.
Reviewed and approved by Steve Dagley.


git-svn-id: svn://10.0.0.236/trunk@11018 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 04:42:21 +00:00
wtc%netscape.com
43f79c5880 Removed references to the unused libmsgc21 library.
Reviewed and approved by David Hyatt and Daniel Matejka.


git-svn-id: svn://10.0.0.236/trunk@11016 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 04:35:40 +00:00
peterl%netscape.com
ad7699672b handle HTML comment tags as whitespace
git-svn-id: svn://10.0.0.236/trunk@11013 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:50:51 +00:00
peterl%netscape.com
a0cc8381c3 fixed bug preventing properties from parsing if followed by whitespace.
ie: color : blue didn't work


git-svn-id: svn://10.0.0.236/trunk@11012 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:50:34 +00:00
peterl%netscape.com
445ae993ad removed table default values
git-svn-id: svn://10.0.0.236/trunk@11011 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:49:27 +00:00
peterl%netscape.com
f90a6c8656 performance tweaks to apply style change
git-svn-id: svn://10.0.0.236/trunk@11010 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:49:10 +00:00
peterl%netscape.com
8026395a26 removed content apis from style context
git-svn-id: svn://10.0.0.236/trunk@11009 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:48:22 +00:00
vidur%netscape.com
191acee8d0 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@11008 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:27:44 +00:00
vidur%netscape.com
446f29bffe style test
git-svn-id: svn://10.0.0.236/trunk@11007 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:59:01 +00:00
eyork%netscape.com
563a20a8f5 Fix Solaris Build problems
git-svn-id: svn://10.0.0.236/trunk@11005 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:57:28 +00:00
eyork%netscape.com
006e394f93 Fix Solaris Build Problem
git-svn-id: svn://10.0.0.236/trunk@11004 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:54:04 +00:00
eyork%netscape.com
0a4ce1b600 Fix Solaris build problem
git-svn-id: svn://10.0.0.236/trunk@11003 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:52:46 +00:00
vidur%netscape.com
ae2d56cabc Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration.
git-svn-id: svn://10.0.0.236/trunk@11002 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:51:45 +00:00
vidur%netscape.com
5e8d2d6415 Added new style interfaces. Modified property slot id allocation.
git-svn-id: svn://10.0.0.236/trunk@11001 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:49:44 +00:00
cyeh%netscape.com
d09199c9f8 remove crusty old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11000 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:30:06 +00:00
kipp%netscape.com
51957b7f8f Fixed attribute atom typo
git-svn-id: svn://10.0.0.236/trunk@10999 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:01:08 +00:00
kipp%netscape.com
386e7b39df Added some attribute handlers for inline frames (temporary)
git-svn-id: svn://10.0.0.236/trunk@10998 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:00:55 +00:00
kipp%netscape.com
dfee384cdd Added methods for triggering style/rendering/reflow changes
git-svn-id: svn://10.0.0.236/trunk@10997 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:00:22 +00:00
kipp%netscape.com
cc2b0a1cf8 Hooked up noshade attribute to trigger a render
git-svn-id: svn://10.0.0.236/trunk@10996 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:57:01 +00:00
kipp%netscape.com
f316e65b76 Disable a certain kind of caching to make incremental style changes work
git-svn-id: svn://10.0.0.236/trunk@10995 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:56:45 +00:00
kipp%netscape.com
70a8128e14 Expose remap method
git-svn-id: svn://10.0.0.236/trunk@10994 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:56:30 +00:00
kipp%netscape.com
fa13ca7bfd Added in an immedate flag for controlling Invalidate rendering
git-svn-id: svn://10.0.0.236/trunk@10993 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:56:15 +00:00
kipp%netscape.com
3aec276c63 Exposed a new method
git-svn-id: svn://10.0.0.236/trunk@10992 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:55:48 +00:00
pierre%netscape.com
4cab2fc81b fixing Mac raptor build: define XP_ERRNO only ifndef'd
git-svn-id: svn://10.0.0.236/trunk@10991 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:54:31 +00:00
pinkerton%netscape.com
a2804d24b5 use system mdef instead of mercutio for all menus.
git-svn-id: svn://10.0.0.236/trunk@10990 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:45:17 +00:00
pinkerton%netscape.com
f7b9865a2e changed all menus that used mercutio to use system mdef instead.
git-svn-id: svn://10.0.0.236/trunk@10989 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:44:43 +00:00
pinkerton%netscape.com
26abd44281 Change all menus that used mercutio to use system mdef. Added some xmnu to begin support of shift/cmd accelerators.
git-svn-id: svn://10.0.0.236/trunk@10988 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:44:10 +00:00
pinkerton%netscape.com
6aaf8fa7da make all menus that used Mercutio now use system MDEF.
git-svn-id: svn://10.0.0.236/trunk@10987 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:43:04 +00:00
hyatt%netscape.com
f76bab1497 Bug fix for dialogs popping up out of popup windows.
git-svn-id: svn://10.0.0.236/trunk@10985 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:35:03 +00:00
pinkerton%netscape.com
c1cbae5646 Replace menus that used mercutio with system MDEF.
git-svn-id: svn://10.0.0.236/trunk@10984 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:32:46 +00:00
pinkerton%netscape.com
046d358f03 Make all menus use the system MDEF not Mercutio.
git-svn-id: svn://10.0.0.236/trunk@10982 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:30:01 +00:00
peterl%netscape.com
67dd35cbe9 cleaned up markup to match descriptions
added text decoration color test


git-svn-id: svn://10.0.0.236/trunk@10981 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:28:10 +00:00
pierre%netscape.com
0db2849d84 checkout cmd/macfe/applevnt + central + gui + include + pch + projects+ utility instead of the whole cmd/macfe folder
git-svn-id: svn://10.0.0.236/trunk@10980 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:27:22 +00:00
cyeh%netscape.com
06b17102af add more mac directories to Raptor
git-svn-id: svn://10.0.0.236/trunk@10979 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:24:39 +00:00
kostello%netscape.com
7cda5258ba Removed:
nsHTMLContent.cpp
nsHTMLTagContent.cpp
nsHTMLContainer.cpp
nsDOMAttributes.cpp
nsDOMIterator.cpp
nsDOMNodeList.cpp


git-svn-id: svn://10.0.0.236/trunk@10978 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:18:32 +00:00
pierre%netscape.com
f780ed3335 fixing Mac raptor build: include xp_sock.h
git-svn-id: svn://10.0.0.236/trunk@10977 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:08:56 +00:00
pierre%netscape.com
391708a77c added xp_sock.h
git-svn-id: svn://10.0.0.236/trunk@10976 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:07:15 +00:00
pinkerton%netscape.com
7974321fff fix mac raptor: removed nsHTMLbullet.cpp; exchanged html/forms files with their counterparts ending in Frame.
git-svn-id: svn://10.0.0.236/trunk@10974 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 22:30:05 +00:00
pinkerton%netscape.com
e726c44723 fix mac raptor, added nsTraceRefcnt.cpp
git-svn-id: svn://10.0.0.236/trunk@10973 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 22:29:09 +00:00
akkana%netscape.com
10411b6036 Remove rosetta references from mail compose code
git-svn-id: svn://10.0.0.236/trunk@10972 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:46:32 +00:00
mcafee%netscape.com
4b56adf362 Check for null pointer; print context doesn't have history. r=morse,nisheeth
git-svn-id: svn://10.0.0.236/trunk@10971 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:41:53 +00:00
kipp%netscape.com
703b38ab21 Implement revised nsIDocument/nsIDocumentObserver methods
git-svn-id: svn://10.0.0.236/trunk@10970 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:39:47 +00:00
kipp%netscape.com
6beaa547d6 changed frame remove methods
git-svn-id: svn://10.0.0.236/trunk@10969 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:39:29 +00:00
kipp%netscape.com
84501778aa XPCOM'ized the notification methods; changed frame remove methods; added AttributeChanged
git-svn-id: svn://10.0.0.236/trunk@10968 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:39:16 +00:00
kipp%netscape.com
49b247a64d nuked
git-svn-id: svn://10.0.0.236/trunk@10967 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:38:05 +00:00
kipp%netscape.com
3e2105525b Fixed up includes to not depend on old content model classes
git-svn-id: svn://10.0.0.236/trunk@10966 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:37:45 +00:00
kipp%netscape.com
e43f0e122c Added bullet pseudo-style
git-svn-id: svn://10.0.0.236/trunk@10965 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:36:21 +00:00
kipp%netscape.com
966b872fec Eliminate SetAttr/UnsetAttr; use standard 3arg version now; leave the attribute impl macros alone for now; pass on attribute changes to the document when aNotify is PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@10964 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:35:52 +00:00
kipp%netscape.com
cd7a6e5c31 Pass through notify argument with UnsetAttribute method
git-svn-id: svn://10.0.0.236/trunk@10963 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:34:56 +00:00
kipp%netscape.com
2a6880e526 Removed unused include
git-svn-id: svn://10.0.0.236/trunk@10962 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:34:31 +00:00
kipp%netscape.com
0a83117a07 Updated UnsetAttribute to have a notification flag
git-svn-id: svn://10.0.0.236/trunk@10961 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:33:56 +00:00
kipp%netscape.com
0740c45e9d Fixed code to not depend on a (bad!) cast and instead use query-interface
git-svn-id: svn://10.0.0.236/trunk@10960 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:33:20 +00:00
kipp%netscape.com
f5c05399de Removed bullet pseudo-content and instead use pseudo style to process bullets properly
git-svn-id: svn://10.0.0.236/trunk@10959 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:32:39 +00:00
kipp%netscape.com
bd52764a22 Added bullet pseudo style attribute
git-svn-id: svn://10.0.0.236/trunk@10958 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:32:12 +00:00
kipp%netscape.com
c51f486001 Removed old source files from the build
git-svn-id: svn://10.0.0.236/trunk@10957 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:31:43 +00:00
cyeh%netscape.com
60913d7647 removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@10956 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:13:36 +00:00
slamm%netscape.com
607fbc6afc Backout accidental checkin.
git-svn-id: svn://10.0.0.236/trunk@10955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:13:24 +00:00
terry%netscape.com
b7913bd532 Fixed bug 890. Apparently, Apache has the habit of lower-casing some
of the boundary strings, so we'll just lower-case them all to make
things work.


git-svn-id: svn://10.0.0.236/trunk@10954 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:12:46 +00:00
slamm%netscape.com
a2b4be9279 Back out accidental checkin.
git-svn-id: svn://10.0.0.236/trunk@10953 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:10:14 +00:00
cyeh%netscape.com
1181ba7080 remove old MOCHA and NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@10952 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:09:58 +00:00
cyeh%netscape.com
b5597b73c2 remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@10951 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:01:00 +00:00
beard%netscape.com
c4e831c8b9 Added #undef of NS_EXPORT, so it won't conflict with nsCom.h.
git-svn-id: svn://10.0.0.236/trunk@10950 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:56:58 +00:00
hyatt%netscape.com
8a95a1cd77 Fix to the title bar drawing code so that the Win98 gradient fill is used.
git-svn-id: svn://10.0.0.236/trunk@10949 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:54:52 +00:00
cyeh%netscape.com
2f10b69f3e removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@10947 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:47:57 +00:00
cyeh%netscape.com
37085171b5 removing old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@10946 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:36:57 +00:00
troy%netscape.com
5fe4f60324 Added call to ProcessChildren() for OBJECT tag
git-svn-id: svn://10.0.0.236/trunk@10945 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:35:59 +00:00
cyeh%netscape.com
66dc92cb7c remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@10944 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:35:44 +00:00
blizzard%appliedtheory.com
4cbd36c8b5 Add changes from Michael O'Reilly <michael@metal.iinet.net.au> which
initialize RDF and point the RDF progress info at a dummy frame.


git-svn-id: svn://10.0.0.236/trunk@10943 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:28:56 +00:00
slamm%netscape.com
01045ca981 Add a command for editing the toolbars and reformat the commands into a nicer format.cmd/xfe/src/xfe_commands
git-svn-id: svn://10.0.0.236/trunk@10942 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:20 +00:00
slamm%netscape.com
b8edcf36ae Trim down formatItem. Some of the function isn't used and hasn't been for a long time.
git-svn-id: svn://10.0.0.236/trunk@10941 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:11 +00:00
slamm%netscape.com
ebfe14a0ec Fix a crash that happens when quiting.
git-svn-id: svn://10.0.0.236/trunk@10940 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:07 +00:00
slamm%netscape.com
0a657e68b8 Remove reference to bkmks.h
git-svn-id: svn://10.0.0.236/trunk@10939 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:04 +00:00
slamm%netscape.com
ae2f333e6a Add a command for editing the toolbars.
git-svn-id: svn://10.0.0.236/trunk@10938 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:01 +00:00
slamm%netscape.com
a4c746853f Fix spelling errors.
git-svn-id: svn://10.0.0.236/trunk@10937 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:18:56 +00:00
dcone%netscape.com
346151d956 added a search path
git-svn-id: svn://10.0.0.236/trunk@10936 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:12:47 +00:00
ftang%netscape.com
0fddd3d47e store only UTF8 into history entry
git-svn-id: svn://10.0.0.236/trunk@10935 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:50:02 +00:00
av%netscape.com
640c268911 Changed URL for plugin finder page -- approved by amusil
git-svn-id: svn://10.0.0.236/trunk@10934 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:46:07 +00:00
spider%netscape.com
2074a3776d Removing old stream listener classes
git-svn-id: svn://10.0.0.236/trunk@10933 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:17:13 +00:00
cyeh%netscape.com
18aa694bf9 fix misspelling
git-svn-id: svn://10.0.0.236/trunk@10932 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:12:35 +00:00
cyeh%netscape.com
c6f38c4110 fixing bugs in raptor entries.
git-svn-id: svn://10.0.0.236/trunk@10931 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:11:37 +00:00
sman%netscape.com
07b0dfd19b Layer updates
git-svn-id: svn://10.0.0.236/trunk@10930 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 18:41:30 +00:00
terry%netscape.com
c904abb332 It turns out that blank lines were being skipped a little too
anxiously.


git-svn-id: svn://10.0.0.236/trunk@10929 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 18:31:05 +00:00
despotdaemon%netscape.com
4d5d3f2423 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10928 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 18:07:27 +00:00
troy%netscape.com
ac234bca1a Removed mChildCount from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10927 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:56:35 +00:00
kipp%netscape.com
8e06d1108f Fixed block's max-element-size computation for child inline frames
git-svn-id: svn://10.0.0.236/trunk@10926 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:47:25 +00:00
kmcclusk%netscape.com
1c65627670 Added INITREFCNT to constructor
git-svn-id: svn://10.0.0.236/trunk@10925 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:44:33 +00:00
dcone%netscape.com
b63ef940fd updated project with new files, took out obsolete files
git-svn-id: svn://10.0.0.236/trunk@10924 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:31:25 +00:00
kmcclusk%netscape.com
22c1640fcd Removed NS_DECL_ISUPPORTS in classes which would cause multiple mRefCnt member
variables to be delcared


git-svn-id: svn://10.0.0.236/trunk@10923 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:28:07 +00:00
buster%netscape.com
0c00c9f654 removed lots of assumptions about frame ordering and containership.
table frames no longer assume they are n levels below the inner table frame
table frames no longer assume their child frames are always the expected type of
frame.  Now they check the display type and use that as sufficient proof that the frame
is of the right type.  This implies a heavy reliance on the frame construction code to do
the right thing and always stamp out the right kind of frame for a given display type.


git-svn-id: svn://10.0.0.236/trunk@10922 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 16:37:22 +00:00
jfrancis%netscape.com
78d84133d6 Continuing Ender work
git-svn-id: svn://10.0.0.236/trunk@10921 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 16:30:04 +00:00
jfrancis%netscape.com
2989001a44 continueing Ender work
git-svn-id: svn://10.0.0.236/trunk@10920 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 16:29:27 +00:00
ramiro%netscape.com
64eef7f67d Link with XfeToolTip.
git-svn-id: svn://10.0.0.236/trunk@10919 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:54:35 +00:00
ramiro%netscape.com
7bb7e3e740 Build XfeToolTip and tests by default.
git-svn-id: svn://10.0.0.236/trunk@10918 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:35:54 +00:00
kin%netscape.com
0c7eaf3285 Modified edt_InitEscapes() to check for '>'. This will make composer write
out &gt; into the HTML stream instead of the '>' character.


git-svn-id: svn://10.0.0.236/trunk@10917 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:33:09 +00:00
kin%netscape.com
f4a511c71e Modifications to XFE_EmbeddedEditor constructor:
- Initialize charset to CS_LATIN1
  - Prevent editor from showing until layout has positioned it and
	wants to display it.
  - Manage toolbox and toolbar ahead of time so we can accurately calculate
    the height of the chrome.
  - Commented out paragraph style and character underline buttons again, they
    got blown away by the previous checkin.
  - Added spellcheck button to toolbar.
  - Moved fe_{add_to,remove_from}_all_MWContext_list() functions from
	EmbeddedEditor.cpp to context_funcs.cpp.


git-svn-id: svn://10.0.0.236/trunk@10916 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:31:50 +00:00
ramiro%netscape.com
0afb47919d Finalize doc string support. Add better callbacks.
git-svn-id: svn://10.0.0.236/trunk@10915 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:25:56 +00:00
wtc%netscape.com
0ed6d23983 Removed references to the obsolete library libmsgc21 in the comments.
Reviewed and approved by Scott Furman.
Files changed: js/src/{Makefile,Makefile.in},
js/src/xpcom/{Makefile,Makefile.in}.


git-svn-id: svn://10.0.0.236/trunk@10914 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:16:52 +00:00
wtc%netscape.com
139f62b7fb Removed unneeded libmsgc21.
Files changed: cmd/xfe/{Makefile,Makefile.in},
cmd/stubfe/{Makefile,Makefile.in}.


git-svn-id: svn://10.0.0.236/trunk@10913 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:11:18 +00:00
mcafee%netscape.com
820a06594c Fix mkdir() problem for BSDI, thanks to <driehuis@playbeing.org> for this patch
git-svn-id: svn://10.0.0.236/trunk@10912 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:43:55 +00:00
ramiro%netscape.com
a390956176 Fix classic off-by-one strcat buffer error.
Thanks to Michael O'Reilly <michael@metal.iinet.net.au> for providing the fix.


git-svn-id: svn://10.0.0.236/trunk@10911 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:27:37 +00:00
ftang%netscape.com
ee5328d780 Make the RDF stuff always render UTF8
git-svn-id: svn://10.0.0.236/trunk@10910 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:23:48 +00:00
ftang%netscape.com
e68d1e3642 Fix UTF8 problem
git-svn-id: svn://10.0.0.236/trunk@10909 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:23:19 +00:00
ftang%netscape.com
1b787aeb7f fix the wrong measurement problem in UTF8 by calling the new UTF8 function
git-svn-id: svn://10.0.0.236/trunk@10908 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:22:32 +00:00
ramiro%netscape.com
136d23f238 Add support for documentation strings.
git-svn-id: svn://10.0.0.236/trunk@10907 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:22:27 +00:00
ftang%netscape.com
e61e5700e9 implement better UTF8 drawing support. Implement mid and end truncation for UTF8
git-svn-id: svn://10.0.0.236/trunk@10906 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:18:25 +00:00
ftang%netscape.com
5f94fb22be add CDefaultFontFontSwitcher.cp for better UTF8 support
git-svn-id: svn://10.0.0.236/trunk@10905 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:17:26 +00:00
mcafee%netscape.com
a29226d213 Moving comment to fix AIX & Digital sed breakage. Maybe sed really does suck, as the comment suggests.
git-svn-id: svn://10.0.0.236/trunk@10904 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 07:54:04 +00:00
jband%netscape.com
8ba7042512 added class to minimize drawinf of list items. lxr friendlier generated files
git-svn-id: svn://10.0.0.236/trunk@10902 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 07:28:52 +00:00
jband%netscape.com
0a736ba31f add targets, generated files use C-stlye comments to be more lxr friendly
git-svn-id: svn://10.0.0.236/trunk@10901 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 07:27:07 +00:00
wtc%netscape.com
29a67aadb5 Got rid of references to "OSF1" in this file. Thanks to
raff@aromatic.com for the problem report and the patch.


git-svn-id: svn://10.0.0.236/trunk@10898 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 06:14:26 +00:00
ramiro%netscape.com
8ade4321f2 Add realize callbacks.
git-svn-id: svn://10.0.0.236/trunk@10896 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 05:19:50 +00:00
troy%netscape.com
d2a134fb41 Removed IsPseudoFrame() from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10895 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 04:57:30 +00:00
troy%netscape.com
aec668d182 Changed signature of PushChildren() member function
git-svn-id: svn://10.0.0.236/trunk@10894 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 04:18:58 +00:00
troy%netscape.com
2bdb85f976 Removed IsLastChild() member function from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10891 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 04:12:01 +00:00
troy%netscape.com
556f680fca Removed ChildIsPseudoFrame() and IsEmpty() from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10890 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 04:06:42 +00:00
troy%netscape.com
43e6ab37a3 Removed PreReflowCheck() and PostReflowCheck() from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10888 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:59:30 +00:00
wtc%netscape.com
4cd6f2440e Bugzilla bug #122: merged NetBSD patch contributed by
Frank van der Linden (frank@wins.uva.nl).


git-svn-id: svn://10.0.0.236/trunk@10887 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:55:47 +00:00
briano%netscape.com
32ad3a5b70 Changes requested by wtc@netscape.com to support NSPR 3.0.
git-svn-id: svn://10.0.0.236/trunk@10885 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:51:10 +00:00
troy%netscape.com
025ab65ab4 Removed some XXX CONSTRUCTION code that was work-in-progress, but is
no longer needed


git-svn-id: svn://10.0.0.236/trunk@10884 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:49:45 +00:00
troy%netscape.com
bf40dfa99c Removed mFirstContentOffset, LastContentOffset, and mLastContentIsComplete
from nsContainerFrame


git-svn-id: svn://10.0.0.236/trunk@10883 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:36:52 +00:00
briano%netscape.com
d841166270 Applied the last of the changes from Frank van der Linden (frank@wins.uva.nl).
git-svn-id: svn://10.0.0.236/trunk@10880 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:11:51 +00:00
spider%netscape.com
eca85e9227 Fix for unresolved external on unix
git-svn-id: svn://10.0.0.236/trunk@10879 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 02:55:18 +00:00
hyatt%netscape.com
a194f12bdf Fixing a crash when the HTML pane in Aurora is deleted.
git-svn-id: svn://10.0.0.236/trunk@10877 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 02:00:44 +00:00
troy%netscape.com
3209460837 Changed the way nsIFrame inherits from nsISupports
git-svn-id: svn://10.0.0.236/trunk@10875 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:50:16 +00:00
hyatt%netscape.com
3e71b6dcdd Really fix the problem with undocking. :)
git-svn-id: svn://10.0.0.236/trunk@10874 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:43:12 +00:00
hyatt%netscape.com
36c08de126 Fixing a problem with undocking the NavCenter window.
git-svn-id: svn://10.0.0.236/trunk@10873 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:40:22 +00:00
hyatt%netscape.com
1b437667c0 Making the toolbars add/remove properly.
git-svn-id: svn://10.0.0.236/trunk@10872 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:33:20 +00:00
cyeh%netscape.com
5ca67ee54b remove NORMANDY modules
git-svn-id: svn://10.0.0.236/trunk@10871 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:32:21 +00:00
beard%netscape.com
bcf18bfa01 create_java_vm_impl was always failing.
git-svn-id: svn://10.0.0.236/trunk@10870 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:20:09 +00:00
fur%netscape.com
5774a72d30 Removed references to now-defunct mozilla/js/jsj directory
git-svn-id: svn://10.0.0.236/trunk@10869 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:10:02 +00:00
cyeh%netscape.com
c071ae3970 quick fix
git-svn-id: svn://10.0.0.236/trunk@10868 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:07:20 +00:00
cyeh%netscape.com
43ad2f22d6 oops...quick fix
git-svn-id: svn://10.0.0.236/trunk@10867 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:06:20 +00:00
cyeh%netscape.com
6a972ef04e new raptor modules per scullin
git-svn-id: svn://10.0.0.236/trunk@10866 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:05:34 +00:00
hyatt%netscape.com
23a99f1248 Tweaking the notification handler for the toolbars.
git-svn-id: svn://10.0.0.236/trunk@10865 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:38:53 +00:00
fur%netscape.com
1669c00013 Deleting obsolete contents of jsj directory
git-svn-id: svn://10.0.0.236/trunk@10864 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:32:24 +00:00
karnaze%netscape.com
9a9aaead6d viewer saves compatibility mode preference
git-svn-id: svn://10.0.0.236/trunk@10863 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:21:20 +00:00
raman%netscape.com
b6f7b11a56 Added AllJavaScript target to represent a target that defines all JavaScript privileges. JavaSoft's JVM will use this target to perform privileged operations from Java in JS
git-svn-id: svn://10.0.0.236/trunk@10862 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:16:14 +00:00
raman%netscape.com
8c70f80362 Added AllJavaScript target to represent a target that defines all JavaScript privileges. JavaSoft's JVM will use this target to perform privileged operations from Java in JS
git-svn-id: svn://10.0.0.236/trunk@10861 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:16:10 +00:00
hyatt%netscape.com
6005513c3c Tweaks to the HTML pane calls to make sure they use the template.
git-svn-id: svn://10.0.0.236/trunk@10860 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:07:17 +00:00
hyatt%netscape.com
e9a6a7c042 Making the HTML pane work again.
git-svn-id: svn://10.0.0.236/trunk@10859 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:06:54 +00:00
ftang%netscape.com
745bd85555 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@10858 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:01:01 +00:00
robinf%netscape.com
369b38ae1e fixing bug #321757; updating help to reflect changed behavior of "Show Introduction Screens" global option
git-svn-id: svn://10.0.0.236/trunk@10857 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:42:57 +00:00
terry%netscape.com
11fc680fe3 Don't let people checking in from the outside affect any tree unless that tree has 'external' in its name.
git-svn-id: svn://10.0.0.236/trunk@10856 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:29:45 +00:00
valeski%netscape.com
cee7486dc6 NGLayout only. Setting the default dirs for NS_NET_FILE to be rooted in the current working directory rather than hardcoded.
git-svn-id: svn://10.0.0.236/trunk@10855 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:29:25 +00:00
karnaze%netscape.com
f2395f2993 viewer can set the compatibility mode
git-svn-id: svn://10.0.0.236/trunk@10851 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:02:54 +00:00
karnaze%netscape.com
97e632a2d8 support for getting compatibility mode from preferences
git-svn-id: svn://10.0.0.236/trunk@10850 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:02:02 +00:00
robinf%netscape.com
661e6070da Fixing bug #324040; adding new help screen for new flag in global options
git-svn-id: svn://10.0.0.236/trunk@10849 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:00:43 +00:00
dcone%netscape.com
ed77d583c6 fixed resizing issues
git-svn-id: svn://10.0.0.236/trunk@10848 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 22:10:40 +00:00
dcone%netscape.com
3332bd0528 fixed resizing problems
git-svn-id: svn://10.0.0.236/trunk@10847 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 22:09:52 +00:00
dcone%netscape.com
702526c746 fixed some sizing issues
git-svn-id: svn://10.0.0.236/trunk@10846 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 22:09:23 +00:00
dcone%netscape.com
fa8a146369 Put in code to offset drawing, hittest, etc
git-svn-id: svn://10.0.0.236/trunk@10845 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 22:08:53 +00:00
troy%netscape.com
bcec7d7c3f Removed a comment that is no longer applicable
git-svn-id: svn://10.0.0.236/trunk@10843 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:55:41 +00:00
buster%netscape.com
02997b3c4d re-instated fixed layout strategy
git-svn-id: svn://10.0.0.236/trunk@10842 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:50:49 +00:00
buster%netscape.com
4cca9446d0 all frame initialization and related logic has moved into the various table frames' Init() methods
from their respective InitalReflow() methods.
table-layout=fixed now completely skips pass1 reflow and doesn't require maxElementSize
information, saving a tremendous amount of time during initial reflow.


git-svn-id: svn://10.0.0.236/trunk@10841 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:48:26 +00:00
spider%netscape.com
27152055ea Fixes to load HTML Views again
git-svn-id: svn://10.0.0.236/trunk@10840 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:37:24 +00:00
akkana%netscape.com
8f7c44f6eb config.mk
git-svn-id: svn://10.0.0.236/trunk@10839 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:30:15 +00:00
vidur%netscape.com
a909e40cf9 Fixes in CSS interfaces
git-svn-id: svn://10.0.0.236/trunk@10838 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:28:06 +00:00
troy%netscape.com
171cbed41d Fixed leak of entire content model...
git-svn-id: svn://10.0.0.236/trunk@10836 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:59:57 +00:00
vidur%netscape.com
d955cfca51 Further refinement of style interfaces
git-svn-id: svn://10.0.0.236/trunk@10835 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:58:31 +00:00
akkana%netscape.com
dbba3fe731 more rosetta build bustage
git-svn-id: svn://10.0.0.236/trunk@10834 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:52:02 +00:00
rogerl%netscape.com
59a95935d3 Added the #define for turning on the default messages. Not sure if this is
the right place for it, but I wanted to get it in before the merge-a-thon.


git-svn-id: svn://10.0.0.236/trunk@10833 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:41:13 +00:00
kmcclusk%netscape.com
c4b5c7c1a9 Fixed filewidget query interface failure. The viewer was crashing when trying to open
a file.


git-svn-id: svn://10.0.0.236/trunk@10832 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:39:16 +00:00
rogerl%netscape.com
321b7ee962 Changes for error messages - arguments are now jschar.
git-svn-id: svn://10.0.0.236/trunk@10831 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:38:23 +00:00
rogerl%netscape.com
855761697c Bug #104766, decompileFunctionBody needed to set scope in printer before
calling decompileCode.


git-svn-id: svn://10.0.0.236/trunk@10830 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:37:58 +00:00
rogerl%netscape.com
50fd6c1e43 Changes for error messages - arguments are now jschar.
Bug #104766, decompileFunctionBody needed to set scope in printer before
calling decompileCode.


git-svn-id: svn://10.0.0.236/trunk@10829 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:36:18 +00:00
cls%seawood.org
a80dae1416 Fixed problem with FULL_STATIC_BUILD and js libs. Thanks to Tim Rowley <tor@boojum.cs.brown.edu> for the fix.
git-svn-id: svn://10.0.0.236/trunk@10828 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:20:07 +00:00
bjorn%netscape.com
7f3510ee2e Now using a lock in prarena instead of compare-and-swap.
git-svn-id: svn://10.0.0.236/trunk@10827 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:19:28 +00:00
kipp%netscape.com
298fcbcf3e Fixed up includes
git-svn-id: svn://10.0.0.236/trunk@10826 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:12:21 +00:00
kipp%netscape.com
ad717f51e1 Removed bullet factory methods
git-svn-id: svn://10.0.0.236/trunk@10824 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:12:07 +00:00
kipp%netscape.com
63bec11667 Removed block frame CID
git-svn-id: svn://10.0.0.236/trunk@10823 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:11:50 +00:00
kipp%netscape.com
0de7f63f89 stop including unneeded header file
git-svn-id: svn://10.0.0.236/trunk@10822 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:11:37 +00:00
kipp%netscape.com
d79b129f5c nuked
git-svn-id: svn://10.0.0.236/trunk@10821 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:11:22 +00:00
kipp%netscape.com
c5cf8a4efb Return error properly if NS_NewBlockFrame fails; stop including unneeded header file
git-svn-id: svn://10.0.0.236/trunk@10820 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:11:14 +00:00
kipp%netscape.com
d0b353bec8 Implement bullets here; implement list renumbering cleanly instead of having the bullets blindly do it (fixes a crash and several pagination bugs)
git-svn-id: svn://10.0.0.236/trunk@10819 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:10:40 +00:00
kipp%netscape.com
37fc6e5910 Removed nsHTMLBullet from the build
git-svn-id: svn://10.0.0.236/trunk@10817 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:09:38 +00:00
kmcclusk%netscape.com
45c17f9410 Fix for Linux build. Moved form lib to come after style lib.
git-svn-id: svn://10.0.0.236/trunk@10816 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:08:14 +00:00
bjorn%netscape.com
63784f2ba1 Removed a redundant assignment, f->susp=-1.
git-svn-id: svn://10.0.0.236/trunk@10815 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:51:26 +00:00
akkana%netscape.com
42f6400525 Remove obsolete rosetta references
git-svn-id: svn://10.0.0.236/trunk@10814 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:49:14 +00:00
kmcclusk%netscape.com
0b9521b1af Factored cross-platform code within nsWindow in nsBaseWidget. Converted headers and footers
to use nsISupports.h macros. Implemented nsToolkits query interface and made it creatable
through the factory.


git-svn-id: svn://10.0.0.236/trunk@10812 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:19:23 +00:00
kmcclusk%netscape.com
7931aee9d9 Added nsIToolkit to registry
git-svn-id: svn://10.0.0.236/trunk@10811 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:16:59 +00:00
robinf%netscape.com
ba8a2e2955 fixinb bug related to text corrections on these screens
git-svn-id: svn://10.0.0.236/trunk@10810 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:07:46 +00:00
akkana%netscape.com
46ec8b4111 Turn on MOZ_MAIL_COMPOSE by default. Approved by briano
git-svn-id: svn://10.0.0.236/trunk@10808 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 18:41:11 +00:00
fur%netscape.com
20b526f9fa When finalizing the prototype objects, don't try to access the JNIEnv, since that can cause the JVM to be unnecessarily loaded
git-svn-id: svn://10.0.0.236/trunk@10807 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 18:36:38 +00:00
cls%seawood.org
90737b279a Fixed problem with 'gmake' not executing libs and install targets. Ordering does matter. :(
git-svn-id: svn://10.0.0.236/trunk@10806 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 18:12:14 +00:00
despotdaemon%netscape.com
88c4fba289 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10805 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 18:08:23 +00:00
karnaze%netscape.com
b7d77ef368 added image submit to first form
git-svn-id: svn://10.0.0.236/trunk@10804 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:55:28 +00:00
karnaze%netscape.com
353feb2fe6 forgot to add in last checkin
git-svn-id: svn://10.0.0.236/trunk@10802 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:44:33 +00:00
karnaze%netscape.com
ea90ff591e Converted forms to use the new content model classes and better separate content from layout.
git-svn-id: svn://10.0.0.236/trunk@10800 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:16:51 +00:00
rickg%netscape.com
0069eda5c1 added support for XML processing instructions
git-svn-id: svn://10.0.0.236/trunk@10798 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 16:55:13 +00:00
blizzard%appliedtheory.com
e4b452cfd7 Patch from Bert Driehuis <driehuis@playbeing.org> for returning the view
in the function.


git-svn-id: svn://10.0.0.236/trunk@10797 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 14:04:06 +00:00
pierre%netscape.com
2af99d82b0 added SetFont + call it before calculating the Width or Height
git-svn-id: svn://10.0.0.236/trunk@10796 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:29:51 +00:00
pierre%netscape.com
1a15e340d9 added SetFont
git-svn-id: svn://10.0.0.236/trunk@10795 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:28:54 +00:00
pierre%netscape.com
edf8a1125e moved SetFont guts to nsFontMetricsMac
git-svn-id: svn://10.0.0.236/trunk@10794 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:28:05 +00:00
pierre%netscape.com
be78567e8a handle menu events when there is no window + other fixes
git-svn-id: svn://10.0.0.236/trunk@10793 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:24:33 +00:00
pierre%netscape.com
3bfb6cd196 handle menu events when there is no window
git-svn-id: svn://10.0.0.236/trunk@10792 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:23:07 +00:00
ramiro%netscape.com
87ef5856b8 Remove 2 extra spaces that were causing Mozilla to crash on startup on some
sun computers.
Thanks to Kurt Swanson <kurt@dna.lth.se> for pointing this out and providing
the fix.


git-svn-id: svn://10.0.0.236/trunk@10791 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:21:28 +00:00
pierre%netscape.com
88c6e0ec95 re-enable the scrollbars on Mac, the widgets are now implemented
git-svn-id: svn://10.0.0.236/trunk@10790 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:19:55 +00:00
pierre%netscape.com
5edd44880b fixed a GlobalToLocal problem in FindWidgetHit
git-svn-id: svn://10.0.0.236/trunk@10789 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:18:46 +00:00
pierre%netscape.com
4bb8a8ed37 added widget/src/mac/manifest
git-svn-id: svn://10.0.0.236/trunk@10788 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:12:27 +00:00
pierre%netscape.com
4fa777855a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@10787 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:11:08 +00:00
ramiro%netscape.com
82072391aa Fix for bugzilla bug 864. XFE fonts.c file charset array out of whack.
Thanks to raff@aromatic.com for pointing this out and providing the fix.


git-svn-id: svn://10.0.0.236/trunk@10786 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 08:22:25 +00:00
cyeh%netscape.com
8f967ade31 adding JSRef for fur
git-svn-id: svn://10.0.0.236/trunk@10781 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:24:00 +00:00
gagan%netscape.com
725ac59f56 Using NET_IsURLInCache instead of NET_IsURLInDiskCache and NET_IsURLInMemCache.
git-svn-id: svn://10.0.0.236/trunk@10780 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:06:18 +00:00
gagan%netscape.com
277450790d Added NET_IsURLInCache function.
git-svn-id: svn://10.0.0.236/trunk@10779 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:03:45 +00:00
gagan%netscape.com
c1c25bfbf7 Correct check for memory objects.
git-svn-id: svn://10.0.0.236/trunk@10778 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:03:27 +00:00
gagan%netscape.com
69512faa8f Added NET_IsURLInCache function. This replaces most cases of NET_IsURLInMemCache || NET_IsURLInDiskCache.
git-svn-id: svn://10.0.0.236/trunk@10777 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:03:03 +00:00
gagan%netscape.com
afeb248e3d Misc. changes.
git-svn-id: svn://10.0.0.236/trunk@10776 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:01:07 +00:00
gagan%netscape.com
5f53ac2b57 Removed m_Flag, replaced with state variable.
git-svn-id: svn://10.0.0.236/trunk@10775 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:00:45 +00:00
gagan%netscape.com
9040db951d Disk access for streams to file.
git-svn-id: svn://10.0.0.236/trunk@10774 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:00:13 +00:00
gagan%netscape.com
cd4e898fad Cache Object's state functions.
git-svn-id: svn://10.0.0.236/trunk@10773 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 05:59:04 +00:00
gagan%netscape.com
9446da27fe PRFileDesc instead of XP_file*.
git-svn-id: svn://10.0.0.236/trunk@10772 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 05:58:03 +00:00
gagan%netscape.com
4cea6cdb22 Added State accessor functions.
git-svn-id: svn://10.0.0.236/trunk@10771 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 05:57:06 +00:00
troy%netscape.com
8e2160e6db Fixed bug in InsertNewFrame() that was screwing up the child list
git-svn-id: svn://10.0.0.236/trunk@10770 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 04:45:59 +00:00
troy%netscape.com
5d20ffe429 Fixed an off by one problem in the ContentInserted() code
git-svn-id: svn://10.0.0.236/trunk@10769 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 04:25:49 +00:00
spider%netscape.com
3eefd2153b XPFC Implementation on top ov Views
git-svn-id: svn://10.0.0.236/trunk@10767 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 03:40:00 +00:00
valeski%netscape.com
71efef1ee4 added mkprefs.h to the makefile.in file.
git-svn-id: svn://10.0.0.236/trunk@10766 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 03:03:21 +00:00
kipp%netscape.com
647c79cbaf Disabled some tests :-(
git-svn-id: svn://10.0.0.236/trunk@10764 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:36:21 +00:00
kipp%netscape.com
a18a35cc4f Added a list method for outputing top/right/bottom/left objects like border/padding/margins
git-svn-id: svn://10.0.0.236/trunk@10763 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:36:07 +00:00
kipp%netscape.com
8a980ec5ee Fixed parsing of margins to allow for auto values
git-svn-id: svn://10.0.0.236/trunk@10762 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:35:10 +00:00
kipp%netscape.com
5b0a290d9e Removed VerticallyAlignChildren (it's in nsInlineReflow now)
git-svn-id: svn://10.0.0.236/trunk@10761 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:34:43 +00:00
kipp%netscape.com
2f52f16b2b Improved list output for border/padding/margin
git-svn-id: svn://10.0.0.236/trunk@10760 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:34:21 +00:00
kipp%netscape.com
f8406870d2 Some improvement to list layout
git-svn-id: svn://10.0.0.236/trunk@10759 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:33:37 +00:00
kipp%netscape.com
8673b40ed5 Removed unused include
git-svn-id: svn://10.0.0.236/trunk@10758 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:33:23 +00:00
kipp%netscape.com
90fba2953e Added a reminder XXX
git-svn-id: svn://10.0.0.236/trunk@10757 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:33:04 +00:00
kipp%netscape.com
9faf57d773 Removed dead includes
git-svn-id: svn://10.0.0.236/trunk@10756 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:32:43 +00:00
kipp%netscape.com
9337a6d773 use line-layout's pres-context as a ref not a pointer
git-svn-id: svn://10.0.0.236/trunk@10755 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:32:17 +00:00
buster%netscape.com
bb5e1eca75 implementation of table-layout=fixed strategy
git-svn-id: svn://10.0.0.236/trunk@10754 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:32:15 +00:00
kipp%netscape.com
6fa4714901 use nsHTMLContainerFrame instead of nsHTMLBase
git-svn-id: svn://10.0.0.236/trunk@10753 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:31:48 +00:00
kipp%netscape.com
24df681107 Use pres-context as a ref instead of a pointer
git-svn-id: svn://10.0.0.236/trunk@10752 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:31:16 +00:00
kipp%netscape.com
7bc4aa3916 Added methods for counting the number of placed frames; switched the pres-context to a ref from a pointer; removed some debris
git-svn-id: svn://10.0.0.236/trunk@10751 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:31:00 +00:00
kipp%netscape.com
a5295b280e Use nsHTMLContainerFrame instead of nsHTMLBase
git-svn-id: svn://10.0.0.236/trunk@10750 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:30:21 +00:00
kipp%netscape.com
3bcbd67a5a Updated NS_INLINE_LINE_BREAK_BEFORE macro to not take an argument and explained why in the comment
git-svn-id: svn://10.0.0.236/trunk@10749 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:30:00 +00:00
kipp%netscape.com
c45150ede3 Moved some methods from various places into this class
git-svn-id: svn://10.0.0.236/trunk@10748 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:29:31 +00:00
kipp%netscape.com
d11f4399bc nuked
git-svn-id: svn://10.0.0.236/trunk@10747 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:29:03 +00:00
kipp%netscape.com
22e2ded2a8 moved CreateViewForFrame to nsHTMLContainerFrame; changed usage of line-layout pres-context from pointer to ref
git-svn-id: svn://10.0.0.236/trunk@10746 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:27:56 +00:00
kipp%netscape.com
da6504bc4c Added more args to ComputeDesiredSize
git-svn-id: svn://10.0.0.236/trunk@10745 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:27:21 +00:00
kipp%netscape.com
3c195f0ff8 Partial implementation of body style width/height support
git-svn-id: svn://10.0.0.236/trunk@10744 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:26:29 +00:00
kipp%netscape.com
73439c4818 Spanked hard to reorg code around nsInlineReflow; rework list handling; rework factoring of inline/block reflow
git-svn-id: svn://10.0.0.236/trunk@10743 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:25:26 +00:00
kipp%netscape.com
ee877121c9 use line layout pres-context as a ref not a pointer
git-svn-id: svn://10.0.0.236/trunk@10742 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:24:49 +00:00
kipp%netscape.com
d01f564c80 Added new source; removed old source
git-svn-id: svn://10.0.0.236/trunk@10741 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:24:15 +00:00
kipp%netscape.com
678d6e579e Made DeleteChildsNextInFlow public and virtual
git-svn-id: svn://10.0.0.236/trunk@10740 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:23:33 +00:00
kipp%netscape.com
e05239f07c Renamed margin carry in/out variables in the metrics struct
git-svn-id: svn://10.0.0.236/trunk@10739 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:21:53 +00:00
kipp%netscape.com
dc118c3bbb new
git-svn-id: svn://10.0.0.236/trunk@10738 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:19:05 +00:00
kipp%netscape.com
ba293acaeb Fixed the build
git-svn-id: svn://10.0.0.236/trunk@10737 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 01:47:17 +00:00
sdagley%netscape.com
918d9669f9 Added prototype for lo_ProcessHeader so the Mac will build. How any platform builds without I don't know (but I'd guess they don't have warnings for un-prototyped functions).
git-svn-id: svn://10.0.0.236/trunk@10736 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 01:45:44 +00:00
briano%netscape.com
719d4641d0 Changed EDITOR to MOZ_EDITOR, because EDITOR is almost always defined in the user's environment, and that breaks MOZ_LITE builds. Approved by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10731 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 00:47:17 +00:00
jsun%netscape.com
8ba4677348 added the timestamp and start,end range of events to NSCalendar.
git-svn-id: svn://10.0.0.236/trunk@10730 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 00:04:34 +00:00
briano%netscape.com
a67e0ef2aa Whether or not security is enabled is independent of the MOZ_LITE, MOZ_MEDIUM, MOZ_BLAHBLAHBLAH macros. This should help people building MOZ_LITE.
git-svn-id: svn://10.0.0.236/trunk@10729 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:49:58 +00:00
buster%netscape.com
28f1107062 set all the groundwork for FAST table layout based on CSS-2 table-layout property
git-svn-id: svn://10.0.0.236/trunk@10726 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:36:06 +00:00
radha%netscape.com
c1945f0c69 Moved MWContext utility functions to context_funcs.cpp
git-svn-id: svn://10.0.0.236/trunk@10724 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:32:49 +00:00
cls%seawood.org
d98292211a Moved files accidentally placed in MOZ_EDITOR ifdef.
git-svn-id: svn://10.0.0.236/trunk@10720 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:03:47 +00:00
cls%seawood.org
e6336bfaee Sync'd Makefile.ins
git-svn-id: svn://10.0.0.236/trunk@10718 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:01:29 +00:00
toshok%netscape.com
4dd4f2823f add handling for header elements in reflow. especially fixes alignment lossage.
git-svn-id: svn://10.0.0.236/trunk@10717 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:51:43 +00:00
beard%netscape.com
6bd298bbe0 Defining NS_EXPORT, et. al. for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@10716 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:46:18 +00:00
valeski%netscape.com
cea5b8a6ec mozilla - added mkprefs.h to the builds and replaced "*" pref strings with #defines.
nglayout - added get & set methods for http proxies to nsINetService.


git-svn-id: svn://10.0.0.236/trunk@10714 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:41:27 +00:00
radha%netscape.com
979f4bccb3 Check if image->clientData exists before trying to obtain the pixmap
from it.


git-svn-id: svn://10.0.0.236/trunk@10712 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:24:29 +00:00
radha%netscape.com
8526f999cd New utility functions to create MWContext and obtain frame handle from
MWContext


git-svn-id: svn://10.0.0.236/trunk@10711 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:23:49 +00:00
beard%netscape.com
38c5cbb164 Need a real plugin manager reference.
git-svn-id: svn://10.0.0.236/trunk@10710 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:23:35 +00:00
ftang%netscape.com
50defacc4d fix bug 324313 in Mozilla first. Reviwed by erik
git-svn-id: svn://10.0.0.236/trunk@10709 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:14:02 +00:00
beard%netscape.com
0bf5ab8b0f Removed redundant (wrong) declaration of local variable err from GetLiveconnect(), which was shadowing another declaration of err in an outer scope.
git-svn-id: svn://10.0.0.236/trunk@10708 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:02:33 +00:00
bjorn%netscape.com
b64ec41425 Patched the name JS_USE_ONLY_NSPR_LOCKS.
git-svn-id: svn://10.0.0.236/trunk@10705 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 21:45:13 +00:00
vidur%netscape.com
0608e3fd78 Added method to get property weight
git-svn-id: svn://10.0.0.236/trunk@10703 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 21:30:10 +00:00
vidur%netscape.com
20d458c395 New style interfaces
git-svn-id: svn://10.0.0.236/trunk@10702 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 21:19:11 +00:00
spider%netscape.com
dfdea96b6d Add io.h on windows
git-svn-id: svn://10.0.0.236/trunk@10701 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 20:44:51 +00:00
despotdaemon%netscape.com
c119975970 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10698 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 20:26:37 +00:00
despotdaemon%netscape.com
7a16a8a9c6 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10695 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 18:27:59 +00:00
terry%netscape.com
7526772863 Don't forget regexp or column choices when resorting
git-svn-id: svn://10.0.0.236/trunk@10694 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 18:23:14 +00:00
wtc%netscape.com
06d57ca345 NO_NSPR_PRIVATE_HEADER_BRANCH landing. Removed the inclusions of
private NSPR headers (prosdep.h and primpl.h) from the Mozilla source.
The part of prosdep.h that is actually needed by Mozilla was extracted
and put in the new file mozilla/include/xp_path.h.


git-svn-id: svn://10.0.0.236/trunk@10691 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 16:59:57 +00:00
terry%netscape.com
24741b9973 Added disabled, voucher, signedform.
git-svn-id: svn://10.0.0.236/trunk@10690 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 16:56:39 +00:00
kipp%netscape.com
076d53dd27 Added code to map illegal ncr values as per navigator
git-svn-id: svn://10.0.0.236/trunk@10689 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 15:34:50 +00:00
briano%netscape.com
be49e1baf4 Cleaned it up and added in all the .mk files that were 'missing'.
git-svn-id: svn://10.0.0.236/trunk@10688 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 07:20:06 +00:00
rpotts%netscape.com
fb2abb314f Initialize Async DNS during the rest of the netlib initialization. This will take place on the netlib thread (where appropriate...)
git-svn-id: svn://10.0.0.236/trunk@10687 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 07:03:54 +00:00
rpotts%netscape.com
6cd03c57b9 Move DNS initialization out to when Netlib is initialized. This ensures that the initialization takes place on the Netlib Thread.
git-svn-id: svn://10.0.0.236/trunk@10686 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 07:02:20 +00:00
beard%netscape.com
ce650a3936 Added :mozilla:dist:nava-java: to access paths, to override :dist:liveconnect: version of netscape_java_JSObject.h, which #includes <jni.h>.
git-svn-id: svn://10.0.0.236/trunk@10685 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 06:48:07 +00:00
pierre%netscape.com
d4753fee99 handle Quit cmd (added mMacPump in order to call StopRunnning)
git-svn-id: svn://10.0.0.236/trunk@10684 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:22:57 +00:00
pierre%netscape.com
0c9c5041c3 implemented menu events
git-svn-id: svn://10.0.0.236/trunk@10683 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:21:31 +00:00
pierre%netscape.com
d28dcec76e added DoMenu and StopRunning
git-svn-id: svn://10.0.0.236/trunk@10682 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:20:05 +00:00
pierre%netscape.com
7461840b06 destructor closes window
git-svn-id: svn://10.0.0.236/trunk@10681 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:18:40 +00:00
raman%netscape.com
a8251d5e68 Turn on the autoupdate preference by default. OK'ed by cathleen and jar. At this point, this is more for demo of Autoupdate feature on windows
git-svn-id: svn://10.0.0.236/trunk@10680 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:17:52 +00:00
pierre%netscape.com
fa7548bafd removed nsMacResource.r
git-svn-id: svn://10.0.0.236/trunk@10679 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:17:51 +00:00
pierre%netscape.com
422ab7fe0f updated menus
git-svn-id: svn://10.0.0.236/trunk@10678 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:16:39 +00:00
raman%netscape.com
5c4056bbea On windows if smartupdate is not enabled, enable autoupdate manually. OK'ed by cathleen and jar. This is more for demo of Autoupdate feature
git-svn-id: svn://10.0.0.236/trunk@10677 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:16:31 +00:00
raman%netscape.com
cc95aca1bc Create autoupdt directory if it doesn't exist
git-svn-id: svn://10.0.0.236/trunk@10676 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:15:00 +00:00
despotdaemon%netscape.com
7afc87f449 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10675 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:12:09 +00:00
troy%netscape.com
adc4d0083e Changed to how broken image is handled
git-svn-id: svn://10.0.0.236/trunk@10674 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:01:16 +00:00
cls%seawood.org
8039a94c6a Sync'd Makefile.ins with corresponding Makefiles. Fixed problems with autoconf build. Thanks to Christopher Blizzard <blizzard@appliedtheory.com> and Tom Rini <trini@kernel.crashing.org>.
git-svn-id: svn://10.0.0.236/trunk@10673 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:47:27 +00:00
troy%netscape.com
d56bd3fec6 Added display of icon when loading image
git-svn-id: svn://10.0.0.236/trunk@10672 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:34:44 +00:00
sdagley%netscape.com
09b9d476ef per pinkerton this call to URDFUtilities::PropertyValueBool is no longer needed (and it's breaking the Mac build)
git-svn-id: svn://10.0.0.236/trunk@10671 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:10:12 +00:00
fur%netscape.com
430b53b9e4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@10670 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:07:13 +00:00
spider%netscape.com
3787e9848b Begin hooking up the view manager
git-svn-id: svn://10.0.0.236/trunk@10667 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:45:21 +00:00
beard%netscape.com
80cbe1eecc Turned off registering the native methods that are now installed by the plugin.
git-svn-id: svn://10.0.0.236/trunk@10665 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:29:36 +00:00
blizzard%appliedtheory.com
004c7abb79 Only build liveconnect methods if OJI is defined
git-svn-id: svn://10.0.0.236/trunk@10664 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:26:12 +00:00
blizzard%appliedtheory.com
6c07d1e6f4 Include caps includes for prototypes
git-svn-id: svn://10.0.0.236/trunk@10663 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:25:43 +00:00
beard%netscape.com
e4cf2baf78 Changed all interfaces to use UNICODE strings, changed some ints to jints.
git-svn-id: svn://10.0.0.236/trunk@10662 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:24:56 +00:00
beard%netscape.com
2feeb0375b Added netscape_javascript_JSObject.h.
git-svn-id: svn://10.0.0.236/trunk@10661 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:23:44 +00:00
beard%netscape.com
52e4df93eb #include "prtypes.h" if noone else does.
git-svn-id: svn://10.0.0.236/trunk@10660 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:23:23 +00:00
toshok%netscape.com
cb76e927cf rework grid relayout. This fixes lots of things, like the problems of grid cells disappearing on resize, and grid cells that were specified with a fixed size acting like they were assigned a percentage on resize.
git-svn-id: svn://10.0.0.236/trunk@10659 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:14:49 +00:00
matt%netscape.com
34170d0ad5 Adding mak file for HP-UXB.10.20
git-svn-id: svn://10.0.0.236/trunk@10658 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:13:56 +00:00
peterl%netscape.com
1de0d0e996 don't set attributes that are already set
git-svn-id: svn://10.0.0.236/trunk@10657 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:09:26 +00:00
peterl%netscape.com
db24360778 clamp border & padding width to 0
git-svn-id: svn://10.0.0.236/trunk@10656 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:08:45 +00:00
peterl%netscape.com
f8aedd9a4c moved skipped content token from the attribute list to it's own slot
git-svn-id: svn://10.0.0.236/trunk@10654 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:07:31 +00:00
spider%netscape.com
8619f6dfcc WIP: Prep for ViewManager. Make root canvas at Container level
git-svn-id: svn://10.0.0.236/trunk@10652 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 01:35:53 +00:00
scullin%netscape.com
3e8e5f4f7e Added ngprefs test hooks.
git-svn-id: svn://10.0.0.236/trunk@10651 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:57:54 +00:00
scullin%netscape.com
a98743ef50 Added ngprefs dir.
git-svn-id: svn://10.0.0.236/trunk@10650 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:56:07 +00:00
scullin%netscape.com
4a845227e2 Added ngprefs build mechanism.
git-svn-id: svn://10.0.0.236/trunk@10649 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:55:04 +00:00
spider%netscape.com
0487d6f8e0 Remove old SetWidget method from Cal XML parser
git-svn-id: svn://10.0.0.236/trunk@10648 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:52:11 +00:00
slamm%netscape.com
1e1931c9f5 Add a parameter to HT_PaneFromURL (to match backend change that hyatt made). Fix crash on exit (We deleted the notification struct and then HT tried to send us more events).
git-svn-id: svn://10.0.0.236/trunk@10647 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:50:25 +00:00
sdagley%netscape.com
da168af872 Yes the tree is in flames but it'll stay that way without this mod. Reviewed/Approved hyatt. Add new paramter for call to HT_PaneFromURL.
git-svn-id: svn://10.0.0.236/trunk@10646 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:35:08 +00:00
rpotts%netscape.com
d2ab45317d Changed the order for deleting nsImageRequsts and the ImageGroupContext...
git-svn-id: svn://10.0.0.236/trunk@10645 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:27:12 +00:00
hyatt%netscape.com
f7091ec331 Support for templates added to SHACK. More properties added to front end.
git-svn-id: svn://10.0.0.236/trunk@10644 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:24:26 +00:00
hyatt%netscape.com
7225c36093 More properties added and template support for SHACK added.
git-svn-id: svn://10.0.0.236/trunk@10643 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:23:53 +00:00
scullin%netscape.com
1d2b4fc990 Removed.
git-svn-id: svn://10.0.0.236/trunk@10642 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:08:51 +00:00
scullin%netscape.com
6697ab47de Added.
git-svn-id: svn://10.0.0.236/trunk@10641 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:08:27 +00:00
cyeh%netscape.com
38029dc0ad sacrificing the chicken: try moving calls before dist
git-svn-id: svn://10.0.0.236/trunk@10640 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:06:11 +00:00
nisheeth%netscape.com
fdb56c6f63 Adding code submitted by Ori Kravitz (orik@mercury.co.il) that informs listeners
of keyboard/mouse events before passing the events to JS.  This is part of the
layout probe project that is trying to add test automation interfaces to the
layout engine.


git-svn-id: svn://10.0.0.236/trunk@10639 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:01:23 +00:00
rpotts%netscape.com
bba6403a16 Fixes for platforms where NETLIB_THREAD is not defined... only create proxies if NETLIB_THREAD is defined
git-svn-id: svn://10.0.0.236/trunk@10638 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:58:55 +00:00
nisheeth%netscape.com
b1e81f16d9 Added code submitted by Ori Kravitz (orik@mercury.co.il) that informs listeners
that all network connections have completed for the current page.  This is part
of the Layout Probe project that is trying to add test automation interfaces to
the layout engine.


git-svn-id: svn://10.0.0.236/trunk@10637 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:58:14 +00:00
beard%netscape.com
8c909c2738 Changed use of stricmp to XP_STRCASECMP, fixed reference to platform-specific pText field in LO_TextStruct_struct.
git-svn-id: svn://10.0.0.236/trunk@10636 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:51:48 +00:00
pierre%netscape.com
02e822d3bc fixed raptor build: added nsNetThread.cpp to the 'modular' targets
git-svn-id: svn://10.0.0.236/trunk@10635 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:45:52 +00:00
terry%netscape.com
4fc22b4fc7 Patch by (mostly) Bert Driehuis <bert_driehuis@nl.compuware.com> --
explain a bit about the versioncache file.


git-svn-id: svn://10.0.0.236/trunk@10634 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:29:39 +00:00
spider%netscape.com
004a69c80c Fix to getDefaultCursor on all mouse motion events based on mouse pt
git-svn-id: svn://10.0.0.236/trunk@10632 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:25:41 +00:00
pierre%netscape.com
0e14d5b2fa added gif and jpg files to the samples folder
git-svn-id: svn://10.0.0.236/trunk@10631 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:16:10 +00:00
spider%netscape.com
6b5cf5e240 Change the cursor based on the splitter's orientation
git-svn-id: svn://10.0.0.236/trunk@10630 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:04:32 +00:00
akkana%netscape.com
238a3242ed Fix build error: C++ comment in file included by C files
git-svn-id: svn://10.0.0.236/trunk@10629 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:43:50 +00:00
beard%netscape.com
cdb3424e64 Removed nsINetworkManager.
git-svn-id: svn://10.0.0.236/trunk@10628 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:18:43 +00:00
nisheeth%netscape.com
9499876f5c Adding files created by Ori Kravitz (orik@mercury.co.il) for exposing
interfaces for testing the layout engine.


git-svn-id: svn://10.0.0.236/trunk@10627 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:16:41 +00:00
ramiro%netscape.com
6072a45816 Fix taskbar action button transparency.
git-svn-id: svn://10.0.0.236/trunk@10626 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:08:18 +00:00
nisheeth%netscape.com
82480418fa Adding build support for modules/libtest if MOZ_LIBTEST is defined.
git-svn-id: svn://10.0.0.236/trunk@10625 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:08:05 +00:00
dcone%netscape.com
48e20a157a scroll bar is drawing, nothing else
git-svn-id: svn://10.0.0.236/trunk@10623 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:56:55 +00:00
nisheeth%netscape.com
faed7fd133 Checking in changes made for the Layout Probe API project by Ori Kravitz
(orik@mercury.co.il) and Andrei Romanov (aromanov@segue.com).


git-svn-id: svn://10.0.0.236/trunk@10622 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:54:50 +00:00
dcone%netscape.com
d8061bc83e Fixed alpha layer
git-svn-id: svn://10.0.0.236/trunk@10621 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:46:39 +00:00
nisheeth%netscape.com
9e48820e1e Add LAYPROBE_API to compiler defines if MOZ_LIBTEST is set.
git-svn-id: svn://10.0.0.236/trunk@10620 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:46:38 +00:00
dcone%netscape.com
2318cb3fa3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@10619 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:43:58 +00:00
nisheeth%netscape.com
abeee03606 Adding build support for modules/libtest that exposes interfaces for
testing the layout engine.


git-svn-id: svn://10.0.0.236/trunk@10618 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:43:38 +00:00
terry%netscape.com
43c01aad71 Now works under "use strict".
git-svn-id: svn://10.0.0.236/trunk@10617 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:15:42 +00:00
sudu%netscape.com
e149fac3a4 Added back a initializer which I missed in last merge
git-svn-id: svn://10.0.0.236/trunk@10616 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:01:16 +00:00
spider%netscape.com
f3a593464f WIP: Splittable Canvas
git-svn-id: svn://10.0.0.236/trunk@10615 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:00:53 +00:00
ramiro%netscape.com
998d0a9865 Add a margin to taskbar action button.
git-svn-id: svn://10.0.0.236/trunk@10614 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:55:53 +00:00
ramiro%netscape.com
09c3da1b92 Remove unused taskbar stuff.
git-svn-id: svn://10.0.0.236/trunk@10613 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:51:41 +00:00
ramiro%netscape.com
d763585f82 Unbreak the taskbar some more.
git-svn-id: svn://10.0.0.236/trunk@10612 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:50:25 +00:00
beard%netscape.com
145d5f65c1 Added JVM_SpendTime.
git-svn-id: svn://10.0.0.236/trunk@10611 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:47:21 +00:00
jsun%netscape.com
2b0e455357 Removed memory leak.
The leak occurred in InitialLoadData when
copying the fetched events from the vector returned by FetchEventsByRange
to the mpShell->m_pCalendar.


git-svn-id: svn://10.0.0.236/trunk@10610 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:45:43 +00:00
beard%netscape.com
9596756b89 Added SpendTime to nsIJVMPlugin. Only turned on for XP_MAC, to avoid breaking other's plugins.
git-svn-id: svn://10.0.0.236/trunk@10609 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:41:19 +00:00
ramiro%netscape.com
826f56ec53 Add a callback to control which toolbar children are resized to the max
dimensions.


git-svn-id: svn://10.0.0.236/trunk@10608 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:20:14 +00:00
ramiro%netscape.com
01e9b6890c Callback reason modularization.
git-svn-id: svn://10.0.0.236/trunk@10605 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 19:49:21 +00:00
troy%netscape.com
225e1b2cb4 Fixed dump-tree problem
git-svn-id: svn://10.0.0.236/trunk@10603 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 19:33:21 +00:00
spider%netscape.com
3a4a8e7217 Add support for ActionCommand's to trickle up the canvas hierarchy
until command gets processed.  Support for LoadUrl in Container also
implemented.


git-svn-id: svn://10.0.0.236/trunk@10602 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 19:27:44 +00:00
sudu%netscape.com
92ec0851aa Bring autoconf build up to date with non-autoconf build
git-svn-id: svn://10.0.0.236/trunk@10599 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 19:25:58 +00:00
terry%netscape.com
803b2253ce Patch by Bert Driehuis <bert_driehuis@nl.compuware.com> -- recognize
BSDI systems.


git-svn-id: svn://10.0.0.236/trunk@10596 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:51:33 +00:00
spider%netscape.com
c613528fc5 platform independe libnls libs
git-svn-id: svn://10.0.0.236/trunk@10595 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:37:17 +00:00
buster%netscape.com
647a672694 added "center" to table horizontal align attribute as a legal value, although the HTML4 spec
says "middle" for h-align and "center" for v-align.  But Nav4 and IE both accept "center" as
well as "middle", so now we do too.


git-svn-id: svn://10.0.0.236/trunk@10594 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:34:30 +00:00
blizzard%appliedtheory.com
a3518e5690 Add the include/private directory to the include path
git-svn-id: svn://10.0.0.236/trunk@10593 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:18:29 +00:00
rpotts%netscape.com
34d304090c Moved the code to mangle resource: URLs into file: URLs out of the Url::Open(...) method and into the NetServiceManager...
git-svn-id: svn://10.0.0.236/trunk@10592 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:15:26 +00:00
cyeh%netscape.com
326152568e check-in and pray: trying a delay of 10 seconds before each external perl tool call.3
git-svn-id: svn://10.0.0.236/trunk@10591 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:12:30 +00:00
terry%netscape.com
79b9bd88b2 Was generating garbage instead of the Cc: line.
git-svn-id: svn://10.0.0.236/trunk@10590 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:07:52 +00:00
norris%netscape.com
01993cd6e1 Fix bug 122041 "get illegal url when having foo.html?http://norris.html"
git-svn-id: svn://10.0.0.236/trunk@10588 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:49:36 +00:00
cyeh%netscape.com
916de29ee4 adding a 10 second delay in the hopes that this will cause the automation to work.+
git-svn-id: svn://10.0.0.236/trunk@10587 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:48:17 +00:00
kin%netscape.com
b4607052d2 Removed the ParagraphStyle and CharacterUnderline buttons from the HTMLArea
toolbar.


git-svn-id: svn://10.0.0.236/trunk@10584 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:38:41 +00:00
kin%netscape.com
e4d173eef8 Modified htmlarea_create() use the current_text if it exists. Fixes HTMLArea
reload, page forward and back.


git-svn-id: svn://10.0.0.236/trunk@10583 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:36:59 +00:00
kin%netscape.com
685f033647 Fix for bug #318302: "Undo" leaves a line of text
Removed call to StartTyping(), in CEditBuffer::ReturnKey(), for the
case where bTyping is false.
Reviewed by cmanske. Approved by marek.

Added parens around a set of conditions in CEditBuffer::PasteText() to prevent
the occassional dereferencing of a null pointer.


git-svn-id: svn://10.0.0.236/trunk@10582 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:33:14 +00:00
blizzard%appliedtheory.com
d7c97208e8 Only try to detect Motif if you plan on building xfe
git-svn-id: svn://10.0.0.236/trunk@10581 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:29:32 +00:00
spider%netscape.com
3322333c7d Moving images to subdirectory off of XML ui description files
git-svn-id: svn://10.0.0.236/trunk@10580 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:27:21 +00:00
spider%netscape.com
cbce85cf02 Adding NPL's which were mistakenly forgotten upon initial checkin
git-svn-id: svn://10.0.0.236/trunk@10578 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:18:04 +00:00
norris%netscape.com
376d6feeba Fix bug 323696 "js12: unimplemented bytecode error in switch test"
Rename js_ResetCodeGenerator to js_FinishCodeGenerator to indicate that
js_InitCodeGenerator must be called after finish before it can be reused.


git-svn-id: svn://10.0.0.236/trunk@10577 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:17:26 +00:00
troy%netscape.com
21d3525b26 Fixed a bug introduced with the LastFrame() changes
git-svn-id: svn://10.0.0.236/trunk@10576 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 16:37:38 +00:00
troy%netscape.com
e592c4b9fd Fixed some horkage I introduced
git-svn-id: svn://10.0.0.236/trunk@10575 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 16:35:49 +00:00
troy%netscape.com
558109f391 Updated to latest DOM
git-svn-id: svn://10.0.0.236/trunk@10574 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 16:31:54 +00:00
spider%netscape.com
8279500d2f WIP: NLS stub implementation on NSPR
git-svn-id: svn://10.0.0.236/trunk@10573 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 16:13:08 +00:00
ramiro%netscape.com
6dec4084ff Un-break the taskbar some more.
git-svn-id: svn://10.0.0.236/trunk@10572 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 14:20:52 +00:00
ramiro%netscape.com
9cab6028bc Add XfeTabGetOrientation().
git-svn-id: svn://10.0.0.236/trunk@10571 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 13:47:39 +00:00
ramiro%netscape.com
74ab511457 Add XfeToolBar.
git-svn-id: svn://10.0.0.236/trunk@10570 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 13:22:45 +00:00
ramiro%netscape.com
a670622534 Create the ender toolbar item only when needed.
git-svn-id: svn://10.0.0.236/trunk@10569 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 12:22:38 +00:00
mcafee%netscape.com
d81d62f835 Initial version, borrowed from webshell/tests/viewer
git-svn-id: svn://10.0.0.236/trunk@10568 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 08:03:35 +00:00
mcafee%netscape.com
8f3cae2366 NGLayout source is src2
git-svn-id: svn://10.0.0.236/trunk@10567 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 08:00:15 +00:00
mcafee%netscape.com
f5245c1966 Added FE_GetRelatedLinksContext()
git-svn-id: svn://10.0.0.236/trunk@10566 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:30:47 +00:00
mcafee%netscape.com
d72cbff971 Renamed init() to read(), save() to write().
git-svn-id: svn://10.0.0.236/trunk@10565 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:29:26 +00:00
mcafee%netscape.com
d66ad63461 Added support for Smart Browsing
git-svn-id: svn://10.0.0.236/trunk@10564 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:27:50 +00:00
mcafee%netscape.com
2dac0fce6e read_str is now fe_PrefReadString(), write_str() is fe_PrefWriteString()
git-svn-id: svn://10.0.0.236/trunk@10563 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:25:49 +00:00
mcafee%netscape.com
eeef033d32 Added updateRelatedLinksShowing()
git-svn-id: svn://10.0.0.236/trunk@10562 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:25:09 +00:00
mcafee%netscape.com
d4ad203ca1 Removed cookie stuff from fe_GlobalPrefs
git-svn-id: svn://10.0.0.236/trunk@10561 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:24:30 +00:00
mcafee%netscape.com
f2e7b9f28d Unused variable warning on Linux
git-svn-id: svn://10.0.0.236/trunk@10560 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 04:58:41 +00:00
mcafee%netscape.com
fc6f5d428f Merging SmartBrowsing prefs in from Nova.
git-svn-id: svn://10.0.0.236/trunk@10559 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 04:44:42 +00:00
mcafee%netscape.com
e2b0aa940c Unused variables warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10558 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 04:43:33 +00:00
mcafee%netscape.com
6b2934e06f Fixing compiler warning on Linux
git-svn-id: svn://10.0.0.236/trunk@10557 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 04:42:13 +00:00
troy%netscape.com
2731820910 Removed references to mFirstContentOffset, mLastContentIsComplete, and mChildCount
git-svn-id: svn://10.0.0.236/trunk@10556 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 03:50:44 +00:00
troy%netscape.com
82426e2926 Removed references to mFirstContentOffset
git-svn-id: svn://10.0.0.236/trunk@10555 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 03:47:45 +00:00
troy%netscape.com
90cbfd4db8 Removed all references to m<First,Last>ContentOffset,mChildCount,mLastContentIsComplete
git-svn-id: svn://10.0.0.236/trunk@10554 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 03:40:32 +00:00
michaelp%netscape.com
f5847039d8 now correctly refreshes the window in ForceRefresh().
git-svn-id: svn://10.0.0.236/trunk@10553 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 22:24:21 +00:00
ramiro%netscape.com
6d78dfcafa This is a temprary hack to fix the "off by one" toolbar closed problem that
occurs when all toolbox items are closed.


git-svn-id: svn://10.0.0.236/trunk@10552 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 17:17:12 +00:00
ramiro%netscape.com
ff7a8c8a7e Remove superflous XmNchildUsePreferred{Width,Height} resources.
git-svn-id: svn://10.0.0.236/trunk@10551 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 17:06:05 +00:00
ramiro%netscape.com
283c2c2a9c Add a comment in place of broken feature.
git-svn-id: svn://10.0.0.236/trunk@10550 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 16:14:06 +00:00
ramiro%netscape.com
d1409f23fa Fix a typo.
git-svn-id: svn://10.0.0.236/trunk@10549 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 16:13:44 +00:00
ramiro%netscape.com
f3918106e8 A better name. layout_frozen instead of ignore_configure.
git-svn-id: svn://10.0.0.236/trunk@10548 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 16:01:12 +00:00
ramiro%netscape.com
63e37513dd Allow each toolbar child's width/height to be forced to the max individually.
Before, it was either all or nothing which was bad when getting dynamic
toolbars to work, especially with complicated toolbar items such as a
combo box.


git-svn-id: svn://10.0.0.236/trunk@10547 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 13:32:41 +00:00
ramiro%netscape.com
8d67666fe5 Move unused Splash.cpp into an ifdef NSPR_SPLASH.
git-svn-id: svn://10.0.0.236/trunk@10546 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 11:29:58 +00:00
ramiro%netscape.com
427cec04c9 Fix a type and update autoconf makefile.
git-svn-id: svn://10.0.0.236/trunk@10545 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 11:22:41 +00:00
ramiro%netscape.com
060696ebcd Remove taskbar widget and use toolbar instead. UNBLOAT.
git-svn-id: svn://10.0.0.236/trunk@10544 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 11:05:00 +00:00
ramiro%netscape.com
eb6509d939 Un-break MOZ_TASKBAR.
git-svn-id: svn://10.0.0.236/trunk@10543 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 09:18:38 +00:00
ramiro%netscape.com
32e7febdab Add missing rep type.
git-svn-id: svn://10.0.0.236/trunk@10542 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 08:37:33 +00:00
ramiro%netscape.com
c8d8550d35 Use a better name: FIXED_SIZE instead of OFFSET.
git-svn-id: svn://10.0.0.236/trunk@10541 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:48:31 +00:00
ramiro%netscape.com
bf118b3d3d Simplufy the XFE_RDFChromeTreeView class by using a divider instead of all
those broken XmForm hacks.


git-svn-id: svn://10.0.0.236/trunk@10540 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:39:43 +00:00
ramiro%netscape.com
8f5d66c624 More modularization changes. Move all the string defs and registration
functions to the respective places where they are needed.  Also cleanup up
a bunch of children info stuff.


git-svn-id: svn://10.0.0.236/trunk@10539 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:38:24 +00:00
ramiro%netscape.com
32bdffd1b0 Add #include <Xfe/Cascade.h>.
git-svn-id: svn://10.0.0.236/trunk@10538 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:34:28 +00:00
ramiro%netscape.com
a8c02ff8ad Fix crash when creating a chromeless window. Dont de-reference a NULL
toolbar.


git-svn-id: svn://10.0.0.236/trunk@10537 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:33:35 +00:00
ramiro%netscape.com
c6aad7fa64 Add divider.
git-svn-id: svn://10.0.0.236/trunk@10536 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:32:11 +00:00
rpotts%netscape.com
ca38b8546f Added NPL and made the implementation threadsafe.
git-svn-id: svn://10.0.0.236/trunk@10535 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:56:41 +00:00
rpotts%netscape.com
32ede4839b Added NPL and fixed typo in GUID #define
git-svn-id: svn://10.0.0.236/trunk@10534 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:56:11 +00:00
rpotts%netscape.com
c706bf9b24 Added missing NS_RELEASE(...)
git-svn-id: svn://10.0.0.236/trunk@10533 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:28:25 +00:00
rpotts%netscape.com
d0c8f23dbc Fixed nettest to work with threaded netlib...
git-svn-id: svn://10.0.0.236/trunk@10531 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:13:42 +00:00
buster%netscape.com
1524945a4b captions now work properly with new frame layout strategy.
nsTableOuterFrame->mFirstChild==nsTableOuterFrame->mInnerTableFrame, always.


git-svn-id: svn://10.0.0.236/trunk@10530 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 04:50:08 +00:00
brendan%netscape.com
0bca4e931e Fix last checkin.
git-svn-id: svn://10.0.0.236/trunk@10528 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 02:58:41 +00:00
wtc%netscape.com
ed3165f8cc Removed the NSPR20 macro definition for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@10527 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 01:04:58 +00:00
wtc%netscape.com
23894090e4 Compile this file only if HAVE_SNPRINTF is not defined so that we
won't accidentally override the system's snprintf and vsnprintf
functions.  This patch is contributed by Soren Juul Moller <sjm@nwc.dk>.


git-svn-id: svn://10.0.0.236/trunk@10526 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:58:30 +00:00
wtc%netscape.com
d01d831960 Backed out the HAVE_LONG_LONG change temporarily because
it breaks binary compatibility.  We will put it back in
after the v3.0 release is branched off.


git-svn-id: svn://10.0.0.236/trunk@10525 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:50:31 +00:00
wtc%netscape.com
1530a9b3df Bug fix: If the envp argument for PR_CreateProcess is NULL,
call execv (instead of execve) so that the new process inherits
the environment of the parent process.


git-svn-id: svn://10.0.0.236/trunk@10524 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:21:35 +00:00
wtc%netscape.com
4862b6113f Renamed the 'index' argument for PR_Get/SetThreadPrivate to 'tpdIndex'.
This is because BSD systems have a funciton named 'index' in
<string.h>, and if you compile with the -Wshadow flag, gcc warns
that our declaration of `index' shadows global declaration.
Thanks to Ben Laurie <ben@algroup.co.uk> for the problem report
and the suggested workaround.


git-svn-id: svn://10.0.0.236/trunk@10523 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:18:18 +00:00
troy%netscape.com
bb6e9bfbd9 Work in progress for displaying icon while laoding image...
git-svn-id: svn://10.0.0.236/trunk@10522 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:08:24 +00:00
wtc%netscape.com
ee405299d7 Added the 'const' qualifier to the 'fmt' argument for PR_FormatTime.
This patch is contributed by Ben Laurie <ben@algroup.co.uk>.
Files changed: prtime.h and prtime.c.


git-svn-id: svn://10.0.0.236/trunk@10521 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 23:52:13 +00:00
blizzard%appliedtheory.com
a750ddf2ea Bring autoconf build into sync with non-autoconf build
git-svn-id: svn://10.0.0.236/trunk@10520 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 22:40:53 +00:00
blizzard%appliedtheory.com
02582a5d11 Bring autoconf build up to date with non-autoconf build
git-svn-id: svn://10.0.0.236/trunk@10519 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 22:28:51 +00:00
morse%netscape.com
0c6461d468 fix up wording in cookie nag box
git-svn-id: svn://10.0.0.236/trunk@10516 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 16:27:16 +00:00
morse%netscape.com
769ce4cff2 avoid js crash in cookie viewer if cookie->host or cookie->path contain a quote
git-svn-id: svn://10.0.0.236/trunk@10515 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 15:15:59 +00:00
mcafee%netscape.com
691dfa71eb Adding support for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10514 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 08:51:59 +00:00
mcafee%netscape.com
7f4d9acaeb Rhapsody doesn't like to link with -m
git-svn-id: svn://10.0.0.236/trunk@10513 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 08:48:00 +00:00
mcafee%netscape.com
4a2e9a7966 Fixing Linux breakage
git-svn-id: svn://10.0.0.236/trunk@10512 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 08:42:51 +00:00
mcafee%netscape.com
b8d1e851dd Adding support for non-Linux OS's
git-svn-id: svn://10.0.0.236/trunk@10511 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 08:25:04 +00:00
mcafee%netscape.com
77f908d781 Adding more portable link line for non-Linux OS's
git-svn-id: svn://10.0.0.236/trunk@10510 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:49:42 +00:00
mcafee%netscape.com
39523b600e Initial stub version for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10509 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:31:47 +00:00
mcafee%netscape.com
bbc3e473b7 Adding support for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10508 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:21:28 +00:00
mcafee%netscape.com
7b0dbb4932 Initial version for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10507 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:21:02 +00:00
rpotts%netscape.com
9bda26caf9 Added new file nsNetThread.cpp
git-svn-id: svn://10.0.0.236/trunk@10506 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:09:45 +00:00
rpotts%netscape.com
5d24c277c9 Added a new file nsNetThread.cpp and the NETLIB_THREAD define
git-svn-id: svn://10.0.0.236/trunk@10505 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:08:47 +00:00
rpotts%netscape.com
dc73b41e94 changed the nsNetService to create a dedicated thread for netlib (on windows only for now)
git-svn-id: svn://10.0.0.236/trunk@10504 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:08:09 +00:00
rpotts%netscape.com
2845e43acc Made the nsISupports interface threadsafe...
git-svn-id: svn://10.0.0.236/trunk@10503 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:06:48 +00:00
rpotts%netscape.com
1ff3503847 Made the nsISupports and nsIRefreshURL interfaces threadsafe...
git-svn-id: svn://10.0.0.236/trunk@10502 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:06:07 +00:00
rpotts%netscape.com
39dc7e01c5 Added NSPR DLL to the link which is required for monitors...
git-svn-id: svn://10.0.0.236/trunk@10501 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:04:00 +00:00
rpotts%netscape.com
97fe271a46 made URLImpl threadsafe...
git-svn-id: svn://10.0.0.236/trunk@10500 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:03:19 +00:00
rpotts%netscape.com
da9754e0a3 Made the netlib blocking stream work correctly when netlib is running on its own thread
git-svn-id: svn://10.0.0.236/trunk@10499 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:02:25 +00:00
rpotts%netscape.com
7ba26a9d15 Fixed the reference counting of the URL_Struct being held by the HttpUrl.
git-svn-id: svn://10.0.0.236/trunk@10498 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:00:29 +00:00
rpotts%netscape.com
9536efd914 new files which create a dedicated thread for netlib
git-svn-id: svn://10.0.0.236/trunk@10497 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:59:33 +00:00
mcafee%netscape.com
cb0dad87de Adding support for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10496 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:58:53 +00:00
rpotts%netscape.com
e5b7068791 Added correct NPL
git-svn-id: svn://10.0.0.236/trunk@10495 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:58:32 +00:00
mcafee%netscape.com
90a096689a Initial version, copied from ../unix
git-svn-id: svn://10.0.0.236/trunk@10494 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:58:15 +00:00
rpotts%netscape.com
005e45fa59 enabled thread-safe code which was previously only used when JAVA was defined.
git-svn-id: svn://10.0.0.236/trunk@10493 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:57:29 +00:00
rpotts%netscape.com
da5741d35d Made nsTraceRefcnt threadsafe...
git-svn-id: svn://10.0.0.236/trunk@10492 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:56:22 +00:00
rpotts%netscape.com
70590f0a2a Added threadsafe implementations of Addref()/Release()/QueryInterface()
git-svn-id: svn://10.0.0.236/trunk@10491 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:55:30 +00:00
rpotts%netscape.com
1ab1258079 Enabled netlib lock when NS_MT_SUPPORTED is defined
git-svn-id: svn://10.0.0.236/trunk@10490 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:54:17 +00:00
rpotts%netscape.com
8db0346764 Turned on Multi-threaded define for windows... (NGLayout only)
git-svn-id: svn://10.0.0.236/trunk@10489 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:50:43 +00:00
mcafee%netscape.com
201d6cafda Adding support for non-X11 Unix systems
git-svn-id: svn://10.0.0.236/trunk@10488 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:21:01 +00:00
terry%netscape.com
dbab632bf4 Whoops. Ignore anything that tries to override the version number in
the params file.


git-svn-id: svn://10.0.0.236/trunk@10487 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:20:13 +00:00
mcafee%netscape.com
437157a453 Fixing -lm not found link error when linking libimg.
git-svn-id: svn://10.0.0.236/trunk@10486 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:20:10 +00:00
terry%netscape.com
6169849f2e Updated version string to 2.1 (development)
git-svn-id: svn://10.0.0.236/trunk@10485 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:08:15 +00:00
terry%netscape.com
590b42958c Updated version string to 2.0 (shipping)
git-svn-id: svn://10.0.0.236/trunk@10483 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:02:20 +00:00
terry%netscape.com
9766a1b60c Make it clear to people that "%version%" will work.
git-svn-id: svn://10.0.0.236/trunk@10482 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 05:48:09 +00:00
terry%netscape.com
9a9d2d401d Change default banner to include version info.
git-svn-id: svn://10.0.0.236/trunk@10481 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 05:47:54 +00:00
troy%netscape.com
4046dc8f39 Changes to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@10480 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 05:03:08 +00:00
terry%netscape.com
de647fe34d Updated version string to 1.3 (development)
git-svn-id: svn://10.0.0.236/trunk@10479 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 04:52:13 +00:00
terry%netscape.com
c8c5bd886a Add simple support for a version string.
git-svn-id: svn://10.0.0.236/trunk@10478 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 04:38:12 +00:00
troy%netscape.com
fcf6ebb325 Changed FrameInserted incremental reflow code to insert the new frame
into the child frame list


git-svn-id: svn://10.0.0.236/trunk@10477 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 04:29:36 +00:00
troy%netscape.com
82c24af034 Removed farme enumeration member functions for indexed access, last child,
and child count


git-svn-id: svn://10.0.0.236/trunk@10475 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 03:24:26 +00:00
ftang%netscape.com
c04615a2c8 fix mac
git-svn-id: svn://10.0.0.236/trunk@10474 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 03:00:21 +00:00
terry%netscape.com
e3271696e2 Patch from Sam Ziegler <ziegler@mediaguaranty.com> -- Don't choke if argv is empty.
git-svn-id: svn://10.0.0.236/trunk@10473 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 02:35:09 +00:00
terry%netscape.com
48fc7dd684 Patch from Sam Ziegler <ziegler@mediaguaranty.com> -- add the URL for TiemDate.
git-svn-id: svn://10.0.0.236/trunk@10472 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 02:34:41 +00:00
pierre%netscape.com
0c5cda0630 added DoResizeWidgets()
git-svn-id: svn://10.0.0.236/trunk@10471 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:40:26 +00:00
pierre%netscape.com
55664594c2 added DoResizeWidgets() + fixed Create to handle resize events + imported minor fixes from Windows
git-svn-id: svn://10.0.0.236/trunk@10470 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:40:13 +00:00
pierre%netscape.com
55be47f4b9 use PR_IntervalNow() for mLastRefresh
git-svn-id: svn://10.0.0.236/trunk@10469 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:39:47 +00:00
pierre%netscape.com
ec7bff8ef9 use UnitConversion macros + some cleanup in DrawString
git-svn-id: svn://10.0.0.236/trunk@10468 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:38:51 +00:00
pierre%netscape.com
be6891db14 added 'demo #0'
git-svn-id: svn://10.0.0.236/trunk@10467 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:38:37 +00:00
pierre%netscape.com
1182fd5611 implemented resize events and redraw on resize
git-svn-id: svn://10.0.0.236/trunk@10466 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:38:26 +00:00
pierre%netscape.com
63d4ed7613 use UnitConversion macros + some cleanup in GetWidth
git-svn-id: svn://10.0.0.236/trunk@10465 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:38:10 +00:00
raman%netscape.com
b7141cc833 Added support for unsigned JAR files. This feature is controlled by a preference
git-svn-id: svn://10.0.0.236/trunk@10464 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:27:20 +00:00
raman%netscape.com
a36626c6b7 Added a preference to control unsigned JAR files for SmartUpdate
git-svn-id: svn://10.0.0.236/trunk@10463 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:26:21 +00:00
raman%netscape.com
394241f708 Added AllJavaPermission target to give complete access to all permissions in Javasoft's JVM
git-svn-id: svn://10.0.0.236/trunk@10462 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:25:32 +00:00
raman%netscape.com
92d1f8dbfc Added AllJavaPermission target to give complete access to all permissions in Javasoft's JVM
git-svn-id: svn://10.0.0.236/trunk@10461 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:25:05 +00:00
despotdaemon%netscape.com
c8f993367d Pseudo-automatic update of changes made by alecf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10460 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:10:33 +00:00
despotdaemon%netscape.com
1b6dcf963b Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10459 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:03:27 +00:00
wtc%netscape.com
6a3fdcf92b Moved the obsolete function PR_SetStdioRedirect from probslet.h
back to prproces.h because we don't want to break source
compatibility in this release.


git-svn-id: svn://10.0.0.236/trunk@10458 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:00:52 +00:00
ftang%netscape.com
15a65a6da1 Make the history entry to store UTF8 text. We will graduately change FE code also to deal with UTF8 in history database. We need this to make the RDF history access correctly handle Multilingual text
git-svn-id: svn://10.0.0.236/trunk@10457 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:33:04 +00:00
ftang%netscape.com
66c7934273 fix bug 147200 by merge nova code
git-svn-id: svn://10.0.0.236/trunk@10456 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:30:31 +00:00
ftang%netscape.com
729e100574 Fix the DrawText problem
git-svn-id: svn://10.0.0.236/trunk@10455 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:27:03 +00:00
ftang%netscape.com
1aa599717a fix 147200 by merge nova code
git-svn-id: svn://10.0.0.236/trunk@10454 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:25:16 +00:00
ftang%netscape.com
cddd352fe4 fix bug 147200 by merge code from nova
git-svn-id: svn://10.0.0.236/trunk@10453 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:23:58 +00:00
ftang%netscape.com
c43a7fc0eb fix bug 147200 by merge code from nova
1. Add t61 conversion table
2. change Japanese conversion table on window to use the cp932 table instead.


git-svn-id: svn://10.0.0.236/trunk@10452 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:22:09 +00:00
ftang%netscape.com
681f028c40 fix 147200. merged from nova
git-svn-id: svn://10.0.0.236/trunk@10451 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:18:00 +00:00
raman%netscape.com
9fab93c0d3 Added CertChain Principal support for Javasoft. Added calls for AskPermission and SetPermission
git-svn-id: svn://10.0.0.236/trunk@10450 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:06:44 +00:00
pierre%netscape.com
80554f1b46 added nsScrollbar to fix a build breakage
git-svn-id: svn://10.0.0.236/trunk@10449 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 23:51:30 +00:00
pierre%netscape.com
fb31c68e28 Replaced a faulty line with NS_ERROR in order to fix a build breakage. Don will do the right thing later.
git-svn-id: svn://10.0.0.236/trunk@10448 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 23:50:04 +00:00
pierre%netscape.com
fb8add8fab remove outdated manifest files
(closed tree override: raptor build only)


git-svn-id: svn://10.0.0.236/trunk@10447 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 23:47:52 +00:00
sman%netscape.com
b7358826c8 minor updates to layers.
git-svn-id: svn://10.0.0.236/trunk@10446 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:54:48 +00:00
troy%netscape.com
b6ecc473ac Attempt number three...
git-svn-id: svn://10.0.0.236/trunk@10445 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:54:16 +00:00
troy%netscape.com
07d650b35f Attempt number two...
git-svn-id: svn://10.0.0.236/trunk@10444 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:51:36 +00:00
troy%netscape.com
e2934b277d Attempt number one to fix Linux builds...
git-svn-id: svn://10.0.0.236/trunk@10443 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:49:15 +00:00
buster%netscape.com
41b4acb09b made sure that all attributes respect their minimum values as per HTML 4 spec.
fixed some comments.


git-svn-id: svn://10.0.0.236/trunk@10442 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:39:16 +00:00
pierre%netscape.com
b5c9c71f16 removed nsIContentDelegate.h
git-svn-id: svn://10.0.0.236/trunk@10441 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:38:19 +00:00
buster%netscape.com
d92ddd9be2 added ColIsSpannedInto, ColHasSpanningCells
moved *IsSpannedInto and *HasSpanningCells into cellmap, giving us the oppurtunity
to easily cache results if we want.  These methods are still accessed through nsTableFrame.
changed nsTableFrame::GetCellAt to nsTableFrame::GetCellFrameAt to make it more clear what
the method returns:  a frame, not content.


git-svn-id: svn://10.0.0.236/trunk@10440 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:37:14 +00:00
spider%netscape.com
b86ce5eb47 WIP: UnicodeString -> nsString
git-svn-id: svn://10.0.0.236/trunk@10439 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:18:44 +00:00
cyeh%netscape.com
ad2a89277e add *.cpp file to fix bustage. really. this time i mean it.
git-svn-id: svn://10.0.0.236/trunk@10438 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 21:52:14 +00:00
spider%netscape.com
7e4368016a Fix windows build bustage
git-svn-id: svn://10.0.0.236/trunk@10437 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 21:42:28 +00:00
troy%netscape.com
037f575ef2 Changes to ContentInserted() handler
git-svn-id: svn://10.0.0.236/trunk@10436 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 21:28:21 +00:00
norris%netscape.com
a9b08a59ee Remove ECMA v2 versioning since v2 is far from settled and we don't know which JavaScript version will implement it.
git-svn-id: svn://10.0.0.236/trunk@10435 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 20:40:35 +00:00
norris%netscape.com
8dd8360df1 Update version number and release date. Use the date of our next customer drop.
git-svn-id: svn://10.0.0.236/trunk@10434 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 20:35:09 +00:00
rogerl%netscape.com
3a8f1c97b7 Bug #315139 (aka 104859). Some discrepancies between JS1.2 behaviour for
matching at empty pattern at end of string. I'm not real confident of
this fix since it removes code that seems to explicitly address the issue,
but it does fix the bug.


git-svn-id: svn://10.0.0.236/trunk@10433 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 20:22:59 +00:00
rogerl%netscape.com
278d3c31db Bug #316839. Re-allocation of space for flat1/flat coalesce wasn't using
sizeof(jschar).


git-svn-id: svn://10.0.0.236/trunk@10432 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 20:20:53 +00:00
jband%netscape.com
79eda77222 (not part of client build) added short description to each source file
git-svn-id: svn://10.0.0.236/trunk@10430 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 19:56:45 +00:00
troy%netscape.com
95d9362a90 Added AttributeChanged() member function for communicating attribute value
changes to the frame


git-svn-id: svn://10.0.0.236/trunk@10429 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 19:53:27 +00:00
spider%netscape.com
43c60ab967 Misc fixes for building trex on unix
git-svn-id: svn://10.0.0.236/trunk@10428 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 19:00:22 +00:00
spider%netscape.com
8276a767de export header files for calendar
git-svn-id: svn://10.0.0.236/trunk@10427 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:59:50 +00:00
cyeh%netscape.com
1386512ee7 add needed export for nsMalloc::Create
git-svn-id: svn://10.0.0.236/trunk@10426 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:57:35 +00:00
spider%netscape.com
52fe0546c9 exporting classes to get julian to link with nlsstub
git-svn-id: svn://10.0.0.236/trunk@10425 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:45:50 +00:00
spider%netscape.com
e3dc03c00d IRIX depend fixes
git-svn-id: svn://10.0.0.236/trunk@10424 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:29:14 +00:00
spider%netscape.com
c5c7024db2 Unix fixes for free source julian code
git-svn-id: svn://10.0.0.236/trunk@10423 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:22:27 +00:00
fur%netscape.com
0f8f315f7b We decided not to create mini-NSPR
git-svn-id: svn://10.0.0.236/trunk@10421 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:09:26 +00:00
spider%netscape.com
fde3223be8 WIP: nlsstub implementation, NPL added to all of nlsstub
git-svn-id: svn://10.0.0.236/trunk@10420 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:06:30 +00:00
troy%netscape.com
d670e0e0a8 Removed CreateFrame() from nsIHTMLContent
git-svn-id: svn://10.0.0.236/trunk@10419 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:04:42 +00:00
troy%netscape.com
b0bdb9e357 Removed nsIContentDelegate.h
git-svn-id: svn://10.0.0.236/trunk@10418 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 17:34:48 +00:00
troy%netscape.com
b60923ad33 Removed content delegates
git-svn-id: svn://10.0.0.236/trunk@10417 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 17:18:37 +00:00
spider%netscape.com
9d4f222984 Updates to pull the latest free source calendar code
git-svn-id: svn://10.0.0.236/trunk@10416 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 16:26:58 +00:00
spider%netscape.com
7bedfe4f94 Adding nsIModel interface
git-svn-id: svn://10.0.0.236/trunk@10415 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 16:18:50 +00:00
warren%netscape.com
c3f4681a93 Added a copy of nsMalloc to get the build going.
git-svn-id: svn://10.0.0.236/trunk@10382 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 11:30:54 +00:00
warren%netscape.com
fa7106b147 Removed export for nsMalloc::Create.
git-svn-id: svn://10.0.0.236/trunk@10381 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 11:07:06 +00:00
warren%netscape.com
78de9ecbcc Fixes to eliminate nsINetworkManager
git-svn-id: svn://10.0.0.236/trunk@10380 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 10:48:12 +00:00
warren%netscape.com
7e1d05c8e7 Removed nsINetworkManager.h which is obsolete.
git-svn-id: svn://10.0.0.236/trunk@10379 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 10:28:45 +00:00
sar%netscape.com
03d031e481 We want a distinct build number for each build regardless of MOZILLA_OFFICIAL
status. This is needed for fullcircle, but it's also the right thing to do.

so add a target for build_number, and add it as a dependency to the export target
This affects win only, and I've tested it.


git-svn-id: svn://10.0.0.236/trunk@10378 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 10:09:15 +00:00
sar%netscape.com
d6fb21a0ed add nsMalloc.cpp per warren
git-svn-id: svn://10.0.0.236/trunk@10376 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 09:21:54 +00:00
warren%netscape.com
133deb962e Moved nsMalloc.cpp to modules/plugin/src.
git-svn-id: svn://10.0.0.236/trunk@10375 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 08:46:06 +00:00
warren%netscape.com
0cc33c826e Updated Mac MANIFEST files.
git-svn-id: svn://10.0.0.236/trunk@10374 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 08:39:16 +00:00
warren%netscape.com
84892de9bb Removed nsINetworkManager base class.
git-svn-id: svn://10.0.0.236/trunk@10373 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 08:35:11 +00:00
warren%netscape.com
1b2552d97a Removed nsINetworkManager.h include.
git-svn-id: svn://10.0.0.236/trunk@10372 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 07:45:24 +00:00
warren%netscape.com
9dad554faf Moved nsIMalloc and impl from xpcom to modules/plugin.
git-svn-id: svn://10.0.0.236/trunk@10370 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 07:22:48 +00:00
warren%netscape.com
8a3c9ecf3d Moved nsIMalloc and impl from xpcom.
git-svn-id: svn://10.0.0.236/trunk@10369 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 07:22:15 +00:00
warren%netscape.com
4dc47505d5 Eliminated nsINetworkManager and moved it's methods to nsIPluginManager/nsIPluginManager2.
git-svn-id: svn://10.0.0.236/trunk@10368 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 07:21:21 +00:00
ramiro%netscape.com
5580f46827 Fix build bustage, what a dumb ass.
git-svn-id: svn://10.0.0.236/trunk@10362 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 06:46:35 +00:00
ramiro%netscape.com
1cd966972f Move toolbar widgetry to its own library.
git-svn-id: svn://10.0.0.236/trunk@10361 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 06:44:53 +00:00
ramiro%netscape.com
b9e18a4de2 Move toolbar widgetry to its own library.
git-svn-id: svn://10.0.0.236/trunk@10360 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 06:12:45 +00:00
gagan%netscape.com
85642b9189 nucache based changes.
git-svn-id: svn://10.0.0.236/trunk@10359 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 05:52:24 +00:00
gagan%netscape.com
d5ec2468cc Streams fix for MemCache.
git-svn-id: svn://10.0.0.236/trunk@10358 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 05:49:47 +00:00
gagan%netscape.com
d440707c51 CacheStubs- Added InfoAsHTML for about:cache and CacheObject's Reset.
nsCacheManager- InfoAsHTML for about:cache.

nsCacheObject/nsMemStream- Reset function for rereads.


git-svn-id: svn://10.0.0.236/trunk@10357 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 05:49:01 +00:00
rpotts%netscape.com
8d1509f20c Fixed build bustage...
git-svn-id: svn://10.0.0.236/trunk@10356 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 05:25:15 +00:00
troy%netscape.com
873b42bab8 Fixed a compiler warning
git-svn-id: svn://10.0.0.236/trunk@10355 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 03:13:47 +00:00
troy%netscape.com
2abf0e6c62 Removed an unreferenced label
git-svn-id: svn://10.0.0.236/trunk@10354 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 03:10:00 +00:00
troy%netscape.com
28b7bca233 Removed some dead code
git-svn-id: svn://10.0.0.236/trunk@10353 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 03:08:23 +00:00
briano%netscape.com
8cc219ef2a Support for QNX.
git-svn-id: svn://10.0.0.236/trunk@10352 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:58:04 +00:00
ramiro%netscape.com
11a6d6003a Fix the "it hangs for ever" problem.
git-svn-id: svn://10.0.0.236/trunk@10351 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:57:31 +00:00
briano%netscape.com
ffe4c93b9c Try to support QNX. Need to hack gcc to get it to build/run on this OS ASAP....
git-svn-id: svn://10.0.0.236/trunk@10350 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:51:39 +00:00
briano%netscape.com
d9c5508b3d Minor change to support OpenBSD and clean up NetBSD.
git-svn-id: svn://10.0.0.236/trunk@10349 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:47:54 +00:00
troy%netscape.com
6a903efb38 Added CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@10348 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:47:03 +00:00
troy%netscape.com
89adfdbbe4 Removed CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@10347 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:46:42 +00:00
40 changed files with 148 additions and 11682 deletions

View File

@@ -1,5 +0,0 @@
# This is a list of local files which get copied to the mozilla:dist directory
#
jsjava.h
nsILiveconnect.h

View File

@@ -1,89 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
include $(DEPTH)/config/config.mk
ifdef NSJVM
DIRS = classes
endif
MODULE = java
LIBRARY_NAME = jsj
REQUIRES = java js applet nspr img util layer xpcom
CSRCS = jsj.c \
jsj_JSObject.c \
jsj_JavaArray.c \
jsj_JavaClass.c \
jsj_JavaMember.c \
jsj_JavaObject.c \
jsj_JavaPackage.c \
jsj_array.c \
jsj_class.c \
jsj_convert.c \
jsj_field.c \
jsj_hash.c \
jsj_method.c \
jsj_utils.c \
nsCLiveconnect.c \
nsCLiveconnectFactory.c
LLIBS=$(LIBNSPR) $(DIST)/lib/js$(MOZ_BITS)$(VERSION_NUMBER).lib \
$(DIST)/lib/xpcom32.lib
ifdef NSJVM
JNI_GEN = netscape.javascript.JSObject netscape.javascript.JSException
endif
EXPORTS = jsjava.h \
$(JNI_GEN_DIR)/netscape_javascript_JSObject.h \
$(JNI_GEN_DIR)/netscape_javascript_JSException.h \
nsILiveconnect.h \
$(NULL)
include $(DEPTH)/config/rules.mk
######################################################################
# Generate jsj_nodl.c (so that you can check it in)
# These make rules only works on IRIX...sigh
ifeq ($(OS_ARCH),IRIX)
jsj_nodl.c: $(OBJDIR)/stubs.o Makefile $(DEPTH)/config/nodl.pl
rm -f $@
$(PERL) $(DEPTH)/config/nodl.pl "jsj_nodl_tab" \
`nm -Bn $(OBJDIR)/stubs.o | egrep Java_.*_stub | awk '{print $$3;}'` > $@
endif
ifdef JAVA_OR_OJI
$(OBJDIR)/stubs.o: \
$(JNI_GEN_DIR)/netscape_javascript_JSObject.c \
$(JNI_GEN_DIR)/netscape_javascript_JSException.c \
$(NULL)
else
$(OBJDIR)/stubs.o:
endif

View File

@@ -1,90 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
ifdef NSJVM
DIRS = classes
endif
MODULE = java
LIBRARY_NAME = jsj
REQUIRES = java js applet nspr img util layer xpcom caps oji plugin
CSRCS = jsj.c \
jsj_JSObject.c \
jsj_JavaArray.c \
jsj_JavaClass.c \
jsj_JavaMember.c \
jsj_JavaObject.c \
jsj_JavaPackage.c \
jsj_array.c \
jsj_class.c \
jsj_convert.c \
jsj_field.c \
jsj_hash.c \
jsj_method.c \
jsj_utils.c
nsCLiveconnect.c \
nsCLiveconnectFactory.c
ifdef NSJVM
JNI_GEN = netscape.javascript.JSObject netscape.javascript.JSException
endif
EXPORTS = $(srcdir)/jsjava.h \
$(srcdir)/$(JNI_GEN_DIR)/netscape_javascript_JSObject.h \
$(srcdir)/$(JNI_GEN_DIR)/netscape_javascript_JSException.h \
$(NULL)
include $(topsrcdir)/config/rules.mk
######################################################################
# Generate jsj_nodl.c (so that you can check it in)
# These make rules only works on IRIX...sigh
ifeq ($(OS_ARCH),IRIX)
jsj_nodl.c: $(OBJDIR)/stubs.o Makefile $(topsrcdir)/config/nodl.pl
rm -f $@
$(PERL) $(topsrcdir)/config/nodl.pl "jsj_nodl_tab" \
`nm -Bn $(OBJDIR)/stubs.o | egrep Java_.*_stub | awk '{print $$3;}'` > $@
endif
ifdef JAVA_OR_OJI
$(OBJDIR)/stubs.o: \
$(JRI_GEN_DIR)/netscape_javascript_JSObject.c \
$(JRI_GEN_DIR)/netscape_javascript_JSException.c \
$(NULL)
else
$(OBJDIR)/stubs.o:
endif

View File

@@ -1,14 +0,0 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include "jni.h"
/* Header for class netscape_javascript_JSException */
#ifndef _Included_netscape_javascript_JSException
#define _Included_netscape_javascript_JSException
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -1,102 +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

View File

@@ -1,65 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../../..
MODULE = java
#
# the idea is that the install phase for those modules will
# make their own signed jar files
# there are some exceptions here that we deal with
# stuff in modules and in ns/js/jsj
#
JMODS = netscape/javascript netscape/javascript/adapters
#
# JDIRS is dependant on JAVA_DESTPATH in config/rules.m[a]k.
# Be sure to touch that directory if you add a new directory to
# JDIRS, or else it will not build. FIXME
#
JDIRS = $(JMODS)
JAR_JSJ = jsj10.jar
JAR_JSJ_CLASSES = $(JMODS)
#
# jars to build at install time
#
JARS = $(JAR_JSJ)
include $(DEPTH)/config/rules.mk
JAVA_SOURCEPATH = $(DEPTH)/js/src/liveconnect/classes
doc::
$(JAVADOC) -d $(DIST)/doc netscape.javascript
natives_list:: FORCE
rm -rf $@
find . -name "*.class" -print | sed 's@\./\(.*\)\.class$$@\1@' | \
sed 's@/@.@g' | xargs $(JVH) -natives | sort > $@
check_natives:: natives_list
rm -f found_natives
nm -B ../$(OBJDIR)/*.o \
| egrep "Java.*_stub" | awk '{ print $$3; }' | sort > found_natives
diff found_natives natives_list
FORCE:

View File

@@ -1,70 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = java
#
# the idea is that the install phase for those modules will
# make their own signed jar files
# there are some exceptions here that we deal with
# stuff in modules and in ns/js/jsj
#
JMODS = netscape/javascript netscape/javascript/adapters
#
# JDIRS is dependant on JAVA_DESTPATH in config/rules.m[a]k.
# Be sure to touch that directory if you add a new directory to
# JDIRS, or else it will not build. FIXME
#
JDIRS = $(JMODS)
JAR_JSJ = jsj10.jar
JAR_JSJ_CLASSES = $(JMODS)
#
# jars to build at install time
#
JARS = $(JAR_JSJ)
include $(topsrcdir)/config/rules.mk
JAVA_SOURCEPATH = $(topsrcdir)/js/src/liveconnect/classes
doc::
$(JAVADOC) -d $(DIST)/doc netscape.javascript
natives_list:: FORCE
rm -rf $@
find . -name "*.class" -print | sed 's@\./\(.*\)\.class$$@\1@' | \
sed 's@/@.@g' | xargs $(JVH) -natives | sort > $@
check_natives:: natives_list
rm -f found_natives
nm -B ../$(OBJDIR)/*.o \
| egrep "Java.*_stub" | awk '{ print $$3; }' | sort > found_natives
diff found_natives natives_list
FORCE:

View File

@@ -1,78 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
IGNORE_MANIFEST=1
#
#//------------------------------------------------------------------------
#//
#// Makefile to build the JavaScript-Java tree
#//
#//------------------------------------------------------------------------
DEPTH = ..\..\..\..
JAVA_SOURCEPATH=$(DEPTH)\js\src\liveconnect\classes
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
include <$(DEPTH)\config\config.mak>
JMOZ = \
netscape/javascript \
$(NULL)
all::
MODULE=java
JMODS=netscape/javascript
!ifdef JAVA_OR_NSJVM
JDIRS=$(JMODS)
JAR_JSJ_CLASSES=$(JMODS)
JAR_NAME = jsj10.jar
!endif
include <$(DEPTH)\config\rules.mak>
!ifdef JAVA_OR_NSJVM
install::
cd $(JAVA_DESTPATH)
@echo +++ building/updating $(JAR_NAME)
-for %i in ($(JAR_JSJ_CLASSES:/=\)) do @$(ZIP_PROG) $(ZIP_FLAGS) $(JAR_NAME) %i\*.class
cd $(MAKEDIR)
!ifdef REGENERATE
install::
cd $(JAVA_DESTPATH)
@echo +++ updating $(DEPTH)\nav-java\stubs\classes\$(JAR_NAME) for checkin
-for %i in ($(JAR_JSJ_CLASSES:/=\)) do @$(ZIP_PROG) $(ZIP_FLAGS) ..\..\nav-java\stubs\classes\$(JAR_NAME) %i\*.class
cd $(MAKEDIR)
!endif
!endif
javadoc:
-mkdir $(XPDIST)\javadoc 2> NUL
echo $(JAVADOC) -sourcepath . -d $(XPDIST)\javadoc $(JDIRS:/=.)
$(JAVADOC) -sourcepath . -d $(XPDIST)\javadoc $(JDIRS:/=.)

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,150 +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 {
// On MRJ, this property won't exist, because the library is preloaded.
String liveConnectLibrary = System.getProperty("netscape.jsj.dll", null);
if (liveConnectLibrary != null) {
System.loadLibrary(liveConnectLibrary);
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();
/**
* Override java.lang.Object.equals() because identity is not preserved
* with instances of JSObject.
*/
public boolean equals(Object obj) {
JSObject jsobj;
if (!(obj instanceof JSObject))
return false;
jsobj = (JSObject)obj;
return (internal == jsobj.internal);
}
}

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,31 +0,0 @@
package netscape.javascript;
/**
* Runs a JavaScript object with a run() method in a separate thread.
*/
public class JSRunnable implements Runnable {
private JSObject runnable;
public JSRunnable(JSObject runnable) {
this.runnable = runnable;
synchronized(this) {
new Thread(this).start();
try {
this.wait();
} catch (InterruptedException ie) {
}
}
}
public void run() {
try {
runnable.call("run", null);
synchronized(this) {
notifyAll();
}
} catch (Throwable t) {
System.err.println(t);
t.printStackTrace(System.err);
}
}
}

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,876 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 "jsj_private.h" /* LiveConnect internals */
#include "jsjava.h" /* LiveConnect external API */
/*
* 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 0 /* This can never work here, because jsj_GetJavaErrorMessage relies on
jlThrowable_toString which is set up by the initialization that calls
this function. */
if (jEnv) {
java_error_msg = jsj_GetJavaErrorMessage(jEnv);
(*jEnv)->ExceptionClear(jEnv);
}
#endif
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 during 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) { \
(*jEnv)->ExceptionClear(jEnv); \
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);
return JS_TRUE;
}
#if XP_MAC
/**
* Workaround for the fact that MRJ loads a different instance of the shared library.
*/
#include "netscape_javascript_JSObject.h"
static JSObject_RegisterNativeMethods(JNIEnv* jEnv)
{
// Manually load the required native methods.
static JNINativeMethod nativeMethods[] = {
"initClass", "()V", (void*)&Java_netscape_javascript_JSObject_initClass,
"getMember", "(Ljava/lang/String;)Ljava/lang/Object;", (void*)&Java_netscape_javascript_JSObject_getMember,
"getSlot", "(I)Ljava/lang/Object;", (void*)&Java_netscape_javascript_JSObject_getSlot,
"setMember", "(Ljava/lang/String;Ljava/lang/Object;)V", (void*)&Java_netscape_javascript_JSObject_setMember,
"setSlot", "(ILjava/lang/Object;)V", (void*)&Java_netscape_javascript_JSObject_setSlot,
"removeMember", "(Ljava/lang/String;)V", (void*)&Java_netscape_javascript_JSObject_removeMember,
"call", "(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;", (void*)&Java_netscape_javascript_JSObject_call,
"eval", "(Ljava/lang/String;)Ljava/lang/Object;", (void*)&Java_netscape_javascript_JSObject_eval,
"toString", "()Ljava/lang/String;", (void*)&Java_netscape_javascript_JSObject_toString,
"getWindow", "(Ljava/applet/Applet;)Lnetscape/javascript/JSObject;", (void*)&Java_netscape_javascript_JSObject_getWindow,
"finalize", "()V", (void*)&Java_netscape_javascript_JSObject_finalize,
/* "equals", "(Ljava/lang/Object;)Z", (void*)&Java_netscape_javascript_JSObject_equals */
};
(*jEnv)->RegisterNatives(jEnv, njJSObject, nativeMethods, sizeof(nativeMethods) / sizeof(JNINativeMethod));
if ((*jEnv)->ExceptionOccurred(jEnv)) {
report_java_initialization_error(jEnv, "Couldn't initialize JSObject native methods.");
(*jEnv)->ExceptionClear(jEnv);
}
/* call the initClass method, since we nailed the static initializer for testing. */
Java_netscape_javascript_JSObject_initClass(jEnv, njJSObject);
}
#endif
/* 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);
#if XP_MAC
JSObject_RegisterNativeMethods(jEnv);
#endif
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(SystemJavaVM *java_vm_arg, void* initargs)
{
SystemJavaVM* java_vm;
JSJavaVM *jsjava_vm;
JNIEnv *jEnv;
PR_ASSERT(JSJ_callbacks);
PR_ASSERT(JSJ_callbacks->attach_current_thread);
PR_ASSERT(JSJ_callbacks->detach_current_thread);
PR_ASSERT(JSJ_callbacks->get_java_vm);
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) {
jEnv = JSJ_callbacks->attach_current_thread(java_vm);
if (jEnv == NULL) {
jsj_LogError("Failed to attach to Java VM thread\n");
free(jsjava_vm);
return NULL;
}
}
else {
PRBool ok;
PR_ASSERT(JSJ_callbacks->create_java_vm);
PR_ASSERT(JSJ_callbacks->destroy_java_vm);
ok = JSJ_callbacks->create_java_vm(&java_vm, &jEnv, initargs);
if (!ok || java_vm == NULL) {
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.)
*/
JSBool
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;
if (!jsj_init_JavaMember(cx, global_obj))
return JS_FALSE;
return JS_TRUE;
}
/* Eliminate 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)
{
JNIEnv *jEnv;
SystemJavaVM *java_vm;
JSJavaVM *j, **jp;
java_vm = jsjava_vm->java_vm;
jEnv = jsjava_vm->main_thread_env;
/* Drop all references to Java objects and classes */
jsj_DiscardJavaObjReflections(jEnv);
jsj_DiscardJavaClassReflections(jEnv);
if (jsjava_vm->jsj_created_java_vm) {
(void)JSJ_callbacks->destroy_java_vm(java_vm, jEnv);
} 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);
}
/* Remove this VM from the list of all JSJavaVM objects. */
for (jp = &jsjava_vm_list; (j = *jp) != NULL; jp = &j->next) {
if (j == jsjava_vm) {
*jp = jsjava_vm->next;
break;
}
}
PR_ASSERT(j);
free(jsjava_vm);
}
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);
/* THREADSAFETY - 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;
/* THREADSAFETY - 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) != NULL; 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_IMPLEMENT(JSJavaThreadState *)
JSJ_AttachCurrentThreadToJava(JSJavaVM *jsjava_vm, const char *name, JNIEnv **java_envp)
{
JNIEnv *jEnv;
SystemJavaVM *java_vm;
JSJavaThreadState *jsj_env;
/* Try to attach a Java thread to the current native thread */
java_vm = jsjava_vm->java_vm;
jEnv = JSJ_callbacks->attach_current_thread(java_vm);
if (jEnv == NULL)
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(SystemJavaVM *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;
SystemJavaVM *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 */
java_vm = JSJ_callbacks->get_java_vm(jEnv);
if (jsjava_vm == NULL)
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_IMPLEMENT(JSContext *)
JSJ_SetDefaultJSContextForJavaThread(JSContext *cx, JSJavaThreadState *jsj_env)
{
JSContext *old_context;
old_context = jsj_env->cx;
jsj_env->cx = cx;
return old_context;
}
PR_IMPLEMENT(JSBool)
JSJ_DetachCurrentThreadFromJava(JSJavaThreadState *jsj_env)
{
SystemJavaVM *java_vm;
JNIEnv* jEnv;
JSJavaThreadState *e, **p;
/* Disassociate the current native thread from its corresponding Java thread */
java_vm = jsj_env->jsjava_vm->java_vm;
jEnv = jsj_env->jEnv;
if (!JSJ_callbacks->detach_current_thread(java_vm, jEnv))
return JS_FALSE;
/* Destroy the LiveConnect execution environment passed in */
jsj_ClearPendingJSErrors(jsj_env);
/* THREADSAFETY - need to protect against races */
for (p = &thread_list; (e = *p) != NULL; 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;
return jsj_ConvertJavaObjectToJSValue(cx, jEnv, java_obj, vp);
}
/*===========================================================================*/
#ifndef MOZILLA_CLIENT
/* 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, JNIEnv *jEnv, char **errp)
{
return the_cx;
}
/* Trivial implementation of callback function */
static JSObject *
default_map_java_object_to_js_object(JNIEnv *jEnv, jobject hint, char **errp)
{
return the_global_js_obj;
}
static PRBool PR_CALLBACK
default_create_java_vm(SystemJavaVM* *jvm, JNIEnv* *initialEnv, void* initargs)
{
jint err;
const char* user_classpath = (const char*)initargs;
/* 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) {
#ifdef XP_UNIX
const char *full_classpath = PR_smprintf("%s:%s", user_classpath, vm_args.classpath);
#else
const char *full_classpath = PR_smprintf("%s;%s", user_classpath, vm_args.classpath);
#endif
if (!full_classpath) {
return PR_FALSE;
}
vm_args.classpath = (char*)full_classpath;
}
err = JNI_CreateJavaVM((JavaVM**)jvm, initialEnv, &vm_args);
return err == 0;
}
static PRBool PR_CALLBACK
default_destroy_java_vm(SystemJavaVM* jvm, JNIEnv* initialEnv)
{
JavaVM* java_vm = (JavaVM*)jvm;
jint err = (*java_vm)->DestroyJavaVM(java_vm);
return err == 0;
}
static JNIEnv* PR_CALLBACK
default_attach_current_thread(SystemJavaVM* jvm)
{
JavaVM* java_vm = (JavaVM*)jvm;
JNIEnv* env = NULL;
jint err = (*java_vm)->AttachCurrentThread(java_vm, &env, NULL);
return env;
}
static PRBool PR_CALLBACK
default_detach_current_thread(SystemJavaVM* jvm, JNIEnv* env)
{
JavaVM* java_vm = (JavaVM*)jvm;
/* assert that env is the JNIEnv of the current thread */
jint err = (*java_vm)->DetachCurrentThread(java_vm);
return err == 0;
}
static SystemJavaVM* PR_CALLBACK
default_get_java_vm(JNIEnv* env)
{
JavaVM* java_vm = NULL;
jint err = (*env)->GetJavaVM(env, &java_vm);
return (SystemJavaVM*)java_vm;
}
/* 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,
NULL,
NULL,
NULL,
NULL,
default_create_java_vm,
default_destroy_java_vm,
default_attach_current_thread,
default_detach_current_thread,
default_get_java_vm
};
/*
* 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, SystemJavaVM *java_vm, const char *classpath)
{
JNIEnv *jEnv;
PR_ASSERT(!the_jsj_vm);
the_jsj_vm = JSJ_ConnectToJavaVM(java_vm, (void*)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;
JSJ_SetDefaultJSContextForJavaThread(cx, the_jsj_thread);
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_IMPLEMENT(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;
}
#endif /* MOZILLA_CLIENT */

View File

@@ -1,76 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// Version stamp for this .DLL
#include <windows.h>
#include <ver.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4 // major, minor, release (alpha 1), build #
PRODUCTVERSION 4
FILEFLAGSMASK 0
FILEFLAGS 0 // final version
FILEOS VOS_DOS_WINDOWS16
FILETYPE VFT_DLL
FILESUBTYPE 0 // not used
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4" // Lang=US English, CharSet=Windows Multilingual
BEGIN
VALUE "CompanyName", "Netscape Communications Corporation\0"
VALUE "FileDescription", "Netscape 16-bit JavaScript-Java Module\0"
VALUE "FileVersion", "4.0\0"
VALUE "InternalName", "JSJ1640\0"
VALUE "LegalCopyright", "Copyright Netscape Communications. 1994-96\0"
VALUE "LegalTrademarks", "Netscape, Mozilla\0"
VALUE "OriginalFilename","JSJ1640.DLL\0"
VALUE "ProductName", "NETSCAPE\0"
VALUE "ProductVersion", "4.0\0"
END
END
END

File diff suppressed because it is too large Load Diff

View File

@@ -1,403 +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 "jsj_private.h" /* LiveConnect internals */
/* Shorthands for ASCII (7-bit) decimal and hex conversion. */
#define JS7_ISDEC(c) (((c) >= '0') && ((c) <= '9'))
#define JS7_UNDEC(c) ((c) - '0')
/*
* Convert any jsval v to an integer jsval if ToString(v)
* contains a base-10 integer that fits into 31 bits.
* Otherwise return v.
*/
static jsval
try_convert_to_jsint(JSContext *cx, jsval idval)
{
const jschar *cp;
JSString *jsstr;
jsstr = JS_ValueToString(cx, idval);
if (!jsstr)
return idval;
cp = JS_GetStringChars(jsstr);
if (JS7_ISDEC(*cp)) {
jsuint index = JS7_UNDEC(*cp++);
jsuint oldIndex = 0;
jsuint c = 0;
if (index != 0) {
while (JS7_ISDEC(*cp)) {
oldIndex = index;
c = JS7_UNDEC(*cp);
index = 10*index + c;
cp++;
}
}
if (*cp == 0 &&
(oldIndex < (JSVAL_INT_MAX / 10) ||
(oldIndex == (JSVAL_INT_MAX / 10) && c < (JSVAL_INT_MAX % 10)))) {
return INT_TO_JSVAL(index);
}
}
return idval;
}
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))) != NULL) {
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))
idval = try_convert_to_jsint(cx, 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) {
JSVersion version = JS_GetVersion(cx);
if (!JSVERSION_IS_ECMA(version)) {
JS_ReportError(cx, "Attempt to write to invalid Java array "
"element \"%s\"", member_name);
return JS_FALSE;
} else {
*vp = JSVAL_VOID;
return JS_TRUE;
}
} 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, "Cannot define a new property in a JavaArray");
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)
{
JSVersion version = JS_GetVersion(cx);
*vp = JSVAL_FALSE;
if (!JSVERSION_IS_ECMA(version)) {
JS_ReportError(cx, "Properties of JavaArray objects may not be deleted");
return JS_FALSE;
} else {
/* Attempts to delete permanent properties are silently ignored
by ECMAScript. */
return JS_TRUE;
}
}
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 */
};
static 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,586 +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 "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:
break;
}
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;
/* TODO - 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;
JSErrorReporter old_reporter;
/* printf("In JavaClass_lookupProperty()\n"); */
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
old_reporter = JS_SetErrorReporter(cx, NULL);
if (lookup_static_member_by_id(cx, jEnv, obj, NULL, id, NULL)) {
*objp = obj;
*propp = (JSProperty*)1;
} else {
*objp = NULL;
*propp = NULL;
}
JS_SetErrorReporter(cx, old_reporter);
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, "Cannot define a new property in a JavaClass");
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)
{
JSVersion version = JS_GetVersion(cx);
*vp = JSVAL_FALSE;
if (!JSVERSION_IS_ECMA(version)) {
JS_ReportError(cx, "Properties of JavaClass objects may not be deleted");
return JS_FALSE;
} else {
/* Attempts to delete permanent properties are silently ignored
by ECMAScript. */
return JS_TRUE;
}
}
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_GetClassStaticMembers(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 */
};
static 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,
};
static 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,134 +0,0 @@
/* -*- Mode: C; tab-width: 8 -*-
* 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 JavaMember class.
* JavaMember's are a strange beast required only to handle the special case
* of a public field and a public method that appear in the same class and
* have the same name. When such a field/method is used in Java, the compiler
* can statically determine from context whether the field or the method is
* being referenced, but that is not possible with JavaScript. For example:
*
* ambiguousVal = javaObj.fieldOrMethod; // ambiguousVal is a JavaMember object
* a = ambiguousVal(); // ambiguousVal used as a method value
* b = ambiguousVal + 4; // ambiguousVal used as a field value
*
* A JavaMember instance carries both the captured value of the Java field and
* the method value until the context that the value is to be used in is known,
* at which point conversion forces the use of one or the other.
*/
#include <stdlib.h>
#include <string.h>
#include "jsj_private.h" /* LiveConnect internals */
/* Private, native portion of a JavaMember */
typedef struct JavaMethodOrFieldValue {
jsval method_val;
jsval field_val;
} JavaMethodOrFieldValue;
JSObject *
jsj_CreateJavaMember(JSContext *cx, jsval method_val, jsval field_val)
{
JavaMethodOrFieldValue *member_val;
JSObject *JavaMember_obj;
member_val = (JavaMethodOrFieldValue *)JS_malloc(cx, sizeof(*member_val));
if (!member_val)
return NULL;
JavaMember_obj = JS_NewObject(cx, &JavaMember_class, 0, 0);
if (!JavaMember_obj) {
JS_free(cx, member_val);
return NULL;
}
JS_SetPrivate(cx, JavaMember_obj, (void *)member_val);
member_val->method_val = method_val;
JS_AddRoot(cx, &member_val->method_val);
member_val->field_val = field_val;
if (JSVAL_IS_GCTHING(field_val))
JS_AddRoot(cx, &member_val->field_val);
return JavaMember_obj;
}
static void
JavaMember_finalize(JSContext *cx, JSObject *obj)
{
JavaMethodOrFieldValue *member_val;
JNIEnv *jEnv;
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return;
member_val = JS_GetPrivate(cx, obj);
if (!member_val)
return;
JS_RemoveRoot(cx, &member_val->method_val);
if (JSVAL_IS_GCTHING(member_val->method_val))
JS_RemoveRoot(cx, &member_val->method_val);
JS_free(cx, member_val);
}
static JSBool
JavaMember_convert(JSContext *cx, JSObject *obj, JSType type, jsval *vp)
{
JavaMethodOrFieldValue *member_val;
member_val = JS_GetPrivate(cx, obj);
if (!member_val) {
if (type == JSTYPE_OBJECT) {
*vp = OBJECT_TO_JSVAL(obj);
return JS_TRUE;
}
JS_ReportError(cx, "illegal operation on JavaObject prototype object");
return JS_FALSE;
}
switch (type) {
case JSTYPE_VOID:
case JSTYPE_STRING:
case JSTYPE_NUMBER:
case JSTYPE_BOOLEAN:
case JSTYPE_OBJECT:
*vp = member_val->field_val;
return JS_TRUE;
case JSTYPE_FUNCTION:
*vp = member_val->method_val;
return JS_TRUE;
default:
PR_ASSERT(0);
return JS_FALSE;
}
}
JSClass JavaMember_class = {
"JavaMember", JSCLASS_HAS_PRIVATE,
JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_PropertyStub,
JS_EnumerateStub, JS_ResolveStub,
JavaMember_convert, JavaMember_finalize
};
extern PR_IMPORT_DATA(JSObjectOps) js_ObjectOps;
JSBool
jsj_init_JavaMember(JSContext *cx, JSObject *global_obj)
{
if (!JS_InitClass(cx, global_obj,
0, &JavaMember_class, 0, 0,
0, 0,
0, 0))
return JS_FALSE;
return JS_TRUE;
}

View File

@@ -1,686 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 "jsj_private.h" /* LiveConnect internals */
#include "jsj_hash.h" /* Hash table with Java object as key */
/*
* 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 JSJHashTable *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 =
JSJ_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)
{
JSJHashNumber hash_code;
JSClass *js_class;
JSObject *js_wrapper_obj;
JavaObjectWrapper *java_wrapper;
JavaClassDescriptor *class_descriptor;
JSJHashEntry *he, **hep;
js_wrapper_obj = NULL;
hash_code = jsj_HashJavaObject((void*)java_obj, (void*)jEnv);
#ifdef JS_THREADSAFE
PR_EnterMonitor(java_obj_reflections_monitor);
#endif
hep = JSJ_HashTableRawLookup(java_obj_reflections,
hash_code, java_obj, (void*)jEnv);
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_obj = (*jEnv)->NewGlobalRef(jEnv, java_obj);
java_wrapper->java_obj = java_obj;
if (!java_obj)
goto out_of_memory;
/* Add the JavaObject to the hash table */
he = JSJ_HashTableRawAdd(java_obj_reflections, hep, hash_code,
java_obj, js_wrapper_obj, (void*)jEnv);
if (!he) {
(*jEnv)->DeleteGlobalRef(jEnv, java_obj);
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, JNIEnv *jEnv)
{
JSJHashNumber hash_code;
JSJHashEntry *he, **hep;
hash_code = jsj_HashJavaObject((void*)java_obj, (void*)jEnv);
#ifdef JS_THREADSAFE
PR_EnterMonitor(java_obj_reflections_monitor);
#endif
hep = JSJ_HashTableRawLookup(java_obj_reflections, hash_code,
java_obj, (void*)jEnv);
he = *hep;
PR_ASSERT(he);
if (he)
JSJ_HashTableRawRemove(java_obj_reflections, hep, he, (void*)jEnv);
#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;
if (java_obj) {
remove_java_obj_reflection_from_hashtable(java_obj, jEnv);
(*jEnv)->DeleteGlobalRef(jEnv, java_obj);
}
jsj_ReleaseJavaClassDescriptor(cx, jEnv, java_wrapper->class_descriptor);
JS_free(cx, java_wrapper);
}
/* Trivial helper for jsj_DiscardJavaObjReflections(), below */
static PRIntn
enumerate_remove_java_obj(JSJHashEntry *he, PRIntn i, void *arg)
{
JNIEnv *jEnv = (JNIEnv*)arg;
jobject java_obj;
JavaObjectWrapper *java_wrapper;
JSObject *java_wrapper_obj;
java_wrapper_obj = (JSObject *)he->value;
java_wrapper = JS_GetPrivate(NULL, java_wrapper_obj);
java_obj = java_wrapper->java_obj;
(*jEnv)->DeleteGlobalRef(jEnv, java_obj);
java_wrapper->java_obj = NULL;
return HT_ENUMERATE_REMOVE;
}
/* This shutdown routine discards all JNI references to Java objects
that have been reflected into JS, even if there are still references
to them from JS. */
void
jsj_DiscardJavaObjReflections(JNIEnv *jEnv)
{
if (java_obj_reflections) {
JSJ_HashTableEnumerateEntries(java_obj_reflections,
enumerate_remove_java_obj,
(void*)jEnv);
JSJ_HashTableDestroy(java_obj_reflections);
java_obj_reflections = NULL;
}
}
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, class_descriptor, java_obj, vp);
case JSTYPE_BOOLEAN:
/* Call booleanValue() method, if applicable */
return jsj_ConvertJavaObjectToJSBoolean(cx, jEnv, class_descriptor, 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,
JavaMemberDescriptor **member_descriptorp)
{
jsval idval;
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))) != NULL) {
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);
member_descriptor = jsj_LookupJavaMemberDescriptorById(cx, jEnv, class_descriptor, id);
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 (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;
JavaObjectWrapper *java_wrapper;
JNIEnv *jEnv;
JSObject *funobj;
jsval field_val, method_val;
JSBool success;
/* 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_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;
field_val = method_val = JSVAL_VOID;
/* If a field member, get the value of the field */
if (member_descriptor->field) {
success = jsj_GetJavaFieldValue(cx, jEnv, member_descriptor->field, java_obj, &field_val);
if (!success)
return JS_FALSE;
}
/* If a method member, build a wrapper around the Java method */
if (member_descriptor->methods) {
/* Create a function object with this JavaObject as its parent, so that
JSFUN_BOUND_METHOD binds it as the default 'this' for the function. */
funobj = JS_CloneFunctionObject(cx, member_descriptor->invoke_func_obj, obj);
if (!funobj)
return JS_FALSE;
method_val = OBJECT_TO_JSVAL(funobj);
}
#if TEST_JAVAMEMBER
/* Always create a JavaMember object, even though it's inefficient */
obj = jsj_CreateJavaMember(cx, method_val, field_val);
if (!obj)
return JS_FALSE;
*vp = OBJECT_TO_JSVAL(obj);
#else /* !TEST_JAVAMEMBER */
if (member_descriptor->field) {
if (!member_descriptor->methods) {
/* Return value of Java field */
*vp = field_val;
} else {
/* Handle special case of access to a property that could refer
to either a Java field or a method that share the same name.
In Java, such ambiguity is not possible because the compiler
can statically determine which is being accessed. */
obj = jsj_CreateJavaMember(cx, method_val, field_val);
if (!obj)
return JS_FALSE;
*vp = OBJECT_TO_JSVAL(obj);
}
} else {
/* Return wrapper around Java method */
*vp = method_val;
}
#endif /* !TEST_JAVAMEMBER */
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, &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;
}
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;
JSErrorReporter old_reporter;
/* printf("In JavaObject_lookupProperty()\n"); */
/* Get the Java per-thread environment pointer for this JSContext */
jsj_MapJSContextToJSJThread(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
old_reporter = JS_SetErrorReporter(cx, NULL);
if (lookup_member_by_id(cx, jEnv, obj, NULL, id, NULL)) {
*objp = obj;
*propp = (JSProperty*)1;
} else {
*objp = NULL;
*propp = NULL;
}
JS_SetErrorReporter(cx, old_reporter);
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, "Cannot define a new property in a JavaObject");
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)
{
JSVersion version = JS_GetVersion(cx);
*vp = JSVAL_FALSE;
if (!JSVERSION_IS_ECMA(version)) {
JS_ReportError(cx, "Properties of JavaObject objects may not be deleted");
return JS_FALSE;
} else {
/* Attempts to delete permanent properties are silently ignored
by ECMAScript. */
return JS_TRUE;
}
}
static JSBool
JavaObject_defaultValue(JSContext *cx, JSObject *obj, JSType type, jsval *vp)
{
/* printf("In JavaObject_defaultValue()\n"); */
return JavaObject_convert(cx, obj, type, 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 */
};
static 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,500 +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 "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;
static 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 a JavaPackage object");
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)
return JS_TRUE;
if (!JSVAL_IS_STRING(id))
return JS_TRUE;
subPath = JS_GetStringBytes(JSVAL_TO_STRING(id));
/*
* There will be an attempt to invoke the toString() method when producing
* the string representation of a JavaPackage. When this occurs, avoid
* creating a bogus toString package. (This means that no one can ever
* create a package with the simple name "toString", but we'll live with
* that limitation.)
*/
if (!strcmp(subPath, "toString"))
return JS_FALSE;
path = package->path;
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 {
/* We assume that any failed attempt to load a class is because it
doesn't exist. If we wanted to do a better job, we would check
the exception type and make sure that it's NoClassDefFoundError */
(*jEnv)->ExceptionClear(jEnv);
/* beard: this has to be done here, so built-in classes will be defined. */
/* Painful hack for pre_define_java_packages() */
if (quiet_resolve_failure) {
ok = JS_FALSE;
goto out;
}
/*
* 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;
msg = PR_smprintf("No Java system package with name \"%s\" was identified "
"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);
}
ok = JS_FALSE;
goto out;
}
}
if (!define_JavaPackage(cx, obj, subPath, newPath, 0)) {
ok = JS_FALSE;
goto out;
}
#ifdef DEBUG
/* printf("JavaPackage \'%s\' created\n", 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_VOID: /* Default value */
case JSTYPE_NUMBER:
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_USER},
{"java.applet", NULL, PKG_USER},
{"java.awt", NULL, PKG_USER},
{"java.awt.datatransfer",
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_USER},
{"java.io", NULL, PKG_SYSTEM},
{"java.lang", NULL, PKG_USER},
{"java.lang.reflect", NULL, PKG_SYSTEM},
{"java.math", NULL, PKG_SYSTEM},
{"java.net", NULL, PKG_USER},
{"java.rmi", NULL, PKG_USER},
{"java.rmi.dgc", NULL, PKG_USER},
{"java.rmi.user", NULL, PKG_USER},
{"java.rmi.registry", NULL, PKG_USER},
{"java.rmi.server", NULL, PKG_USER},
{"java.security", NULL, PKG_USER},
{"java.security.acl", NULL, PKG_SYSTEM},
{"java.security.interfaces",
NULL, PKG_SYSTEM},
{"java.sql", NULL, PKG_USER},
{"java.text", NULL, PKG_USER},
{"java.text.resources", NULL, PKG_SYSTEM},
{"java.util", NULL, PKG_USER},
{"java.util.zip", NULL, PKG_SYSTEM},
{"netscape", NULL, PKG_USER},
{"netscape.applet", NULL, PKG_SYSTEM},
{"netscape.application",NULL, PKG_SYSTEM},
{"netscape.debug", NULL, PKG_SYSTEM},
{"netscape.javascript", NULL, PKG_SYSTEM},
{"netscape.ldap", NULL, PKG_SYSTEM},
{"netscape.misc", NULL, PKG_SYSTEM},
{"netscape.net", NULL, PKG_SYSTEM},
{"netscape.plugin", NULL, PKG_SYSTEM},
{"netscape.util", NULL, PKG_SYSTEM},
{"netscape.secfile", NULL, PKG_SYSTEM},
{"netscape.security", NULL, PKG_SYSTEM},
{"netscape.WAI", NULL, PKG_SYSTEM},
{"sun", NULL, PKG_USER},
{"Packages", "", PKG_USER},
{NULL, NULL, 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;
}
static JSBool
JavaPackage_toString(JSContext *cx, JSObject *obj, uintN argc, jsval *argv,
jsval *rval)
{
if (!JS_InstanceOf(cx, obj, &JavaPackage_class, argv))
return JS_FALSE;
return JavaPackage_convert(cx, obj, JSTYPE_STRING, rval);
}
static JSFunctionSpec JavaPackage_methods[] = {
{"toString", JavaPackage_toString, 0},
{0}
};
/*
* 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, JavaPackage_methods, 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 "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;
JSBool is_local_ref;
if (!jsj_ConvertJSValueToJavaValue(cx, jEnv, js_val, array_component_signature,
&dummy_cost, &java_value, &is_local_ref))
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 (is_local_ref) \
(*jEnv)->DeleteLocalRef(jEnv, 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,605 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 "jsj_private.h" /* LiveConnect internals */
#include "jsj_hash.h" /* Hash tables */
/* A one-to-one mapping between all referenced java.lang.Class objects and
their corresponding JavaClassDescriptor objects */
static JSJHashTable *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;
}
if (member_descriptor->invoke_func_obj)
JS_RemoveRoot(cx, &member_descriptor->invoke_func_obj);
}
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) {
JSJ_HashTableRemove(java_class_reflections,
class_descriptor->java_class, (void*)jEnv);
(*jEnv)->DeleteGlobalRef(jEnv, 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_UnexpectedJavaError(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 (!JSJ_HashTableAdd(java_class_reflections, java_class, class_descriptor,
(void*)jEnv))
goto error;
return class_descriptor;
error:
destroy_class_descriptor(cx, jEnv, class_descriptor);
return NULL;
}
/* Trivial helper for jsj_DiscardJavaClassReflections(), below */
static PRIntn
enumerate_remove_java_class(JSJHashEntry *he, PRIntn i, void *arg)
{
JNIEnv *jEnv = (JNIEnv*)arg;
jclass java_class;
JavaClassDescriptor *class_descriptor;
class_descriptor = (JavaClassDescriptor*)he->value;
java_class = class_descriptor->java_class;
(*jEnv)->DeleteGlobalRef(jEnv, java_class);
class_descriptor->java_class = NULL;
return HT_ENUMERATE_REMOVE;
}
/* This shutdown routine discards all JNI references to Java objects
that have been reflected into JS, even if there are still references
to them from JS. */
void
jsj_DiscardJavaClassReflections(JNIEnv *jEnv)
{
if (java_class_reflections) {
JSJ_HashTableEnumerateEntries(java_class_reflections,
enumerate_remove_java_class,
(void*)jEnv);
JSJ_HashTableDestroy(java_class_reflections);
java_class_reflections = NULL;
}
}
extern JavaClassDescriptor *
jsj_GetJavaClassDescriptor(JSContext *cx, JNIEnv *jEnv, jclass java_class)
{
JavaClassDescriptor *class_descriptor;
class_descriptor = JSJ_HashTableLookup(java_class_reflections,
(const void *)java_class,
(void*)jEnv);
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 =
JSJ_NewHashTable(64, jsj_HashJavaObject, jsj_JavaObjectComparator,
NULL, NULL, NULL);
if (!java_class_reflections)
return JS_FALSE;
return JS_TRUE;
}

View File

@@ -1,806 +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 "jsj_private.h" /* LiveConnect internals */
/* Floating-point double utilities, stolen from jsnum.h */
#ifdef IS_LITTLE_ENDIAN
#define JSDOUBLE_HI32(x) (((uint32 *)&(x))[1])
#define JSDOUBLE_LO32(x) (((uint32 *)&(x))[0])
#else
#define JSDOUBLE_HI32(x) (((uint32 *)&(x))[0])
#define JSDOUBLE_LO32(x) (((uint32 *)&(x))[1])
#endif
#define JSDOUBLE_HI32_SIGNBIT 0x80000000
#define JSDOUBLE_HI32_EXPMASK 0x7ff00000
#define JSDOUBLE_HI32_MANTMASK 0x000fffff
#define JSDOUBLE_IS_NaN(x) \
((JSDOUBLE_HI32(x) & JSDOUBLE_HI32_EXPMASK) == JSDOUBLE_HI32_EXPMASK && \
(JSDOUBLE_LO32(x) || (JSDOUBLE_HI32(x) & JSDOUBLE_HI32_MANTMASK)))
#define JSDOUBLE_IS_INFINITE(x) \
((JSDOUBLE_HI32(x) & ~JSDOUBLE_HI32_SIGNBIT) == JSDOUBLE_HI32_EXPMASK && \
!JSDOUBLE_LO32(x))
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, JSBool *is_local_refp)
{
JSString *jsstr;
jclass target_java_class;
PR_ASSERT(signature->type == JAVA_SIGNATURE_CLASS ||
signature->type == JAVA_SIGNATURE_ARRAY);
/* Initialize to default case, in which no new Java object is
synthesized to perform the conversion and, therefore, no JNI local
references are being held. */
*is_local_refp = JS_FALSE;
/* 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)) {
if (*java_value)
*is_local_refp = JS_TRUE;
return JS_TRUE;
}
/* Fall through, to attempt conversion to a Java string */
} else if (JS_InstanceOf(cx, js_obj, &JavaMember_class, 0)) {
if (!JS_ConvertValue(cx, v, JSTYPE_OBJECT, &v))
return JS_FALSE;
return jsj_ConvertJSValueToJavaObject(cx, jEnv, v, signature, cost,
java_value, is_local_refp);
} 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) {
*is_local_refp = JS_TRUE;
} else {
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) {
*is_local_refp = JS_TRUE;
} else {
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)) {
#ifdef LIVECONNECT_IMPROVEMENTS
JSBool is_string = JSVAL_IS_STRING(v);
#endif
/* 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) {
*is_local_refp = JS_TRUE;
} else {
return JS_FALSE;
}
}
#ifdef LIVECONNECT_IMPROVEMENTS
if (!is_string)
(*cost)++;
#endif
return JS_TRUE;
}
}
conversion_error:
return JS_FALSE;
}
/* Valid ranges for Java numeric types */
#define jbyte_MAX_VALUE 127.0
#define jbyte_MIN_VALUE -128.0
#define jchar_MAX_VALUE 65535.0
#define jchar_MIN_VALUE 0.0
#define jshort_MAX_VALUE 32767.0
#define jshort_MIN_VALUE -32768.0
#define jint_MAX_VALUE 2147483647.0
#define jint_MIN_VALUE -2147483648.0
#define jlong_MAX_VALUE 9223372036854775807.0
#define jlong_MIN_VALUE -9223372036854775808.0
/* 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 numeric_conversion_error; \
} else { \
jdouble dval = *JSVAL_TO_DOUBLE(v); \
\
/* NaN becomes zero when converted to integral value */ \
if (JSDOUBLE_IS_NaN(dval)) \
member_name = 0; \
\
/* Unrepresentably large numbers, including infinities, */ \
/* cause an error. */ \
else if ((dval > member_type ## _MAX_VALUE) || \
(dval < member_type ## _MIN_VALUE)) { \
goto numeric_conversion_error; \
} else \
member_name = (member_type) dval; \
\
/* Don't allow a non-integral number to be converted \
to an integral type */ \
/* Actually, we have to allow this for LC1 compatibility */ \
/* if ((jdouble)member_name != dval) \
(*cost)++; */ \
} \
if (java_value) \
java_value->member_name = member_name; \
}
#if XP_MAC
/* on MRJ jlong is typedef'd to wide, which is a struct. */
#include <Math64.h>
static jsint jlong_to_jsint(jlong lvalue)
{
SInt64 val = WideToSInt64(lvalue);
return S32Set(val);
}
static jlong jsint_to_jlong(jsint ivalue)
{
SInt64 val = S64Set(ivalue);
wide wval =SInt64ToWide(val);
return *(jlong*)&wval;
}
static jdouble jlong_to_jdouble(jlong lvalue)
{
SInt64 val = WideToSInt64(lvalue);
return SInt64ToLongDouble(val);
}
static jlong jdouble_to_jlong(jdouble dvalue)
{
SInt64 val = LongDoubleToSInt64(dvalue);
wide wval = SInt64ToWide(val);
return *(jlong*)&wval;
}
/* Mac utility macro for jsj_ConvertJSValueToJavaValue(), below */
#define JSVAL_TO_JLONG_JVALUE(member_name, member_type, jsvalue, java_value) \
if (!JSVAL_IS_NUMBER(jsvalue)) { \
if (!JS_ConvertValue(cx, jsvalue, JSTYPE_NUMBER, &jsvalue)) \
goto conversion_error; \
(*cost)++; \
} \
{ \
member_type member_name; \
\
if (JSVAL_IS_INT(jsvalue)) { \
jsint ival = JSVAL_TO_INT(jsvalue); \
member_name = jsint_to_jlong(ival); \
\
} else { \
jdouble dval = *JSVAL_TO_DOUBLE(jsvalue); \
\
/* NaN becomes zero when converted to integral value */ \
if (JSDOUBLE_IS_NaN(dval)) \
member_name = jsint_to_jlong(0); \
\
/* Unrepresentably large numbers, including infinities, */ \
/* cause an error. */ \
else if ((dval > member_type ## _MAX_VALUE) || \
(dval < member_type ## _MIN_VALUE)) { \
goto numeric_conversion_error; \
} else \
member_name = jdouble_to_jlong(dval); \
\
/* Don't allow a non-integral number to be converted \
to an integral type */ \
/* Actually, we have to allow this for LC1 compatibility */ \
/*if (jlong_to_jdouble(member_name) != dval) \
(*cost)++;*/ \
} \
if (java_value) \
java_value->member_name = member_name; \
}
#else
#define jlong_to_jdouble(lvalue) ((jdouble) lvalue)
#endif
/*
* 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, JSBool *is_local_refp)
{
JavaSignatureChar type;
JSBool success = JS_FALSE;
/* Initialize to default case, in which no new Java object is
synthesized to perform the conversion and, therefore, no JNI local
references are being held. */
*is_local_refp = JS_FALSE;
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:
#if XP_MAC
JSVAL_TO_JLONG_JVALUE(j, jlong, v, java_value);
#else
JSVAL_TO_INTEGRAL_JVALUE(long, j, jlong, v, java_value);
#endif
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, is_local_refp))
goto conversion_error;
break;
default:
PR_ASSERT(0);
return JS_FALSE;
}
/* Success */
return JS_TRUE;
numeric_conversion_error:
success = JS_TRUE;
/* Fall through ... */
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;
}
return success;
}
/*
* 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;
/* 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,
JavaClassDescriptor *class_descriptor,
jobject java_obj, jsval *vp)
{
jdouble d;
jmethodID doubleValue;
jclass java_class;
java_class = class_descriptor->java_class;
doubleValue = (*jEnv)->GetMethodID(jEnv, java_class, "doubleValue", "()D");
if (!doubleValue) {
/* There is no doubleValue() method for the object. Try toString()
instead and the JS engine will attempt to convert the result to
a number. */
(*jEnv)->ExceptionClear(jEnv);
return jsj_ConvertJavaObjectToJSString(cx, jEnv, class_descriptor,
java_obj, vp);
}
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,
JavaClassDescriptor *class_descriptor,
jobject java_obj, jsval *vp)
{
jboolean b;
jmethodID booleanValue;
jclass java_class;
/* Null converts to false. */
if (!java_obj) {
*vp = JSVAL_FALSE;
return JS_TRUE;
}
java_class = class_descriptor->java_class;
booleanValue = (*jEnv)->GetMethodID(jEnv, java_obj, "booleanValue", "()Z");
/* Non-null Java object does not have a booleanValue() method, so
it converts to true. */
if (!booleanValue) {
(*jEnv)->ExceptionClear(jEnv);
*vp = JSVAL_TRUE;
return JS_TRUE;
}
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)) {
#ifdef PRESERVE_JSOBJECT_IDENTITY
js_obj = (JSObject *)((*jEnv)->GetIntField(jEnv, java_obj, njJSObject_internal));
#else
js_obj = jsj_UnwrapJSObjectWrapper(jEnv, java_obj);
#endif
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, jlong_to_jdouble(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 "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_UnexpectedJavaError(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, is_local_ref;
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_UnexpectedJavaError(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, &is_local_ref))
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);
if (is_local_ref)
(*jEnv)->DeleteLocalRef(jEnv, java_value.l);
break;
#undef SET_JAVA_FIELD
default:
PR_ASSERT(0); /* Unknown java type signature */
return JS_FALSE;
}
return JS_TRUE;
}

View File

@@ -1,487 +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 is a copy of the NSPR hash-table library, but it has been slightly
* modified to allow an additional argument to be passed into the hash
* key-comparision function. This is used to maintain thread-safety by
* passing in a JNIEnv pointer to the key-comparison function rather
* than storing it in a global. All types,function names, etc. have
* been renamed from their original NSPR names to protect the innocent.
*/
#include <stdlib.h>
#include <string.h>
#include "jsj_hash.h"
#include "prtypes.h"
#ifdef NSPR20
# include "prlog.h"
# include "prbit.h"
#else
# include "prassert.h"
#endif
/* Compute the number of buckets in ht */
#define NBUCKETS(ht) (1 << (JSJ_HASH_BITS - (ht)->shift))
/* The smallest table has 16 buckets */
#define MINBUCKETSLOG2 4
#define MINBUCKETS (1 << MINBUCKETSLOG2)
/* Compute the maximum entries given n buckets that we will tolerate, ~90% */
#define OVERLOADED(n) ((n) - ((n) >> 3))
/* Compute the number of entries below which we shrink the table by half */
#define UNDERLOADED(n) (((n) > MINBUCKETS) ? ((n) >> 2) : 0)
/*
** Stubs for default hash allocator ops.
*/
static void *
DefaultAllocTable(void *pool, size_t size)
{
#if defined(XP_MAC)
#pragma unused (pool)
#endif
return malloc(size);
}
static void
DefaultFreeTable(void *pool, void *item)
{
#if defined(XP_MAC)
#pragma unused (pool)
#endif
free(item);
}
static JSJHashEntry *
DefaultAllocEntry(void *pool, const void *key)
{
#if defined(XP_MAC)
#pragma unused (pool,key)
#endif
return malloc(sizeof(JSJHashEntry));
}
static void
DefaultFreeEntry(void *pool, JSJHashEntry *he, PRUintn flag)
{
#if defined(XP_MAC)
#pragma unused (pool)
#endif
if (flag == HT_FREE_ENTRY)
free(he);
}
static JSJHashAllocOps defaultHashAllocOps = {
DefaultAllocTable, DefaultFreeTable,
DefaultAllocEntry, DefaultFreeEntry
};
PR_IMPLEMENT(JSJHashTable *)
JSJ_NewHashTable(PRUint32 n, JSJHashFunction keyHash,
JSJHashComparator keyCompare, JSJHashComparator valueCompare,
JSJHashAllocOps *allocOps, void *allocPriv)
{
JSJHashTable *ht;
PRUint32 nb;
if (n <= MINBUCKETS) {
n = MINBUCKETSLOG2;
} else {
n = PR_CeilingLog2(n);
if ((PRInt32)n < 0)
return 0;
}
if (!allocOps) allocOps = &defaultHashAllocOps;
ht = (*allocOps->allocTable)(allocPriv, sizeof *ht);
if (!ht)
return 0;
memset(ht, 0, sizeof *ht);
ht->shift = JSJ_HASH_BITS - n;
n = 1 << n;
#if defined(XP_PC) && !defined(_WIN32)
if (n > 16000) {
(*allocOps->freeTable)(allocPriv, ht);
return 0;
}
#endif /* WIN16 */
nb = n * sizeof(JSJHashEntry *);
ht->buckets = (*allocOps->allocTable)(allocPriv, nb);
if (!ht->buckets) {
(*allocOps->freeTable)(allocPriv, ht);
return 0;
}
memset(ht->buckets, 0, nb);
ht->keyHash = keyHash;
ht->keyCompare = keyCompare;
ht->valueCompare = valueCompare;
ht->allocOps = allocOps;
ht->allocPriv = allocPriv;
return ht;
}
PR_IMPLEMENT(void)
JSJ_HashTableDestroy(JSJHashTable *ht)
{
PRUint32 i, n;
JSJHashEntry *he, *next;
JSJHashAllocOps *allocOps = ht->allocOps;
void *allocPriv = ht->allocPriv;
n = NBUCKETS(ht);
for (i = 0; i < n; i++) {
for (he = ht->buckets[i]; he; he = next) {
next = he->next;
(*allocOps->freeEntry)(allocPriv, he, HT_FREE_ENTRY);
}
}
#ifdef DEBUG
memset(ht->buckets, 0xDB, n * sizeof ht->buckets[0]);
#endif
(*allocOps->freeTable)(allocPriv, ht->buckets);
#ifdef DEBUG
memset(ht, 0xDB, sizeof *ht);
#endif
(*allocOps->freeTable)(allocPriv, ht);
}
/*
** Multiplicative hash, from Knuth 6.4.
*/
#define GOLDEN_RATIO 0x9E3779B9U
PR_IMPLEMENT(JSJHashEntry **)
JSJ_HashTableRawLookup(JSJHashTable *ht, JSJHashNumber keyHash, const void *key, void *arg)
{
JSJHashEntry *he, **hep, **hep0;
JSJHashNumber h;
#ifdef HASHMETER
ht->nlookups++;
#endif
h = keyHash * GOLDEN_RATIO;
h >>= ht->shift;
hep = hep0 = &ht->buckets[h];
while ((he = *hep) != 0) {
if (he->keyHash == keyHash && (*ht->keyCompare)(key, he->key, arg)) {
/* Move to front of chain if not already there */
if (hep != hep0) {
*hep = he->next;
he->next = *hep0;
*hep0 = he;
}
return hep0;
}
hep = &he->next;
#ifdef HASHMETER
ht->nsteps++;
#endif
}
return hep;
}
PR_IMPLEMENT(JSJHashEntry *)
JSJ_HashTableRawAdd(JSJHashTable *ht, JSJHashEntry **hep,
JSJHashNumber keyHash, const void *key, void *value,
void *arg)
{
PRUint32 i, n;
JSJHashEntry *he, *next, **oldbuckets;
PRUint32 nb;
/* Grow the table if it is overloaded */
n = NBUCKETS(ht);
if (ht->nentries >= OVERLOADED(n)) {
#ifdef HASHMETER
ht->ngrows++;
#endif
ht->shift--;
oldbuckets = ht->buckets;
#if defined(XP_PC) && !defined(_WIN32)
if (2 * n > 16000)
return 0;
#endif /* WIN16 */
nb = 2 * n * sizeof(JSJHashEntry *);
ht->buckets = (*ht->allocOps->allocTable)(ht->allocPriv, nb);
if (!ht->buckets) {
ht->buckets = oldbuckets;
return 0;
}
memset(ht->buckets, 0, nb);
for (i = 0; i < n; i++) {
for (he = oldbuckets[i]; he; he = next) {
next = he->next;
hep = JSJ_HashTableRawLookup(ht, he->keyHash, he->key, arg);
PR_ASSERT(*hep == 0);
he->next = 0;
*hep = he;
}
}
#ifdef DEBUG
memset(oldbuckets, 0xDB, n * sizeof oldbuckets[0]);
#endif
(*ht->allocOps->freeTable)(ht->allocPriv, oldbuckets);
hep = JSJ_HashTableRawLookup(ht, keyHash, key, arg);
}
/* Make a new key value entry */
he = (*ht->allocOps->allocEntry)(ht->allocPriv, key);
if (!he)
return 0;
he->keyHash = keyHash;
he->key = key;
he->value = value;
he->next = *hep;
*hep = he;
ht->nentries++;
return he;
}
PR_IMPLEMENT(JSJHashEntry *)
JSJ_HashTableAdd(JSJHashTable *ht, const void *key, void *value, void *arg)
{
JSJHashNumber keyHash;
JSJHashEntry *he, **hep;
keyHash = (*ht->keyHash)(key, arg);
hep = JSJ_HashTableRawLookup(ht, keyHash, key, arg);
if ((he = *hep) != 0) {
/* Hit; see if values match */
if ((*ht->valueCompare)(he->value, value, arg)) {
/* key,value pair is already present in table */
return he;
}
if (he->value)
(*ht->allocOps->freeEntry)(ht->allocPriv, he, HT_FREE_VALUE);
he->value = value;
return he;
}
return JSJ_HashTableRawAdd(ht, hep, keyHash, key, value, arg);
}
PR_IMPLEMENT(void)
JSJ_HashTableRawRemove(JSJHashTable *ht, JSJHashEntry **hep, JSJHashEntry *he, void *arg)
{
PRUint32 i, n;
JSJHashEntry *next, **oldbuckets;
PRUint32 nb;
*hep = he->next;
(*ht->allocOps->freeEntry)(ht->allocPriv, he, HT_FREE_ENTRY);
/* Shrink table if it's underloaded */
n = NBUCKETS(ht);
if (--ht->nentries < UNDERLOADED(n)) {
#ifdef HASHMETER
ht->nshrinks++;
#endif
ht->shift++;
oldbuckets = ht->buckets;
nb = n * sizeof(JSJHashEntry*) / 2;
ht->buckets = (*ht->allocOps->allocTable)(ht->allocPriv, nb);
if (!ht->buckets) {
ht->buckets = oldbuckets;
return;
}
memset(ht->buckets, 0, nb);
for (i = 0; i < n; i++) {
for (he = oldbuckets[i]; he; he = next) {
next = he->next;
hep = JSJ_HashTableRawLookup(ht, he->keyHash, he->key, arg);
PR_ASSERT(*hep == 0);
he->next = 0;
*hep = he;
}
}
#ifdef DEBUG
memset(oldbuckets, 0xDB, n * sizeof oldbuckets[0]);
#endif
(*ht->allocOps->freeTable)(ht->allocPriv, oldbuckets);
}
}
PR_IMPLEMENT(PRBool)
JSJ_HashTableRemove(JSJHashTable *ht, const void *key, void *arg)
{
JSJHashNumber keyHash;
JSJHashEntry *he, **hep;
keyHash = (*ht->keyHash)(key, arg);
hep = JSJ_HashTableRawLookup(ht, keyHash, key, arg);
if ((he = *hep) == 0)
return PR_FALSE;
/* Hit; remove element */
JSJ_HashTableRawRemove(ht, hep, he, arg);
return PR_TRUE;
}
PR_IMPLEMENT(void *)
JSJ_HashTableLookup(JSJHashTable *ht, const void *key, void *arg)
{
JSJHashNumber keyHash;
JSJHashEntry *he, **hep;
keyHash = (*ht->keyHash)(key, arg);
hep = JSJ_HashTableRawLookup(ht, keyHash, key, arg);
if ((he = *hep) != 0) {
return he->value;
}
return 0;
}
/*
** Iterate over the entries in the hash table calling func for each
** entry found. Stop if "f" says to (return value & PR_ENUMERATE_STOP).
** Return a count of the number of elements scanned.
*/
PR_IMPLEMENT(int)
JSJ_HashTableEnumerateEntries(JSJHashTable *ht, JSJHashEnumerator f, void *arg)
{
JSJHashEntry *he, **hep;
PRUint32 i, nbuckets;
int rv, n = 0;
JSJHashEntry *todo = 0;
nbuckets = NBUCKETS(ht);
for (i = 0; i < nbuckets; i++) {
hep = &ht->buckets[i];
while ((he = *hep) != 0) {
rv = (*f)(he, n, arg);
n++;
if (rv & (HT_ENUMERATE_REMOVE | HT_ENUMERATE_UNHASH)) {
*hep = he->next;
if (rv & HT_ENUMERATE_REMOVE) {
he->next = todo;
todo = he;
}
} else {
hep = &he->next;
}
if (rv & HT_ENUMERATE_STOP) {
goto out;
}
}
}
out:
hep = &todo;
while ((he = *hep) != 0) {
JSJ_HashTableRawRemove(ht, hep, he, arg);
}
return n;
}
#ifdef HASHMETER
#include <math.h>
#include <stdio.h>
PR_IMPLEMENT(void)
JSJ_HashTableDumpMeter(JSJHashTable *ht, JSJHashEnumerator dump, FILE *fp)
{
double mean, variance;
PRUint32 nchains, nbuckets;
PRUint32 i, n, maxChain, maxChainLen;
JSJHashEntry *he;
variance = 0;
nchains = 0;
maxChainLen = 0;
nbuckets = NBUCKETS(ht);
for (i = 0; i < nbuckets; i++) {
he = ht->buckets[i];
if (!he)
continue;
nchains++;
for (n = 0; he; he = he->next)
n++;
variance += n * n;
if (n > maxChainLen) {
maxChainLen = n;
maxChain = i;
}
}
mean = (double)ht->nentries / nchains;
variance = fabs(variance / nchains - mean * mean);
fprintf(fp, "\nHash table statistics:\n");
fprintf(fp, " number of lookups: %u\n", ht->nlookups);
fprintf(fp, " number of entries: %u\n", ht->nentries);
fprintf(fp, " number of grows: %u\n", ht->ngrows);
fprintf(fp, " number of shrinks: %u\n", ht->nshrinks);
fprintf(fp, " mean steps per hash: %g\n", (double)ht->nsteps
/ ht->nlookups);
fprintf(fp, "mean hash chain length: %g\n", mean);
fprintf(fp, " standard deviation: %g\n", sqrt(variance));
fprintf(fp, " max hash chain length: %u\n", maxChainLen);
fprintf(fp, " max hash chain: [%u]\n", maxChain);
for (he = ht->buckets[maxChain], i = 0; he; he = he->next, i++)
if ((*dump)(he, i, fp) != HT_ENUMERATE_NEXT)
break;
}
#endif /* HASHMETER */
PR_IMPLEMENT(int)
JSJ_HashTableDump(JSJHashTable *ht, JSJHashEnumerator dump, FILE *fp)
{
int count;
count = JSJ_HashTableEnumerateEntries(ht, dump, fp);
#ifdef HASHMETER
JSJ_HashTableDumpMeter(ht, dump, fp);
#endif
return count;
}
PR_IMPLEMENT(JSJHashNumber)
JSJ_HashString(const void *key)
{
JSJHashNumber h;
const unsigned char *s;
h = 0;
for (s = key; *s; s++)
h = (h >> 28) ^ (h << 4) ^ *s;
return h;
}
PR_IMPLEMENT(int)
JSJ_CompareStrings(const void *v1, const void *v2)
{
return strcmp(v1, v2) == 0;
}
PR_IMPLEMENT(int)
JSJ_CompareValues(const void *v1, const void *v2)
{
return v1 == v2;
}

View File

@@ -1,141 +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 is a copy of the NSPR hash-table library, but it has been slightly
* modified to allow an additional argument to be passed into the hash
* key-comparision function. This is used to maintain thread-safety by
* passing in a JNIEnv pointer to the key-comparison function rather
* than storing it in a global. All types,function names, etc. have
* been renamed from their original NSPR names to protect the innocent.
*/
#ifndef jsj_hash_h___
#define jsj_hash_h___
/*
* API to portable hash table code.
*/
#include <stddef.h>
#include <stdio.h>
#include "prtypes.h"
PR_BEGIN_EXTERN_C
typedef struct JSJHashEntry JSJHashEntry;
typedef struct JSJHashTable JSJHashTable;
typedef PRUint32 JSJHashNumber;
#define JSJ_HASH_BITS 32
typedef JSJHashNumber (*JSJHashFunction)(const void *key, void *arg);
typedef PRIntn (*JSJHashComparator)(const void *v1, const void *v2, void *arg);
typedef PRIntn (*JSJHashEnumerator)(JSJHashEntry *he, PRIntn i, void *arg);
/* Flag bits in JSJHashEnumerator's return value */
#define HT_ENUMERATE_NEXT 0 /* continue enumerating entries */
#define HT_ENUMERATE_STOP 1 /* stop enumerating entries */
#define HT_ENUMERATE_REMOVE 2 /* remove and free the current entry */
#define HT_ENUMERATE_UNHASH 4 /* just unhash the current entry */
typedef struct JSJHashAllocOps {
void * (*allocTable)(void *pool, size_t size);
void (*freeTable)(void *pool, void *item);
JSJHashEntry * (*allocEntry)(void *pool, const void *key);
void (*freeEntry)(void *pool, JSJHashEntry *he, PRUintn flag);
} JSJHashAllocOps;
#define HT_FREE_VALUE 0 /* just free the entry's value */
#define HT_FREE_ENTRY 1 /* free value and entire entry */
struct JSJHashEntry {
JSJHashEntry *next; /* hash chain linkage */
JSJHashNumber keyHash; /* key hash function result */
const void *key; /* ptr to opaque key */
void *value; /* ptr to opaque value */
};
struct JSJHashTable {
JSJHashEntry **buckets; /* vector of hash buckets */
PRUint32 nentries; /* number of entries in table */
PRUint32 shift; /* multiplicative hash shift */
JSJHashFunction keyHash; /* key hash function */
JSJHashComparator keyCompare; /* key comparison function */
JSJHashComparator valueCompare; /* value comparison function */
JSJHashAllocOps *allocOps; /* allocation operations */
void *allocPriv; /* allocation private data */
#ifdef HASHMETER
PRUint32 nlookups; /* total number of lookups */
PRUint32 nsteps; /* number of hash chains traversed */
PRUint32 ngrows; /* number of table expansions */
PRUint32 nshrinks; /* number of table contractions */
#endif
};
/*
* Create a new hash table.
* If allocOps is null, use default allocator ops built on top of malloc().
*/
PR_EXTERN(JSJHashTable *)
JSJ_NewHashTable(PRUint32 n, JSJHashFunction keyHash,
JSJHashComparator keyCompare, JSJHashComparator valueCompare,
JSJHashAllocOps *allocOps, void *allocPriv);
PR_EXTERN(void)
JSJ_HashTableDestroy(JSJHashTable *ht);
/* Low level access methods */
PR_EXTERN(JSJHashEntry **)
JSJ_HashTableRawLookup(JSJHashTable *ht, JSJHashNumber keyHash, const void *key, void *arg);
PR_EXTERN(JSJHashEntry *)
JSJ_HashTableRawAdd(JSJHashTable *ht, JSJHashEntry **hep, JSJHashNumber keyHash,
const void *key, void *value, void *arg);
PR_EXTERN(void)
JSJ_HashTableRawRemove(JSJHashTable *ht, JSJHashEntry **hep, JSJHashEntry *he, void *arg);
/* Higher level access methods */
PR_EXTERN(JSJHashEntry *)
JSJ_HashTableAdd(JSJHashTable *ht, const void *key, void *value, void *arg);
PR_EXTERN(PRBool)
JSJ_HashTableRemove(JSJHashTable *ht, const void *key, void *arg);
PR_EXTERN(PRIntn)
JSJ_HashTableEnumerateEntries(JSJHashTable *ht, JSJHashEnumerator f, void *arg);
PR_EXTERN(void *)
JSJ_HashTableLookup(JSJHashTable *ht, const void *key, void *arg);
PR_EXTERN(PRIntn)
JSJ_HashTableDump(JSJHashTable *ht, JSJHashEnumerator dump, FILE *fp);
/* General-purpose C string hash function. */
PR_EXTERN(JSJHashNumber)
JSJ_HashString(const void *key);
/* Compare strings using strcmp(), return true if equal. */
PR_EXTERN(int)
JSJ_CompareStrings(const void *v1, const void *v2);
/* Stub function just returns v1 == v2 */
PR_EXTERN(PRIntn)
JSJ_CompareValues(const void *v1, const void *v2);
PR_END_EXTERN_C
#endif /* jsj_hash_h___ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,552 +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 "prtypes.h"
/* NSPR1 compatibility definitions */
#ifdef NSPR20
# include "prprf.h"
# include "prlog.h"
# include "plhash.h" /* NSPR hash-tables */
#else
# include "prprintf.h"
# include "prassert.h"
# include "prhash.h" /* NSPR hash-tables */
# define PRHashNumber prhashcode
#endif
#ifdef XP_MAC
# include "prosdep.h"
#endif
#include "jsj_hash.h" /* Hash tables */
#include "jni.h" /* Java Native Interface */
#include "jsapi.h" /* JavaScript engine API */
#include "jsjava.h" /* LiveConnect public API */
/*************************** Type Declarations ******************************/
/* Forward type declarations */
typedef struct JavaMemberDescriptor JavaMemberDescriptor;
typedef struct JavaMethodSpec JavaMethodSpec;
typedef struct JavaClassDescriptor JavaClassDescriptor;
typedef struct JavaClassDescriptor JavaSignature;
typedef struct CapturedJSError CapturedJSError;
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. */
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 */
};
/*
* 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.
*/
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 */
JSObject * invoke_func_obj; /* If non-null, JSFunction obj to invoke method */
};
/* This is the native portion of a reflected Java class */
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 */
};
/* This is the native portion of a reflected Java method or field */
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;
};
/* This is the native portion of a reflected Java object */
typedef struct JavaObjectWrapper {
jobject java_obj; /* Opaque JVM ref to Java object */
JavaClassDescriptor * class_descriptor; /* Java class info */
} 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 */
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. */
SystemJavaVM * 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 */
};
/* Per-thread state that encapsulates the connection to the Java VM */
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 */
};
struct JavaToJSSavedState {
JSErrorReporter error_reporter;
JSJavaThreadState* java_jsj_env;
};
typedef struct JavaToJSSavedState JavaToJSSavedState;
/******************************** Globals ***********************************/
extern JSJCallbacks *JSJ_callbacks;
/* JavaScript classes that reflect Java objects */
extern JSClass JavaObject_class;
extern JSClass JavaArray_class;
extern JSClass JavaClass_class;
extern JSClass JavaMember_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, JSBool *is_local_refp);
extern JSBool
jsj_ConvertJSValueToJavaObject(JSContext *cx, JNIEnv *jEnv, jsval v, JavaSignature *signature,
int *cost, jobject *java_value, JSBool *is_local_refp);
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 JSString *
jsj_ConvertJavaStringToJSString(JSContext *cx, JNIEnv *jEnv, jstring java_str);
extern JSBool
jsj_ConvertJavaObjectToJSString(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jobject java_obj, jsval *vp);
extern JSBool
jsj_ConvertJavaObjectToJSNumber(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jobject java_obj, jsval *vp);
extern JSBool
jsj_ConvertJavaObjectToJSBoolean(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jobject java_obj, jsval *vp);
extern JSJavaThreadState *
jsj_enter_js(JNIEnv *jEnv, jobject java_wrapper_obj,
JSContext **cxp, JSObject **js_objp, JavaToJSSavedState* saved_state);
extern JSBool
jsj_exit_js(JSContext *cx, JSJavaThreadState *jsj_env, JavaToJSSavedState* original_state);
extern JavaClassDescriptor *
jsj_get_jlObject_descriptor(JSContext *cx, JNIEnv *jEnv);
extern JSBool
jsj_remove_js_obj_reflection_from_hashtable(JSContext *cx, JSObject *js_obj);
extern JSBool
jsj_init_js_obj_reflections_table();
/************************ 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);
extern void
jsj_DiscardJavaClassReflections(JNIEnv *jEnv);
extern 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_LookupJavaMemberDescriptorById(JSContext *cx, JNIEnv *jEnv,
JavaClassDescriptor *class_descriptor,
jsid id);
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);
extern JSObject *
jsj_CreateJavaMember(JSContext *cx, jsval method_val, jsval field_val);
/************************* 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 void
jsj_DiscardJavaObjReflections(JNIEnv *jEnv);
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_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 JSObject *
jsj_UnwrapJSObjectWrapper(JNIEnv *jEnv, jobject java_wrapper_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 JSJHashNumber
jsj_HashJavaObject(const void *key, void* env);
PR_CALLBACK intN
jsj_JavaObjectComparator(const void *v1, const void *v2, void *arg);
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);
JSJavaThreadState *
jsj_SetJavaJSJEnv(JSJavaThreadState* java_jsj_env);
#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,361 +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 "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 JSJHashNumber
jsj_HashJavaObject(const void *key, void* env)
{
PRHashNumber hash_code;
jobject java_obj;
JNIEnv *jEnv;
java_obj = (jobject)key;
jEnv = (JNIEnv*) env;
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, void *arg)
{
jobject java_obj1, java_obj2;
JNIEnv *jEnv;
jEnv = (JNIEnv*)arg;
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 && jlThrowable_toString) {
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
#endif
{
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;
}
}
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;
}
static JSJavaThreadState *the_java_jsj_env = NULL;
JSJavaThreadState *
jsj_MapJSContextToJSJThread(JSContext *cx, JNIEnv **envp)
{
JSJavaThreadState *jsj_env;
char *err_msg;
*envp = NULL;
err_msg = NULL;
jsj_env = the_java_jsj_env;
if (jsj_env == 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;
}
/**
* Since only one Java thread is allowed to enter JavaScript, this function is
* used to enforce the use of that thread's state. The static global the_java_jsj_env
* overrides using JSJ_callbacks->map_js_context_to_jsj_thread, which maps
* native threads to JSJavaThreadStates. This isn't appropriate when Java calls
* JavaScript, as there can be a many to one mapping from Java threads to native
* threads.
*/
JSJavaThreadState *
jsj_SetJavaJSJEnv(JSJavaThreadState* java_jsj_env)
{
JSJavaThreadState *old_jsj_env = the_java_jsj_env;
the_java_jsj_env = java_jsj_env;
return old_jsj_env;
}

View File

@@ -1,264 +0,0 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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
#ifndef prtypes_h___
#include "prtypes.h"
#endif
PR_BEGIN_EXTERN_C
#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;
/*
* An opaque type that represents the connection to the Java VM. In stand-alone
* Java environments, this may be a JNI JavaVM object; in the browser environment
* it is a reference to a JVM plugin. A set of callbacks in the JSJCallbacks
* struct allow it to be manipulated.
*/
typedef struct SystemJavaVM SystemJavaVM;
/*
* 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,
JNIEnv *jEnv,
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, void *pJavaObject,
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, JSContext *pJSContext);
/* 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)(JNIEnv *jEnv, char **errp);
void (*exit_js)(JNIEnv *jEnv);
/* 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);
/* This enables liveconnect to ask the VM for a java wrapper so that VM gets a chance to
store a mapping between a jsobject and java wrapper. So the unwrapping can be done on the
VM side before calling nsILiveconnect apis. This saves on a round trip request. */
jobject (*get_java_wrapper)(JNIEnv *jEnv, jint jsobject);
/* The following set of methods abstract over the JavaVM object. */
PRBool (*create_java_vm)(SystemJavaVM* *jvm, JNIEnv* *initialEnv, void* initargs);
PRBool (*destroy_java_vm)(SystemJavaVM* jvm, JNIEnv* initialEnv);
JNIEnv* (*attach_current_thread)(SystemJavaVM* jvm);
PRBool (*detach_current_thread)(SystemJavaVM* jvm, JNIEnv* env);
SystemJavaVM* (*get_java_vm)(JNIEnv* env);
/* 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 initialization. An access
to a simple name within such a package, therefore, must either correspond to
one of these explicitly pre-defined 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_IMPLEMENT(JSBool)
JSJ_SimpleInit(JSContext *cx, JSObject *global_obj,
SystemJavaVM *java_vm, const char *classpath);
/* Free up all resources. Destroy the Java VM if it was created by LiveConnect */
PR_IMPLEMENT(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_IMPLEMENT(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 according to the create_java_vm callback in the JSJCallbacks,
using the provided classpath in addition to any default initargs.
The initargs argument is ignored, however, if java_vm is non-NULL. */
PR_IMPLEMENT(JSJavaVM *)
JSJ_ConnectToJavaVM(SystemJavaVM *java_vm, void* initargs);
/* 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_IMPLEMENT(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_IMPLEMENT(JSJavaThreadState *)
JSJ_AttachCurrentThreadToJava(JSJavaVM *jsjava_vm, const char *thread_name,
JNIEnv **java_envp);
/* Destructor routine for per-thread JSJavaThreadState structure */
PR_IMPLEMENT(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_IMPLEMENT(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_IMPLEMENT(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_IMPLEMENT(JSBool)
JSJ_ConvertJavaObjectToJSValue(JSContext *cx, jobject java_obj, jsval *vp);
PR_END_EXTERN_C
#endif /* _JSJAVA_H */

View File

@@ -1,182 +0,0 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
IGNORE_MANIFEST=1
#//------------------------------------------------------------------------
#//
#// Makefile to build the Java reflections of JavaScript objects
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH= ..\..\..
include <$(DEPTH)/config/config.mak>
!ifdef NSJVM
DIRS = classes
!endif
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
DLLNAME=jsj$(MOZ_BITS)$(VERSION_NUMBER)
PDBFILE=$(DLLNAME).pdb
MAPFILE = $(DLLNAME).map
RESFILE = jsj1640.res
DLL=.\$(OBJDIR)\$(DLLNAME).dll
MAKE_OBJ_TYPE = DLL
!if "$(MOZ_BITS)" == "16"
DEFFILE = $(DLLNAME).def
!endif
LLIBS=$(LIBNSPR) $(DIST)\lib\js$(MOZ_BITS)$(VERSION_NUMBER).lib \
$(DIST)\lib\xpcom32.lib
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib
!endif
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
OBJS= \
.\$(OBJDIR)\jsj.obj \
.\$(OBJDIR)\jsj_JSObject.obj \
.\$(OBJDIR)\jsj_JavaArray.obj \
.\$(OBJDIR)\jsj_JavaClass.obj \
.\$(OBJDIR)\jsj_JavaMember.obj \
.\$(OBJDIR)\jsj_JavaObject.obj \
.\$(OBJDIR)\jsj_JavaPackage.obj \
.\$(OBJDIR)\jsj_array.obj \
.\$(OBJDIR)\jsj_class.obj \
.\$(OBJDIR)\jsj_convert.obj \
.\$(OBJDIR)\jsj_field.obj \
.\$(OBJDIR)\jsj_hash.obj \
.\$(OBJDIR)\jsj_method.obj \
.\$(OBJDIR)\jsj_utils.obj \
.\$(OBJDIR)\nsCLiveconnect.obj \
.\$(OBJDIR)\nsCLiveconnectFactory.obj \
!if "$(MOZ_BITS)" == "16"
.\$(OBJDIR)\jsj_nodl.obj \
!endif
$(NULL)
#//------------------------------------------------------------------------
#//
#// install headers
#//
#//------------------------------------------------------------------------
INSTALL_DIR=$(PUBLIC)\js
INSTALL_FILE_LIST= \
jsjava.h nsILiveconnect.h
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
#// (these must be defined before the common makefiles are included)
#//
#//------------------------------------------------------------------------
!ifdef NSJVM
JNI_GEN= \
netscape.javascript.JSObject \
netscape.javascript.JSException \
$(NULL)
!endif
MODULE = java
EXPORTS = \
$(JNI_GEN_DIR)\netscape_javascript_JSObject.h \
$(JNI_GEN_DIR)\netscape_javascript_JSException.h \
$(NULL)
#//------------------------------------------------------------------------
#//
#// Define any local options for the make tools
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
#//
#//------------------------------------------------------------------------
LINCS=$(LINCS) -I$(JNI_GEN_DIR) \
-I$(PUBLIC)\js \
-I$(PUBLIC)\java \
-I$(PUBLIC)\xpcom \
$(NULL)
#!ifdef SERVER_BUILD
#LLIBS=$(DIST)/lib/httpdlw.lib $(DIST)/lib/libsjboot.lib
#!endif
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
export:: INSTALL_FILES
libs:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
####
# this bit of extreme scariness came from the js/src makefile
# reproduced here since that's where jsjava.c lives now...
!if ("$(MOZ_BITS)" == "16")
#//
#// Win16 Hoovers SO BAD!!!
#//
!if !defined(MOZ_DEBUG)
#//
#// We must turn off codeview debug info so jni.c can build.
#// Otherwise the linker gives errors about data in the $SYMBOLS
#// segment being beyond a segment boundary.
#//
$(OBJDIR)\jsjava.obj: jsjava.c
@$(CC) @<<$(CFGFILE)
-c
-Od
$(CFLAGS)
$(LCFLAGS)
$(LINCS)
$(LINCS_1)
$(INCS)
-Fd$(PDBFILE)
-Fo.\$(OBJDIR)\
$(*B).c
<<KEEP
!endif
!endif

View File

@@ -1,111 +0,0 @@
/* -*- Mode: C; tab-width: 8 -*-
* Copyright (C) 1998 Netscape Communications Corporation, All Rights Reserved.
*/
#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);
/*
* Class: netscape_javascript_JSObject
* Method: equals
* Signature: (Ljava/lang/Object;)Z
*/
JNIEXPORT jboolean JNICALL Java_netscape_javascript_JSObject_equals
(JNIEnv *, jobject, jobject);
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -1,567 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the implementation providing nsIFactory XP-COM interface.
*
*/
#include <stdlib.h>
#include <string.h>
#include "prtypes.h"
#include "prprf.h"
#include "prlog.h"
PR_BEGIN_EXTERN_C
#ifdef XP_MAC
#include "prosdep.h"
#endif
#include "jsj_private.h"
#include "jsjava.h"
#include "jscntxt.h" /* For js_ReportErrorAgain().
TODO - get rid of private header */
#include "netscape_javascript_JSObject.h" /* javah-generated headers */
/* A captured JavaScript error, created when JS_ReportError() is called while
running JavaScript code that is itself called from Java. */
struct CapturedJSError {
char * message;
JSErrorReport report; /* Line # of error, etc. */
jthrowable java_exception; /* Java exception, error, or null */
CapturedJSError * next; /* Next oldest captured JS error */
};
PR_END_EXTERN_C
#include "nsCLiveconnect.h"
static NS_DEFINE_IID(kILiveconnectIID, NS_ILIVECONNECT_IID);
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
////////////////////////////////////////////////////////////////////////////
// from nsISupports and AggregatedQueryInterface:
// Thes macro expands to the aggregated query interface scheme.
NS_IMPL_AGGREGATED(nsCLiveconnect);
NS_METHOD
nsCLiveconnect::AggregatedQueryInterface(const nsIID& aIID, void** aInstancePtr)
{
if (aIID.Equals(kISupportsIID)) {
*aInstancePtr = GetInner();
AddRef();
return NS_OK;
}
if (aIID.Equals(kILiveconnectIID)) {
*aInstancePtr = this;
AddRef();
return NS_OK;
}
return NS_NOINTERFACE;
}
////////////////////////////////////////////////////////////////////////////
// from nsILiveconnect:
/**
* get member of a Native JSObject for a given name.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
* @param name - Name of a member.
* @param pjobj - return parameter as a java object representing
* the member. If it is a basic data type it is converted to
* a corresponding java type. If it is a NJSObject, then it is
* wrapped up as java wrapper netscape.javascript.JSObject.
*/
NS_METHOD
nsCLiveconnect::GetMember(JNIEnv *jEnv, jsobject obj, const char *name, jobject *pjobj)
{
JSContext *cx = NULL;
JSJavaThreadState *jsj_env = NULL;
JSObject *js_obj = (JSObject *)obj;
nsresult err = NS_OK;
jobject member = NULL;
jsval js_val = NULL;
int dummy_cost = 0;
JSBool dummy_bool = PR_FALSE;
JavaToJSSavedState saved_state = {NULL,NULL};
if(jEnv == NULL)
{
return NS_ERROR_FAILURE;
}
jsj_env = jsj_enter_js(jEnv, NULL, &cx, NULL, &saved_state);
if (!jsj_env)
return NS_ERROR_FAILURE;
if (!name) {
JS_ReportError(cx, "illegal null member name");
member = NULL;
goto done;
}
if (!JS_GetProperty(cx, js_obj, name, &js_val))
goto done;
jsj_ConvertJSValueToJavaObject(cx, jEnv, js_val, jsj_get_jlObject_descriptor(cx, jEnv),
&dummy_cost, &member, &dummy_bool);
done:
if (!jsj_exit_js(cx, jsj_env, &saved_state))
return NS_ERROR_FAILURE;
*pjobj = member;
return NS_OK;
}
/**
* get member of a Native JSObject for a given index.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
* @param index - Index of a member.
* @param pjobj - return parameter as a java object representing
* the member.
*/
NS_METHOD
nsCLiveconnect::GetSlot(JNIEnv *jEnv, jsobject obj, int slot, jobject *pjobj)
{
JSContext *cx = NULL;
JSJavaThreadState *jsj_env = NULL;
JSObject *js_obj = (JSObject *)obj;
nsresult err = NS_OK;
jobject member = NULL;
jsval js_val = NULL;
int dummy_cost = 0;
JSBool dummy_bool = PR_FALSE;
JavaToJSSavedState saved_state = {NULL,NULL};
if(jEnv == NULL)
{
return NS_ERROR_FAILURE;
}
jsj_env = jsj_enter_js(jEnv, NULL, &cx, NULL, &saved_state);
if (!jsj_env)
return NS_ERROR_FAILURE;
// =-= sudu: check to see if slot can be passed in as is.
// Should it be converted to a jsint?
if (!JS_GetElement(cx, js_obj, slot, &js_val))
goto done;
if (!jsj_ConvertJSValueToJavaObject(cx, jEnv, js_val, jsj_get_jlObject_descriptor(cx, jEnv),
&dummy_cost, &member, &dummy_bool))
goto done;
done:
if (!jsj_exit_js(cx, jsj_env, &saved_state))
return NS_ERROR_FAILURE;
*pjobj = member;
return NS_OK;
}
/**
* set member of a Native JSObject for a given name.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
* @param name - Name of a member.
* @param jobj - Value to set. If this is a basic data type, it is converted
* using standard JNI calls but if it is a wrapper to a JSObject
* then a internal mapping is consulted to convert to a NJSObject.
*/
NS_METHOD
nsCLiveconnect::SetMember(JNIEnv *jEnv, jsobject obj, const char *name, jobject java_obj)
{
JSContext *cx = NULL;
JSJavaThreadState *jsj_env = NULL;
JSObject *js_obj = (JSObject *)obj;
nsresult err = NS_OK;
jobject member = NULL;
jsval js_val = NULL;
JavaToJSSavedState saved_state = {NULL,NULL};
if(jEnv == NULL)
{
return NS_ERROR_FAILURE;
}
jsj_env = jsj_enter_js(jEnv, NULL, &cx, NULL, &saved_state);
if (!jsj_env)
return NS_ERROR_FAILURE;
if (!name) {
JS_ReportError(cx, "illegal null member name");
goto done;
}
if (!jsj_ConvertJavaObjectToJSValue(cx, jEnv, java_obj, &js_val))
goto done;
JS_SetProperty(cx, js_obj, name, &js_val);
done:
jsj_exit_js(cx, jsj_env, &saved_state);
return NS_OK;
}
/**
* set member of a Native JSObject for a given index.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
* @param index - Index of a member.
* @param jobj - Value to set. If this is a basic data type, it is converted
* using standard JNI calls but if it is a wrapper to a JSObject
* then a internal mapping is consulted to convert to a NJSObject.
*/
NS_METHOD
nsCLiveconnect::SetSlot(JNIEnv *jEnv, jsobject obj, int slot, jobject java_obj)
{
JSContext *cx = NULL;
JSJavaThreadState *jsj_env = NULL;
JSObject *js_obj = (JSObject *)obj;
nsresult err = NS_OK;
jsval js_val = NULL;
JavaToJSSavedState saved_state = {NULL,NULL};
if(jEnv == NULL)
{
return NS_ERROR_FAILURE;
}
jsj_env = jsj_enter_js(jEnv, NULL, &cx, NULL, &saved_state);
if (!jsj_env)
return NS_ERROR_FAILURE;
if (!jsj_ConvertJavaObjectToJSValue(cx, jEnv, java_obj, &js_val))
goto done;
JS_SetElement(cx, js_obj, slot, &js_val);
done:
jsj_exit_js(cx, jsj_env, &saved_state);
return NS_OK;
}
/**
* remove member of a Native JSObject for a given name.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
* @param name - Name of a member.
*/
NS_METHOD
nsCLiveconnect::RemoveMember(JNIEnv *jEnv, jsobject obj, const char *name)
{
JSContext *cx = NULL;
JSJavaThreadState *jsj_env = NULL;
JSObject *js_obj = (JSObject *)obj;
nsresult err = NS_OK;
jsval js_val = NULL;
JavaToJSSavedState saved_state = {NULL,NULL};
if(jEnv == NULL)
{
return NS_ERROR_FAILURE;
}
jsj_env = jsj_enter_js(jEnv, NULL, &cx, NULL, &saved_state);
if (!jsj_env)
return NS_ERROR_FAILURE;
if (!name) {
JS_ReportError(cx, "illegal null member name");
goto done;
}
JS_DeleteProperty2(cx, js_obj, name, &js_val);
done:
jsj_exit_js(cx, jsj_env, &saved_state);
return NS_OK;
}
/**
* call a method of Native JSObject.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
* @param name - Name of a method.
* @param jobjArr - Array of jobjects representing parameters of method being caled.
* @param pjobj - return value.
*/
NS_METHOD
nsCLiveconnect::Call(JNIEnv *jEnv, jsobject obj, const char *name, jobjectArray java_args, jobject *pjobj)
{
int i = 0;
int argc = 0;
int arg_num = 0;
jsval *argv = 0;
JSContext *cx = NULL;
JSJavaThreadState *jsj_env = NULL;
JSObject *js_obj = (JSObject *)obj;
nsresult err = NS_OK;
jobject member = NULL;
jsval js_val = NULL;
jsval function_val = NULL;
int dummy_cost = 0;
JSBool dummy_bool = PR_FALSE;
JavaToJSSavedState saved_state = {NULL,NULL};
jobject result = NULL;
if(jEnv == NULL)
{
return NS_ERROR_FAILURE;
}
jsj_env = jsj_enter_js(jEnv, NULL, &cx, NULL, &saved_state);
if (!jsj_env)
return NS_ERROR_FAILURE;
result = NULL;
if (!name) {
JS_ReportError(cx, "illegal null JavaScript function name");
goto done;
}
/* FIXME: What about security stuff ? Don't principals need to be set here ? */
/* Allocate space for JS arguments */
if (java_args) {
argc = jEnv->GetArrayLength(java_args);
argv = (jsval*)JS_malloc(cx, argc * sizeof(jsval));
} else {
argc = 0;
argv = 0;
}
/* Convert arguments from Java to JS values */
for (arg_num = 0; arg_num < argc; arg_num++) {
jobject arg = jEnv->GetObjectArrayElement(java_args, arg_num);
if (!jsj_ConvertJavaObjectToJSValue(cx, jEnv, arg, &argv[arg_num]))
goto cleanup_argv;
JS_AddRoot(cx, &argv[arg_num]);
}
if (!JS_GetProperty(cx, js_obj, name, &function_val))
goto cleanup_argv;
if (!JS_CallFunctionValue(cx, js_obj, function_val, argc, argv, &js_val))
goto cleanup_argv;
jsj_ConvertJSValueToJavaObject(cx, jEnv, js_val, jsj_get_jlObject_descriptor(cx, jEnv),
&dummy_cost, &result, &dummy_bool);
cleanup_argv:
if (argv) {
for (i = 0; i < arg_num; i++)
JS_RemoveRoot(cx, &argv[i]);
JS_free(cx, argv);
}
done:
if (!jsj_exit_js(cx, jsj_env, &saved_state))
return NS_ERROR_FAILURE;
*pjobj = result;
return NS_OK;
}
/**
* Evaluate a script with a Native JS Object representing scope.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
* @param pNSIPrincipaArray - Array of principals to be used to compare privileges.
* @param numPrincipals - Number of principals being passed.
* @param script - Script to be executed.
* @param pjobj - return value.
*/
NS_METHOD
nsCLiveconnect::Eval(JNIEnv *jEnv, jsobject obj, const char *script, jobject *pjobj)
{
JSContext *cx = NULL;
JSJavaThreadState *jsj_env = NULL;
JSObject *js_obj = (JSObject *)obj;
nsresult err = NS_OK;
jobject member = NULL;
jsval js_val = NULL;
jsval function_val = NULL;
int dummy_cost = 0;
JSBool dummy_bool = PR_FALSE;
JavaToJSSavedState saved_state = {NULL,NULL};
jobject result = NULL;
const char *codebase = NULL;
JSPrincipals *principals = NULL;
JSBool eval_succeeded = PR_FALSE;
if(jEnv == NULL)
{
return NS_ERROR_FAILURE;
}
jsj_env = jsj_enter_js(jEnv, NULL, &cx, NULL, &saved_state);
if (!jsj_env)
return NULL;
result = NULL;
if (!script) {
JS_ReportError(cx, "illegal null string eval argument");
goto done;
}
/* Set up security stuff */
principals = NULL;
if (JSJ_callbacks->get_JSPrincipals_from_java_caller)
principals = JSJ_callbacks->get_JSPrincipals_from_java_caller(jEnv, cx);
codebase = principals ? principals->codebase : NULL;
/* Have the JS engine evaluate the unicode string */
eval_succeeded = JS_EvaluateScriptForPrincipals(cx, js_obj, principals,
script, strlen(script),
codebase, 0, &js_val);
if (!eval_succeeded)
goto done;
/* Convert result to a subclass of java.lang.Object */
jsj_ConvertJSValueToJavaObject(cx, jEnv, js_val, jsj_get_jlObject_descriptor(cx, jEnv),
&dummy_cost, &result, &dummy_bool);
done:
if (!jsj_exit_js(cx, jsj_env, &saved_state))
return NULL;
*pjobj = result;
return NS_OK;
}
/**
* Get the window object for a plugin instance.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param pJavaObject - Either a jobject or a pointer to a plugin instance
* representing the java object.
* @param pjobj - return value. This is a native js object
* representing the window object of a frame
* in which a applet/bean resides.
*/
NS_METHOD
nsCLiveconnect::GetWindow(JNIEnv *jEnv, void *pJavaObject, jsobject *pobj)
{
char *err_msg = NULL;
JSContext *cx = NULL;
JSObject *js_obj = NULL;
jsval js_val = NULL;
int dummy_cost = 0;
JSBool dummy_bool = PR_FALSE;
JavaToJSSavedState saved_state = {NULL,NULL};
jobject java_obj = NULL;
JSJavaThreadState *jsj_env = NULL;
if(jEnv == NULL)
{
return NS_ERROR_FAILURE;
}
jsj_env = jsj_enter_js(jEnv, NULL, &cx, NULL, &saved_state);
if (!jsj_env)
return NULL;
err_msg = NULL;
java_obj = NULL;
js_obj = JSJ_callbacks->map_java_object_to_js_object(jEnv, pJavaObject, &err_msg);
if (!js_obj) {
if (err_msg) {
JS_ReportError(cx, err_msg);
free(err_msg);
}
goto done;
}
#if 0
js_val = OBJECT_TO_JSVAL(js_obj);
jsj_ConvertJSValueToJavaObject(cx, jEnv, js_val, jsj_get_jlObject_descriptor(cx, jEnv),
&dummy_cost, &java_obj, &dummy_bool);
#endif
done:
if (!jsj_exit_js(cx, jsj_env, &saved_state))
return NULL;
//*pjobj = java_obj;
*pobj = (jint)js_obj;
return NS_OK;
}
/**
* Get the window object for a plugin instance.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
*/
NS_METHOD
nsCLiveconnect::FinalizeJSObject(JNIEnv *jEnv, jsobject obj)
{
JSContext *cx = NULL;
JavaToJSSavedState saved_state = {NULL,NULL};
JSJavaThreadState *jsj_env = NULL;
JSObject *js_obj = (JSObject *)obj;
if(jEnv == NULL)
{
return NS_ERROR_FAILURE;
}
jsj_env = jsj_enter_js(jEnv, NULL, &cx, NULL, &saved_state);
if (!jsj_env) /* Note: memory leak if we exit here */
return NS_ERROR_FAILURE;
#ifdef PRESERVE_JSOBJECT_IDENTITY
jsj_remove_js_obj_reflection_from_hashtable(cx, js_obj);
#endif /* PRESERVE_JSOBJECT_IDENTITY */
jsj_exit_js(cx, jsj_env, &saved_state);
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////
// from nsCLiveconnect:
nsCLiveconnect::nsCLiveconnect(nsISupports *aOuter)
{
NS_INIT_AGGREGATED(aOuter);
jsj_init_js_obj_reflections_table();
}
nsCLiveconnect::~nsCLiveconnect()
{
}

View File

@@ -1,166 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains class definition implementing the public interface.
*
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the class definition to implement nsILiveconnect XP-COM interface.
*
*/
#ifndef nsCLiveconnect_h___
#define nsCLiveconnect_h___
#include "nsILiveconnect.h"
#include "nsAgg.h"
/**
* nsCLiveconnect implements nsILiveconnect interface for navigator.
* This is used by a JVM to implement netscape.javascript.JSObject functionality.
*/
class nsCLiveconnect :public nsILiveconnect {
public:
////////////////////////////////////////////////////////////////////////////
// from nsISupports and AggregatedQueryInterface:
NS_DECL_AGGREGATED
////////////////////////////////////////////////////////////////////////////
// from nsILiveconnect:
/**
* get member of a Native JSObject for a given name.
*
* @param obj - A Native JS Object.
* @param name - Name of a member.
* @param pjobj - return parameter as a java object representing
* the member. If it is a basic data type it is converted to
* a corresponding java type. If it is a NJSObject, then it is
* wrapped up as java wrapper netscape.javascript.JSObject.
*/
NS_IMETHOD
GetMember(JNIEnv *jEnv, jsobject obj, const char *name, jobject *pjobj);
/**
* get member of a Native JSObject for a given index.
*
* @param obj - A Native JS Object.
* @param index - Index of a member.
* @param pjobj - return parameter as a java object representing
* the member.
*/
NS_IMETHOD
GetSlot(JNIEnv *jEnv, jsobject obj, int index, jobject *pjobj);
/**
* set member of a Native JSObject for a given name.
*
* @param obj - A Native JS Object.
* @param name - Name of a member.
* @param jobj - Value to set. If this is a basic data type, it is converted
* using standard JNI calls but if it is a wrapper to a JSObject
* then a internal mapping is consulted to convert to a NJSObject.
*/
NS_IMETHOD
SetMember(JNIEnv *jEnv, jsobject obj, const char *name, jobject jobj);
/**
* set member of a Native JSObject for a given index.
*
* @param obj - A Native JS Object.
* @param index - Index of a member.
* @param jobj - Value to set. If this is a basic data type, it is converted
* using standard JNI calls but if it is a wrapper to a JSObject
* then a internal mapping is consulted to convert to a NJSObject.
*/
NS_IMETHOD
SetSlot(JNIEnv *jEnv, jsobject obj, int slot, jobject jobj);
/**
* remove member of a Native JSObject for a given name.
*
* @param obj - A Native JS Object.
* @param name - Name of a member.
*/
NS_IMETHOD
RemoveMember(JNIEnv *jEnv, jsobject obj, const char *name);
/**
* call a method of Native JSObject.
*
* @param obj - A Native JS Object.
* @param name - Name of a method.
* @param jobjArr - Array of jobjects representing parameters of method being caled.
* @param pjobj - return value.
*/
NS_IMETHOD
Call(JNIEnv *jEnv, jsobject obj, const char *name, jobjectArray jobjArr, jobject *pjobj);
/**
* Evaluate a script with a Native JS Object representing scope.
*
* @param obj - A Native JS Object.
* @param pNSIPrincipaArray - Array of principals to be used to compare privileges.
* @param numPrincipals - Number of principals being passed.
* @param script - Script to be executed.
* @param pjobj - return value.
*/
NS_IMETHOD
//Eval(JNIEnv *jEnv, jsobject obj, nsIPrincipal **pNSIPrincipaArray, PRInt32 numPrincipals, const char *script, jobject *pjobj);
Eval(JNIEnv *jEnv, jsobject obj, const char *script, jobject *pjobj);
/**
* Get the window object for a plugin instance.
*
* @param pJavaObject - Either a jobject or a pointer to a plugin instance
* representing the java object.
* @param pjobj - return value. This is a native js object
* representing the window object of a frame
* in which a applet/bean resides.
*/
NS_IMETHOD
GetWindow(JNIEnv *jEnv, void *pJavaObject, jsobject *pobj);
/**
* Get the window object for a plugin instance.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
*/
NS_IMETHOD
FinalizeJSObject(JNIEnv *jEnv, jsobject obj);
////////////////////////////////////////////////////////////////////////////
// from nsCLiveconnect:
nsCLiveconnect(nsISupports *aOuter);
virtual ~nsCLiveconnect(void);
protected:
};
#endif // nsCLiveconnect_h___

View File

@@ -1,168 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the implementation providing nsILiveconnect XP-COM interface.
*
*/
#include "prtypes.h"
#include "nspr.h"
#include "prmem.h"
#include "prmon.h"
#include "prlog.h"
#include "nsCLiveconnect.h"
#include "nsCLiveconnectFactory.h"
#include "nsRepository.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
static NS_DEFINE_CID(kCLiveconnectCID, NS_CLIVECONNECT_CID);
static NS_DEFINE_IID(kILiveconnectIID, NS_ILIVECONNECT_IID);
nsIFactory *nsCLiveconnectFactory::m_pNSIFactory = NULL;
nsCLiveconnect *nsCLiveconnectFactory::m_pNSCLiveconnect = NULL;
/*+++++++++++++++++++++++++++++++++++++++++++++++++
* NSGetFactory:
* Provides entry point to liveconnect dll.
+++++++++++++++++++++++++++++++++++++++++++++++++*/
extern "C" NS_EXPORT nsresult
NSGetFactory(const nsCID &aClass, nsIFactory **aFactory)
{
if (!aClass.Equals(kCLiveconnectCID)) {
return NS_ERROR_FACTORY_NOT_LOADED; // XXX right error?
}
nsCLiveconnectFactory* pCLiveConnectFactory = new nsCLiveconnectFactory();
if (pCLiveConnectFactory == NULL)
return NS_ERROR_OUT_OF_MEMORY;
pCLiveConnectFactory->AddRef();
*aFactory = pCLiveConnectFactory;
return NS_OK;
}
extern "C" NS_EXPORT PRBool
NSCanUnload(void)
{
return PR_FALSE;
}
////////////////////////////////////////////////////////////////////////////
// from nsISupports
NS_METHOD
nsCLiveconnectFactory::QueryInterface(const nsIID& aIID, void** aInstancePtr)
{
PR_ASSERT(NULL != aInstancePtr);
if (NULL == aInstancePtr) {
return NS_ERROR_NULL_POINTER;
}
if (aIID.Equals(kIFactoryIID) ||
aIID.Equals(kISupportsIID)) {
*aInstancePtr = (void*) this;
AddRef();
return NS_OK;
}
return NS_NOINTERFACE;
}
NS_IMPL_ADDREF(nsCLiveconnectFactory)
NS_IMPL_RELEASE(nsCLiveconnectFactory)
////////////////////////////////////////////////////////////////////////////
// from nsIFactory:
NS_METHOD
nsCLiveconnectFactory::CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
nsCLiveconnect *pNSCLiveconnect = NULL;
*aResult = NULL;
if (aOuter && !aIID.Equals(kISupportsIID))
return NS_NOINTERFACE; // XXX right error?
if (m_pNSCLiveconnect == NULL)
{
m_pNSCLiveconnect = new nsCLiveconnect(aOuter);
}
if (m_pNSCLiveconnect == NULL)
{
return NS_ERROR_FAILURE;
}
if (m_pNSCLiveconnect->QueryInterface(aIID,
(void**)aResult) != NS_OK) {
// then we're trying get a interface other than nsISupports and
// nsICapsManager
return NS_ERROR_FAILURE;
}
return NS_OK;
}
NS_METHOD
nsCLiveconnectFactory::LockFactory(PRBool aLock)
{
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////
// from nsCLiveconnectFactory:
nsCLiveconnectFactory::nsCLiveconnectFactory(void)
{
if( m_pNSIFactory != NULL)
{
return;
}
NS_INIT_REFCNT();
nsresult err = NS_OK;
NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
err = this->QueryInterface(kIFactoryIID, (void**)&m_pNSIFactory);
if ( (err == NS_OK) && (m_pNSIFactory != NULL) )
{
NS_DEFINE_CID(kCLiveconnectCID, NS_CLIVECONNECT_CID);
nsRepository::RegisterFactory(kCLiveconnectCID, m_pNSIFactory,
PR_FALSE);
}
}
nsCLiveconnectFactory::~nsCLiveconnectFactory()
{
if(mRefCnt == 0)
{
NS_DEFINE_CID(kCLiveconnectCID, NS_CLIVECONNECT_CID);
nsRepository::UnregisterFactory(kCLiveconnectCID, (nsIFactory *)m_pNSIFactory);
}
}

View File

@@ -1,59 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the class definition to implement nsIFactory XP-COM interface.
*
*/
#ifndef nsCLiveconnectFactory_h___
#define nsCLiveconnectFactory_h___
#include "nsISupports.h"
#include "nsIFactory.h"
class nsCLiveconnectFactory : public nsIFactory {
public:
////////////////////////////////////////////////////////////////////////////
// from nsISupports and AggregatedQueryInterface:
NS_DECL_ISUPPORTS
////////////////////////////////////////////////////////////////////////////
// from nsIFactory:
NS_IMETHOD
CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult);
NS_IMETHOD
LockFactory(PRBool aLock);
////////////////////////////////////////////////////////////////////////////
// from nsCLiveconnectFactory:
nsCLiveconnectFactory(void);
virtual ~nsCLiveconnectFactory(void);
protected:
static nsIFactory *m_pNSIFactory;
static nsCLiveconnect *m_pNSCLiveconnect;
};
#endif // nsCLiveconnectFactory_h___

View File

@@ -1,157 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* This file is part of the Java-vendor-neutral implementation of LiveConnect
*
* It contains the public XP-COM based interface for java to javascript communication.
*
*/
#ifndef nsILiveconnect_h___
#define nsILiveconnect_h___
#include "nsISupports.h"
#include "nsIFactory.h"
#include "jni.h"
typedef jint jsobject;
class nsILiveconnect : public nsISupports {
public:
/**
* get member of a Native JSObject for a given name.
*
* @param obj - A Native JS Object.
* @param name - Name of a member.
* @param pjobj - return parameter as a java object representing
* the member. If it is a basic data type it is converted to
* a corresponding java type. If it is a NJSObject, then it is
* wrapped up as java wrapper netscape.javascript.JSObject.
*/
NS_IMETHOD
GetMember(JNIEnv *jEnv, jsobject obj, const char *name, jobject *pjobj) = 0;
/**
* get member of a Native JSObject for a given index.
*
* @param obj - A Native JS Object.
* @param index - Index of a member.
* @param pjobj - return parameter as a java object representing
* the member.
*/
NS_IMETHOD
GetSlot(JNIEnv *jEnv, jsobject obj, int index, jobject *pjobj) = 0;
/**
* set member of a Native JSObject for a given name.
*
* @param obj - A Native JS Object.
* @param name - Name of a member.
* @param jobj - Value to set. If this is a basic data type, it is converted
* using standard JNI calls but if it is a wrapper to a JSObject
* then a internal mapping is consulted to convert to a NJSObject.
*/
NS_IMETHOD
SetMember(JNIEnv *jEnv, jsobject obj, const char *name, jobject jobj) = 0;
/**
* set member of a Native JSObject for a given index.
*
* @param obj - A Native JS Object.
* @param index - Index of a member.
* @param jobj - Value to set. If this is a basic data type, it is converted
* using standard JNI calls but if it is a wrapper to a JSObject
* then a internal mapping is consulted to convert to a NJSObject.
*/
NS_IMETHOD
SetSlot(JNIEnv *jEnv, jsobject obj, int slot, jobject jobj) = 0;
/**
* remove member of a Native JSObject for a given name.
*
* @param obj - A Native JS Object.
* @param name - Name of a member.
*/
NS_IMETHOD
RemoveMember(JNIEnv *jEnv, jsobject obj, const char *name) = 0;
/**
* call a method of Native JSObject.
*
* @param obj - A Native JS Object.
* @param name - Name of a method.
* @param jobjArr - Array of jobjects representing parameters of method being caled.
* @param pjobj - return value.
*/
NS_IMETHOD
Call(JNIEnv *jEnv, jsobject obj, const char *name, jobjectArray jobjArr, jobject *pjobj) = 0;
/**
* Evaluate a script with a Native JS Object representing scope.
*
* @param obj - A Native JS Object.
* @param pNSIPrincipaArray - Array of principals to be used to compare privileges.
* @param numPrincipals - Number of principals being passed.
* @param script - Script to be executed.
* @param pjobj - return value.
*/
NS_IMETHOD
//Eval(jsobject obj, nsIPrincipal **pNSIPrincipaArray, PRInt32 numPrincipals, const char *script, jobject *pjobj) = 0;
Eval(JNIEnv *jEnv, jsobject obj, const char *script, jobject *pjobj) = 0;
/**
* Get the window object for a plugin instance.
*
* @param pJavaObject - Either a jobject or a pointer to a plugin instance
* representing the java object.
* @param pjobj - return value. This is a native js object
* representing the window object of a frame
* in which a applet/bean resides.
*/
NS_IMETHOD
GetWindow(JNIEnv *jEnv, void *pJavaObject, jsobject *pobj) = 0;
/**
* Get the window object for a plugin instance.
*
* @param jEnv - JNIEnv on which the call is being made.
* @param obj - A Native JS Object.
*/
NS_IMETHOD
FinalizeJSObject(JNIEnv *jEnv, jsobject obj) = 0;
};
#define NS_ILIVECONNECT_IID \
{ /* 68190910-3318-11d2-97f0-00805f8a28d0 */ \
0x68190910, \
0x3318, \
0x11d2, \
{0x97, 0xf0, 0x00, 0x80, 0x5f, 0x8a, 0x28, 0xd0} \
};
#define NS_CLIVECONNECT_CID \
{ /* b8f0cef0-3931-11d2-97f0-00805f8a28d0 */ \
0xb8f0cef0, \
0x3931, \
0x11d2, \
{0x97, 0xf0, 0x00, 0x80, 0x5f, 0x8a, 0x28, 0xd0} \
};
#endif // nsILiveconnect_h___

View File

@@ -0,0 +1,148 @@
<RDF:RDF>
<Topic id="root" name="Wired Digital" largeIcon="http://static.wired.com/rdf/objects/w_largeIcon.gif" smallIcon="http://static.wired.com/rdf/objects/w_smallIcon.gif">
<child rdf:href="http://www.hotwired.com" name="HotWired Home Page" largeIcon="http://static.wired.com/rdf/objects/w_largeIcon.gif" smallIcon="http://static.wired.com/rdf/objects/w_smallIcon.gif"/>
<child>
<Topic id="Webmonkey" name="Webmonkey" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child rdf:href="http://www.webmonkey.com" name="Webmonkey Frontdoor" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child>
<Topic id="Crash Courses" name="Crash Courses" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child>
<Topic id="Web Design" name="Web Design" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child rdf:href="http://www.hotwired.com/webmonkey/98/07/index0a.html?collection=design" name="Day 1: The Foundations of Web Design" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/07/index1a.html?collection=design" name="Day 2: Aesthetics for the Web" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/07/index3a.html?collection=design" name="Day 3: Beyond The Basics" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/97/05/index2a.html?collection=design" name="Web Design 101" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/97/45/index0a.html?collection=design" name="Building a Better Monkey" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/11/index0a.html?collection=design" name="Ecological Design Moves Online" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/39/index0a.html?collection=design" name="Test Your Designs - on People!" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/13/index0a.html?collection=design" name="Big Minds on Web Design" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/01/index0a.html?collection=design" name="Be Your Own Design Team" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/22/index0a.html?collection=design" name="BLINK vs. MARQUEE" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/33/index0a.html?collection=design" name="The Future of Web Navigation" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/10/index0a.html?collection=design" name="Cultural Context Revisted" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/96/53/index3a.html?collection=design" name="Degrading Pages" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/04/index0a.html?collection=design" name="Design that Communicates Your Message" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/96/41/index0a.html?collection=design" name="Hypertext: The Web's Unsung Hero" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/30/index0a.html?collection=design" name="Why Channels Suck"/>
</Topic>
</child>
<child>
<Topic id="Javascript" name="Javascript" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child rdf:href="http://www.hotwired.com/webmonkey/98/03/index0a.html?collection=javascript" name="Thau's JavaScript Tutorial: Day 1" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/03/index2a.html?collection=javascript" name="Thau's JavaScript Tutorial: Day 2" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/03/index3a.html?collection=javascript" name="Thau's JavaScript Tutorial: Day 3" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/04/index1a.html?collection=javascript" name="Thau's JavaScript Tutorial: Day 4" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/04/index3a.html?collection=javascript" name="Thau's JavaScript Tutorial: Day 5 " smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
</Topic>
</child>
</Topic>
</child>
<child>
<Topic id="Dynamic HTML" name="Dynamic HTML" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child rdf:href="http://www.hotwired.com/webmonkey/98/10/index0a.html?collection=dynamic_html" name="Taylor's Dynamic HTML Tutorial - Day 1" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/10/index1a.html?collection=dynamic_html" name="Taylor's Dynamic HTML Tutorial - Day 2" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/10/index2a.html?collection=dynamic_html" name="Taylor's Dynamic HTML Tutorial - Day 3" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/10/index3a.html?collection=dynamic_html" name="Taylor's Dynamic HTML Tutorial - Day 4" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/98/10/index4a.html?collection=dynamic_html" name="Taylor's Dynamic HTML Tutorial - Day 5" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
</Topic>
</child>
<child>
<Topic id="HTML" name="HTML" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child rdf:href="http://www.hotwired.com/webmonkey/teachingtool/" name="Webmonkey: HTML Tutorial" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/17/index0a.html?collection=html" name="The History of HTML " smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/32/index0a.html?collection=html" name="What You Should Know about HTML 4.0" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/06/index0a.html?collection=html" name="HTML for Smart People" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/geektalk/97/11/index4a.html?collection=html" name="Accessible HTML" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/07/index0a.html?collection=html" name="Getting It Right" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/geektalk/97/36/index3a.html?collection=html" name="Symbols, Accents, and Funky Characters " smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/97/06/index2a.html?collection=html" name="Form(s) over Function" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child>
<Topic id="Frames" name="Frames" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child rdf:href="http://www.hotwired.com/webmonkey/html/96/31/index3a.html?collection=html" name="Frames Are A Picnic (Metaphorically Speaking)" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/geektalk/97/24/index3a.html?collection=html" name="Basic Frames Rehash" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/geektalk/97/02/index4a.html?collection=html" name="Changing Two Frames at Once" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/96/36/index2a.html?collection=html" name="Let's Talk Targeting" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/96/33/index2a.html?collection=html" name="Don't Forget the Non-Frames Folks" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
</Topic>
</child>
<child>
<Topic id="Tables" name="Tables" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child rdf:href="http://www.hotwired.com/webmonkey/html/96/47/index3a.html?collection=html" name="The Basic, Basic Table" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/96/48/index2a.html?collection=html" name="The Not-So-Basic Table" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/96/38/index2a.html?collection=html" name="The Well-Dressed Table" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
</Topic>
</child>
</Topic>
</child>
<child>
<Topic id="XML" name="XML" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/27/index0a.html?collection=html" name="XML: Metadata for the Rest of Us (Part 1)" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/28/index0a.html?collection=html" name="XML: Roll Your Own Markup Language (Part 2)" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/43/index0a.html?collection=html" name="Acronyms You Can't Live Without" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/97/48/index0a.html?collection=design" name="Smart Web Publishing into the Future" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
</Topic>
</child>
<child>
<Topic id="Stylesheets" name="Stylesheets" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif">
<child rdf:href="http://www.hotwired.com/webmonkey/html/96/34/index2a.html?collection=stylesheets" name="Inject some style (sheets) into your HTML" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/96/33/index0a.html?collection=stylesheets" name="The Wonderful World of Stylesheets" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/35/index0a.html?collection=stylesheets" name="Stylesheets - the next generation" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/demo/96/43/index4a.html?collection=stylesheets" name="Where are All the GIFs?" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/97/25/index2a.html?collection=stylesheets" name="Positioning with Stylesheets " smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/34/index0a.html?collection=stylesheets" name="CSS Filters and the Future" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/97/33/index1a.html?collection=stylesheets" name="Image Filtering with CSS" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/html/97/38/index1a.html?collection=stylesheets" name="Captain CURSOR!!!" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tools/97/13/index0a.html?collection=stylesheets" name="Time for stylesheets? Not quite yet." smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
</Topic>
</child>
</child>
<child rdf:href="http://www.hotwired.com/webmonkey/mail/mail.html" name="Subscribe to Webmonkey!" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/tuneup/" name="Browser Tuneup" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
<child rdf:href="http://www.hotwired.com/webmonkey/hideout/" name="About Webmonkey" smallIcon="http://static.wired.com/rdf/objects/webmonkey_small.gif"/>
</Topic>
</child>
<child>
<Topic name="Wired News" smallIcon="http://static.wired.com/rdf/objects/wirednews_small.gif">
<child rdf:href="http://www.wired.com/news/" name="Wired News Home Page" smallIcon="http://static.wired.com/rdf/objects/wirednews_small.gif"/>
<child rdf:href="http://www.wired.com/news/business/" name="Business" smallIcon="http://static.wired.com/rdf/objects/finance_small.gif"/>
<child rdf:href="http://www.wired.com/news/culture/" name="Culture" smallIcon="http://static.wired.com/rdf/objects/culture_small.gif"/>
<child rdf:href="http://www.wired.com/news/technology/" name="Technology" smallIcon="http://static.wired.com/rdf/objects/tech_small.gif"/>
<child rdf:href="http://www.wired.com/news/politics/" name="Politics" smallIcon="http://static.wired.com/rdf/objects/politics_small.gif"/>
<child rdf:href="http://www.wired.com/news/worldnews/" name="Global News" smallIcon="http://static.wired.com/rdf/objects/wirednews_small.gif"/>
</Topic>
</child>
<child>
<Topic name="HotBot" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif">
<child rdf:href="http://www.hotbot.com/" name="HotBot" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child rdf:href="http://www.hotbot.com/super.html" name="SuperSearch" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child>
<Topic id="Other Search Tools" name="Other Search Tools" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif">
<child rdf:href="http://www.hotbot.com/usenet/" name="Usenet" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child rdf:href="http://www.newsbot.com/" name="Top News Sites" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child rdf:href="http://www.hotbot.com/partners/business.html" name="Businesses" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child rdf:href="http://www.hotbot.com/partners/people.html" name="People" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child rdf:href="http://www.hotbot.com/partners/email.html" name="Email Adresses" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child rdf:href="http://www.classifieds2000.com/cgi-cls/display.exe?hotbot+class" name="Classifieds" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child rdf:href="http://www.hotbot.com/partners/websitez.html" name="Domain Names" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child rdf:href="http://stocks.hotbot.com/" name="Stocks" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
<child rdf:href="http://www.hotbot.com/partners/filez.html" name="ShareWare" smallIcon="http://static.wired.com/rdf/objects/hotbot_small.gif"/>
</Topic>
</child>
</Topic>
</child>
<child>
<Topic name="Wired Magazine" smallIcon="http://static.wired.com/rdf/objects/wiredmagazine_small.gif">
<child rdf:href="http://www.wired.com/wired/" name="Wired Magazine Archives" smallIcon="http://static.wired.com/rdf/objects/wiredmagazine_small.gif"/>
<child rdf:href="http://www.wired.com/wired/subscribe/" name="Subscribe to Wired Magazine" smallIcon="http://static.wired.com/rdf/objects/wiredmagazine_small.gif"/>
</Topic>
</child>
<child rdf:href="http://www.livewired.com/" name="LiveWired" smallIcon="http://static.wired.com/rdf/objects/livewired_small.gif"/>