Compare commits

..

5385 Commits

Author SHA1 Message Date
(no author)
00d4a00287 This commit was manufactured by cvs2svn to create tag 'Alias'.
git-svn-id: svn://10.0.0.236/tags/Alias@16559 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:00:18 +00:00
fur%netscape.com
6fdf35b4ee Adding SportModel, Warren Harris' partially complete garbage collector
code for the ElectricalFire JIT.


git-svn-id: svn://10.0.0.236/trunk@16558 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:00:17 +00:00
fur%netscape.com
d6c51785c1 Added Todd Proebsting's BURG to the tree, now that it's in the public domain.
git-svn-id: svn://10.0.0.236/trunk@16557 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 06:36:50 +00:00
wtc%netscape.com
00716e9f00 BSD/OS 4.0 fix, contributed by Bert Driehuis <driehuis@playbeing.org>.
git-svn-id: svn://10.0.0.236/trunk@16556 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 06:26:24 +00:00
sar%netscape.com
1d24e667da remove Mozilla from the list of cared about trees
git-svn-id: svn://10.0.0.236/trunk@16555 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 06:02:45 +00:00
sfraser%netscape.com
b49dbf5343 Add ; after class definition
git-svn-id: svn://10.0.0.236/trunk@16552 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 01:42:02 +00:00
law%netscape.com
e5f25e41f7 New bootstrapping code
git-svn-id: svn://10.0.0.236/trunk@16551 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 01:41:50 +00:00
sfraser%netscape.com
53f91a8d74 Add flag to clobber existing libraries and SYM files before building each project.
git-svn-id: svn://10.0.0.236/trunk@16548 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 01:24:37 +00:00
sfraser%netscape.com
2fdcede511 File Removed.
git-svn-id: svn://10.0.0.236/trunk@16547 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 01:21:56 +00:00
rods%netscape.com
a26d808264 Changed GetStyleHintForAttributeChange to return NS_STYLE_HINT_CONTENT
when there is a widget and return NS_STYLE_HINT_REFLOW when there isn't


git-svn-id: svn://10.0.0.236/trunk@16546 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 00:24:58 +00:00
buster%netscape.com
56e65bc685 use default constructor and destructor
git-svn-id: svn://10.0.0.236/trunk@16545 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 00:19:43 +00:00
hyatt%netscape.com
6156f1b8bc Fixing build bustage. Sorry!
git-svn-id: svn://10.0.0.236/trunk@16544 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 00:07:23 +00:00
hyatt%netscape.com
5ecb5d5e3e Fixing build bustage. Sorry!
git-svn-id: svn://10.0.0.236/trunk@16543 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 00:05:06 +00:00
mcmullen%netscape.com
9d22403d39 Set the error log file type so that it's a CodeWarrior file.
git-svn-id: svn://10.0.0.236/trunk@16542 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:48:55 +00:00
buster%netscape.com
ae77c06acc an encapsulation of border information
git-svn-id: svn://10.0.0.236/trunk@16541 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:42:22 +00:00
despotdaemon%netscape.com
3fcf8b76d0 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16540 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:16:22 +00:00
terry%netscape.com
1689e5634a Applied patch by cbaldwin@siara.com -- make sorting by "importance"
use "severity" as a secondary sort.  Fixes bug 1907.


git-svn-id: svn://10.0.0.236/trunk@16539 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:13:19 +00:00
hyatt%netscape.com
87091d27c8 Added code for hit detection. (Can now detect a hit on the trigger and tell
which row/column was hit.)


git-svn-id: svn://10.0.0.236/trunk@16538 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:02:30 +00:00
buster%netscape.com
14d33feee0 oops, there were duplicate entries for border collapse values. Now there's not.
git-svn-id: svn://10.0.0.236/trunk@16537 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:20:44 +00:00
buster%netscape.com
81b46aab62 WIP collapsing border work
git-svn-id: svn://10.0.0.236/trunk@16536 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:19:23 +00:00
hyatt%netscape.com
69cb7363fc Modifications for rollover color support.
git-svn-id: svn://10.0.0.236/trunk@16535 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:06:26 +00:00
davidm%netscape.com
dc02d2f159 Add mac code to get NSPR event queue for dispatching of link click events
git-svn-id: svn://10.0.0.236/trunk@16534 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:05:04 +00:00
davidm%netscape.com
beb59c3753 First pass at adding nspr event queue on the mac so that clicking on links works properly
git-svn-id: svn://10.0.0.236/trunk@16533 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:03:18 +00:00
sfraser%netscape.com
5fdb6c621c Fix the target name for building XPAppViewer.mcp
git-svn-id: svn://10.0.0.236/trunk@16532 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 21:45:20 +00:00
alecf%netscape.com
c6293b5192 don't use straight Makefiles
git-svn-id: svn://10.0.0.236/trunk@16531 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 19:23:08 +00:00
guha%netscape.com
e044ea58c6 more search stuff for opendir
git-svn-id: svn://10.0.0.236/trunk@16530 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 19:20:49 +00:00
wtc%netscape.com
1ea155fbbe Removed the #ifndef NO_NSPR_10_SUPPORT around the _PR_MD_GET_SP
macro definition.  This macro is used internally by NSPR20.


git-svn-id: svn://10.0.0.236/trunk@16529 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:56:01 +00:00
kin%netscape.com
54a8daa36c Turning on txmgr in the Unix and Windows builds.
git-svn-id: svn://10.0.0.236/trunk@16528 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:54:30 +00:00
kin%netscape.com
b8de20feb4 Backout previous changes to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@16527 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:52:23 +00:00
mjudge%netscape.com
5f09556bb7 write now takes ints instead of unsigned ints
git-svn-id: svn://10.0.0.236/trunk@16526 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:43:13 +00:00
kmcclusk%netscape.com
69c1a49b16 Fix for Linux build
git-svn-id: svn://10.0.0.236/trunk@16525 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:39:48 +00:00
akkana%netscape.com
b3419765c0 Adding public routine ComparePoints for mjudge
git-svn-id: svn://10.0.0.236/trunk@16524 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:36:48 +00:00
kmcclusk%netscape.com
6b50236c51 Added files to do postscript output.
git-svn-id: svn://10.0.0.236/trunk@16523 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:30:12 +00:00
kmcclusk%netscape.com
538ee8b859 Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.


git-svn-id: svn://10.0.0.236/trunk@16522 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:12:55 +00:00
dcone%netscape.com
47cce4fecb fixed resoluton problem for printing.
git-svn-id: svn://10.0.0.236/trunk@16521 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:02:38 +00:00
buster%netscape.com
7e9d6c54cd WIP on collapsing borders
git-svn-id: svn://10.0.0.236/trunk@16519 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 17:05:14 +00:00
cls%seawood.org
1ebcf35498 Apparently, nsIURL::GetSpec changed...
git-svn-id: svn://10.0.0.236/trunk@16518 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 11:33:33 +00:00
ramiro%netscape.com
6e143bcac4 Change #include "nsIHttpUrl.h" to #include "nsIHttpURL.h" for case sensitive
anality.


git-svn-id: svn://10.0.0.236/trunk@16517 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 10:27:49 +00:00
warren%netscape.com
fffed9ce8f Obsolete
git-svn-id: svn://10.0.0.236/trunk@16514 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 09:51:02 +00:00
warren%netscape.com
6a28c25b6f Removed nsURL.cpp
git-svn-id: svn://10.0.0.236/trunk@16513 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 09:50:19 +00:00
beard%netscape.com
41965931a0 Fixed case of nsIHttpURL.h
git-svn-id: svn://10.0.0.236/trunk@16511 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:56:10 +00:00
warren%netscape.com
614cfa76f7 Added include of autoconf.mk
git-svn-id: svn://10.0.0.236/trunk@16510 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:48:06 +00:00
warren%netscape.com
f1f63fd300 Fixed EXPORTS
git-svn-id: svn://10.0.0.236/trunk@16509 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:22:04 +00:00
warren%netscape.com
e7c800bb2f Fixed EXPORTS
git-svn-id: svn://10.0.0.236/trunk@16508 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:21:31 +00:00
warren%netscape.com
1dea681a6e Fixed some unsigned problems for the Mac.
git-svn-id: svn://10.0.0.236/trunk@16507 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:03:53 +00:00
warren%netscape.com
2fd20eda7f Added network/public/Makefile
git-svn-id: svn://10.0.0.236/trunk@16506 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 07:58:15 +00:00
sfraser%netscape.com
35363b3286 Fix the target name for building viewer.mcp
git-svn-id: svn://10.0.0.236/trunk@16505 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 06:50:27 +00:00
beard%netscape.com
55e404d5a1 Added new files.
git-svn-id: svn://10.0.0.236/trunk@16504 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 06:42:28 +00:00
buster%netscape.com
dd4dfe439e clean up, removed some obsolete methods
git-svn-id: svn://10.0.0.236/trunk@16503 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 06:33:15 +00:00
beard%netscape.com
a0fd7823b6 Fixed up exports.
git-svn-id: svn://10.0.0.236/trunk@16502 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 06:06:51 +00:00
beard%netscape.com
51b339a051 Removed nsIPostToServer.h (moved to public dir).
git-svn-id: svn://10.0.0.236/trunk@16501 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:59:42 +00:00
wtc%netscape.com
49b19a1a67 Replaced all but one use of IRIX5_3 by feature-based macros.
(Thanks to Brian Ostrom <briano@netscape.com>.)
Modified files: IRIX.mk and irix.c.


git-svn-id: svn://10.0.0.236/trunk@16500 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:58:43 +00:00
warren%netscape.com
83e04dcd25 new
git-svn-id: svn://10.0.0.236/trunk@16499 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:50:21 +00:00
wtc%netscape.com
1476b01c77 Include protypes.h only if NO_NSPR_10_SUPPORT is not defined.
Also, always define the data types PRWord and PRUword but
warn people not to use these two undocumented types in new code.


git-svn-id: svn://10.0.0.236/trunk@16498 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:46:32 +00:00
warren%netscape.com
fd5d879803 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16497 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:46:06 +00:00
troy%netscape.com
70e0a8cddb Fixed a crash when display www.sjmercury.com paginated, because we thought
we could re-use our cached cell desired info and we couldn't because there
was a next-in-flow frame and so we needed to reflow the cell frame and pull-up
its next-in-flow child frames


git-svn-id: svn://10.0.0.236/trunk@16496 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:41:57 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
troy%netscape.com
a8a9f7aeaa Changed SetRowIndex() to be inline and non-virtual
git-svn-id: svn://10.0.0.236/trunk@16494 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 04:31:38 +00:00
troy%netscape.com
37b2438c51 Removed InitRowData() member function which is now obsolete
git-svn-id: svn://10.0.0.236/trunk@16493 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 04:08:36 +00:00
cltbld%netscape.com
73c80e1f09 do not decend into xpfe if there is nothing to do there.
git-svn-id: svn://10.0.0.236/trunk@16492 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:59:13 +00:00
sfraser%netscape.com
3f462d434b Have pull{all} set all the other pull{}s.
git-svn-id: svn://10.0.0.236/trunk@16491 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:47:14 +00:00
troy%netscape.com
45e2d974e8 Some improvements to the row splitting code
git-svn-id: svn://10.0.0.236/trunk@16490 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:46:03 +00:00
sfraser%netscape.com
ef4f88d1b7 Ensure that default is to build all.
git-svn-id: svn://10.0.0.236/trunk@16489 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:44:58 +00:00
sfraser%netscape.com
e324dbae1d Assert on a null widget Ptr
git-svn-id: svn://10.0.0.236/trunk@16488 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:37:56 +00:00
sfraser%netscape.com
0e0e29c9c8 Remove bad ;
git-svn-id: svn://10.0.0.236/trunk@16487 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:37:13 +00:00
sfraser%netscape.com
5ba63fa656 Fix target and output libary names.
git-svn-id: svn://10.0.0.236/trunk@16486 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:34:58 +00:00
sfraser%netscape.com
86c67555dc Add more granularity to build options, make new routine to reconcile and build a project and make the aliases.
git-svn-id: svn://10.0.0.236/trunk@16485 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:31:18 +00:00
sfraser%netscape.com
f8738e790b Add more granularity to build options, fix the {all} flag to really pull/build everything.
git-svn-id: svn://10.0.0.236/trunk@16484 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:30:39 +00:00
sfraser%netscape.com
93175a9d1a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16483 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:28:54 +00:00
sfraser%netscape.com
04825239b5 Make sure the port is initialized before being used.
git-svn-id: svn://10.0.0.236/trunk@16482 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:59:31 +00:00
toshok%hungry.com
1716bebdaa (at least for GNUC platforms) don't rely on nasty division-by-zero tricks to generate +-inf and nan. instead borrow the bitlevel twiddling javascript uses. I would imagine that this would work for all platforms that use IEEE floats (which is necessarily all platforms for which EF will work), but someone else needs to figure out if windows will work with this code.
git-svn-id: svn://10.0.0.236/trunk@16481 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:38:18 +00:00
troy%netscape.com
3c043772bd Removed SetColIndex() which wasn't being used
git-svn-id: svn://10.0.0.236/trunk@16480 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:35:25 +00:00
ramiro%netscape.com
b251e7edab Yank xpviewer from the build on unix and win.
git-svn-id: svn://10.0.0.236/trunk@16479 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:33:41 +00:00
toshok%hungry.com
9829ca641c clear up screw up in previous commit.
git-svn-id: svn://10.0.0.236/trunk@16478 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:30:14 +00:00
toshok%hungry.com
7bb90048a0 install shared libs in dist/ARCH/bin, not dist/ARCH/lib - following the same convention as the mozilla tree.
git-svn-id: svn://10.0.0.236/trunk@16477 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:28:17 +00:00
toshok%hungry.com
0344418064 build shared libs with CC instead of LD.
git-svn-id: svn://10.0.0.236/trunk@16476 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:26:49 +00:00
guha%netscape.com
c2b7286754 more shit for opendir
git-svn-id: svn://10.0.0.236/trunk@16475 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:25:37 +00:00
gordon%netscape.com
436dd5e622 Update table of contents for files added to layout and rdf. This is only used by Patrick's build system changes.
git-svn-id: svn://10.0.0.236/trunk@16474 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:22:53 +00:00
toshok%hungry.com
be3cf9b82e dist is not one directory higher than ef.
git-svn-id: svn://10.0.0.236/trunk@16473 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:13:05 +00:00
donm%netscape.com
aa2eff126c backing out Shaver's changes. -donm
git-svn-id: svn://10.0.0.236/trunk@16472 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 00:49:36 +00:00
jfrancis%netscape.com
35b781edaa ComparePointToRange() now reuses IsIncreasing functionality; also fixed a for loop in DeleteContents()
git-svn-id: svn://10.0.0.236/trunk@16471 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 23:58:09 +00:00
michaelp%netscape.com
ce7a472f74 we now call GetNearestColor() in 16bpp when creating brushes and pens.
git-svn-id: svn://10.0.0.236/trunk@16470 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 23:13:59 +00:00
despotdaemon%netscape.com
48d7cbdc95 Pseudo-automatic update of changes made by ppandit@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16469 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 23:04:38 +00:00
waterson%netscape.com
f027e45add Fixed extra root node.
git-svn-id: svn://10.0.0.236/trunk@16468 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:55:59 +00:00
kmcclusk%netscape.com
392927ef69 Added more form elements to printer test
git-svn-id: svn://10.0.0.236/trunk@16467 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:51:49 +00:00
mcmullen%netscape.com
ab3213f20d Made all this build on Unix, using Macros up the wazoo
git-svn-id: svn://10.0.0.236/trunk@16466 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:45:09 +00:00
brade%netscape.com
0be011b818 typing hack extended to get it working on Macintosh
git-svn-id: svn://10.0.0.236/trunk@16465 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:34:54 +00:00
brade%netscape.com
afc9ac03c5 remove unnecessary functions which are in imglib
git-svn-id: svn://10.0.0.236/trunk@16464 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:27:03 +00:00
brade%netscape.com
1c0b61001a remove unnecessary files (including nspr group) and macToBeImplemented.cp
git-svn-id: svn://10.0.0.236/trunk@16463 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:25:45 +00:00
dcone%netscape.com
990c1c17d6 fixed the scaling bug
git-svn-id: svn://10.0.0.236/trunk@16462 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:22:40 +00:00
brade%netscape.com
dde36d487c fix compiler warning / bug: initialize index to 0 (reviewed peterl@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@16461 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:19:04 +00:00
sfraser%netscape.com
4348f6321d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16460 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:17:48 +00:00
shaver%netscape.com
a0097337f4 Make apprunner link dynamically.
Sprinkle Makefile.ins with NO_STATIC_LIB to speed the build and reduce the disk
requirements.


git-svn-id: svn://10.0.0.236/trunk@16459 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:17:14 +00:00
despotdaemon%netscape.com
c0a95f1d82 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@16458 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:15:18 +00:00
sfraser%netscape.com
85c73e1f43 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16457 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 21:59:40 +00:00
terry%netscape.com
e31b2db976 Oops; the magic partition is named 'despotaccess'.
git-svn-id: svn://10.0.0.236/trunk@16456 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 21:44:16 +00:00
troy%netscape.com
a6cb99357c Removed an assert that was being triggered in a caseI didn't expect
git-svn-id: svn://10.0.0.236/trunk@16455 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 21:26:05 +00:00
sfraser%netscape.com
c3693fede6 Make it build.
git-svn-id: svn://10.0.0.236/trunk@16454 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:13:41 +00:00
sfraser%netscape.com
c505b460e7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16453 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:12:50 +00:00
rods%netscape.com
d239199ee1 Added Pseudo-element styles for the scrollbar "look"
git-svn-id: svn://10.0.0.236/trunk@16452 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:11:57 +00:00
kmcclusk%netscape.com
8b74b7b8fe Fix for the Mac.
git-svn-id: svn://10.0.0.236/trunk@16451 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:08:50 +00:00
rods%netscape.com
ea9f077c63 Added painting methods for printing
git-svn-id: svn://10.0.0.236/trunk@16450 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:03:36 +00:00
kmcclusk%netscape.com
c36571afa1 Added code to render button using GFX for printing.
git-svn-id: svn://10.0.0.236/trunk@16449 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 18:50:21 +00:00
akkana%netscape.com
fb81fd89e2 Initial stab at CloneContents implementation
git-svn-id: svn://10.0.0.236/trunk@16448 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 18:47:44 +00:00
terry%netscape.com
cb4a178ce1 Patch from Ashley Clark <aclark@CS.UH.EDU>, which hopefully fixes bug 1499.
git-svn-id: svn://10.0.0.236/trunk@16447 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 18:13:12 +00:00
kipp%netscape.com
17c732418d Removed bogus null pointer check
git-svn-id: svn://10.0.0.236/trunk@16446 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 17:59:49 +00:00
kipp%netscape.com
5c3396dcd0 Added absmiddle to table halign values
git-svn-id: svn://10.0.0.236/trunk@16445 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 17:58:59 +00:00
kipp%netscape.com
150e5ffcba Map align=center to auto side margins
git-svn-id: svn://10.0.0.236/trunk@16444 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 17:58:45 +00:00
dcone%netscape.com
b18c392afc fixed some scaling issues for the mac, more to come
git-svn-id: svn://10.0.0.236/trunk@16443 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:56:53 +00:00
troy%netscape.com
e02d2dc1c0 Work-in-progress for splitting of table row frames
git-svn-id: svn://10.0.0.236/trunk@16442 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:39:09 +00:00
shaver%netscape.com
9e90a70671 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]


git-svn-id: svn://10.0.0.236/trunk@16441 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:32:37 +00:00
waterson%netscape.com
85f23406df Added nsStreamDataSource to the factory.
git-svn-id: svn://10.0.0.236/trunk@16434 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:49:03 +00:00
waterson%netscape.com
94e78ef4fe Added code to handle columns specified by an RDF sequence.
git-svn-id: svn://10.0.0.236/trunk@16433 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:48:22 +00:00
waterson%netscape.com
84459dcc40 Changed columns to use a sequence. Bug fix for bookmark names.
git-svn-id: svn://10.0.0.236/trunk@16432 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:48:01 +00:00
waterson%netscape.com
8fbc761b21 Removed #if 1's left around from mjudge's selection changes.
git-svn-id: svn://10.0.0.236/trunk@16431 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:47:10 +00:00
waterson%netscape.com
ad0ce1c24d Added factory function for nsStreamDataSource.
git-svn-id: svn://10.0.0.236/trunk@16430 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:46:22 +00:00
waterson%netscape.com
7ca2eba892 Silly bug fixes.
git-svn-id: svn://10.0.0.236/trunk@16429 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:45:25 +00:00
waterson%netscape.com
1197d3600f Added utility routines to create RDF Sequence and Bag objects. Added prototype for RDF container cursor. Added some comments.
git-svn-id: svn://10.0.0.236/trunk@16428 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:44:40 +00:00
waterson%netscape.com
cbdcab6dab Added utility routines to create RDF Sequence and Bag objects. Expanded rdf_IsContainer() to accept sequences.
git-svn-id: svn://10.0.0.236/trunk@16427 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:44:11 +00:00
waterson%netscape.com
8bf4e3b0b0 Added nsContainerCursor and nsStreamDataSource to the build.
git-svn-id: svn://10.0.0.236/trunk@16426 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:42:18 +00:00
waterson%netscape.com
550a0137e7 Added StreamDataSource CID.
git-svn-id: svn://10.0.0.236/trunk@16425 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:40:29 +00:00
ramiro%netscape.com
ddbc3a26e0 Rename 'libdbm' to 'libmozdbm' and 'libutil' to 'libmozutil.
This will fix the problem many people are reporting wrt conflicts with
system libraries that have the same names.


git-svn-id: svn://10.0.0.236/trunk@16424 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:37:32 +00:00
ramiro%netscape.com
9f6c27385c Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@16423 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:32:11 +00:00
ramiro%netscape.com
e4a1b5c41f Make it link again.
git-svn-id: svn://10.0.0.236/trunk@16422 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:31:57 +00:00
vidur%netscape.com
290921df31 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript.
git-svn-id: svn://10.0.0.236/trunk@16421 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 06:10:59 +00:00
raman%netscape.com
b40d7ccdf1 Checking in changes from Bob Glickstein
git-svn-id: svn://10.0.0.236/trunk@16420 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:53:19 +00:00
michaelp%netscape.com
3d6d1f72b8 added ability to create a drawing surface from an HDC under windows.
git-svn-id: svn://10.0.0.236/trunk@16419 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:51:30 +00:00
michaelp%netscape.com
5f60004b2a made damagearea management more aggressive as a temporary fix until
individual classes can to the right thing.


git-svn-id: svn://10.0.0.236/trunk@16418 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:49:48 +00:00
michaelp%netscape.com
72b9fbb09b we not put the responsibility for managing damage regions into the widget
code instead of doing it in the viewmanager. this allows us to paint much
more optimally.


git-svn-id: svn://10.0.0.236/trunk@16417 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:47:25 +00:00
michaelp%netscape.com
22e651792f we no longer tell the widgets to paint themselves as a result of
a resize operation.


git-svn-id: svn://10.0.0.236/trunk@16416 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:45:05 +00:00
michaelp%netscape.com
5c2ef95d1e we now pass the damage region given to us in BeginPaint() into the
rendering context for better damage management.


git-svn-id: svn://10.0.0.236/trunk@16415 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:44:21 +00:00
jfrancis%netscape.com
c429df6955 implemented toString() + minor fixmeups
git-svn-id: svn://10.0.0.236/trunk@16414 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:42:29 +00:00
kipp%netscape.com
154911fa72 Added NS_FRAME_IS_REPLACED macro
git-svn-id: svn://10.0.0.236/trunk@16413 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:21:56 +00:00
kipp%netscape.com
2e8adddd5b Fixed up absolute and floating frame types to support replaced variants
git-svn-id: svn://10.0.0.236/trunk@16412 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:21:28 +00:00
kipp%netscape.com
d2b528951f Moved floater reflow out of PlaceFloater and into AddFloater so that floaters are only reflowed during reflow, not during placement; Added code to support css 10.3.5; reflow floaters more often so that % width values are recomputed properly
git-svn-id: svn://10.0.0.236/trunk@16411 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:20:54 +00:00
waterson%netscape.com
c42397f0f7 Added nsStreamDataSource.cpp and nsContainerCursor.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@16410 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:14:12 +00:00
pierre%netscape.com
925da68c47 don't dispatch Update event when the widget has drawn itself already
git-svn-id: svn://10.0.0.236/trunk@16409 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:03:38 +00:00
waterson%netscape.com
c7807b0694 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@16408 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:03:24 +00:00
pierre%netscape.com
17ee92de4e added OnPaint() to return 'false' and notify nsWindow not to dispatch the Update event
git-svn-id: svn://10.0.0.236/trunk@16407 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:03:09 +00:00
wtc%netscape.com
cdaaa17945 In ntio.c, w95io.c, _PR_MD_OPEN, handle all combinations of
PR_CREATE_FILE and PR_TRUNCATE correctly.


git-svn-id: svn://10.0.0.236/trunk@16406 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:58:53 +00:00
waterson%netscape.com
03e5647e91 Added additional comments to clarify the API.
git-svn-id: svn://10.0.0.236/trunk@16405 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:49:36 +00:00
cls%seawood.org
4c418bae35 Added build option for idl tool. Thanks to Tague Griffith <tague@netscape.com> for the patch and the patience while I fumbled this patch. :)
git-svn-id: svn://10.0.0.236/trunk@16404 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:24:59 +00:00
cls%seawood.org
ee193ef351 Fixed redefinition warning
git-svn-id: svn://10.0.0.236/trunk@16403 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:21:23 +00:00
sfraser%netscape.com
b855c2224f Fixed Show() to store a full UNIX path to the selected file
git-svn-id: svn://10.0.0.236/trunk@16402 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:11:59 +00:00
sfraser%netscape.com
5c2a49946c Add nsFileSpec.h and nsFileStream.h
git-svn-id: svn://10.0.0.236/trunk@16401 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:08:57 +00:00
pierre%netscape.com
b3260e79f3 added nsDialog.cpp ans nsLabel.cpp
git-svn-id: svn://10.0.0.236/trunk@16400 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:05:50 +00:00
pierre%netscape.com
44872cb156 support nsDialog ans nsLabel
git-svn-id: svn://10.0.0.236/trunk@16399 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:05:06 +00:00
pierre%netscape.com
daec709396 fixed bug where the Find dialog would not show up again after being dismissed
git-svn-id: svn://10.0.0.236/trunk@16398 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:04:22 +00:00
pierre%netscape.com
d4a2037c77 support dialogs
git-svn-id: svn://10.0.0.236/trunk@16397 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:03:10 +00:00
pierre%netscape.com
6ddaa74f65 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16396 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:00:25 +00:00
kin%netscape.com
0d2bb86e8d Added OPTIMIZATION comment.
git-svn-id: svn://10.0.0.236/trunk@16395 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 02:12:25 +00:00
kin%netscape.com
0f65caf3dd Added tests for SetMaxTransactionCount().
git-svn-id: svn://10.0.0.236/trunk@16394 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 02:11:53 +00:00
kin%netscape.com
7018fe3720 Removed ';' in IID defines. This was causing a problem on the Mac.
git-svn-id: svn://10.0.0.236/trunk@16393 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 02:11:17 +00:00
kipp%netscape.com
b079346b21 Landed a patch from bobg@zanshin.com
git-svn-id: svn://10.0.0.236/trunk@16392 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 01:34:36 +00:00
mcafee%netscape.com
202af650d9 Adding Unix makefile
git-svn-id: svn://10.0.0.236/trunk@16391 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 01:27:04 +00:00
pierre%netscape.com
9b0e44bc06 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16390 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 01:06:58 +00:00
guha%netscape.com
f0571c2a80 Another try at search
git-svn-id: svn://10.0.0.236/trunk@16389 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:47:13 +00:00
pinkerton%netscape.com
d1317f2880 add nsHTToolbarContentModel.cpp to obj's as well as src's. Doh!
git-svn-id: svn://10.0.0.236/trunk@16388 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:42:55 +00:00
kipp%netscape.com
2ce3039b2f Print out state bits in hex too
git-svn-id: svn://10.0.0.236/trunk@16387 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:32 +00:00
kipp%netscape.com
a7b5b1756b #ifdef'd out the outside-children state methods
git-svn-id: svn://10.0.0.236/trunk@16386 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:21 +00:00
kipp%netscape.com
24118eb742 Reworked line-height handling: correctly implements the spec; use value computed by nsHTMLReflowState::CalcLineHeight
git-svn-id: svn://10.0.0.236/trunk@16385 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:00 +00:00
kipp%netscape.com
d37bc79ff0 Removed CalcLineHeightFor
git-svn-id: svn://10.0.0.236/trunk@16384 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:15:11 +00:00
kipp%netscape.com
6d68b31e76 Added CalcLineHeight and store it in mLineHeight
git-svn-id: svn://10.0.0.236/trunk@16383 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:56 +00:00
kipp%netscape.com
4e857157a0 Added CalcLineHeight and apply it to inline non-replaced elements as a constrained height
git-svn-id: svn://10.0.0.236/trunk@16382 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:36 +00:00
cyeh%netscape.com
61412b1a29 latest script used to power autoconf builds of raptor. this script
doesn't use a config file, and is used for example purposes only with no support


git-svn-id: svn://10.0.0.236/trunk@16381 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:25 +00:00
kipp%netscape.com
c2218cb81a Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state
git-svn-id: svn://10.0.0.236/trunk@16380 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:09 +00:00
guha%netscape.com
9e0c533ef7 add search to the big graph
git-svn-id: svn://10.0.0.236/trunk@16379 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:11:09 +00:00
locka%iol.ie
196afe06c1 Added more event handlers and diagnostics
git-svn-id: svn://10.0.0.236/trunk@16378 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:05:28 +00:00
pinkerton%netscape.com
0fda51f903 don't build xpfeViewer anymore (obsolete).
git-svn-id: svn://10.0.0.236/trunk@16377 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:54:23 +00:00
pinkerton%netscape.com
fb8232ca54 add nsHTToolbarContentModel.cpp
git-svn-id: svn://10.0.0.236/trunk@16376 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:51:34 +00:00
pinkerton%netscape.com
ceee8b0c9e minor tweaks to nsBasicStyleInfo struct.
git-svn-id: svn://10.0.0.236/trunk@16375 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:51:04 +00:00
pinkerton%netscape.com
59448b1e96 Talk to new nsHTToolbarDataModel
git-svn-id: svn://10.0.0.236/trunk@16374 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:50:34 +00:00
kin%netscape.com
171b21fb37 Added TestTransactionFactory classes. Got rid of duplicate test/stress
functions.


git-svn-id: svn://10.0.0.236/trunk@16373 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:50:27 +00:00
pinkerton%netscape.com
1ce1ff99f0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16372 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:50:02 +00:00
wtc%netscape.com
ca19426d30 Removed unnecessary -L/lib.
git-svn-id: svn://10.0.0.236/trunk@16371 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:30:43 +00:00
akkana%netscape.com
d58d0a3921 Tracking jfrancis' iterator check-in
git-svn-id: svn://10.0.0.236/trunk@16370 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:18:46 +00:00
jfrancis%netscape.com
1c1c6429fe adding nsContentIterator
git-svn-id: svn://10.0.0.236/trunk@16369 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:17:52 +00:00
jfrancis%netscape.com
fee6efbada First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16368 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:16:31 +00:00
brade%netscape.com
c0fb04fc5f (per macdev mtg) always turn on RTTI in all projects
git-svn-id: svn://10.0.0.236/trunk@16367 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:57:45 +00:00
wtc%netscape.com
d1ce96d0b6 Minor cleanup/fix in DoScanf.
git-svn-id: svn://10.0.0.236/trunk@16366 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:49:47 +00:00
guha%netscape.com
3f23052215 Add mail.c to the repository (not referenced from anywhere yet)
git-svn-id: svn://10.0.0.236/trunk@16365 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:49:29 +00:00
wtc%netscape.com
7c5994a202 Misc. changes for Digital Unix and pthreads. Digital Unix's ld does
not understand the -h option but has an equivalent -soname option.
Check for the symbol pthread_attr_init instead of pthread_create in
libpthread because DCE threads also has the symbol pthread_create.


git-svn-id: svn://10.0.0.236/trunk@16364 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:48:03 +00:00
pnunn%netscape.com
6592ea720c fix to squelch some mac warnings. -pnunn.
git-svn-id: svn://10.0.0.236/trunk@16363 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:42:06 +00:00
guha%netscape.com
cfdde8ce49 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@16362 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 20:51:53 +00:00
mjudge%netscape.com
3820937d83 updating txmgr..
git-svn-id: svn://10.0.0.236/trunk@16361 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 20:38:36 +00:00
waterson%netscape.com
b122062afc Add NameSpaceManagerCID to list of registered CIDs.
git-svn-id: svn://10.0.0.236/trunk@16360 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 19:50:57 +00:00
waterson%netscape.com
75bbf4231c Make sure to attach the newly created column element to the right place.
git-svn-id: svn://10.0.0.236/trunk@16359 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 19:50:18 +00:00
mjudge%netscape.com
73b2bc6983 caps strikes again
git-svn-id: svn://10.0.0.236/trunk@16355 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 19:10:37 +00:00
shaver%netscape.com
483f66118d Now use MODULE instead of MODULE_NAME.
Update README for new libIDL version.
Add -o basename option and use proper output.
Eradicate some final stdout references.
Pretty printing, whee.
New |operator delete| and |IID| stuff for scc.
Support for raw codefrags (``%{ C++\n ... \n%}\n'') and more bufmgmt debugging.
Use IDL_file_set everywhere.


git-svn-id: svn://10.0.0.236/trunk@16354 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:47:39 +00:00
mjudge%netscape.com
6e0b2ad629 txmgr changes not built yet
git-svn-id: svn://10.0.0.236/trunk@16353 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:46:13 +00:00
cyeh%netscape.com
8f536c20d5 fix path problem (that could cause OpenErrorLog() to die) and also
change log name to something more meaningful and to something that
won't collide with a compile log from a previous run


git-svn-id: svn://10.0.0.236/trunk@16352 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:41:44 +00:00
kin%netscape.com
0b5f55908a Removed src directory from list of includes.
git-svn-id: svn://10.0.0.236/trunk@16351 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:39:33 +00:00
kin%netscape.com
fb5695338a Removed src directory from includes list.
git-svn-id: svn://10.0.0.236/trunk@16350 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:39:14 +00:00
kin%netscape.com
5bb6af4f01 Added LLIBS and MISCDEP.
git-svn-id: svn://10.0.0.236/trunk@16349 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:37:46 +00:00
mjudge%netscape.com
5f6331ba4d fixing registry for the range class
git-svn-id: svn://10.0.0.236/trunk@16348 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:34:34 +00:00
mjudge%netscape.com
e19079121c adding in selection
git-svn-id: svn://10.0.0.236/trunk@16347 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:34:14 +00:00
mjudge%netscape.com
68159176d3 adding focus tracker
git-svn-id: svn://10.0.0.236/trunk@16346 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:31:13 +00:00
ramiro%netscape.com
7a71f65f31 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@16345 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 16:27:13 +00:00
pierre%netscape.com
72531f0b59 Fix resource path of throbber images
git-svn-id: svn://10.0.0.236/trunk@16344 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 06:42:02 +00:00
troy%netscape.com
0e65aac3d0 Tables now clear the isTopOfPage when appropriate
git-svn-id: svn://10.0.0.236/trunk@16343 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 01:24:11 +00:00
guha%netscape.com
5aaac3f56b bunch of fixes to make it run properly under Solaris
git-svn-id: svn://10.0.0.236/trunk@16342 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 23:45:53 +00:00
beard%netscape.com
73e5094949 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16341 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 23:27:52 +00:00
beard%netscape.com
f4eea4abb9 Added .log files, and modification date comparison. Should make average case build times unchanged. This is still not enabled. The MRO and sort scripting additions need to be added to the build suite.
git-svn-id: svn://10.0.0.236/trunk@16340 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 23:24:01 +00:00
mcafee%netscape.com
f7b0720a2d Adding -l build/autoconf flag to autoconf, per cls's comment in the aclocal.m4 log
git-svn-id: svn://10.0.0.236/trunk@16339 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 22:34:17 +00:00
av%netscape.com
e8905988f4 Making object tag to display alternative context
git-svn-id: svn://10.0.0.236/trunk@16338 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:44:55 +00:00
locka%iol.ie
73013502d6 Added Debug menu and menu option to list the IOleCommandTarget supported commands on each control
git-svn-id: svn://10.0.0.236/trunk@16337 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:43:25 +00:00
locka%iol.ie
78980b8e5b Tweaked QueryInterface implementation
git-svn-id: svn://10.0.0.236/trunk@16336 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:41:46 +00:00
locka%iol.ie
f46aba1bae Modified IOleCommandTarget to support the same commands as IE
git-svn-id: svn://10.0.0.236/trunk@16335 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:41:04 +00:00
locka%iol.ie
284bd9d1ad Added preliminary support for windowless controls
git-svn-id: svn://10.0.0.236/trunk@16334 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:39:46 +00:00
beard%netscape.com
0ffd6d37da First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16333 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:12:19 +00:00
beard%netscape.com
7a87a8d596 Now does a list compare of target files before performing a merge pass.
git-svn-id: svn://10.0.0.236/trunk@16332 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:11:47 +00:00
beard%netscape.com
bcecb262db Now includes.exp files.
git-svn-id: svn://10.0.0.236/trunk@16331 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 18:33:00 +00:00
beard%netscape.com
560940ca2f Regenerated with GenToc.
git-svn-id: svn://10.0.0.236/trunk@16330 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 18:15:37 +00:00
beard%netscape.com
d0e372deb7 Mac project reconciliation. MANIFESTO.pm is currently disabled.
git-svn-id: svn://10.0.0.236/trunk@16329 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 07:11:44 +00:00
beard%netscape.com
c716c4a913 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16328 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 05:14:29 +00:00
beard%netscape.com
ec4c624a54 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16327 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 05:08:00 +00:00
beard%netscape.com
a4edceb665 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16326 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 05:01:04 +00:00
hyatt%netscape.com
c213bf9385 Fixing a minor drawing bug (filling in of the blank lines in the tree).
git-svn-id: svn://10.0.0.236/trunk@16325 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 01:20:35 +00:00
kipp%netscape.com
21b1837275 When verify-reflow-all is enabled, update the display after each reflow and pause for a while
git-svn-id: svn://10.0.0.236/trunk@16323 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:21:05 +00:00
kipp%netscape.com
c8a7ca5e0b Factored out whitespace trimming from horizontal alignment
git-svn-id: svn://10.0.0.236/trunk@16322 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:35 +00:00
kipp%netscape.com
79aff1475c Made ListTag more usable for all frame types, not just derivations of nsFrame
git-svn-id: svn://10.0.0.236/trunk@16321 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:10 +00:00
kipp%netscape.com
82c8bb51be Moved a #if 0 to get rid of a compiler warning
git-svn-id: svn://10.0.0.236/trunk@16320 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:48 +00:00
kipp%netscape.com
85576f2757 Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them
git-svn-id: svn://10.0.0.236/trunk@16319 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:11 +00:00
kipp%netscape.com
23fbf960e6 Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method
git-svn-id: svn://10.0.0.236/trunk@16318 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:18:28 +00:00
kipp%netscape.com
ac10ae1a6e Revised ClearFloaters to loop so that all appropriate floaters are cleared
git-svn-id: svn://10.0.0.236/trunk@16317 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:17:58 +00:00
troy%netscape.com
0f21502444 Changed comments to conform to CSS2 guidelines for C-style comments
git-svn-id: svn://10.0.0.236/trunk@16316 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:07:38 +00:00
troy%netscape.com
6d649a1f27 Changed inline and block reflow code to reset reflow state's isTopOfPage
data member based on whether IsAdjacentWithTop() is true


git-svn-id: svn://10.0.0.236/trunk@16315 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:59:30 +00:00
troy%netscape.com
5b41f50a55 Changed Reflow() to set isTopOfPage in reflow state
git-svn-id: svn://10.0.0.236/trunk@16314 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:58:18 +00:00
troy%netscape.com
40180a9345 Added isTopOfPage to nsIFrameReflow
git-svn-id: svn://10.0.0.236/trunk@16313 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:57:47 +00:00
rth%cygnus.com
b6e23e71e1 Detect and handle overloaded methods.
git-svn-id: svn://10.0.0.236/trunk@16312 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 08:21:25 +00:00
rth%cygnus.com
3a6c1f822f Re-implement for your legal protection.
git-svn-id: svn://10.0.0.236/trunk@16311 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 08:20:30 +00:00
rth%cygnus.com
602715aa5d Add missing java class include files.
git-svn-id: svn://10.0.0.236/trunk@16310 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 08:18:07 +00:00
rth%cygnus.com
4ff48ea3da Insert directory entries into a SortedTree for searching.
git-svn-id: svn://10.0.0.236/trunk@16309 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 05:23:36 +00:00
rth%cygnus.com
c4a9714f3e (EF_LIBS): Add DebuggerChannel and EFDisassemble.
(JAVAH): Set LD_LIBRARY_PATH.


git-svn-id: svn://10.0.0.236/trunk@16308 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:10:43 +00:00
rth%cygnus.com
47a1d7b033 (MKSHLIB): Must use gcc, not ld, to create shared libraries w/ constructors.
(NSPR_THREAD_LIBS): New.


git-svn-id: svn://10.0.0.236/trunk@16307 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:09:28 +00:00
rth%cygnus.com
e4d95b9e00 (LIBRARY_NAME): Change to EFDisassemble.
git-svn-id: svn://10.0.0.236/trunk@16306 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:08:12 +00:00
rth%cygnus.com
b8c872a73d (DIRS): Wildcard on the cpu, so that processors that do not have
disassemblers can still build.


git-svn-id: svn://10.0.0.236/trunk@16305 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:07:44 +00:00
rth%cygnus.com
32c02678df Use local labels as needed.
git-svn-id: svn://10.0.0.236/trunk@16304 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:06:58 +00:00
rth%cygnus.com
8981c7a2bd (GetPassedException): Abort. The existing "mov ecx,E" thing can not work.
Plus it generated invalid assembly.


git-svn-id: svn://10.0.0.236/trunk@16303 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:06:26 +00:00
rth%cygnus.com
6b2df5a9e9 Streamline INLINE_GET_EBP.
Error if this file is used on anything except x86.


git-svn-id: svn://10.0.0.236/trunk@16302 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:04:01 +00:00
rth%cygnus.com
c103052793 ANSI C++ disallows reinterpret_cast between objects and functions.
git-svn-id: svn://10.0.0.236/trunk@16301 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:02:56 +00:00
rth%cygnus.com
812e904367 Make sure nsinstall gets built before make export tries to use it.
git-svn-id: svn://10.0.0.236/trunk@16300 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:02:05 +00:00
cls%seawood.org
33093a91fe Updated to most recent versions from automake 1.2b so that libtool will work properly
git-svn-id: svn://10.0.0.236/trunk@16299 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 03:13:46 +00:00
kipp%netscape.com
4b719d4fb1 Repaired the background image rendering code to properly factor in the dirty-rect with background-position handling (bug #912)
git-svn-id: svn://10.0.0.236/trunk@16298 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 03:06:02 +00:00
kipp%netscape.com
2008c897f6 I disabled selection rendering until it works again
git-svn-id: svn://10.0.0.236/trunk@16297 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 03:05:24 +00:00
cls%seawood.org
42ddaac986 Moved gtk macros into separate file to make way for new macros with conflicting licenses. Requires that autoconf be called with '-l build/autoconf'.
git-svn-id: svn://10.0.0.236/trunk@16296 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:41:17 +00:00
cls%seawood.org
f5724875cf Start enforcing the requirement of autoconf 2.12 or higher.
git-svn-id: svn://10.0.0.236/trunk@16295 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:39:21 +00:00
leaf%mozilla.org
a034770e1f Adding fix to apprunner link problem. (from braddr@portland.puremagic.com)
git-svn-id: svn://10.0.0.236/trunk@16294 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:28:56 +00:00
mcmullen%netscape.com
30f968dd50 Deal with the case of a null string.
git-svn-id: svn://10.0.0.236/trunk@16293 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:07:11 +00:00
leaf%mozilla.org
42314a8047 Adding NSPR and client.mak for windows builds, and MozillaLicense just because
git-svn-id: svn://10.0.0.236/trunk@16292 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:02:57 +00:00
guha%netscape.com
bd2a632853 another pass at dynamic generation of open directory pages
git-svn-id: svn://10.0.0.236/trunk@16291 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:58:15 +00:00
beard%netscape.com
9beefb1f0e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16290 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:33:27 +00:00
law%netscape.com
54ddc73d23 Minor fix in operator=
git-svn-id: svn://10.0.0.236/trunk@16289 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:28:28 +00:00
scc%netscape.com
6ae6d4c919 VC++4.2 can't use a declaration expression as a test. Oh well. Moved declaration to outside the test.
git-svn-id: svn://10.0.0.236/trunk@16288 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:26:11 +00:00
law%netscape.com
06a4324063 Add NS_BASE to cause export from dll on Windows
git-svn-id: svn://10.0.0.236/trunk@16287 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:25:32 +00:00
cyeh%netscape.com
342f0ee7ff fix annoying little bug where if you specify an invalid log path, the open file call would fail, and you would silently get no build log.
now we check to see if open() succeeded, and if not, die accordingly.


git-svn-id: svn://10.0.0.236/trunk@16286 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 00:02:38 +00:00
mcmullen%netscape.com
9858d9f31a More windows stuff.
git-svn-id: svn://10.0.0.236/trunk@16285 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:52:31 +00:00
scc%netscape.com
622699edf5 wrong file checked in, checking in the real one (just in case)
git-svn-id: svn://10.0.0.236/trunk@16284 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:49:04 +00:00
scc%netscape.com
0dfcb344e8 Significantly upgraded functionality to automatically call QueryInterface when assigning in incompatible pointers.
git-svn-id: svn://10.0.0.236/trunk@16283 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:43:00 +00:00
mjudge%netscape.com
2f44b6d466 changing the calling to the editor factory
git-svn-id: svn://10.0.0.236/trunk@16282 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:40:01 +00:00
mjudge%netscape.com
700ea1ddd8 adding iid to generated file. this is ok we need this for COM ptrs
git-svn-id: svn://10.0.0.236/trunk@16281 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:38:30 +00:00
mjudge%netscape.com
1bf5aab121 adding iid to the interfaces to support auto query interface
git-svn-id: svn://10.0.0.236/trunk@16280 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:36:35 +00:00
mjudge%netscape.com
264ea86016 adding IID to auto generated files
git-svn-id: svn://10.0.0.236/trunk@16279 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:36:04 +00:00
mjudge%netscape.com
65e0597fad adding IID for now, auto generate will duplicate work that is ok
git-svn-id: svn://10.0.0.236/trunk@16278 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:35:46 +00:00
mcmullen%netscape.com
d634634ab5 More windows tweaks
git-svn-id: svn://10.0.0.236/trunk@16277 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:05:24 +00:00
hyatt%netscape.com
2bd2fc024d Fixing the content model structure and correcting a drawing error
in the tree view.


git-svn-id: svn://10.0.0.236/trunk@16276 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:01:09 +00:00
kipp%netscape.com
3c1b246951 Compute correct Y coordinate after clear floaters; fixed bullet positioning bug when placing a bullet next to a block frame that has a carried-out top margin
git-svn-id: svn://10.0.0.236/trunk@16275 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:26:45 +00:00
kipp%netscape.com
a29aa1b885 When dealing with a percentage-width HR, don't let it impact the max-element-size.width inappropriately
git-svn-id: svn://10.0.0.236/trunk@16274 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:23:18 +00:00
kipp%netscape.com
02d3e99208 Futzed with list item handling a bit
git-svn-id: svn://10.0.0.236/trunk@16273 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:22:29 +00:00
waterson%netscape.com
5ee212993e Got rid of NS_DYNAMIC_CAST() macro at scc's prodding.
git-svn-id: svn://10.0.0.236/trunk@16272 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 21:39:18 +00:00
terry%netscape.com
0c80c991ae Added Mac System 8.5.
git-svn-id: svn://10.0.0.236/trunk@16271 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 21:33:36 +00:00
waterson%netscape.com
95c6ebeff9 Got rid of NS_DYNAMIC_CAST() macro -- it's bogus.
git-svn-id: svn://10.0.0.236/trunk@16270 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 20:32:22 +00:00
jfrancis%netscape.com
517982ca42 more preperation for adding tx mgr stuff to mac build
git-svn-id: svn://10.0.0.236/trunk@16269 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 19:25:48 +00:00
buster%netscape.com
be457e5620 fixed a minor bug in incremental reflow where the reflow state's "widthConstraint" wasn't getting set
git-svn-id: svn://10.0.0.236/trunk@16268 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:54:58 +00:00
rth%cygnus.com
f857e60a6a The arch bits call for Linux{ver} not LinuxELF{ver}.
git-svn-id: svn://10.0.0.236/trunk@16267 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:49:27 +00:00
rth%cygnus.com
c5788fe90b Re-implement for your legal protection.
git-svn-id: svn://10.0.0.236/trunk@16266 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:37:20 +00:00
rth%cygnus.com
c3a25ce396 Use a proper sigcontext for Linux, just as is done for BSD.
git-svn-id: svn://10.0.0.236/trunk@16265 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:35:52 +00:00
rth%cygnus.com
eeae032cab Fix bogus gcc x86 asms.
git-svn-id: svn://10.0.0.236/trunk@16264 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:33:48 +00:00
mcmullen%netscape.com
ddd96eff8f And again.
git-svn-id: svn://10.0.0.236/trunk@16263 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:17:22 +00:00
jfrancis%netscape.com
708dad24a0 getting transaction manager ready for addition to mac build
git-svn-id: svn://10.0.0.236/trunk@16262 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:13:11 +00:00
vidur%netscape.com
b0dbe3d498 Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser.
git-svn-id: svn://10.0.0.236/trunk@16261 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 17:02:37 +00:00
pinkerton%netscape.com
7e05adc4f3 Explanation of why this file is obsolete but still in the tree.
git-svn-id: svn://10.0.0.236/trunk@16260 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:39:29 +00:00
pinkerton%netscape.com
1176055d5e Tree view is no longer an nsITreeView but an nsIContentConnector.
git-svn-id: svn://10.0.0.236/trunk@16259 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:36:21 +00:00
pinkerton%netscape.com
5bfa89ff0f use NS_STATIC_CAST.
git-svn-id: svn://10.0.0.236/trunk@16258 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:35:48 +00:00
pinkerton%netscape.com
1fc8a6851a fix a cast with the tree view because nsITreeView doesn't exist anymore.
git-svn-id: svn://10.0.0.236/trunk@16257 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:35:33 +00:00
pinkerton%netscape.com
8787f20110 make tree view implement nsIContentConnector, obsoleting nsITreeView
git-svn-id: svn://10.0.0.236/trunk@16256 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:35:08 +00:00
pinkerton%netscape.com
e389e79aad Make toolbar manager implement nsIContentConnector and prepare for nsIToolbarManager to go away.
git-svn-id: svn://10.0.0.236/trunk@16255 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:34:46 +00:00
pinkerton%netscape.com
4025e77255 Make toolbar implement nsIContentConnector and prepare for nsIToolbar to go away.
git-svn-id: svn://10.0.0.236/trunk@16254 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:34:25 +00:00
pinkerton%netscape.com
657877c4c1 Export nsIContentConnector.h instead of nsITreeView.h
git-svn-id: svn://10.0.0.236/trunk@16253 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:33:40 +00:00
pinkerton%netscape.com
31b61316a8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16252 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:32:39 +00:00
dcone%netscape.com
2cd6154e04 minor fix for the printers port
git-svn-id: svn://10.0.0.236/trunk@16251 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:09:28 +00:00
dcone%netscape.com
88dfff190c moved the begindocument() so things can be set up before the device context is inited and the size of the printer page is needed.
git-svn-id: svn://10.0.0.236/trunk@16250 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:07:10 +00:00
dcone%netscape.com
a1329a49b0 Fixed it so that a control handle is not made unless a valid windowptr is passed in. This is needed for the printer port.
git-svn-id: svn://10.0.0.236/trunk@16249 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:05:54 +00:00
dcone%netscape.com
1bd5ea0c99 Added an init routine for the Graphic state that takes an nsDrawingSurface so the state will not be initialized to null.
git-svn-id: svn://10.0.0.236/trunk@16248 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:04:23 +00:00
dcone%netscape.com
2ba4d4bfa5 Update routines for creating a rendering context, and fixed the printer routines.
git-svn-id: svn://10.0.0.236/trunk@16247 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:03:10 +00:00
kipp%netscape.com
ab5cde8c0a Tweaked reflow status to be legible
git-svn-id: svn://10.0.0.236/trunk@16246 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:53:03 +00:00
kipp%netscape.com
bbdafa23dc Changed breaking behavior so that empty frames don't trigger a break even if the horizontal space is already over committed
git-svn-id: svn://10.0.0.236/trunk@16245 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:50:12 +00:00
kipp%netscape.com
d8afc6ef07 Removed bogus assert that was tripping on spacer-frames; fixed up justification behavior (thanks harish!)
git-svn-id: svn://10.0.0.236/trunk@16244 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:49:07 +00:00
kipp%netscape.com
f4ed82cc78 Repaired frame-util CID
git-svn-id: svn://10.0.0.236/trunk@16243 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:47:23 +00:00
kipp%netscape.com
c52ed4e844 Repaired frame-util IID
git-svn-id: svn://10.0.0.236/trunk@16242 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:47:09 +00:00
kipp%netscape.com
792c1cd7f2 Added FrameUtil IIDs
git-svn-id: svn://10.0.0.236/trunk@16241 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:18:39 +00:00
amusil%netscape.com
0a1130270c Adding #ifdefs for USE_CACHE on #includes
git-svn-id: svn://10.0.0.236/trunk@16238 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 05:17:50 +00:00
amusil%netscape.com
cf16810525 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@16237 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 05:12:58 +00:00
amusil%netscape.com
9913e6cdf2 Added support for the NuCache - used in cases where the stream type is specified "AsFile" (or "AsFileOnly").
#define USE_CACHE in nsPluginHostImpl.cpp to enable.


git-svn-id: svn://10.0.0.236/trunk@16236 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:50:57 +00:00
toshok%hungry.com
72d49f0cd4 we need to fix this, but to get things building i've made the copy constructors public and provided an implementation of them that just PR_ASSERT(0)'s.
git-svn-id: svn://10.0.0.236/trunk@16235 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:41:05 +00:00
toshok%hungry.com
ea272eaf71 anything greater than gcc 2.8 should have terminate already.
git-svn-id: svn://10.0.0.236/trunk@16234 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:10:21 +00:00
toshok%hungry.com
65aff93c06 XDisAsmTable.c is not included in the distribution (for licensing reasons.) don't reference it in the Makefile.
git-svn-id: svn://10.0.0.236/trunk@16233 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:04:19 +00:00
toshok%hungry.com
a34ea1260f add freebsd support.
git-svn-id: svn://10.0.0.236/trunk@16232 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:03:33 +00:00
toshok%hungry.com
0036e5a7c2 allow building without jvmdi
git-svn-id: svn://10.0.0.236/trunk@16231 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:03:13 +00:00
toshok%hungry.com
11e1103860 add FreeBSD support.
git-svn-id: svn://10.0.0.236/trunk@16230 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:01:07 +00:00
toshok%hungry.com
5eddfaefc6 cleanup
git-svn-id: svn://10.0.0.236/trunk@16229 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:00:52 +00:00
toshok%hungry.com
e0eda77346 always turn on BATCH_COMPILATION (ef won't build without it.) and allow building without jvmdi support. to enable jvmdi support, install the jvmdi.h file in ef/Debugger and setenv USE_JVMDI 1
git-svn-id: svn://10.0.0.236/trunk@16228 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:00:14 +00:00
toshok%hungry.com
e87e4810ec add support for FreeBSD
git-svn-id: svn://10.0.0.236/trunk@16227 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:57:33 +00:00
toshok%hungry.com
9961f53f40 file needed for freebsd port.
git-svn-id: svn://10.0.0.236/trunk@16226 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:57:00 +00:00
peterl%netscape.com
781098bb4e added nsNameSpaceManager.cpp & nsCSSStyleAtoms.cpp
git-svn-id: svn://10.0.0.236/trunk@16225 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:38:37 +00:00
mcmullen%netscape.com
e0be47d98f More tweaks.
git-svn-id: svn://10.0.0.236/trunk@16224 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:17:47 +00:00
guha%netscape.com
004db7d894 first version of dynamic pages for open directory should work now
git-svn-id: svn://10.0.0.236/trunk@16223 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:02:20 +00:00
wtc%netscape.com
ffbb8b067f Need to encode the fd type in the NSPR_INHERIT_FDS environment string,
so that in the child process we know whether it is a file, TCP socket,
or UDP socket.


git-svn-id: svn://10.0.0.236/trunk@16222 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:58:31 +00:00
peterl%netscape.com
d713987b42 moved name space management to name space manager, tweaked apis
git-svn-id: svn://10.0.0.236/trunk@16221 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:53:49 +00:00
peterl%netscape.com
ab36157598 added css atoms
git-svn-id: svn://10.0.0.236/trunk@16220 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:51:05 +00:00
peterl%netscape.com
f336f79552 added support for CSS2 selector syntax
git-svn-id: svn://10.0.0.236/trunk@16219 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:50:43 +00:00
peterl%netscape.com
5e907ae2f2 support for CSS2 selector systax
git-svn-id: svn://10.0.0.236/trunk@16218 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:50:01 +00:00
peterl%netscape.com
f289f4b663 added case sensativity switch
git-svn-id: svn://10.0.0.236/trunk@16217 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:40 +00:00
toshok%hungry.com
019795499b Fix the burm_STATE_LABEL thing, since the version of burg that I have (and that I assume we'll be using) doesn't use SET_STATE_LABEL - it makes assignments to STATE_LABEL.
git-svn-id: svn://10.0.0.236/trunk@16216 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:32 +00:00
peterl%netscape.com
1708b522be sync css selector output to new selector syntax
git-svn-id: svn://10.0.0.236/trunk@16215 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:00 +00:00
peterl%netscape.com
eaccb954c9 handle inline style sheet better
git-svn-id: svn://10.0.0.236/trunk@16214 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:47:25 +00:00
peterl%netscape.com
fed2ce07ee fixed base href for inline style sheets
set case sensativity in CSS parser


git-svn-id: svn://10.0.0.236/trunk@16213 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:46:25 +00:00
peterl%netscape.com
6280234f0b backed out prevoius change (not ready for it)
git-svn-id: svn://10.0.0.236/trunk@16212 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:45:25 +00:00
peterl%netscape.com
fe71a331fb added namespace support
git-svn-id: svn://10.0.0.236/trunk@16211 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:42:38 +00:00
toshok%hungry.com
c3757648b3 reorder member initialization to quiet warning.
git-svn-id: svn://10.0.0.236/trunk@16210 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:39:50 +00:00
peterl%netscape.com
59edc94473 removed pseudo class atoms (moved to css atoms)
git-svn-id: svn://10.0.0.236/trunk@16209 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:36:36 +00:00
peterl%netscape.com
2b172a49cd added namespace manager
git-svn-id: svn://10.0.0.236/trunk@16208 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:35:54 +00:00
peterl%netscape.com
5c40f60db7 added name space manager
git-svn-id: svn://10.0.0.236/trunk@16207 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:35:06 +00:00
peterl%netscape.com
f7c42b14ed changed style selector api
git-svn-id: svn://10.0.0.236/trunk@16206 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:33:23 +00:00
peterl%netscape.com
f1b91bd635 fixed default value of vertical align
git-svn-id: svn://10.0.0.236/trunk@16205 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:33:03 +00:00
peterl%netscape.com
8917b0149d added name space atoms
git-svn-id: svn://10.0.0.236/trunk@16204 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:31:51 +00:00
peterl%netscape.com
3b15182d29 added namespace interfaces
git-svn-id: svn://10.0.0.236/trunk@16203 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:30:59 +00:00
peterl%netscape.com
44d27498d4 added namespace manager accessor
git-svn-id: svn://10.0.0.236/trunk@16202 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:30:23 +00:00
peterl%netscape.com
087c4b9fd9 added namespace accessor
git-svn-id: svn://10.0.0.236/trunk@16201 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:30:08 +00:00
peterl%netscape.com
dd4b87c389 added namespace IIDs
git-svn-id: svn://10.0.0.236/trunk@16200 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:29:14 +00:00
peterl%netscape.com
73ba709cb4 switched to new name space APIs
git-svn-id: svn://10.0.0.236/trunk@16199 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:28:27 +00:00
mcmullen%netscape.com
f057f1160a Some more tweaks to suit various compilers and platforms.
git-svn-id: svn://10.0.0.236/trunk@16198 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:42:04 +00:00
mjudge%netscape.com
a3d406763f changing symantecs around and making the enumerator return the proper nsISupports
git-svn-id: svn://10.0.0.236/trunk@16197 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:40:01 +00:00
jj%netscape.com
b421b7c102 . Fixed error log file path
. Swapped OpenErrorLog and StopForErrors calls.
r=cyeh


git-svn-id: svn://10.0.0.236/trunk@16196 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:34:18 +00:00
pierre%netscape.com
3b32ebb46e Fixed Resize() and Invalidate() to make xpfe apps much faster
git-svn-id: svn://10.0.0.236/trunk@16195 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:11:23 +00:00
mjudge%netscape.com
4459d111f7 initializing the refcount
git-svn-id: svn://10.0.0.236/trunk@16194 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:04:54 +00:00
mjudge%netscape.com
cee4bdaa4e fixing factory issues
git-svn-id: svn://10.0.0.236/trunk@16193 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:03:12 +00:00
nisheeth%netscape.com
bc46c631a2 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent.
git-svn-id: svn://10.0.0.236/trunk@16192 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:52:55 +00:00
cls%seawood.org
28d3ec4b12 Make the build optimized by default
git-svn-id: svn://10.0.0.236/trunk@16191 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:29:48 +00:00
kin%netscape.com
2595e48ef9 We no longer statically link libtxmgr.a.
git-svn-id: svn://10.0.0.236/trunk@16190 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:26:05 +00:00
kin%netscape.com
f87d102bdb Modified tests to call nsServiceManager::GetService() to create an
nsITransactionManager.


git-svn-id: svn://10.0.0.236/trunk@16189 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:25:33 +00:00
kin%netscape.com
e46884dd07 Initialize mRefCnt in constructor. Removed useless white space. Commented
out references to NS_TRANSACTIONMANAGER.


git-svn-id: svn://10.0.0.236/trunk@16188 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:24:29 +00:00
kin%netscape.com
cda2c71048 Added EXTRA_DSO_LDOPTS.
git-svn-id: svn://10.0.0.236/trunk@16187 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:23:25 +00:00
kin%netscape.com
8bd500c732 Added SetMaxTransactionCount() method to nsITransactionManager and
nsTransactionManager. Replaced all !NS_SUCCEEDED with NS_FAILED.


git-svn-id: svn://10.0.0.236/trunk@16186 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:22:34 +00:00
nisheeth%netscape.com
51147256cd Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent and implemented it in all the HTML content classes. The method is used by the HTML style sheet to get a style change hint from the content object when an attribute of the content object changes.
git-svn-id: svn://10.0.0.236/trunk@16185 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:52:46 +00:00
nisheeth%netscape.com
fef1fc5b4d Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.


git-svn-id: svn://10.0.0.236/trunk@16184 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:49:13 +00:00
despotdaemon%netscape.com
eed9dc9652 Pseudo-automatic update of changes made by rth@cygnus.com.
git-svn-id: svn://10.0.0.236/trunk@16183 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:30:47 +00:00
despotdaemon%netscape.com
3603ef22e0 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16182 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 22:54:36 +00:00
despotdaemon%netscape.com
eba59fcffa Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16181 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 22:51:47 +00:00
terry%netscape.com
ff7a1f2243 Added support for creating owners.html from despot.
git-svn-id: svn://10.0.0.236/trunk@16180 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 22:42:36 +00:00
akkana%netscape.com
623cf5add3 Fix win32 build
git-svn-id: svn://10.0.0.236/trunk@16179 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 20:15:25 +00:00
wtc%netscape.com
e2964d1a20 In PR_JoinThread, we need to call pthread_detach after pthread_join
under DCE threads because DCE threads' pthread_detach does not reclaim
the terminated thread's resources.


git-svn-id: svn://10.0.0.236/trunk@16178 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:58:23 +00:00
buster%netscape.com
0117f09401 support for CSS2 style property "empty-cells"
git-svn-id: svn://10.0.0.236/trunk@16177 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:57:42 +00:00
kmcclusk%netscape.com
5a8fd0f06d Added button to test_pr.html
git-svn-id: svn://10.0.0.236/trunk@16176 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:43:59 +00:00
terry%netscape.com
75fe0bb1e5 Old values for the column-header-cookie could cause problems when trying to tweak several bugs at once.
git-svn-id: svn://10.0.0.236/trunk@16175 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:41:30 +00:00
wtc%netscape.com
8821854755 Adjusted comments and white space.
git-svn-id: svn://10.0.0.236/trunk@16174 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:40:48 +00:00
wtc%netscape.com
a54e16096f Removed redundant #include "macsocket.h" (already included
by prinet.h).


git-svn-id: svn://10.0.0.236/trunk@16173 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:33:28 +00:00
wtc%netscape.com
499507333a Implemented the PR_APPEND and PR_TRUNCATE flags
for PR_Open.


git-svn-id: svn://10.0.0.236/trunk@16172 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:19:03 +00:00
akkana%netscape.com
e869ed3096 Clone and CloneContents
git-svn-id: svn://10.0.0.236/trunk@16171 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:58:49 +00:00
kmcclusk%netscape.com
9266103e2b Added test_pr to the set of sample file. test_pr is used to test printing of
form controls.


git-svn-id: svn://10.0.0.236/trunk@16170 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:55:45 +00:00
kmcclusk%netscape.com
7c89b4af6b Removed temporary ReflowWithNoWidget method from nsFormControlFrame.
Reflow without a widget is now handled by the standard Reflow method.


git-svn-id: svn://10.0.0.236/trunk@16169 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:47:02 +00:00
kin%netscape.com
24376dda52 Added nsTransactionManagerFactory.cpp to list of files to build.
git-svn-id: svn://10.0.0.236/trunk@16168 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:25:12 +00:00
kin%netscape.com
215c02c8e0 Added nsTransactionManagerCID.h to list of exports.
git-svn-id: svn://10.0.0.236/trunk@16167 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:24:18 +00:00
kin%netscape.com
6c47e9a11c Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@16166 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:23:04 +00:00
kipp%netscape.com
57d57e34c2 Added automated regression testing support to the crawler
git-svn-id: svn://10.0.0.236/trunk@16165 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:05:59 +00:00
kipp%netscape.com
5c1319daaa Added -rd argument handling
git-svn-id: svn://10.0.0.236/trunk@16164 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:05:35 +00:00
kipp%netscape.com
c753afb5f6 Added FrameUtil
git-svn-id: svn://10.0.0.236/trunk@16163 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:05:06 +00:00
jfrancis%netscape.com
37fb4bca3f adding nsFrameUtil.cpp
git-svn-id: svn://10.0.0.236/trunk@16162 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:04:52 +00:00
kipp%netscape.com
2ab19d9126 Added factory CID and impl to create instances of nsIFrameUtil
git-svn-id: svn://10.0.0.236/trunk@16161 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:04:37 +00:00
kipp%netscape.com
2703d3ecab Added nsFrameUtil to the build
git-svn-id: svn://10.0.0.236/trunk@16160 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:04:18 +00:00
kipp%netscape.com
4cb4b05d3c Added nsIFrameUtil to the exports
git-svn-id: svn://10.0.0.236/trunk@16159 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:03:26 +00:00
kipp%netscape.com
b3aeaa58df Added nsIFrameUtil.h
git-svn-id: svn://10.0.0.236/trunk@16158 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:01:29 +00:00
rods%netscape.com
60fe4ee625 Added printing methods
git-svn-id: svn://10.0.0.236/trunk@16157 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:53:34 +00:00
kipp%netscape.com
f39da4fc73 Added some code to handle illegal color values more compatabibly
git-svn-id: svn://10.0.0.236/trunk@16156 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:50:43 +00:00
kipp%netscape.com
3d945293a9 Fixed border drawing to not draw zero sized borders
git-svn-id: svn://10.0.0.236/trunk@16155 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:50:11 +00:00
wtc%netscape.com
6824069144 Removed obsolete file macsockclient.c.
git-svn-id: svn://10.0.0.236/trunk@16154 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:44:35 +00:00
kmcclusk%netscape.com
4f4f08da7c Changes to actually print checkbox's and radiobuttons under Windows.
No longer need special offset's during printing. nsFormControlFrame now detects
when to gfx render the widgets.


git-svn-id: svn://10.0.0.236/trunk@16153 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:29:13 +00:00
karnaze%netscape.com
d4a59c0626 fixed bug 1806
git-svn-id: svn://10.0.0.236/trunk@16152 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:22:31 +00:00
wtc%netscape.com
3cff93e11d Made the second argument for PR_Writev a const pointer
(const PRIOVec *iov).
Modified files: prio.h, _unixos.h, primpl.h, rcfileio.cpp, rcfileio.h,
rcio.h, rcnetio.cpp, rcnetio.h, priometh.c, prlayer.c, prsocket.c,
macsockotpt.c, os2sock.c, solaris.c, unix.c, ntio.c, w16sock.c,
w95sock.c, ptio.c.


git-svn-id: svn://10.0.0.236/trunk@16151 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:09:48 +00:00
despotdaemon%netscape.com
d9d9589af3 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16150 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:07:29 +00:00
pinkerton%netscape.com
13f3951615 fix alias creation of AppShell debug shlb by appending the $D to the name.
git-svn-id: svn://10.0.0.236/trunk@16149 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 16:59:42 +00:00
toshok%hungry.com
aef3a93e3a fix warnings by providing empty virtual destructors for classes that needed them, reordering initialization of member variables, and by giving the type uint to all the 'const nFooTypes;' variables.
git-svn-id: svn://10.0.0.236/trunk@16148 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:52:47 +00:00
toshok%hungry.com
70f4e55bd6 do it right this time.
git-svn-id: svn://10.0.0.236/trunk@16147 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:27:43 +00:00
toshok%hungry.com
9ea5326bfe reverse initialization order to get around compiler warning.
git-svn-id: svn://10.0.0.236/trunk@16146 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:25:31 +00:00
toshok%hungry.com
dd142f3cc7 remove trigraph
git-svn-id: svn://10.0.0.236/trunk@16145 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:17:47 +00:00
toshok%hungry.com
01dd607e8f add a special rule so that make doesn't attempt on successive builds to compile PrimitiveOperations from PrimitiveOperations.cpp
git-svn-id: svn://10.0.0.236/trunk@16144 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:03:29 +00:00
toshok%hungry.com
ef349d84a9 correct (rather serious) warning.
git-svn-id: svn://10.0.0.236/trunk@16143 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:51:45 +00:00
waterson%netscape.com
7934068503 Made sure to treat attribute value case-insenstively. Fixed QueryInterface() call.
git-svn-id: svn://10.0.0.236/trunk@16142 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:06:37 +00:00
waterson%netscape.com
f2f124c46b Changed assumptions about where to find column info in the content model: specifically, removed the explicit <column> group required for every item. Hyatt, we'll need to talk about this.
git-svn-id: svn://10.0.0.236/trunk@16141 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:05:32 +00:00
waterson%netscape.com
d1dac79672 Made sure that attributes keys get tracked case-insensitively. Fixed return values from GetAttribute().
git-svn-id: svn://10.0.0.236/trunk@16140 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:03:52 +00:00
waterson%netscape.com
e2228a0485 Added columns. Made some tweaks to use common utility functions.
git-svn-id: svn://10.0.0.236/trunk@16139 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:49:57 +00:00
waterson%netscape.com
80376456c8 Fixed some content model bugs as we start hooking this up to the tree. Added code to generate columns in the content model.
git-svn-id: svn://10.0.0.236/trunk@16138 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:48:17 +00:00
waterson%netscape.com
1ed8a257b1 Added a reminder to do nsIDOMDocument someday.
git-svn-id: svn://10.0.0.236/trunk@16137 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:47:18 +00:00
waterson%netscape.com
02ecfa8eca Created a ton of utility functions to make life easier.
git-svn-id: svn://10.0.0.236/trunk@16136 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:46:32 +00:00
waterson%netscape.com
ffa4be56d2 Added some comments.
git-svn-id: svn://10.0.0.236/trunk@16135 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:45:52 +00:00
waterson%netscape.com
4017ce049c Changed the DEFINE_RDF_VOCAB macro to use char* instead of char[].
git-svn-id: svn://10.0.0.236/trunk@16134 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:45:25 +00:00
waterson%netscape.com
bed6ef42c2 Iterate through children of the <COLUMNS> node, not the original node.
git-svn-id: svn://10.0.0.236/trunk@16133 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:31:52 +00:00
waterson%netscape.com
acc6954db5 Make sure to get the children of the <CHILDREN> node, not the original node.
git-svn-id: svn://10.0.0.236/trunk@16132 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:30:59 +00:00
waterson%netscape.com
ea4b313af5 Make sure to addref the content node in the constructor.
git-svn-id: svn://10.0.0.236/trunk@16131 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:30:18 +00:00
waterson%netscape.com
cc28cd0da3 Force the tree demo to dump the content model before displaying the tree.
git-svn-id: svn://10.0.0.236/trunk@16130 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:29:14 +00:00
toshok%hungry.com
339df3db4c add FREEBSD
git-svn-id: svn://10.0.0.236/trunk@16129 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:09:06 +00:00
toshok%hungry.com
50525701e7 trim down Makefile.
git-svn-id: svn://10.0.0.236/trunk@16128 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:07:31 +00:00
toshok%hungry.com
015b6f10f4 get the Compiler/CodeGenerator/md stuff compiling
git-svn-id: svn://10.0.0.236/trunk@16127 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:06:25 +00:00
toshok%hungry.com
3968183322 the object files for EF are put in $(DIST)/modules/EF/ now. track this change.
git-svn-id: svn://10.0.0.236/trunk@16126 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:04:55 +00:00
toshok%hungry.com
1988f8da64 remove the manifest.mn and rules.mk files, folding them into the Makefile.
git-svn-id: svn://10.0.0.236/trunk@16125 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:04:18 +00:00
toshok%hungry.com
1e5ed62c47 phew. ok. get the config stuff at least limping along. i've used freebsd for this, but linux ought to work as well (even the freebsd stuff isn't perfect yet.)
git-svn-id: svn://10.0.0.236/trunk@16124 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:03:50 +00:00
toshok%hungry.com
a35c8545a2 use the mkdepend from the normal mozilla tree. it's got more portability foo in it.
git-svn-id: svn://10.0.0.236/trunk@16123 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:02:59 +00:00
toshok%hungry.com
ceeb2e1e6d fix a warning in generated code.
git-svn-id: svn://10.0.0.236/trunk@16122 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 07:59:47 +00:00
toshok%hungry.com
89d1c68897 add md stuff for freebsd.
git-svn-id: svn://10.0.0.236/trunk@16121 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 07:56:37 +00:00
toshok%hungry.com
e031e3f1b5 add the npl/copyright foo
git-svn-id: svn://10.0.0.236/trunk@16120 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 04:56:00 +00:00
despotdaemon%netscape.com
2cd96d1927 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16119 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 04:52:08 +00:00
sfraser%netscape.com
e86e6a6910 Convert AppleSingle->binary format.
git-svn-id: svn://10.0.0.236/trunk@16118 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:22:27 +00:00
troy%netscape.com
6a4e7032a9 Minor change to the flow of control to make it more readable
git-svn-id: svn://10.0.0.236/trunk@16117 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:20:31 +00:00
sfraser%netscape.com
f502b21879 Convert AppleSingle -> binary format
git-svn-id: svn://10.0.0.236/trunk@16116 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:20:07 +00:00
troy%netscape.com
09c5c0329a Added print options for controlling whether odd and even pages are printed
git-svn-id: svn://10.0.0.236/trunk@16115 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:07:11 +00:00
troy%netscape.com
6a5358e387 Changes to nsPrintOptions
git-svn-id: svn://10.0.0.236/trunk@16114 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:06:30 +00:00
davidm%netscape.com
07afcb65be First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16113 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 01:23:18 +00:00
troy%netscape.com
55cb5a040c Fix for bug 1831 where an auto horizontal scrollbar was causing a vertical
scrollbar to be displayed even though it wasn't needed


git-svn-id: svn://10.0.0.236/trunk@16112 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:52:58 +00:00
kipp%netscape.com
4e8cd20aad new
git-svn-id: svn://10.0.0.236/trunk@16111 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:33:07 +00:00
kipp%netscape.com
78fe4cf1a1 Only zero out the height/ascent/descent if the empty text is not a pre-formatted piece of empty text, otherwise blank lines in PRE sections disappear
git-svn-id: svn://10.0.0.236/trunk@16110 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:30:52 +00:00
cmanske%netscape.com
64b1aaca89 Building Editor GUI Manager turned on in Windows build
git-svn-id: svn://10.0.0.236/trunk@16109 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:24:40 +00:00
hyatt%netscape.com
e08a99eb10 Nodes now track their correct indentation levels (from the content model).
git-svn-id: svn://10.0.0.236/trunk@16108 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:21:44 +00:00
kipp%netscape.com
aae87bb6cc Compute percentage base properly
git-svn-id: svn://10.0.0.236/trunk@16107 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:51:39 +00:00
buster%netscape.com
ad5a50d3d6 an even cleaner implementation of InsertRow
git-svn-id: svn://10.0.0.236/trunk@16105 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:30:06 +00:00
akkana%netscape.com
7a2989e97c Turn on guimgr in Unix build
git-svn-id: svn://10.0.0.236/trunk@16104 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:24:42 +00:00
buster%netscape.com
e8c6b1d306 fixed nsHTMLTableElement::InsertRow()
git-svn-id: svn://10.0.0.236/trunk@16103 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:19:12 +00:00
troy%netscape.com
ef6dcd06c6 Changed StartDocument/EndDocument to use the correct device context
git-svn-id: svn://10.0.0.236/trunk@16102 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:12:56 +00:00
guha%netscape.com
9963eb6172 Add opendir files to the repository
git-svn-id: svn://10.0.0.236/trunk@16101 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:08:59 +00:00
hyatt%netscape.com
4e2228aac7 Columns are now grabbed from the content model.
git-svn-id: svn://10.0.0.236/trunk@16100 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:08:32 +00:00
troy%netscape.com
4694f541a3 Moved StartDocument/EndDocument calls to document viewer impl's Print() member
function. This fits better with the Mac's printing model


git-svn-id: svn://10.0.0.236/trunk@16099 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:36:57 +00:00
troy%netscape.com
56e6a45664 Moved StartDocument/EndDocument calls from page sequence frame to Print(). This
fits better with the Mac printing model


git-svn-id: svn://10.0.0.236/trunk@16098 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:36:17 +00:00
cmanske%netscape.com
ab584d15ac Fixing build bustage?
git-svn-id: svn://10.0.0.236/trunk@16097 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:19:41 +00:00
jfrancis%netscape.com
b437dbe832 checking in a bit more of deleteContents; hard part still not done.
git-svn-id: svn://10.0.0.236/trunk@16096 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:07:00 +00:00
cmanske%netscape.com
ea8761c29b Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@16094 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 21:22:17 +00:00
hyatt%netscape.com
58afbb9b75 My previous checkin is going to break Linux. This checkin should fix the
build bustage.


git-svn-id: svn://10.0.0.236/trunk@16093 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:50:27 +00:00
sfraser%netscape.com
88a68ec8f5 Convert AppleSingle -> binary
git-svn-id: svn://10.0.0.236/trunk@16092 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:48:54 +00:00
sfraser%netscape.com
29b6e1b70d Convert AppleSingle -> binary, turn on debug info, fix library creator.
git-svn-id: svn://10.0.0.236/trunk@16091 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:47:46 +00:00
davidm%netscape.com
912989eaf3 Add code to build XPAppShell to build list
git-svn-id: svn://10.0.0.236/trunk@16090 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:43:50 +00:00
davidm%netscape.com
28fdf086c6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16089 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:42:35 +00:00
davidm%netscape.com
2389083d3b Updated to use Mac shared libraries
git-svn-id: svn://10.0.0.236/trunk@16088 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:40:18 +00:00
davidm%netscape.com
752b704af0 modifiy initialize to return nsresult rather than an implicit int
git-svn-id: svn://10.0.0.236/trunk@16087 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:39:51 +00:00
sfraser%netscape.com
d5c9b867c7 Turn on debug info in debug target. Shlb creator -> MOZZ
git-svn-id: svn://10.0.0.236/trunk@16086 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:27:00 +00:00
sfraser%netscape.com
53dedba1d6 Convert from AppleSingle to binary format.
git-svn-id: svn://10.0.0.236/trunk@16085 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:24:51 +00:00
hyatt%netscape.com
c7cb6abc3b Modifications to make the tree widget talk to nsIContent.
git-svn-id: svn://10.0.0.236/trunk@16084 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:57:15 +00:00
cmanske%netscape.com
0b219df90c Fixed build problems with Editor Gui Manager
git-svn-id: svn://10.0.0.236/trunk@16083 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:57:09 +00:00
hyatt%netscape.com
b348c5d2bc Modified the tree view interface so a content root can be set.
git-svn-id: svn://10.0.0.236/trunk@16082 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:56:55 +00:00
hyatt%netscape.com
338233b8f9 Modifications to make the tree view speak to RDF.
git-svn-id: svn://10.0.0.236/trunk@16081 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:56:30 +00:00
kin%netscape.com
5f2cac374d Modified Undo() and Redo() to throw an error if there is a transaction
on the Do stack.


git-svn-id: svn://10.0.0.236/trunk@16080 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:53:31 +00:00
radha%netscape.com
d9a87cd6eb Added appshell and bootstrap Makefiles to the list
git-svn-id: svn://10.0.0.236/trunk@16079 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:48:49 +00:00
akkana%netscape.com
6d0f552ce0 Fix C++ comment in C file
git-svn-id: svn://10.0.0.236/trunk@16078 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:46:38 +00:00
kin%netscape.com
c712081325 Added aggregation_test(), stress_test(), and aggregation_stress_test().
git-svn-id: svn://10.0.0.236/trunk@16077 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:28:58 +00:00
terry%netscape.com
6217e65ae5 Got rid of some harmless warning messages.
git-svn-id: svn://10.0.0.236/trunk@16076 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:27:37 +00:00
cmanske%netscape.com
230961099c Modified makefiles for new filenames
git-svn-id: svn://10.0.0.236/trunk@16074 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:24:31 +00:00
cmanske%netscape.com
a580001f06 Added new files for Editor Gui Manager
git-svn-id: svn://10.0.0.236/trunk@16073 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:23:49 +00:00
cmanske%netscape.com
ec65f22f1b Changed name of file
git-svn-id: svn://10.0.0.236/trunk@16072 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:23:01 +00:00
akkana%netscape.com
060cfafd1c implementation for CompareEndPoints
git-svn-id: svn://10.0.0.236/trunk@16071 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:21:49 +00:00
sfraser%netscape.com
41ffc846a9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16070 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:08:54 +00:00
cmanske%netscape.com
cc4786b82e Modified makefiles for Editor Gui Manager
git-svn-id: svn://10.0.0.236/trunk@16069 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:04:11 +00:00
cmanske%netscape.com
ef41f2f2f7 Added Editor GuiManager source files
git-svn-id: svn://10.0.0.236/trunk@16068 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:00:35 +00:00
cmanske%netscape.com
796505baac Added public headers for Editor Gui Manager
git-svn-id: svn://10.0.0.236/trunk@16067 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 18:59:31 +00:00
cmanske%netscape.com
4ddb6588f8 Added Gui Manager makefiles
git-svn-id: svn://10.0.0.236/trunk@16066 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 18:56:39 +00:00
akkana%netscape.com
1e7ab9d594 Update Range spec
git-svn-id: svn://10.0.0.236/trunk@16065 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 18:44:26 +00:00
ramiro%netscape.com
ab3a800524 Remove duplicate entries for :
mozilla/Makefile.in
mozilla/configure.in


git-svn-id: svn://10.0.0.236/trunk@16064 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:45:13 +00:00
wtc%netscape.com
add34905f7 Removed mention of MAC in the makefile. Mac doesn't use makefles.
git-svn-id: svn://10.0.0.236/trunk@16063 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:43:00 +00:00
wtc%netscape.com
57b4ef036a Removed the temporary depend:clean hack.
git-svn-id: svn://10.0.0.236/trunk@16062 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:42:06 +00:00
wtc%netscape.com
e476b7f876 Added build support for the C++ wrappers in pr/src/cplus.
Set USE_CPLUS=1 to recurse into that directory.


git-svn-id: svn://10.0.0.236/trunk@16061 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:39:37 +00:00
kin%netscape.com
d52fc03869 Fixed off by 1 error that occurs in PopBack() when
(mOrigin + mSize) >= mCapacity.


git-svn-id: svn://10.0.0.236/trunk@16060 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:07:20 +00:00
wtc%netscape.com
36f6c7c683 Temporary depend:clean hack to make sure the Tinderbox depend continuous
builds work after a major checkin.


git-svn-id: svn://10.0.0.236/trunk@16058 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 16:45:36 +00:00
wtc%netscape.com
4c71f93c90 This checkin consists on three things:
1. File descriptor inheritance
2. Set thread->md.handle on Win32 for attached native threads.
3. Miscellaneous code cleanup.


git-svn-id: svn://10.0.0.236/trunk@16057 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 16:37:26 +00:00
ramiro%netscape.com
26ae5aef25 Make the get config dir hack more robust. This thing is probably going away
in the xpfe world.
Thanks to rth@cygnus.com (Richard Henderson) for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@16056 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 15:28:19 +00:00
ramiro%netscape.com
3a5245952b Fix bugzilla bug 1822.
Memory clobber on 64-bit host.
Thanks to rth@cygnus.com for catching this and providing a fix.


git-svn-id: svn://10.0.0.236/trunk@16055 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 15:13:42 +00:00
pierre%netscape.com
c43e0c95ac Implemented scrollbars as native controls. Still some bugs, should have live-scrolling, should be proportionnal under 8.5.
git-svn-id: svn://10.0.0.236/trunk@16054 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:26:49 +00:00
pierre%netscape.com
fbec6c5006 don't draw when not visible
git-svn-id: svn://10.0.0.236/trunk@16053 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:24:26 +00:00
pierre%netscape.com
e23f728ea6 redraw on Scroll()
git-svn-id: svn://10.0.0.236/trunk@16052 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:24:09 +00:00
shaver%netscape.com
3704af165d Fixed usage-string typo.
Update to 0.5.7 IDL_tree_property_get API.
Reworked input callback for cleanliness.
Add (not-yet-working) infrastructure for %{ C %} raw blocks.


git-svn-id: svn://10.0.0.236/trunk@16051 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:08:29 +00:00
pierre%netscape.com
ea8b8fc593 removed saari's hacks
git-svn-id: svn://10.0.0.236/trunk@16050 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:50 +00:00
pierre%netscape.com
1a05cbde32 A bunch of changes: removed saari's hacks, fixed origins, clipping, resize and update
git-svn-id: svn://10.0.0.236/trunk@16049 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:30 +00:00
pierre%netscape.com
c8c24c8ec4 don't draw when not visible and don't draw in SetThumbSize() in order to fix a flicker of the horizontal sbar on resize when the text fits into the page
git-svn-id: svn://10.0.0.236/trunk@16048 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:03 +00:00
pierre%netscape.com
7915c018e6 removed saari's hack
git-svn-id: svn://10.0.0.236/trunk@16047 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:17:31 +00:00
pierre%netscape.com
ce57119548 A bunch of changes: removed saari's hacks, fixed origins, fixed clipping, fixed offscreen (for simple use like in the ImageButtons only, not for multiple offscreen surfaces like the Blender in the ViewManager), fixed a bug in some drawing functions (DrawEllipse, FillEllipse, DrawArc)
git-svn-id: svn://10.0.0.236/trunk@16046 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:17:06 +00:00
pierre%netscape.com
aab0e25c0f Fixed the "GrowWindow" from DRAW_ON_RESIZE in order to have a minimum window size (Viewer and maybe XPViewer don't support very narrow windows). Added a WaitNextEvent for update events during the DRAW_ON_RESIZE after having fixed a related bug in nsWindow.
git-svn-id: svn://10.0.0.236/trunk@16045 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:16:35 +00:00
pierre%netscape.com
0b48a12c5b Removed the last of the Mac specific hacks added last week
git-svn-id: svn://10.0.0.236/trunk@16044 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:16:15 +00:00
pierre%netscape.com
ca47f2ae5a Copied SetAlphaMask() from Windows in an attempt to fix some problems (it did not but I'm leaving it there because it cannot hurt).
git-svn-id: svn://10.0.0.236/trunk@16043 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:15:44 +00:00
pierre%netscape.com
2883145fe2 Use a better looking font on the Mac
git-svn-id: svn://10.0.0.236/trunk@16042 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:15:22 +00:00
pierre%netscape.com
30222ada44 Removed some include files
git-svn-id: svn://10.0.0.236/trunk@16041 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:14:46 +00:00
pierre%netscape.com
aed880d6cc Added several MakeAlias for xSym files
git-svn-id: svn://10.0.0.236/trunk@16040 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:14:06 +00:00
mcmullen%netscape.com
5585c8bf96 Trying to make this build on unix gcc compilers, I have removed all references to std::string, using char* instead. This almost made me cry (not just because of all the work I had to do over again).
git-svn-id: svn://10.0.0.236/trunk@16039 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 08:47:30 +00:00
wtc%netscape.com
b0441c2895 Initial checkin of NSPR C++ wrapper classes (pr/src/cplus).
git-svn-id: svn://10.0.0.236/trunk@16038 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:54:06 +00:00
buster%netscape.com
415d59aa67 tables can now have independent horizontal and vertical cell spacing
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)


git-svn-id: svn://10.0.0.236/trunk@16037 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:37:18 +00:00
buster%netscape.com
a85d3c902d cellspacing split out into x and y, HTML attribute sets both to same value
git-svn-id: svn://10.0.0.236/trunk@16036 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:36:32 +00:00
buster%netscape.com
91804a7b1d added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
git-svn-id: svn://10.0.0.236/trunk@16035 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:24:50 +00:00
buster%netscape.com
88bb687497 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
this is sufficient for now, but incomplete.  It doesn't handle inherit properly.


git-svn-id: svn://10.0.0.236/trunk@16034 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:24:27 +00:00
fur%netscape.com
5a98423bb8 Moved Win32 build instructions to mozilla.org
git-svn-id: svn://10.0.0.236/trunk@16033 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:57:20 +00:00
troy%netscape.com
0a0b7ae6b0 Added new atoms to nsLayoutAtoms for additional named frame child lists
git-svn-id: svn://10.0.0.236/trunk@16032 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:30:17 +00:00
mcmullen%netscape.com
0588941742 Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh.
git-svn-id: svn://10.0.0.236/trunk@16031 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:09:28 +00:00
troy%netscape.com
c9e7bd13c8 Fixed a crash when resizing the print preview window
git-svn-id: svn://10.0.0.236/trunk@16029 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 04:26:42 +00:00
waterson%netscape.com
7b2c6f451a Initial revision. Not currently in the build.
git-svn-id: svn://10.0.0.236/trunk@16028 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:51:50 +00:00
kipp%netscape.com
a048610ac8 Backed out one change
git-svn-id: svn://10.0.0.236/trunk@16027 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:40:42 +00:00
kipp%netscape.com
7d60f51dd7 new
git-svn-id: svn://10.0.0.236/trunk@16026 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:40:03 +00:00
mcmullen%netscape.com
54c41190bf Removing because checked into this directory by mistake.
git-svn-id: svn://10.0.0.236/trunk@16025 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:35:52 +00:00
kipp%netscape.com
55710f3285 new
git-svn-id: svn://10.0.0.236/trunk@16024 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:31:08 +00:00
waterson%netscape.com
c1b015aaa9 Content model changes to get the tree widget alive.
git-svn-id: svn://10.0.0.236/trunk@16023 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:25:33 +00:00
gagan%netscape.com
d1075553b3 This was causing part of the disappearing cache objects problem. This is now internally handled in the new cache.
git-svn-id: svn://10.0.0.236/trunk@16022 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 02:58:50 +00:00
amusil%netscape.com
e59f502108 Fix for Bug# 1771. Re-ordered the calling into the plugin entry point. Initialize()
for 4x plugin now happens in CreatePlugin().


git-svn-id: svn://10.0.0.236/trunk@16021 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 02:47:03 +00:00
gagan%netscape.com
2bd31be77d Cache changes, bug fixes, etc.
git-svn-id: svn://10.0.0.236/trunk@16020 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 02:43:16 +00:00
pinkerton%netscape.com
0012f434c9 Remove PLStringFuncs.o for new universal headers.
git-svn-id: svn://10.0.0.236/trunk@16019 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:56:57 +00:00
pinkerton%netscape.com
9606099d46 fix for new universal headers. Don't use PLstringfuncs and add an inline helper to the helper namespace which does the same things.
git-svn-id: svn://10.0.0.236/trunk@16018 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:56:36 +00:00
sfraser%netscape.com
53224b3fc9 Fix part of build bustage. (Strange, this built fine with my tools).
git-svn-id: svn://10.0.0.236/trunk@16017 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:30:42 +00:00
dougt%netscape.com
04e9501977 New makefile.win for standalone registry target.
git-svn-id: svn://10.0.0.236/trunk@16016 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:10:28 +00:00
dougt%netscape.com
f5705cdc6e removed standalone references since we now have a fancy new target one
dir above us.


git-svn-id: svn://10.0.0.236/trunk@16015 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:09:21 +00:00
dougt%netscape.com
4b96b224b6 added standalone target. r.leaf
git-svn-id: svn://10.0.0.236/trunk@16014 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:08:28 +00:00
law%netscape.com
f434dd9914 Added Windoze support
git-svn-id: svn://10.0.0.236/trunk@16013 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:04:53 +00:00
sfraser%netscape.com
c78482348a Adding nsBlockBandData.cpp
git-svn-id: svn://10.0.0.236/trunk@16012 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 00:26:56 +00:00
sfraser%netscape.com
58f98a359a Fix the timer compare function (need an extra dereference).
git-svn-id: svn://10.0.0.236/trunk@16011 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 00:08:41 +00:00
sfraser%netscape.com
ced13cc404 Remove access path to the root of the mozilla tree, which caused this thing to take forever to load in the IDE.
git-svn-id: svn://10.0.0.236/trunk@16010 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:58:23 +00:00
cltbld%netscape.com
cd400f55ba add nsBlockBandData.h per kipp's addition
git-svn-id: svn://10.0.0.236/trunk@16009 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:25:30 +00:00
despotdaemon%netscape.com
15f972aef0 Pseudo-automatic update of changes made by davidm@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16008 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:07:26 +00:00
despotdaemon%netscape.com
3eddb5fb7f Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@16007 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:03:54 +00:00
sar%netscape.com
05dc3133d1 add RaptorAll modules for tinderbox, also clean up a little formatting cruft
git-svn-id: svn://10.0.0.236/trunk@16006 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:03:11 +00:00
radha%netscape.com
0ec1a9da0f Add appshell and bootstrap to DIRS list
git-svn-id: svn://10.0.0.236/trunk@16005 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:47:16 +00:00
radha%netscape.com
64cb0235fd Initial checkin
git-svn-id: svn://10.0.0.236/trunk@16004 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:46:35 +00:00
radha%netscape.com
56af85ca53 Initial Checkin
git-svn-id: svn://10.0.0.236/trunk@16003 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:45:58 +00:00
mcmullen%netscape.com
cf8dafefa3 Polished the interfaces, added long comments in the headers.
The next step is checking by Bill Law and Steve Lamm for Win and Unix.  Then it's open season.


git-svn-id: svn://10.0.0.236/trunk@16002 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:45:42 +00:00
mcmullen%netscape.com
a1b4ed0f62 Added nsFileStream.cpp to this project.
Polished the interfaces, added long comments in the headers.

The next step is checking by Bill Law and Steve Lamm for Win and Unix.  Then it's open season.


git-svn-id: svn://10.0.0.236/trunk@16001 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:45:38 +00:00
radha%netscape.com
81a1403853 Initial checkin. Stubs for the unix apprunner
git-svn-id: svn://10.0.0.236/trunk@16000 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:44:55 +00:00
mcmullen%netscape.com
963a718dd7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15999 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:43:57 +00:00
radha%netscape.com
ae0d8d70da Load the unix nsappshell.so in to the registry
git-svn-id: svn://10.0.0.236/trunk@15998 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:43:52 +00:00
radha%netscape.com
c92f782b69 Initial checkin for Unix apprunner
git-svn-id: svn://10.0.0.236/trunk@15997 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:43:20 +00:00
raman%netscape.com
ede3cc4a41 Bug fix to make ftp:// protocol to work with the new cache code.
git-svn-id: svn://10.0.0.236/trunk@15996 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:11:05 +00:00
kin%netscape.com
5ab61098d8 Fixed bug that prevented transaction item children from being redone.
git-svn-id: svn://10.0.0.236/trunk@15995 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:05:23 +00:00
kipp%netscape.com
5f8a1a12d4 new
git-svn-id: svn://10.0.0.236/trunk@15993 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:44:22 +00:00
kipp%netscape.com
59ad825d3e Added some debug checks to sizes; keep zero sized items on the same line whenever possible
git-svn-id: svn://10.0.0.236/trunk@15992 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:43:42 +00:00
kipp%netscape.com
5014326024 Factored out the block-band-data class; fixed a bug with treating block objects that weren't really nsBlockFrame's like they were (bug #1713)
git-svn-id: svn://10.0.0.236/trunk@15991 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:43:15 +00:00
kipp%netscape.com
c79140ae51 Added nsBlockBandData
git-svn-id: svn://10.0.0.236/trunk@15990 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:42:35 +00:00
despotdaemon%netscape.com
e2c6346a96 Pseudo-automatic update of changes made by msanz@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15989 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 20:16:12 +00:00
akkana%netscape.com
5bbb9bbf32 GetOwnerDocument should return NS_ERROR_NOT_IMPLEMENTED if it's not going to modify its input
git-svn-id: svn://10.0.0.236/trunk@15986 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:53:25 +00:00
pnunn%netscape.com
7c942df448 update to png version 1.0.2. -pnunn.
git-svn-id: svn://10.0.0.236/trunk@15985 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:44:02 +00:00
pinkerton%netscape.com
927f043691 Don't build NavServices stuff because it doesn't work with the 3.2 universal headers (apple changed a struct).
git-svn-id: svn://10.0.0.236/trunk@15984 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:42:52 +00:00
pnunn%netscape.com
5d972fec0f update to png version 1.0.2. -pnunn. Note: gamma is temporarily disabled.
git-svn-id: svn://10.0.0.236/trunk@15983 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:41:25 +00:00
buster%netscape.com
ab0a080e21 fixed a minor glitch I introduced where nested tables cells were getting
robbed of a few pixels in width in some cases.


git-svn-id: svn://10.0.0.236/trunk@15982 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:18:33 +00:00
waterson%netscape.com
57daa111ab Obsolete.
git-svn-id: svn://10.0.0.236/trunk@15981 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:14:43 +00:00
akkana%netscape.com
2d6147c177 Remove old selection code (and fix linux build)
git-svn-id: svn://10.0.0.236/trunk@15980 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:55:00 +00:00
danm%netscape.com
dee66bb417 removed nsSelection.cpp, nsSelectionPoint.cpp, nsSelectionRange.cpp. yell at mjudge if this causes problems.
git-svn-id: svn://10.0.0.236/trunk@15979 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:34:59 +00:00
mjudge%netscape.com
d40094a5a2 changes to default to new selection
git-svn-id: svn://10.0.0.236/trunk@15978 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:26:34 +00:00
mjudge%netscape.com
03ace6e2d1 chagnes to selection
git-svn-id: svn://10.0.0.236/trunk@15977 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:26:06 +00:00
mjudge%netscape.com
a60c78a903 changes to selection
git-svn-id: svn://10.0.0.236/trunk@15976 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:25:47 +00:00
mjudge%netscape.com
3b8b44ad07 changes to remove selection
git-svn-id: svn://10.0.0.236/trunk@15975 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:25:27 +00:00
troy%netscape.com
f40c33432f Initial table pagination support
git-svn-id: svn://10.0.0.236/trunk@15974 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:57:45 +00:00
raman%netscape.com
3ca530cf7c Bug fix for 928. Check for null address in the URL_s structure.
git-svn-id: svn://10.0.0.236/trunk@15973 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:55:03 +00:00
kipp%netscape.com
3e00c5832e backed out last changes
git-svn-id: svn://10.0.0.236/trunk@15972 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:33:28 +00:00
kipp%netscape.com
fb782a13db Fix a cut-paste coding error
git-svn-id: svn://10.0.0.236/trunk@15971 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:19:17 +00:00
kipp%netscape.com
83eafe11c2 Fixed an improper use of NS_RELEASE
git-svn-id: svn://10.0.0.236/trunk@15970 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 16:08:44 +00:00
kipp%netscape.com
b1ee8580db Updated to latest nsIWebShellContainer API
git-svn-id: svn://10.0.0.236/trunk@15969 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 15:51:42 +00:00
waterson%netscape.com
a6cb66db1e Cleaned up data source construction, made more consistent with other NGLayout modules.
git-svn-id: svn://10.0.0.236/trunk@15968 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 06:53:49 +00:00
waterson%netscape.com
8a398a690e Changed nsRDFDataSource::Initialize to Init to be consistent with the rest of the world.
git-svn-id: svn://10.0.0.236/trunk@15967 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 06:28:36 +00:00
waterson%netscape.com
1db3f68a17 Some stuff to the TO DO list.
git-svn-id: svn://10.0.0.236/trunk@15966 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 06:24:28 +00:00
waterson%netscape.com
95952ef887 Some horrible hackery to get hyatt started on debugging the tree with a real content model.
git-svn-id: svn://10.0.0.236/trunk@15965 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 05:10:35 +00:00
waterson%netscape.com
0d4d36b993 Added CID for RDF tree document.
git-svn-id: svn://10.0.0.236/trunk@15964 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 04:56:10 +00:00
waterson%netscape.com
11fc399841 Fixed a missing refcount.
git-svn-id: svn://10.0.0.236/trunk@15963 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 04:55:25 +00:00
kipp%netscape.com
14ec540a13 Fixed bug #1621 - if a floater was too wide and it was right aligned it would end up positioned off the left edge of the block
git-svn-id: svn://10.0.0.236/trunk@15961 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:57:12 +00:00
waterson%netscape.com
76280043c8 Moved the RDF document interfaces out into the open. Added some stuff to make it easier to construct a data source from outside of normal channels.
git-svn-id: svn://10.0.0.236/trunk@15960 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:49:14 +00:00
kipp%netscape.com
9e360eec32 Removed check for a band count of when when clearing floaters because if the floater is large the band may only have one trapezoid in it
git-svn-id: svn://10.0.0.236/trunk@15959 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:47:44 +00:00
kipp%netscape.com
2898a86645 new
git-svn-id: svn://10.0.0.236/trunk@15958 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:36:34 +00:00
kipp%netscape.com
264d8928b8 Implement new NewWebShell API
git-svn-id: svn://10.0.0.236/trunk@15957 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:39:48 +00:00
jfrancis%netscape.com
7d28e05c79 removing tabs; started deleteContents() imp
git-svn-id: svn://10.0.0.236/trunk@15956 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:26:15 +00:00
mcmullen%netscape.com
62ce39a5db Added nsFileSpec.cpp to this project (you also get nsFileStream, but this is all done with templates in a header - this may need to be revisited).
This is the first real checkin of nsFileSpec.*, and the first ever checkin of nsFileStream.h.  This provides typesafe file specifications, interconversions, and full Standard Library support for iostreams, based on these specifications.

The next step is checking by Bill Law and Steve Lamm for Win and Unix.  Then it's open season.


git-svn-id: svn://10.0.0.236/trunk@15955 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:24:19 +00:00
mcmullen%netscape.com
7612b35bc7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15954 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:22:54 +00:00
sfraser%netscape.com
ec62691775 Added Debug and Tools menus, and hooked up some of the menu items. They don't all work yet.
git-svn-id: svn://10.0.0.236/trunk@15953 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:16:42 +00:00
mcmullen%netscape.com
ce9cf0d08e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15952 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:15:50 +00:00
sfraser%netscape.com
c9a0831caa Don't crash when failing to create dialogs (which we don't have a widget for yet on Mac).
git-svn-id: svn://10.0.0.236/trunk@15951 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:15:21 +00:00
kipp%netscape.com
5238173304 Implement new NewWebShell API
git-svn-id: svn://10.0.0.236/trunk@15950 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:57:40 +00:00
kipp%netscape.com
4214d0534b Added 2 more arguments to NewWebShell so that new top-level windows could be created properly
git-svn-id: svn://10.0.0.236/trunk@15949 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:57:00 +00:00
kipp%netscape.com
923f08db82 Pass in chrome and visibility during web-shell creation
git-svn-id: svn://10.0.0.236/trunk@15948 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:56:31 +00:00
pierre%netscape.com
4ff8ec2ffe optimized and cleaned up
git-svn-id: svn://10.0.0.236/trunk@15947 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:47:04 +00:00
buster%netscape.com
119726a491 fixed a bug in table-layout:fixed mode
fixed bug fixed a few small bugs


git-svn-id: svn://10.0.0.236/trunk@15946 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:00:14 +00:00
buster%netscape.com
bd36f4fc76 fixed default cellspacing and cellpadding
git-svn-id: svn://10.0.0.236/trunk@15945 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:59:15 +00:00
kipp%netscape.com
b3d40caef9 new
git-svn-id: svn://10.0.0.236/trunk@15944 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:57:45 +00:00
troy%netscape.com
d0f172e81d Improved height calculation when there are floaters. Now we check against
the content area y-most rather than the frame bounds y-most. This ensures
that border and padding are respected along the bottom edge


git-svn-id: svn://10.0.0.236/trunk@15942 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:01:12 +00:00
law%netscape.com
182b2b0393 Accept URL on command line
git-svn-id: svn://10.0.0.236/trunk@15941 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 23:35:02 +00:00
waterson%netscape.com
f646a5ae5c Removed obsolete file.
git-svn-id: svn://10.0.0.236/trunk@15940 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 23:18:11 +00:00
kipp%netscape.com
bc8d0e6224 Made image documents layout again
git-svn-id: svn://10.0.0.236/trunk@15939 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:29:13 +00:00
kipp%netscape.com
2c0c8a72a7 Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line
git-svn-id: svn://10.0.0.236/trunk@15938 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:28:55 +00:00
kipp%netscape.com
2c7beba568 Added DeleteLine method
git-svn-id: svn://10.0.0.236/trunk@15937 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:28:23 +00:00
akkana%netscape.com
38c4a010d7 Change NULL to 0 in NS_RELEASE and NS_IF_RELEASE macros.
This is illegal C++ (at least on machines where NULL == (void*)0)
and breaks some compilers, issues warnings in others.


git-svn-id: svn://10.0.0.236/trunk@15936 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 21:57:57 +00:00
raman%netscape.com
08c4b8f0d0 Bug fix for 1741. For XP_FILE_READ_BIN permission types, set mode as nsRead.
git-svn-id: svn://10.0.0.236/trunk@15935 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 21:49:29 +00:00
shaver%netscape.com
459587fe77 remove dead code, tweak whitespace
git-svn-id: svn://10.0.0.236/trunk@15934 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 20:23:37 +00:00
waterson%netscape.com
042cf627d5 Cleaned up content model generation.
git-svn-id: svn://10.0.0.236/trunk@15933 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 20:09:30 +00:00
kipp%netscape.com
d596ead678 Slightly better handling of left/right block margins
git-svn-id: svn://10.0.0.236/trunk@15932 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:34:41 +00:00
dcone%netscape.com
9f0879552a Changed some attributes on the printer items for the menus
git-svn-id: svn://10.0.0.236/trunk@15931 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:14:33 +00:00
harishd%netscape.com
bf95de173e changed the code that previously accessed mBorderStyle and mBordercolor
with new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15930 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:07:45 +00:00
harishd%netscape.com
9e86b8e8b4 Changed code that previously accessed mBorderStyle and mBorderColor with
new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15929 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:06:55 +00:00
harishd%netscape.com
1abffa47d3 Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15928 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:05:40 +00:00
harishd%netscape.com
1f271c4b88 Included a new DrawDashedSide() function prototype and modified DrawSide() function.
git-svn-id: svn://10.0.0.236/trunk@15927 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:04:39 +00:00
harishd%netscape.com
992a69972a Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15926 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:02:13 +00:00
harishd%netscape.com
3184560d3b No change
git-svn-id: svn://10.0.0.236/trunk@15925 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:00:45 +00:00
harishd%netscape.com
010e4bd873 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:56:29 +00:00
harishd%netscape.com
2845bf2e91 Changed code that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15923 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:55:19 +00:00
harishd%netscape.com
5928b4de66 Changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15922 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:53:07 +00:00
harishd%netscape.com
6642c7f122 changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods defined in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15921 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:51:26 +00:00
harishd%netscape.com
7b2eca6c86 Added NS_STYLE_HAS_BORDER_COLOR (0x80)
git-svn-id: svn://10.0.0.236/trunk@15920 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:46:02 +00:00
troy%netscape.com
cf9c18e0c5 Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'


git-svn-id: svn://10.0.0.236/trunk@15919 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:44:40 +00:00
harishd%netscape.com
d0a00e5aa9 Made mBorderStyle and mBorderColor arrays as protected members
and added functions GetBorderStyle(), GetBorderColor(), SetBorderStyle(),
SetBorderColor(), and ClearBorderStyleHightBit() in nsStyleSpacing.


git-svn-id: svn://10.0.0.236/trunk@15918 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:44:02 +00:00
jfrancis%netscape.com
d4a218b353 fixing IsSameDocument by including nsIDOMDocument.h
git-svn-id: svn://10.0.0.236/trunk@15917 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 17:53:59 +00:00
kipp%netscape.com
e5335645a8 Removed bogus ISupports support
git-svn-id: svn://10.0.0.236/trunk@15916 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 16:17:10 +00:00
kipp%netscape.com
be94800e1a Removed bogus cast
git-svn-id: svn://10.0.0.236/trunk@15915 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 16:16:46 +00:00
jfrancis%netscape.com
64e6b5e6e7 implemetned ComparePointToRange() and IsPointInRange(). Stopped caching ancestor lists. Added standard copy constructor/assignment operator prohibition.
git-svn-id: svn://10.0.0.236/trunk@15914 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 16:11:52 +00:00
rhp%netscape.com
e807c333c6 This is to export the function for stream converter registration in
netlib. This is a temporary change until the XP-COM interface is in
place for this functionality.


git-svn-id: svn://10.0.0.236/trunk@15913 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 13:51:23 +00:00
rhp%netscape.com
5f6b7c7a9f This change is to add a file association for .EML files. These
extensions are setup under WinXX for all RFC822 messages.


git-svn-id: svn://10.0.0.236/trunk@15912 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 13:27:47 +00:00
ramiro%netscape.com
ca40fec6e8 Include "gtklayout.h" only for gtk+ < 1.1.6
git-svn-id: svn://10.0.0.236/trunk@15911 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:52:42 +00:00
ramiro%netscape.com
f097a21a0c widget/tests/scribble/Makefile.in:
- Link with -lpwcac -ldbm on all platforms, not just Linux, FreeBSD, and
SunOS.
- Correct linking order: $(PNG_LIBS) needs to be after -limg.

widget/tests/scribble/main.cpp
- Declare extern "C" for the XP_ReBuffer stub.
- Declare main to return int because it does return a value.

Thanks to wtc@netscape.com (Wan-Teh Chang) for the fix.


git-svn-id: svn://10.0.0.236/trunk@15910 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:51:26 +00:00
ramiro%netscape.com
9c079a8bd4 Remove accidentally checked in file.
git-svn-id: svn://10.0.0.236/trunk@15909 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:49:04 +00:00
ramiro%netscape.com
1480b26681 Ignore the generated makefile
git-svn-id: svn://10.0.0.236/trunk@15908 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:45:39 +00:00
beard%netscape.com
6b7b83d3c5 Initial cut at GetReferrer, GetDomain methods. Some enhancements to nsIURL may be needed to do this right.
git-svn-id: svn://10.0.0.236/trunk@15907 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:10:12 +00:00
msw%gimp.org
ed6c31de48 Resizing works again, but resizes seem behind by one step.
git-svn-id: svn://10.0.0.236/trunk@15906 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 05:08:00 +00:00
troy%netscape.com
385b6f14aa Initial check-in
git-svn-id: svn://10.0.0.236/trunk@15905 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 04:05:12 +00:00
ramiro%netscape.com
dcc6aa9dd2 Add depend.mk.
git-svn-id: svn://10.0.0.236/trunk@15904 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:58:05 +00:00
troy%netscape.com
4c8f073007 Changed Print() to use nsIPageSequenceFrame. Now we can print to multiple
pages


git-svn-id: svn://10.0.0.236/trunk@15903 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:45:30 +00:00
troy%netscape.com
dcfe7f9e75 Added additional parameter to Display() for specifying which view
should be displayed


git-svn-id: svn://10.0.0.236/trunk@15902 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:44:57 +00:00
troy%netscape.com
a2f34c611a Added support for printing multiple pages
git-svn-id: svn://10.0.0.236/trunk@15901 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:43:02 +00:00
pierre%netscape.com
a0f3334c86 rewrote the GraphicState handling
git-svn-id: svn://10.0.0.236/trunk@15900 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:38:58 +00:00
pierre%netscape.com
65003d55c3 removed the NS_NATIVE_OFFSET_IN_PORT hacks
git-svn-id: svn://10.0.0.236/trunk@15899 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:37:15 +00:00
ramiro%netscape.com
22dbfb815d Completely yank the inline check and blurb as suggested by wtc.
git-svn-id: svn://10.0.0.236/trunk@15898 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:32:51 +00:00
beard%netscape.com
03f544c401 Implemented SetTitle using nsString::ToCString. Will need to revisit when UNICODE window titles are supported.
git-svn-id: svn://10.0.0.236/trunk@15897 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:08:07 +00:00
ramiro%netscape.com
21ec4ce15e Fix the depend noise redirection.
Thanks to Tom Lane <tgl@sss.pgh.pa.us> for suggesting the fix.


git-svn-id: svn://10.0.0.236/trunk@15896 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 02:32:25 +00:00
wtc%netscape.com
2ef081b6ea Apply the patch submitted by Joe Keane <jgk@jgk.org> to PR_Poll
so that we use a struct pollfd array allocated on the stack
when caller's poll descriptor array can fit in it.  This avoids
the cost of a malloc and a free call when the poll descriptor
arrays are small.


git-svn-id: svn://10.0.0.236/trunk@15895 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 01:39:48 +00:00
wtc%netscape.com
6e752045ee In _MD_unix_map_open_error, map EOVERFLOW to PR_FILE_TOO_BIG_ERROR.
git-svn-id: svn://10.0.0.236/trunk@15894 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 01:22:31 +00:00
leaf%mozilla.org
d0f6034d92 clobber and checkout rules should work now, but they still need some cleaning.
git-svn-id: svn://10.0.0.236/trunk@15893 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 00:07:54 +00:00
leaf%mozilla.org
392f97db62 making set-timebomb.pl work with shaver's hack in
xfe/xpviewer/src/nsViewerApp.cpp to implement a timebomb.


git-svn-id: svn://10.0.0.236/trunk@15892 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 00:06:19 +00:00
leaf%mozilla.org
052f1129eb shaver's hacked timebomb code; prefs should be made to do this Right.
git-svn-id: svn://10.0.0.236/trunk@15891 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 00:04:14 +00:00
rickg%netscape.com
d48b237993 improvements to fix a table bug for cujo.
git-svn-id: svn://10.0.0.236/trunk@15890 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 20:29:29 +00:00
shaver%netscape.com
5d7c8750fd Added varargs support (produces "..." in C++ until we figure out what
nsIVarargs should look like).
IDL return value now becomes a final (but before varargs!) out parameter
_retval in C++.
Prettied up some whitespace.


git-svn-id: svn://10.0.0.236/trunk@15889 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 19:52:21 +00:00
shaver%netscape.com
f176ff7946 Update usage message.
Add #include processing.
Generate #define NS_IFOO_IID_STR for kipp.
More header-generation niceties: #ifndef __nsIFoo_h__, DO NOT EDIT warning
now mentions source filename.
Generate #include in header to match #include in IDL, not by grovelling for
referenced interfaces.
(XXX: Need to polish up memory management.)


git-svn-id: svn://10.0.0.236/trunk@15888 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 18:41:44 +00:00
pavlov%pavlov.net
d1163274af remove all references to TRUE and FALSE and replace them with PR_TRUE and
PR_FALSE (for consistancy)  fix nsTextAreaWidget so that it doesn't default to ReadOnly


git-svn-id: svn://10.0.0.236/trunk@15887 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 15:56:43 +00:00
pavlov%pavlov.net
fda7f9ae59 indent these files so they conform to the style and fix read only and password
fields.


git-svn-id: svn://10.0.0.236/trunk@15886 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 15:42:28 +00:00
pavlov%pavlov.net
9d0eeb338f build TextWidget's correctly.
git-svn-id: svn://10.0.0.236/trunk@15885 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 15:40:48 +00:00
pavlov%pavlov.net
4d6ee6e898 removed unused variables (this one compiles) in nsTextAreaWidget.[ch]
commented out size_allocate in nsWindow.cpp as this doesn't appear to be
needed any more


git-svn-id: svn://10.0.0.236/trunk@15884 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 14:32:20 +00:00
wtc%netscape.com
00941fcdb7 In nsMenu::GetNativeParent, use the GTK_WIDGET macro (defined in
<gtk/gtkwidget.h>) to convert (void *) to (GtkWidget *).


git-svn-id: svn://10.0.0.236/trunk@15883 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 07:08:33 +00:00
ramiro%netscape.com
c4af2d1726 Slowly working towards getting mozilla compiled/linking properly
using the Solaris native compilers.  This patch to configure.in
changes how we create shared libraries for Solaris from "ld" to
"CC", which can deal with templates and other C++ nastiness.

The other change removes the "inline" check, as the results of it
where being used in the wrong way.  It would see that "cc" didn't
understand "inline" and then force a "-Dinline=" option in the
CFLAGS, which are used for both C and C++ compile lines.  As you
can imagine, removing the "inline" keyword from the C++ compiles
was Bad News(tm).

Thanks to Tim Rowley <tor@boojum.cs.brown.edu> for the fix.


git-svn-id: svn://10.0.0.236/trunk@15882 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 07:07:56 +00:00
ramiro%netscape.com
06d94b8e05 Make makedepend less noisy.
git-svn-id: svn://10.0.0.236/trunk@15881 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 07:03:16 +00:00
ramiro%netscape.com
5dcde7cf7d Undo my previous screwup. I thought I was helping...
git-svn-id: svn://10.0.0.236/trunk@15880 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 06:23:31 +00:00
ramiro%netscape.com
1498a660af Fix Pavlov's bustage.
Thanks to Steve Morrison <smorrison@gte.com> for the fix.


git-svn-id: svn://10.0.0.236/trunk@15879 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 06:07:04 +00:00
ramiro%netscape.com
947c778f9f Added a type cast.
Thanks to Wan-Teh Chang <wtc@netscape.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@15878 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 05:32:57 +00:00
pavlov%pavlov.net
efbddb159f nsText* removed unused class variables.
nsWidget use the nsLookAndFeel values instead of defining the colors again.


git-svn-id: svn://10.0.0.236/trunk@15877 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 04:31:13 +00:00
pavlov%pavlov.net
5a2b6bd4d7 set the horizontal scrollbars to the same size size as the verticle ones
git-svn-id: svn://10.0.0.236/trunk@15876 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 03:48:00 +00:00
pavlov%pavlov.net
cfc7015655 set texts for text boxes correctly. impliment InsertText.
git-svn-id: svn://10.0.0.236/trunk@15875 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 03:14:23 +00:00
wtc%netscape.com
a74070c357 Removed inclusion of MacMemAllocator.h, which is not needed
and will be obsolete.  Also removed unused enum definition.


git-svn-id: svn://10.0.0.236/trunk@15874 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 01:52:20 +00:00
pierre%netscape.com
4f305cff94 Moved the Mac Toolbox initialization from nsToolkit to nsAppShell, the reason being that nsAppShell is destined to be replaced by embedding applications while nsToolkit isn't.
git-svn-id: svn://10.0.0.236/trunk@15873 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:51:16 +00:00
pierre%netscape.com
7fa140165d StartDraw() initializes the rendering context; it allows Update() to pass the rendering context to the children.
git-svn-id: svn://10.0.0.236/trunk@15872 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:37:46 +00:00
pierre%netscape.com
11b0da96a2 temporarily defines NO_DOUBLE_BUFFER if XP_MAC (waiting for the offscreen code to be fixed)
git-svn-id: svn://10.0.0.236/trunk@15871 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:37:25 +00:00
pierre%netscape.com
4f1ccf811f Init() does some clipping and initializes the Pen and TextMode (it's related to changes in nsWindow::StartDraw()). In all the drawing functions, replaced SetPort/SetClip/SetOrigin with StartDraw/EndDraw. More changes to come soon.
git-svn-id: svn://10.0.0.236/trunk@15870 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:37:00 +00:00
pierre%netscape.com
ad57465ba3 added StartDraw(), EndDraw() and mCurrentBuffer. More changes to come soon.
git-svn-id: svn://10.0.0.236/trunk@15869 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:36:35 +00:00
pierre%netscape.com
418f104580 removed the ::IdleControl() stuff (it was intended for edit fields but they have been implemented as LPeriodicals)
git-svn-id: svn://10.0.0.236/trunk@15868 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:36:15 +00:00
troy%netscape.com
6e173bf400 Added nsIPrintStatusCallback
git-svn-id: svn://10.0.0.236/trunk@15867 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:30:51 +00:00
sfraser%netscape.com
742a738b0d Change BlockZero to memset.
git-svn-id: svn://10.0.0.236/trunk@15866 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:41:14 +00:00
sfraser%netscape.com
f102df4c04 Update project files to remove old mem allocator code, and include new allocators. Also made static debug target for testing purposes.
git-svn-id: svn://10.0.0.236/trunk@15865 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:05:23 +00:00
sfraser%netscape.com
a4f2af2a2b Allocators now use shared heap zones, for better temp mem use. Other minor changes.
git-svn-id: svn://10.0.0.236/trunk@15864 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:04:36 +00:00
sfraser%netscape.com
0f49470216 Adjust prefix files for the new allocators.
git-svn-id: svn://10.0.0.236/trunk@15863 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:03:38 +00:00
sfraser%netscape.com
8e28e511cc Remove all but the basic exports.
git-svn-id: svn://10.0.0.236/trunk@15862 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:02:58 +00:00
sfraser%netscape.com
0133d979ad Remove the Flush_ calls, and tidy up new().
git-svn-id: svn://10.0.0.236/trunk@15861 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:02:10 +00:00
sfraser%netscape.com
c6e76c4b0c Remove the extern Flush_Allocate, and replace call with a malloc.
git-svn-id: svn://10.0.0.236/trunk@15860 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:01:30 +00:00
sfraser%netscape.com
801cd3efdb No longer export FlushAllocator.h. MacMemAllocator.h should also go away when NSPR is fixed.
git-svn-id: svn://10.0.0.236/trunk@15859 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:01:00 +00:00
sfraser%netscape.com
4955f3602d Add a #error to warn that this file should no longer be used. I can't remove it, because NSPR still includes it.
git-svn-id: svn://10.0.0.236/trunk@15858 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:00:24 +00:00
sfraser%netscape.com
8c835bf710 Remove XP_MAC include, and commented out call to CallCacheFlushers, which no longer lives in the Mac memory allocators. This needs to be hooked up (by XPapps?) in the new world.
git-svn-id: svn://10.0.0.236/trunk@15857 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 21:58:54 +00:00
sfraser%netscape.com
5a79aa8906 Removed XP_MAC include which is no longer necessary.
git-svn-id: svn://10.0.0.236/trunk@15856 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 21:55:53 +00:00
sfraser%netscape.com
4a69091e53 Adding nsBlockReflowContext.cpp, nsBulletFrame.cpp, nsLineBox.cpp to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@15855 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 21:17:05 +00:00
kipp%netscape.com
8853d35209 nuked
git-svn-id: svn://10.0.0.236/trunk@15854 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 19:21:03 +00:00
kipp%netscape.com
05c833dab3 new
git-svn-id: svn://10.0.0.236/trunk@15853 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 19:13:58 +00:00
kipp%netscape.com
4444943d58 Moved the starting url back to what it was
git-svn-id: svn://10.0.0.236/trunk@15852 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:06:38 +00:00
kipp%netscape.com
7dbf7f2ea1 Removed an unwanted DidReflow call
git-svn-id: svn://10.0.0.236/trunk@15851 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:06:14 +00:00
kipp%netscape.com
5e7cf3bb10 Setup first-letter-style to be off by default
git-svn-id: svn://10.0.0.236/trunk@15850 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:05:52 +00:00
kipp%netscape.com
c45965fd71 Removed handling of block frames (its done by nsBlockReflowContext now)
git-svn-id: svn://10.0.0.236/trunk@15849 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:05:23 +00:00
kipp%netscape.com
0a2fa0e309 Spanked to be a subclass of the nsBaseIBFrame class
git-svn-id: svn://10.0.0.236/trunk@15848 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:04:46 +00:00
kipp%netscape.com
ebbfcde3ed Removed carried-out-margin-flags
git-svn-id: svn://10.0.0.236/trunk@15847 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:04:33 +00:00
kipp%netscape.com
84b644509f Renamed a variable to (hopefully) be more clear what it is
git-svn-id: svn://10.0.0.236/trunk@15846 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:03:53 +00:00
kipp%netscape.com
0f01e4d9fa Made IndentBy public
git-svn-id: svn://10.0.0.236/trunk@15845 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:03:07 +00:00
kipp%netscape.com
ee6282c56c Use FirstChild so the method is more reusable
git-svn-id: svn://10.0.0.236/trunk@15844 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:02:43 +00:00
kipp%netscape.com
fb280caf3e Moved to new Init/ctor seperation
git-svn-id: svn://10.0.0.236/trunk@15843 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:02:26 +00:00
kipp%netscape.com
6771fa0a98 Major spankage; refactored code; common base class for block/inline frames
git-svn-id: svn://10.0.0.236/trunk@15842 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:02:08 +00:00
kipp%netscape.com
850e4ad32e nit
git-svn-id: svn://10.0.0.236/trunk@15841 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:01:41 +00:00
kipp%netscape.com
7bf1ab8bdd Made dtor obviously virtual instead of inherited virtual
git-svn-id: svn://10.0.0.236/trunk@15840 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:01:28 +00:00
kipp%netscape.com
04bd3565f5 Updated
git-svn-id: svn://10.0.0.236/trunk@15839 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:01:11 +00:00
kipp%netscape.com
2692c506e9 Added new source files
git-svn-id: svn://10.0.0.236/trunk@15838 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:00:56 +00:00
kipp%netscape.com
f8097d636a Support variable sized paging again, but only if an nspr log variable is defined
git-svn-id: svn://10.0.0.236/trunk@15837 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 15:58:09 +00:00
kipp%netscape.com
2e8fccc650 Start enums at zero so that debug noise can map them to strings safely
git-svn-id: svn://10.0.0.236/trunk@15836 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 15:57:40 +00:00
ramiro%netscape.com
589595f1b0 This patch set just makes sure that all functions that are
supposed to return values actually do so, to keep the Solaris
native compiler happy.

Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.


git-svn-id: svn://10.0.0.236/trunk@15835 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 11:54:00 +00:00
ramiro%netscape.com
6808efdc69 Add a return to a function which is supposed to return a value,
to keep the Solaris native compiler happy.

Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.


git-svn-id: svn://10.0.0.236/trunk@15834 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 11:50:32 +00:00
ramiro%netscape.com
10fb626733 Comment out the "Building in the srcdir is not supported!" test/warning.
This is no longer needed, since the classic build system is dead.  The
original purpose of this test was for the autoconf build not to clobber the
classic makefiles and them someone checkin them in by mistake.  No longer a
problem.


git-svn-id: svn://10.0.0.236/trunk@15833 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 11:27:50 +00:00
ramiro%netscape.com
e8595e93b6 Have cvs ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@15832 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 11:07:45 +00:00
ramiro%netscape.com
342f381cae Ignore files generated by autoconf.
git-svn-id: svn://10.0.0.236/trunk@15831 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 10:39:46 +00:00
ramiro%netscape.com
7880da4526 Add cvsignore entries for makefiles generated bu autoconf.
git-svn-id: svn://10.0.0.236/trunk@15829 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 09:07:33 +00:00
ramiro%netscape.com
e95667bce5 Remove extraneous Makefile files.
git-svn-id: svn://10.0.0.236/trunk@15828 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 08:19:05 +00:00
wtc%netscape.com
d3cba401e5 Fixed a bug in _MD_Open that incorrectly translates PR_WRONLY to
fsRdPerm.  Thanks to John McMullen <mcmullen@netscape.com> for
reporting this problem.


git-svn-id: svn://10.0.0.236/trunk@15827 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 06:51:33 +00:00
buster%netscape.com
9b1c517bdf fixed cellspacing and cellpadding handling
default cellspacing and cellpadding now comes from the table frame itself
other frames on longer look at the "tableStyle" struct for these values


git-svn-id: svn://10.0.0.236/trunk@15824 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 05:27:21 +00:00
pavlov%pavlov.net
ddde7a7583 Fix some code... its late isn't it? no more random looping due to resizing
code.


git-svn-id: svn://10.0.0.236/trunk@15823 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 03:54:30 +00:00
raman%netscape.com
9c6058cce0 Bug fix for 1420. Get filename from HashTable if fileTok is not NULL. If fileTok is NULL return aName for now. Approved by gagan
git-svn-id: svn://10.0.0.236/trunk@15822 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 03:10:43 +00:00
akkana%netscape.com
d12aa9a2fe Implement InSameDoc
git-svn-id: svn://10.0.0.236/trunk@15821 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 02:19:01 +00:00
wtc%netscape.com
58ce42d7a1 The second argument for GetStyleData needs to be 'const'.
git-svn-id: svn://10.0.0.236/trunk@15820 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 01:47:37 +00:00
wtc%netscape.com
5e71862c5b Miscellaneous porting changes from Brian Ostrom <briano@netscape.com>.
git-svn-id: svn://10.0.0.236/trunk@15819 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 01:41:18 +00:00
toshok%hungry.com
9d21df48aa remove this stragler.
git-svn-id: svn://10.0.0.236/trunk@15818 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 01:37:01 +00:00
kin%netscape.com
9ce78f012e Added transient and coalescing test cases.
git-svn-id: svn://10.0.0.236/trunk@15817 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 01:15:40 +00:00
pierre%netscape.com
6803bae2db Fix optimized build: use png.o instead of pngDebug.o in non-debug target
git-svn-id: svn://10.0.0.236/trunk@15816 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 00:23:29 +00:00
hyatt%netscape.com
35f5abe4cd Oops. Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@15815 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:55:48 +00:00
terry%netscape.com
8c77919f41 Add "OS/2" to the op_sys field.
git-svn-id: svn://10.0.0.236/trunk@15814 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:52:20 +00:00
troy%netscape.com
d6d9c0b157 Temporary change to make sure we don't wrap floated tables in a BODY frame
git-svn-id: svn://10.0.0.236/trunk@15813 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:51:16 +00:00
kin%netscape.com
4b75331b5b Added support for nsITransaction::GetIsTransient() method.
git-svn-id: svn://10.0.0.236/trunk@15812 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:09:55 +00:00
hyatt%netscape.com
75dec8692f Tweaks.
git-svn-id: svn://10.0.0.236/trunk@15811 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:05:50 +00:00
kmcclusk%netscape.com
26d8496fe2 Added Windows printing code for radio buttons.
git-svn-id: svn://10.0.0.236/trunk@15810 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:53:45 +00:00
toshok%hungry.com
ccabd40013 wrap -include with ifneq
git-svn-id: svn://10.0.0.236/trunk@15809 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:50:22 +00:00
toshok%hungry.com
ca1b4f9323 get rid of the remaining manifest, rules.mk, and config.mk files.
git-svn-id: svn://10.0.0.236/trunk@15808 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:37:15 +00:00
despotdaemon%netscape.com
63f4415435 Pseudo-automatic update of changes made by cathleen@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15807 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:18:25 +00:00
hyatt%netscape.com
3f6f1f7c0c Added support for vertical dividers.
git-svn-id: svn://10.0.0.236/trunk@15806 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:15:47 +00:00
kin%netscape.com
ba7e3a029e Implemented RecoverFromUndoError() and RecoverFromRedoError().
git-svn-id: svn://10.0.0.236/trunk@15805 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:50:09 +00:00
akkana%netscape.com
d64cbe00fc Waterson's definitions to fix Irix build.
git-svn-id: svn://10.0.0.236/trunk@15804 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:36:56 +00:00
pinkerton%netscape.com
391519224a Changed it so that triangle is drawn with lines instead of polygon
because of differences in gfx between platforms.


git-svn-id: svn://10.0.0.236/trunk@15803 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:36:43 +00:00
akkana%netscape.com
f703a277e0 base/src/nscore.h
git-svn-id: svn://10.0.0.236/trunk@15802 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:36:23 +00:00
kin%netscape.com
905266e217 Added test case for error during a redo. Added checks to make sure all
transaction destruction happens in the order we expect.


git-svn-id: svn://10.0.0.236/trunk@15801 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:32:47 +00:00
troy%netscape.com
9fad935195 Changed InsertChild() to use <= (instead of <) for zindex check, and changed
iteration to use sibling pointers


git-svn-id: svn://10.0.0.236/trunk@15800 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:28:52 +00:00
troy%netscape.com
16560ce56e Moved creation of first page frame to frame construction code, and changed
it so the page frame has a view. This makes printing faster and easier


git-svn-id: svn://10.0.0.236/trunk@15799 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:04:56 +00:00
sar%netscape.com
9de3d614fc fix build_number target. put build number in this dir instead of in ..\build
git-svn-id: svn://10.0.0.236/trunk@15798 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 20:00:31 +00:00
sar%netscape.com
415aaee658 add build_number target
git-svn-id: svn://10.0.0.236/trunk@15797 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:56:48 +00:00
sar%netscape.com
9347a9ee95 add config dir to dirs being traversed
git-svn-id: svn://10.0.0.236/trunk@15796 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:55:37 +00:00
kmcclusk%netscape.com
296a0f01fa Added some comments
git-svn-id: svn://10.0.0.236/trunk@15795 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:16:58 +00:00
kmcclusk%netscape.com
903dc7d289 Fix for MAC build
git-svn-id: svn://10.0.0.236/trunk@15794 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:07:46 +00:00
troy%netscape.com
89bd61bdf7 Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code


git-svn-id: svn://10.0.0.236/trunk@15793 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:03:44 +00:00
kmcclusk%netscape.com
7f340e3206 Added code to GFX-render checkbox's under Windows when printing.
git-svn-id: svn://10.0.0.236/trunk@15792 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 18:33:34 +00:00
jfrancis%netscape.com
4e5b7ef4d1 fixing up start/end setters, other details
git-svn-id: svn://10.0.0.236/trunk@15791 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 18:21:52 +00:00
kin%netscape.com
33a2cdeec8 Added more test cases.
git-svn-id: svn://10.0.0.236/trunk@15790 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 18:09:06 +00:00
karnaze%netscape.com
6160068f25 added code provided by Micahel Lowe to get system colors for frameset borders (bug 1763)
git-svn-id: svn://10.0.0.236/trunk@15789 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 18:05:30 +00:00
despotdaemon%netscape.com
aea16896a0 Pseudo-automatic update of changes made by cbegle@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15787 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 16:54:06 +00:00
pinkerton%netscape.com
4c90823d92 now draws triangle in upper right to indicate this button has a menu. Draws in gray when the button is disabled.
git-svn-id: svn://10.0.0.236/trunk@15786 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 16:34:56 +00:00
dcone%netscape.com
6af09fc750 Changed some attributes on the printer items for the menus
git-svn-id: svn://10.0.0.236/trunk@15785 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:10:07 +00:00
dcone%netscape.com
f14e81cfda Added some printer support
git-svn-id: svn://10.0.0.236/trunk@15784 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:08:18 +00:00
dcone%netscape.com
34fe19e310 added the nsDeviceContextSpec and factory support for printing support
git-svn-id: svn://10.0.0.236/trunk@15783 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:04:30 +00:00
dcone%netscape.com
60967d461c Added the nsDeviceContextSpecFactory and nsDeviceContextSpec support
git-svn-id: svn://10.0.0.236/trunk@15782 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:03:41 +00:00
dcone%netscape.com
0aea51cac2 Added printing support
git-svn-id: svn://10.0.0.236/trunk@15781 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:02:57 +00:00
dcone%netscape.com
31b62e1cdd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15780 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:02:26 +00:00
waterson%netscape.com
924122b79e Added utility files. Split nsRDFDocument into two subclasses.
git-svn-id: svn://10.0.0.236/trunk@15771 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 10:02:17 +00:00
waterson%netscape.com
cb39a2dc4c Changed RDF document CID.
git-svn-id: svn://10.0.0.236/trunk@15770 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 10:01:42 +00:00
waterson%netscape.com
3327b73315 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@15769 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 10:00:13 +00:00
waterson%netscape.com
e9f3b8d629 Moved child creation over into the document. Added some subclasses to deal with it.
git-svn-id: svn://10.0.0.236/trunk@15768 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 09:59:09 +00:00
waterson%netscape.com
efae90afc3 Split the RDFDocument CID into RDFHTMLDocument and RDFTreeDocument.
git-svn-id: svn://10.0.0.236/trunk@15767 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 09:58:35 +00:00
waterson%netscape.com
288f838db5 Remove #ifdef XP_MAC stuff that was excluding the RDF DLL.
git-svn-id: svn://10.0.0.236/trunk@15766 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 08:58:26 +00:00
waterson%netscape.com
cafbddc21f Add RDF to build.
git-svn-id: svn://10.0.0.236/trunk@15765 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 06:17:10 +00:00
troy%netscape.com
88f9a59ca3 Added a comment about view creation
git-svn-id: svn://10.0.0.236/trunk@15764 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 06:13:18 +00:00
troy%netscape.com
086be65468 Changed view creation to occur when frame initialization occurs
git-svn-id: svn://10.0.0.236/trunk@15763 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 05:56:06 +00:00
ramiro%netscape.com
fcc53f9f48 Add support for 'native' dependancies on systems that include the 'makedepend'
binary by default.  For example, linux freebsd and other unices that have
X11 installed in a reasonable fashion.  The commercial unices will continue
to suck as usual.


git-svn-id: svn://10.0.0.236/trunk@15762 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 05:07:01 +00:00
waterson%netscape.com
09b4935ee9 Cleaned up the last couple of fancy C++ casts. Implemented nsRDFElement::IndexOf().
git-svn-id: svn://10.0.0.236/trunk@15761 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:59:54 +00:00
troy%netscape.com
ab5a31d3a8 Removed some commented out old code
git-svn-id: svn://10.0.0.236/trunk@15760 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:46:59 +00:00
waterson%netscape.com
2b04d96272 Added nsSelection header files: this is temporary pending mjudge landing new selection stuff, but I need it now to get RDF building on Mac.
git-svn-id: svn://10.0.0.236/trunk@15759 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:45:00 +00:00
troy%netscape.com
1595471494 Added NS_RELEASE of col frame pseudo element style context. This fixes a memory leak
git-svn-id: svn://10.0.0.236/trunk@15758 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:39:05 +00:00
troy%netscape.com
016e99912d Changed table frame code to call DeleteFrameList() so that the col group
frames are deleted


git-svn-id: svn://10.0.0.236/trunk@15757 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:14:28 +00:00
sfraser%netscape.com
3bbad8c38d Dumping out my latest memory manager changes. Still not being built yet. New code includes stats collection, but no way to write out stats at the moment.
git-svn-id: svn://10.0.0.236/trunk@15756 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 02:21:19 +00:00
troy%netscape.com
3b547e08e4 Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@15755 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 02:08:51 +00:00
waterson%netscape.com
1a3cd25a71 Bunch of whackage. Changed C++ style casts to a macro. Changed NULL to nsnull. Changed the nsRDFDocument to its own class, independent of raptor (black box re-uses raptor parts).
git-svn-id: svn://10.0.0.236/trunk@15754 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:54:23 +00:00
pinkerton%netscape.com
195a59af67 lighten the widget bg colors so this things finally looks like macNavigator again.
git-svn-id: svn://10.0.0.236/trunk@15753 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:39:36 +00:00
waterson%netscape.com
b909a19ffb Added macros for fancy C++ casts.
git-svn-id: svn://10.0.0.236/trunk@15752 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:13:21 +00:00
slamm%netscape.com
81b85141cb Add support for hyatt's treeview.
git-svn-id: svn://10.0.0.236/trunk@15751 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:06:58 +00:00
slamm%netscape.com
15f0c43dad Build hyatt's treeview on Unix.
git-svn-id: svn://10.0.0.236/trunk@15750 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:06:53 +00:00
despotdaemon%netscape.com
ff536acd28 Pseudo-automatic update of changes made by chuang@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15749 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 00:06:02 +00:00
mjudge%netscape.com
e13b418aa0 that didnt work... mac croaked
git-svn-id: svn://10.0.0.236/trunk@15748 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 00:01:09 +00:00
hyatt%netscape.com
e6b24661dd Adding an #ifdef XP_MAC on the window destroy for the tree widget (just to keep
Windows from crashing).


git-svn-id: svn://10.0.0.236/trunk@15747 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:57:44 +00:00
hyatt%netscape.com
569ce3d786 Tweaked the tree colors.
git-svn-id: svn://10.0.0.236/trunk@15746 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:55:15 +00:00
mjudge%netscape.com
e75f4b14dd removing NULL replacing with nsnull
git-svn-id: svn://10.0.0.236/trunk@15745 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:46:36 +00:00
mjudge%netscape.com
61da02c81e changing NULL to nsnull
git-svn-id: svn://10.0.0.236/trunk@15744 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:40:06 +00:00
beard%netscape.com
559a2f1990 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15743 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:34:34 +00:00
beard%netscape.com
8735046452 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15742 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:29:19 +00:00
despotdaemon%netscape.com
adaf914114 Pseudo-automatic update of changes made by chuang@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15741 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:25:03 +00:00
despotdaemon%netscape.com
6b5b269bf6 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@15740 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:13:39 +00:00
jfrancis%netscape.com
f28b0461fe more work on grungy range details
git-svn-id: svn://10.0.0.236/trunk@15739 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:59:07 +00:00
beard%netscape.com
62f0aa37fa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15738 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:36:55 +00:00
kin%netscape.com
2dc88481c6 Added the editor/txmgr makefiles to the list of editor makefiles.
git-svn-id: svn://10.0.0.236/trunk@15737 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:20:34 +00:00
beard%netscape.com
84c016dd2f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15736 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:17:06 +00:00
hyatt%netscape.com
77ff46f4f9 The tree view column pushers disable properly. Hidden/shown columns remember
their desired widths.


git-svn-id: svn://10.0.0.236/trunk@15735 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:15:51 +00:00
waterson%netscape.com
0b35f3e964 Changed upper case RDF to lower case rdf to make consistent with the rest of the builds.
git-svn-id: svn://10.0.0.236/trunk@15734 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:07:16 +00:00
pinkerton%netscape.com
9beb110348 make sure the port is set correctly before we call ::SetOrigin on mouse events.
git-svn-id: svn://10.0.0.236/trunk@15733 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:05:49 +00:00
pinkerton%netscape.com
b0af80a5e7 handle NS_DESTROY message in tree window event handler.
git-svn-id: svn://10.0.0.236/trunk@15732 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:05:17 +00:00
waterson%netscape.com
bc334f6a33 Added mozilla/layout/html/style/src to the list of MANIFEST-ed directories. This makes sure that nsIHTMLStyleSheet and nsIHTMLCSSStyleSheet are exported.
git-svn-id: svn://10.0.0.236/trunk@15731 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:48:45 +00:00
mjudge%netscape.com
bcb1a29e8f new selection change to come ifdefs going in
git-svn-id: svn://10.0.0.236/trunk@15730 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:48:32 +00:00
mjudge%netscape.com
a7016e173a changed call for editor to include a call for the classid editor as well
git-svn-id: svn://10.0.0.236/trunk@15729 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:47:22 +00:00
mjudge%netscape.com
0b731fb2af new enumerator interface change
git-svn-id: svn://10.0.0.236/trunk@15728 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:46:51 +00:00
mjudge%netscape.com
7cfb36e5d7 changing enumerator interface again
git-svn-id: svn://10.0.0.236/trunk@15727 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:46:27 +00:00
mjudge%netscape.com
046ac87d8d changing enumerator interface
git-svn-id: svn://10.0.0.236/trunk@15726 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:46:06 +00:00
mjudge%netscape.com
f19d69e4a0 changing use of selection
git-svn-id: svn://10.0.0.236/trunk@15725 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:45:26 +00:00
mjudge%netscape.com
307185c34e new use of enumerator class changed IsDone to return NS_COMFALSE if not done
git-svn-id: svn://10.0.0.236/trunk@15724 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:44:54 +00:00
mjudge%netscape.com
383bba0f13 changing exports of new CIDs for selection
git-svn-id: svn://10.0.0.236/trunk@15723 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:44:12 +00:00
mjudge%netscape.com
e68a9d1ff0 changing selection code
git-svn-id: svn://10.0.0.236/trunk@15722 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:43:32 +00:00
mjudge%netscape.com
56057bdbde new collection export instead of nsISelection
git-svn-id: svn://10.0.0.236/trunk@15721 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:42:58 +00:00
mjudge%netscape.com
91ee1e24fd exporting new cid files
git-svn-id: svn://10.0.0.236/trunk@15720 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:41:07 +00:00
fur%netscape.com
8a43aa3ae0 Initial check-in of ElectricalFire, a Java JIT compiler.
git-svn-id: svn://10.0.0.236/trunk@15719 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:10:47 +00:00
waterson%netscape.com
b0eacc489e A better fix.
git-svn-id: svn://10.0.0.236/trunk@15718 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:50:21 +00:00
waterson%netscape.com
b9ca3d1232 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@15717 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:47:01 +00:00
waterson%netscape.com
7005ad4675 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15716 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:28:15 +00:00
waterson%netscape.com
a4f4d45462 File Removed.
git-svn-id: svn://10.0.0.236/trunk@15715 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:26:33 +00:00
leaf%mozilla.org
a1ca7300c3 readding the xpcom/tools/Makefile rule. xpcom/tools needs to be made before
xpcom/tools/idl/Makefile.


git-svn-id: svn://10.0.0.236/trunk@15714 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:26:22 +00:00
waterson%netscape.com
57bc8c82e6 Expose nsWellFormedDTD via the factory.
git-svn-id: svn://10.0.0.236/trunk@15713 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:22:19 +00:00
waterson%netscape.com
85034a850f Export style sheets, nsPresShell, and nsTextNode via the factory.
git-svn-id: svn://10.0.0.236/trunk@15712 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:21:40 +00:00
waterson%netscape.com
ddfb3f25e0 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h.
git-svn-id: svn://10.0.0.236/trunk@15711 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:20:35 +00:00
waterson%netscape.com
c4b7624c9b Added initializer that can be used from the repository.
git-svn-id: svn://10.0.0.236/trunk@15710 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:19:46 +00:00
buster%netscape.com
28547e48be minor optimizations and cleanup. removed constructors that did nothing.
git-svn-id: svn://10.0.0.236/trunk@15709 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:19:01 +00:00
pollmann%netscape.com
dbed102059 Allow option groups to contain options when building the content model
git-svn-id: svn://10.0.0.236/trunk@15708 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 19:33:12 +00:00
hyatt%netscape.com
b62fdf33fb Improvements to tree widget tester.
git-svn-id: svn://10.0.0.236/trunk@15707 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 19:13:53 +00:00
jfrancis%netscape.com
d87021fc1a adding nsRange.cpp to the project, again. it's always better the second time around.
git-svn-id: svn://10.0.0.236/trunk@15706 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 18:21:45 +00:00
buster%netscape.com
8b5b151f2d added table pseudo-style contenxts
git-svn-id: svn://10.0.0.236/trunk@15705 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 18:03:28 +00:00
buster%netscape.com
104395fa1f the inner table frame now maintains 2 child lists: the main child lists that holds rowgroups and unknown frame
types, and mColGroups. Besides being cleaner and easier to maintain, this should speed some things up slightly
     because I don't have to check display types every time I iterate through colgroup frames.  I *know*
     mColGroups contains only colgroups.  I might do the same for rowgroups (that is, keep unknown frame types
     in their own list as well.)  But that's optional.
the inner table frame used to incorrectly create actual content objects for anonymous colgroups and cols.  Now,
     it just creates frames as appropriate, not content.  To support this, I added some pseudo style contexts and
     related atoms.


git-svn-id: svn://10.0.0.236/trunk@15704 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 18:01:35 +00:00
buster%netscape.com
46aa659021 added atoms for table pseudo style contexts
git-svn-id: svn://10.0.0.236/trunk@15703 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 18:00:42 +00:00
pinkerton%netscape.com
eb08a77817 turn on tree view command for win and macos.
git-svn-id: svn://10.0.0.236/trunk@15702 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:59:25 +00:00
pinkerton%netscape.com
91b0f90740 handle view source and tree view file menu commands.
git-svn-id: svn://10.0.0.236/trunk@15701 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:59:13 +00:00
pinkerton%netscape.com
eb562f6887 added view source and view tree menu items for demo purposes.
git-svn-id: svn://10.0.0.236/trunk@15700 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:58:44 +00:00
shaver%netscape.com
f5b3bec414 Add generated file warning.
Remove excessive #include "nsISupports.h" generation.
Interfaces are public:, accessors are pure (= 0).


git-svn-id: svn://10.0.0.236/trunk@15699 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:38:55 +00:00
jfrancis%netscape.com
5fbc38d8cc fixing bad goto (as if there were good ones?)
git-svn-id: svn://10.0.0.236/trunk@15698 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:25:00 +00:00
troy%netscape.com
5dc9f4f4a8 Added NS_RELEASE to fix leak of a HTML style element
git-svn-id: svn://10.0.0.236/trunk@15697 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 16:46:56 +00:00
terry%netscape.com
d60bb4659d Fixed bug 1746 -- make it say "Submit query" instead of "Submit".
git-svn-id: svn://10.0.0.236/trunk@15696 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 16:31:10 +00:00
terry%netscape.com
671a288996 Reworked the rep_platform and op_sys fields. BEWARE; this includes
some changes to the database schema!


git-svn-id: svn://10.0.0.236/trunk@15695 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 16:10:52 +00:00
jfrancis%netscape.com
9c7b15c912 adding some private helper functionality that is going to change soon...
git-svn-id: svn://10.0.0.236/trunk@15694 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 15:02:37 +00:00
leaf%mozilla.org
cb1d23c2aa Removed some kruft and added a pull_config to pull_all so pull_nglayout doesn't
die. More splitting needs to be done (taking up some of the things that nglayout.mak
does but shouldn't be doing)... but that's for another early morning.


git-svn-id: svn://10.0.0.236/trunk@15693 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 12:28:26 +00:00
hyatt%netscape.com
a600c5fcb5 Hacked the viewer so that the tree widget can be launched from the File menu.
Only works on Windows currently.


git-svn-id: svn://10.0.0.236/trunk@15692 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 10:12:30 +00:00
jfrancis%netscape.com
c6102dbf54 putting Akkana's implementation back in; fixed compile-time errors
git-svn-id: svn://10.0.0.236/trunk@15691 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 09:51:05 +00:00
jfrancis%netscape.com
19234409ed taking out the factory extern cruft that we only needed before we had shared libs working on the mac. Long live the shared lib conversion!
git-svn-id: svn://10.0.0.236/trunk@15690 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 09:35:38 +00:00
jfrancis%netscape.com
5312ddf123 cleaning up library dependencies, and added xpcom.shlb
git-svn-id: svn://10.0.0.236/trunk@15689 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 09:34:37 +00:00
leaf%mozilla.org
e5639c0739 there's no xpcom/toolsMakefile.in , so don't try and make the Makefile
git-svn-id: svn://10.0.0.236/trunk@15687 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 08:44:14 +00:00
troy%netscape.com
4edf9f0135 Removed explict call of base class constructor
git-svn-id: svn://10.0.0.236/trunk@15686 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 07:22:31 +00:00
troy%netscape.com
f511034628 Removed explicit call of base class constructor because it was
making Unix compilers unhappy


git-svn-id: svn://10.0.0.236/trunk@15685 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 07:20:59 +00:00
wtc%netscape.com
0e55a232b4 Added a static cast from void* to GtkWidget*.
git-svn-id: svn://10.0.0.236/trunk@15684 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:35:05 +00:00
shaver%netscape.com
8accf45608 Fix indentation, which was my fault and not andrewv's.
Add nsISupports to the always-include list.
Clean up interface generation code, and then mess it up again with
IID handling.


git-svn-id: svn://10.0.0.236/trunk@15683 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:33:59 +00:00
troy%netscape.com
01f27b2a31 Added Init() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@15682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:31:43 +00:00
wtc%netscape.com
2c8f8fff45 The GetFont method of nsIFontMetrics takes a const pointer reference
as argument, so we must pass a const pointer reference to it.


git-svn-id: svn://10.0.0.236/trunk@15681 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:29:56 +00:00
despotdaemon%netscape.com
f8d265ea3f Pseudo-automatic update of changes made by dawn@cannibal.mi.org.
git-svn-id: svn://10.0.0.236/trunk@15680 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:07:21 +00:00
despotdaemon%netscape.com
5e302713d5 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15679 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:01:59 +00:00
despotdaemon%netscape.com
7710d61b16 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15678 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:00:01 +00:00
saari%netscape.com
5698cd65df Mac - Temporarly turning off the passing down of rendering contexts to children during updates to facilitate a hack that improves rendering. The hack is getting around the Windows centric XP code.
git-svn-id: svn://10.0.0.236/trunk@15677 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 04:26:46 +00:00
nisheeth%netscape.com
a769382e80 Added /FR flag for WIN32 builds to generate code browsing info if
MOZ_BROWSE_INFO is set in the environment.


git-svn-id: svn://10.0.0.236/trunk@15676 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 04:26:40 +00:00
nisheeth%netscape.com
a93af06938 Added a browse_info target to the windows make file to support
generation of the .BSC browse info file from all the .SBR files
that get generated by the MSVC compiler.


git-svn-id: svn://10.0.0.236/trunk@15675 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 04:25:14 +00:00
saari%netscape.com
dec07bc825 Mac only hackery to make rendering better.
git-svn-id: svn://10.0.0.236/trunk@15674 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 04:24:54 +00:00
joki%netscape.com
053d2832d4 Fix cursor bug which caused cursor to be set once per child view on each mousemove
git-svn-id: svn://10.0.0.236/trunk@15673 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 03:07:16 +00:00
pinkerton%netscape.com
c781700b61 replace NS_IMETHOD with expanded version to make vc6 happy.
git-svn-id: svn://10.0.0.236/trunk@15672 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:45:40 +00:00
rpotts%netscape.com
169eccca7e Temp file to populate the repository (until it becomes persistent...
git-svn-id: svn://10.0.0.236/trunk@15671 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:38:19 +00:00
rpotts%netscape.com
0a9440f28b Application launcher...
git-svn-id: svn://10.0.0.236/trunk@15670 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:37:46 +00:00
rpotts%netscape.com
bd56204091 Windows makefile...
git-svn-id: svn://10.0.0.236/trunk@15669 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:37:24 +00:00
rpotts%netscape.com
cb02290217 public headers for the Application SHell services...
git-svn-id: svn://10.0.0.236/trunk@15668 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:36:47 +00:00
rpotts%netscape.com
14c137e472 Application Shell services...
git-svn-id: svn://10.0.0.236/trunk@15667 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:35:53 +00:00
pinkerton%netscape.com
55d40f31ea move the tree and toolbar files into their own group.
git-svn-id: svn://10.0.0.236/trunk@15666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:27:41 +00:00
pinkerton%netscape.com
9af474e202 general cleanup, change PaintLines() to PaintRows(), cleaned up cntr.
git-svn-id: svn://10.0.0.236/trunk@15665 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:27:24 +00:00
pinkerton%netscape.com
fe975b655e make the toolbar inherit from the dataModelWidget class like the trees.
git-svn-id: svn://10.0.0.236/trunk@15664 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:26:39 +00:00
pinkerton%netscape.com
fa6414062a clean up a warning and some comments.
git-svn-id: svn://10.0.0.236/trunk@15663 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:26:10 +00:00
pinkerton%netscape.com
724463c7a0 moved eDMImageLoaded constant here because this is the only place it is used.
git-svn-id: svn://10.0.0.236/trunk@15662 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:25:50 +00:00
pinkerton%netscape.com
24277cfac1 reshuffled some things to remove include dependancies, etc.
git-svn-id: svn://10.0.0.236/trunk@15661 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:25:26 +00:00
rpotts%netscape.com
ba6ba6906a Windows makefile...
git-svn-id: svn://10.0.0.236/trunk@15660 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:17:32 +00:00
pierre%netscape.com
ce14f70107 Making nsMacRepository.h obsolete: the shared lib conversion is done.
git-svn-id: svn://10.0.0.236/trunk@15659 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:06:00 +00:00
sfraser%netscape.com
af6b5cff3e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15658 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:45:32 +00:00
kin%netscape.com
86a31102c0 Fixed crash bug when calling PeekUndoStack() or PeekRedoStack() when the stacks
are empty. Fixed bug that allowed mMaxLevelsOfUndo + 1 entries on the undo
stack.


git-svn-id: svn://10.0.0.236/trunk@15657 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:41:44 +00:00
pinkerton%netscape.com
aa2bbcf32f added nsJSUtils.cpp to base for vidur.
git-svn-id: svn://10.0.0.236/trunk@15656 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:36:06 +00:00
vidur%netscape.com
c0cd474b21 Fixed unitialized value problem.
git-svn-id: svn://10.0.0.236/trunk@15655 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:34:44 +00:00
vidur%netscape.com
8675dc74ce Slimmed down DOM code by creating a few utility functions for conversion, etc. Fixed bug 1656 - bug in generator with an enum value of 0.
git-svn-id: svn://10.0.0.236/trunk@15654 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:33:00 +00:00
sfraser%netscape.com
e09a7f3f67 File Removed.
git-svn-id: svn://10.0.0.236/trunk@15653 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:26:44 +00:00
hyatt%netscape.com
f6f73127c3 Removal of the mutable keyword (to keep VC4.2 happy), and a fix to make
sure the folder and trigger images load for everyone.


git-svn-id: svn://10.0.0.236/trunk@15652 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 23:04:55 +00:00
leaf%mozilla.org
362a53efb2 fixed mismatched quotes.
git-svn-id: svn://10.0.0.236/trunk@15651 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 22:30:52 +00:00
leaf%mozilla.org
304afd24c1 backing out bad change
git-svn-id: svn://10.0.0.236/trunk@15650 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 22:24:09 +00:00
leaf%mozilla.org
9700526d67 we must descend editor/ no matter what now.
git-svn-id: svn://10.0.0.236/trunk@15649 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 22:13:21 +00:00
leaf%mozilla.org
00349f60b8 adding the editor/public header export makefiles to the default makefile list
git-svn-id: svn://10.0.0.236/trunk@15648 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 22:08:05 +00:00
leaf%mozilla.org
a9c6dd2da4 adding the editor/Makefile.in and editor/public to SeaMonkeyBrowser
git-svn-id: svn://10.0.0.236/trunk@15647 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 21:50:19 +00:00
kin%netscape.com
df6b542687 Fix for build bustage on Unix. Put in missing '$'.
git-svn-id: svn://10.0.0.236/trunk@15646 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 21:25:41 +00:00
kin%netscape.com
c142f19e2d Fix for Unix build bustage. We only build the editor core code if
MOZ_EDITOR is set, otherwise, we just export the editor interfaces.


git-svn-id: svn://10.0.0.236/trunk@15645 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 21:24:25 +00:00
pavlov%pavlov.net
dd963bbea3 removed extranious #include "gtklayout.h"'s and #ifndef GTK_HAVE_FEATURES_1_1_6
in gtklayout.c and nsWidget.h so that we use the gtklayout from gtk 1.1.6 if
available.


git-svn-id: svn://10.0.0.236/trunk@15643 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:54:34 +00:00
shaver%netscape.com
0913f32ec7 Updated README.
Better arg handling and now lower-case mode flags.
andrewv's fixes to lose dependency on IDLN_ enum order (but not his changes
to indentation settings!).


git-svn-id: svn://10.0.0.236/trunk@15642 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:53:27 +00:00
pinkerton%netscape.com
bc13eb0ae4 add the files to build the xpfe tree view.
git-svn-id: svn://10.0.0.236/trunk@15641 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:49:27 +00:00
pinkerton%netscape.com
39aa690f7a export the tree view.
git-svn-id: svn://10.0.0.236/trunk@15640 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:49:06 +00:00
pinkerton%netscape.com
1f78dc5000 add the tree view to the widget factory.
git-svn-id: svn://10.0.0.236/trunk@15639 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:48:55 +00:00
pinkerton%netscape.com
3224d9619e fix PRBool and an unwanted assignment in an if().
git-svn-id: svn://10.0.0.236/trunk@15638 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:48:28 +00:00
kin%netscape.com
942aef5be1 Fix for build bustage on Unix.
git-svn-id: svn://10.0.0.236/trunk@15637 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 18:02:06 +00:00
mjudge%netscape.com
5be79f43a9 forgot one file for ngEditor
git-svn-id: svn://10.0.0.236/trunk@15636 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:59:03 +00:00
kin%netscape.com
548f97b224 Added GetTransaction() method.
git-svn-id: svn://10.0.0.236/trunk@15635 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:40:56 +00:00
kin%netscape.com
c499a4300e Updated TestTransaction methods to match changes to nsITransaction interface.
Started implementation of simple test.


git-svn-id: svn://10.0.0.236/trunk@15634 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:40:25 +00:00
kin%netscape.com
3cf483c706 Fix for build bustage on Unix.
git-svn-id: svn://10.0.0.236/trunk@15633 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:39:40 +00:00
kin%netscape.com
8d81669ab7 Added implementations for new Clear(), PeekUndoStack(), and PeekRedoStack()
interface methods. Added support for transaction merging/coalescing, and
max number of undos.


git-svn-id: svn://10.0.0.236/trunk@15632 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:39:09 +00:00
kin%netscape.com
79b9defb35 Added Clear(), PeekUndoStack(), and PeekRedoStack() methods to interface.
git-svn-id: svn://10.0.0.236/trunk@15631 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:37:16 +00:00
kin%netscape.com
4eed82b09a Added Merge() method to interface.
git-svn-id: svn://10.0.0.236/trunk@15630 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:36:46 +00:00
akkana%netscape.com
16b950c06e For mjudge: Remove NGEDITOR defines
git-svn-id: svn://10.0.0.236/trunk@15629 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:20:54 +00:00
wtc%netscape.com
cb295c0441 Added extern "C" for XP_ReBuffer().
git-svn-id: svn://10.0.0.236/trunk@15628 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:52:08 +00:00
wtc%netscape.com
773ba841c6 Link with -lpwcac -ldbm on all platforms, not just FreeBSD, Linux, and
SunOS.


git-svn-id: svn://10.0.0.236/trunk@15627 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:51:45 +00:00
wtc%netscape.com
bc83a7b897 Link with -lpwcac -ldbm on all platforms, not just on FreeBSD, Linux,
and SunOS.


git-svn-id: svn://10.0.0.236/trunk@15626 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:49:27 +00:00
wtc%netscape.com
d45ab8ecf7 This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.


git-svn-id: svn://10.0.0.236/trunk@15625 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:45:20 +00:00
dcone%netscape.com
b5ce78f2af Changed the name so the file can be used on the Mac
git-svn-id: svn://10.0.0.236/trunk@15624 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:06:31 +00:00
chuckb%netscape.com
793e08b58b two bug fixes.
git-svn-id: svn://10.0.0.236/trunk@15623 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:56:43 +00:00
pierre%netscape.com
cda7b1f93b Make an alias of the WASTELib library in the 'dist' directory
git-svn-id: svn://10.0.0.236/trunk@15622 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:17:36 +00:00
pierre%netscape.com
b26e325161 changed eMetric_TextFieldHeight to 16 from 30
git-svn-id: svn://10.0.0.236/trunk@15621 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:15:55 +00:00
pierre%netscape.com
b2b5f6973f removed the 2 Resize() methods
git-svn-id: svn://10.0.0.236/trunk@15620 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:15:41 +00:00
pierre%netscape.com
9acc3cde2c Update() receives the rendering context as a parameter and passes it to the children
git-svn-id: svn://10.0.0.236/trunk@15619 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:15:22 +00:00
hyatt%netscape.com
fbb73d31d8 Eliminated my usage of the "mutable" keyword, since VC4.2 chokes on it.
git-svn-id: svn://10.0.0.236/trunk@15618 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 07:20:39 +00:00
saari%netscape.com
ae67adc529 Fix build breakage.
Added mozilla/layout/base/nsPringContext.cpp to layout.mcp to mirror Troy's addition to the build today.


git-svn-id: svn://10.0.0.236/trunk@15617 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 04:59:15 +00:00
saari%netscape.com
ad5ae66745 Fixing build breakage.
nsRegionMac API changed on me.


git-svn-id: svn://10.0.0.236/trunk@15616 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 04:26:16 +00:00
troy%netscape.com
26a1c5f759 Added ID for nsIPageSequenceFrame
git-svn-id: svn://10.0.0.236/trunk@15614 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 03:53:01 +00:00
troy%netscape.com
f8f4d4ce45 Changed Print() to use a print context instead of a galley mode
context


git-svn-id: svn://10.0.0.236/trunk@15613 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 03:26:37 +00:00
troy%netscape.com
d7e61a86d5 Added PrintContext class and changed document viewer impl to use it instead
of a galley mode context


git-svn-id: svn://10.0.0.236/trunk@15612 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 03:21:55 +00:00
saari%netscape.com
2788df097d fixed hand merge error
git-svn-id: svn://10.0.0.236/trunk@15611 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:51:48 +00:00
saari%netscape.com
cfbf3d475a ----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.


git-svn-id: svn://10.0.0.236/trunk@15610 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:45:08 +00:00
saari%netscape.com
69e1ee819d ----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly


git-svn-id: svn://10.0.0.236/trunk@15609 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:43:19 +00:00
saari%netscape.com
297d9f5ae5 This is the first in what will probably be a series of checkins addressing rendering on the Mac.
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp 

- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.

To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.

----------------------------------------

mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.


/\/\/\/\/\//\

mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------


git-svn-id: svn://10.0.0.236/trunk@15608 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:42:19 +00:00
wtc%netscape.com
a155e44fc1 The mktime routine in MetroWerks MSL C Runtime Library on the Mac
uses midnight 1 Jan 1900 as the epoch.  So we need to adjust its
return value to the NSPR epoch.  Thanks to Brendan Eich and Chris
Yeh for this fix.


git-svn-id: svn://10.0.0.236/trunk@15607 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:35:27 +00:00
sar%netscape.com
1ca4c61fe1 add needed top level makefiles to SeamonkeyCore for win and linux --sarah
git-svn-id: svn://10.0.0.236/trunk@15606 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:29:11 +00:00
saari%netscape.com
69c1d2263e This is the first in what will probably be a series of checkins addressing rendering on the Mac.
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp 

- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.

To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.

----------------------------------------

mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.


/\/\/\/\/\//\

mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------


git-svn-id: svn://10.0.0.236/trunk@15605 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:26:08 +00:00
joki%netscape.com
2973fa0b43 Fix mouseover/mouseout firing crash when hitting bad frame.
git-svn-id: svn://10.0.0.236/trunk@15604 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:14:58 +00:00
waterson%netscape.com
624c0b68fb Added rdf to LINCS.
git-svn-id: svn://10.0.0.236/trunk@15603 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:13:49 +00:00
hyatt%netscape.com
7884d6c986 Fixing the widget factory for tree views.
git-svn-id: svn://10.0.0.236/trunk@15602 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:45:15 +00:00
hyatt%netscape.com
2d805bdda3 Fixing the widget factory for the tree view.
git-svn-id: svn://10.0.0.236/trunk@15601 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:44:53 +00:00
hyatt%netscape.com
3f71118adc The tree view interface.
git-svn-id: svn://10.0.0.236/trunk@15600 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:44:24 +00:00
hyatt%netscape.com
07509a869b Initial checkin of the tree widget and the data model architecture (that will
be used for toolbars and trees).


git-svn-id: svn://10.0.0.236/trunk@15599 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:43:26 +00:00
waterson%netscape.com
d6b5ad35ae #ifdef out XP_MAC stuff for now.
git-svn-id: svn://10.0.0.236/trunk@15598 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:42:17 +00:00
hyatt%netscape.com
b3bdab2165 Deletion of outdated tree widget and toolbar interfaces and updating of
the appropriate makefiles.


git-svn-id: svn://10.0.0.236/trunk@15597 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:38:54 +00:00
wtc%netscape.com
dc6fc49a76 In the struct-emulated version of LL_I2L, added a PRInt32 cast
to make sure we are right shifting a signed integer (in case
someone passes in an unsigned).


git-svn-id: svn://10.0.0.236/trunk@15596 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:37:59 +00:00
michaelp%netscape.com
a7bf3aae35 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@15595 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:08:43 +00:00
briano%netscape.com
48e5eec02e Fix for NetBSD. Bugzilla#1421.
git-svn-id: svn://10.0.0.236/trunk@15594 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:08:00 +00:00
waterson%netscape.com
b52159df93 Added rdf dir to pull_lizard.
git-svn-id: svn://10.0.0.236/trunk@15593 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:57:34 +00:00
waterson%netscape.com
2c2e4e2e6f Added mozilla/rdf to the pull.
git-svn-id: svn://10.0.0.236/trunk@15592 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:50:42 +00:00
peterl%netscape.com
5a6b69acb5 Added nsLayoutAtoms.cpp
git-svn-id: svn://10.0.0.236/trunk@15591 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:49:52 +00:00
briano%netscape.com
3d2cb56ff4 Fix for OpenBSD. Bugzilla#1407.
git-svn-id: svn://10.0.0.236/trunk@15590 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:45:24 +00:00
peterl%netscape.com
2709b267b2 added inline style sheet support for contained HTML
git-svn-id: svn://10.0.0.236/trunk@15589 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:39:10 +00:00
peterl%netscape.com
d2cbd9f116 changed media type to atom
moved body fixup rule to body element


git-svn-id: svn://10.0.0.236/trunk@15588 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:38:33 +00:00
peterl%netscape.com
da11cf6bba changed media type to atom
git-svn-id: svn://10.0.0.236/trunk@15587 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:38:14 +00:00
peterl%netscape.com
121ee0330e added media support to child sheet iteration
changed medium type to atoms


git-svn-id: svn://10.0.0.236/trunk@15586 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:37:32 +00:00
michaelp%netscape.com
55952d5861 added GetNativeRegion() and GetRegionComplexity() methods.
git-svn-id: svn://10.0.0.236/trunk@15585 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:36:56 +00:00
peterl%netscape.com
87cce2df33 added media support to import
git-svn-id: svn://10.0.0.236/trunk@15584 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:36:37 +00:00
michaelp%netscape.com
f7f8b8ea47 added FlushFontCache() method.
git-svn-id: svn://10.0.0.236/trunk@15583 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:36:08 +00:00
peterl%netscape.com
4c21a94564 changed medium type to atom
git-svn-id: svn://10.0.0.236/trunk@15582 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:36:00 +00:00
peterl%netscape.com
69b84cb501 added inline style sheet accessor
git-svn-id: svn://10.0.0.236/trunk@15581 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:35:41 +00:00
peterl%netscape.com
c57d0b3d20 fixed decoration style of del
git-svn-id: svn://10.0.0.236/trunk@15580 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:35:26 +00:00
peterl%netscape.com
69005e00ea changed media to uppercase atoms
git-svn-id: svn://10.0.0.236/trunk@15579 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:35:03 +00:00
peterl%netscape.com
949754eac9 added inline style rule accessor
git-svn-id: svn://10.0.0.236/trunk@15578 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:34:31 +00:00
peterl%netscape.com
5683510533 moved body fixup rule into content
git-svn-id: svn://10.0.0.236/trunk@15577 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:34:06 +00:00
peterl%netscape.com
f6827b4dbf added inline style accessor
git-svn-id: svn://10.0.0.236/trunk@15576 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:33:12 +00:00
peterl%netscape.com
49167d870c added nsLayoutAtoms
git-svn-id: svn://10.0.0.236/trunk@15575 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:32:20 +00:00
peterl%netscape.com
fb4e7e9f66 added medium type
git-svn-id: svn://10.0.0.236/trunk@15574 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:31:31 +00:00
peterl%netscape.com
360a98a0b6 added media support
git-svn-id: svn://10.0.0.236/trunk@15573 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:30:42 +00:00
peterl%netscape.com
b5041bf15f added nslayoutatoms.h
git-svn-id: svn://10.0.0.236/trunk@15572 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:29:42 +00:00
waterson%netscape.com
ebd8214cae Allow nsWellFormedDTD to handle text/rdf.
git-svn-id: svn://10.0.0.236/trunk@15571 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:29:31 +00:00
peterl%netscape.com
5e0087b970 new file
git-svn-id: svn://10.0.0.236/trunk@15570 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:29:29 +00:00
peterl%netscape.com
4cd6b9a5c2 changed medium type to atom
git-svn-id: svn://10.0.0.236/trunk@15569 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:29:16 +00:00
waterson%netscape.com
6302648ac7 Added CIDs and register factory hacks for RDF classes.
git-svn-id: svn://10.0.0.236/trunk@15568 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:28:58 +00:00
peterl%netscape.com
c46cc4c8bd added medium accessor
git-svn-id: svn://10.0.0.236/trunk@15567 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:28:57 +00:00
waterson%netscape.com
d689488fcf Added factory method for RDF documents.
git-svn-id: svn://10.0.0.236/trunk@15566 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:28:27 +00:00
waterson%netscape.com
f05115f79d Added text/rdf as a valid mimetype.
git-svn-id: svn://10.0.0.236/trunk@15565 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:27:46 +00:00
waterson%netscape.com
720efb2c9f Added rdf directory to the build.
git-svn-id: svn://10.0.0.236/trunk@15564 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:23:18 +00:00
waterson%netscape.com
d304426918 Added rdf to the build.
git-svn-id: svn://10.0.0.236/trunk@15563 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:22:44 +00:00
waterson%netscape.com
8abda9e59d Added mozilla/rdf/include, mozilla/layout/xml/document/public, and mozilla/layout/xml/content/public to list of dirs that get manifested. Still not adding rdf to the Mac build due to linkage problems that need to be sorted out.
git-svn-id: svn://10.0.0.236/trunk@15562 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:21:44 +00:00
waterson%netscape.com
45b40ebd32 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15561 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:20:07 +00:00
guha%netscape.com
4ddb6e500b More Comments
git-svn-id: svn://10.0.0.236/trunk@15560 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 23:51:27 +00:00
guha%netscape.com
ffce913f89 Comments, fix for MSVC 4.2
git-svn-id: svn://10.0.0.236/trunk@15559 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 23:43:06 +00:00
waterson%netscape.com
84e0a4e62c Exposed nsCSSParser via layout factory.
git-svn-id: svn://10.0.0.236/trunk@15558 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 23:29:16 +00:00
beard%netscape.com
77c537c697 Moved to shared libraries, building in mozilla/dist, linking against many fewer libraries.
git-svn-id: svn://10.0.0.236/trunk@15557 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 22:25:36 +00:00
jfrancis%netscape.com
a9ae7e0fa1 moving nsRangeList.cpp to the right place in the project
git-svn-id: svn://10.0.0.236/trunk@15556 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 22:05:27 +00:00
jfrancis%netscape.com
34c2754f49 moving nsDocumentfragment.cpp to the right place in the project
git-svn-id: svn://10.0.0.236/trunk@15555 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 22:00:18 +00:00
wtc%netscape.com
e2b7d6fd95 Undefine _PR_HAVE_SOCKADDR_LEN because struct sockaddr doesn't have
the sa_len field on NEXTSTEP/OPENSTEP.  Thanks to Balazs Pataki for
<pataki@ovid.aszi.sztaki.hu> for confirming this.


git-svn-id: svn://10.0.0.236/trunk@15554 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:53:37 +00:00
despotdaemon%netscape.com
078a6cfb9a Pseudo-automatic update of changes made by sfraser@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15553 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:48:31 +00:00
mjudge%netscape.com
d999cf6a12 fix for mac no ')'
git-svn-id: svn://10.0.0.236/trunk@15552 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:39:13 +00:00
mjudge%netscape.com
82fc10e60f didnt check in the one file i needed!! not my day
git-svn-id: svn://10.0.0.236/trunk@15551 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:04:33 +00:00
mjudge%netscape.com
dba04650ad fixing mac build bustages
git-svn-id: svn://10.0.0.236/trunk@15550 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:58:53 +00:00
despotdaemon%netscape.com
1d60fe6ee0 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@15549 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:57:48 +00:00
mjudge%netscape.com
8c66b5b1ca casting like mad
git-svn-id: svn://10.0.0.236/trunk@15548 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:56:29 +00:00
mjudge%netscape.com
d5762e5956 fixing build bustage!
git-svn-id: svn://10.0.0.236/trunk@15547 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:28:34 +00:00
mjudge%netscape.com
44945155f0 fixing bug in windows code for build
git-svn-id: svn://10.0.0.236/trunk@15546 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:20:40 +00:00
mjudge%netscape.com
a3ceb6c4f4 fixing mac build bustage
git-svn-id: svn://10.0.0.236/trunk@15545 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:17:01 +00:00
beard%netscape.com
fcb872004a Uses shared libraries, targets get built in mozilla/dist/viewer[Debug].
git-svn-id: svn://10.0.0.236/trunk@15544 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:00:35 +00:00
waterson%netscape.com
f2455e1b1d Fixed some bugs in the content sink that'd been introduced when I pulled the simple content sink out of the document content sink.
git-svn-id: svn://10.0.0.236/trunk@15543 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:58:24 +00:00
waterson%netscape.com
4b0c6d9d96 Added RemoveDataSource() to the database interface in preparation for doing db management with XML processing instructions.
git-svn-id: svn://10.0.0.236/trunk@15542 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:57:49 +00:00
waterson%netscape.com
69723cfd45 Fixed some reference counting bugs.
git-svn-id: svn://10.0.0.236/trunk@15541 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:57:36 +00:00
troy%netscape.com
b16b9b9f48 Removed hack of having page size based on viewport size
git-svn-id: svn://10.0.0.236/trunk@15540 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:38:29 +00:00
akkana%netscape.com
ad036d51d2 nsIRangeList shouldn't have been here. Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@15539 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:34:50 +00:00
mjudge%netscape.com
dac2ae4941 including proper thing
git-svn-id: svn://10.0.0.236/trunk@15538 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:18:52 +00:00
akkana%netscape.com
9f5d2a5f08 Change Element to Node
git-svn-id: svn://10.0.0.236/trunk@15537 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:15:00 +00:00
mjudge%netscape.com
a9dc677a36 need to include the nsIDOMElement.h dont know why this worked on windows
git-svn-id: svn://10.0.0.236/trunk@15536 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:14:18 +00:00
leaf%mozilla.org
da35f4a530 adding nsIRangeList.h to exports list
git-svn-id: svn://10.0.0.236/trunk@15535 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:08:02 +00:00
kin%netscape.com
017db1e661 Implemented transaction aggregation, modified code to use nsTransactionItem.
git-svn-id: svn://10.0.0.236/trunk@15534 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:38:52 +00:00
kin%netscape.com
224e02e4d8 Initial version of file.
git-svn-id: svn://10.0.0.236/trunk@15533 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:35:49 +00:00
akkana%netscape.com
ff2b34c29a Fix IDOMRange spec
git-svn-id: svn://10.0.0.236/trunk@15532 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:21:05 +00:00
akkana%netscape.com
5d4099f328 Pull and build the editor as well as the browser
git-svn-id: svn://10.0.0.236/trunk@15531 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:20:03 +00:00
mjudge%netscape.com
55ee01fd41 changes nsRangeList to be an implementation of nsICollection
git-svn-id: svn://10.0.0.236/trunk@15530 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:00:02 +00:00
mjudge%netscape.com
4e5b37987c fixing tests to use the enumerator correctly
git-svn-id: svn://10.0.0.236/trunk@15529 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:58:50 +00:00
mjudge%netscape.com
ba58fd80a6 fixing enumerator to do the right thing
git-svn-id: svn://10.0.0.236/trunk@15528 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:58:27 +00:00
mjudge%netscape.com
b3753f3f95 changes enumerator to do the right thing
git-svn-id: svn://10.0.0.236/trunk@15527 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:58:10 +00:00
mjudge%netscape.com
9e56baf6ba changing nsIRangeList to nsICollection
git-svn-id: svn://10.0.0.236/trunk@15526 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:57:42 +00:00
mjudge%netscape.com
75c2f03476 removing nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15525 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:56:56 +00:00
mjudge%netscape.com
d3096f7ed2 removing nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15524 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:55:58 +00:00
mjudge%netscape.com
9972f8c67c making big changes to enumerator class and adding nsICollection
git-svn-id: svn://10.0.0.236/trunk@15523 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:55:08 +00:00
mjudge%netscape.com
d3fcc0bcb7 collection interface
git-svn-id: svn://10.0.0.236/trunk@15522 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:50:57 +00:00
kipp%netscape.com
0bbef0f75e new
git-svn-id: svn://10.0.0.236/trunk@15521 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 16:13:49 +00:00
chuckb%netscape.com
a0c58ff4a6 Parsers for controls returned by password policy
git-svn-id: svn://10.0.0.236/trunk@15520 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:16:37 +00:00
chuckb%netscape.com
be850ead5b removeValue does not work
git-svn-id: svn://10.0.0.236/trunk@15519 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:12:11 +00:00
chuckb%netscape.com
dc79edd3fb bug fix
git-svn-id: svn://10.0.0.236/trunk@15518 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:08:34 +00:00
chuckb%netscape.com
1eac6a342c Parsers for controls returned by password policy
git-svn-id: svn://10.0.0.236/trunk@15517 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:06:52 +00:00
chuckb%netscape.com
f22c209229 Generic parser for a control containing only a string
git-svn-id: svn://10.0.0.236/trunk@15516 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:06:26 +00:00
waterson%netscape.com
c7c31d1f6e Added some comments on the factory methods.
git-svn-id: svn://10.0.0.236/trunk@15515 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 10:54:12 +00:00
waterson%netscape.com
5af73a8a75 Factored the RDF content sink into a document content sink (used with the NGLayout content model) and a simple content sink (which can be used without a document).
git-svn-id: svn://10.0.0.236/trunk@15514 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 10:52:38 +00:00
wtc%netscape.com
e63535aece Corrected a typo. The "1" (one) in "armv41" should be an "l" (ell).
Thanks to Brian Ostrom <briano@netscape.com> for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@15513 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 08:30:02 +00:00
wtc%netscape.com
646c6edb93 We also need to define the poll-related error reporting functions
if we are using our emulated poll().  This patch is contributed by
Jeremy Lea <reg@shale.csir.co.za>.


git-svn-id: svn://10.0.0.236/trunk@15512 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 07:31:15 +00:00
wtc%netscape.com
2c43676866 Undefine _PR_POLL_AVAILABLE for pthreads. libc_r doesn't have
poll().  The poll() in libc is not thread-safe, so we can't use
it with pthreads.  This patch is contributed by Jeremy Lea
<reg@shale.csir.co.za>.


git-svn-id: svn://10.0.0.236/trunk@15511 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 07:25:28 +00:00
waterson%netscape.com
b3809c1004 Updated MANIFEST for landing of RDF_19981124_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@15510 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 06:18:25 +00:00
waterson%netscape.com
feedbd576c Got RDF compiling and running on Linux.
git-svn-id: svn://10.0.0.236/trunk@15509 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 06:10:18 +00:00
waterson%netscape.com
edda2a753c Fixed some cruft that egcs didn't like.
git-svn-id: svn://10.0.0.236/trunk@15508 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 06:09:23 +00:00
gagan%netscape.com
657a985e84 Delayed the cache cleanup to 15 minutes periodicity.
git-svn-id: svn://10.0.0.236/trunk@15507 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 05:40:16 +00:00
troy%netscape.com
8cdbd84223 Changed to handle StyleChanged incremental reflow command
git-svn-id: svn://10.0.0.236/trunk@15506 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 05:17:12 +00:00
gagan%netscape.com
0f3b93aeb6 Was not pulling in env changes from config.mak because of the missing include.
git-svn-id: svn://10.0.0.236/trunk@15505 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:46:24 +00:00
gagan%netscape.com
2e43bbedea Switching on NU_CACHE by default. Use set NO_NU_CACHE=1 to switch it off. Windows only.
git-svn-id: svn://10.0.0.236/trunk@15504 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:44:31 +00:00
gagan%netscape.com
57fd48f904 Switching on NU_CACHE by default. Use set NO_NU_CACHE=1 to switch it off.
git-svn-id: svn://10.0.0.236/trunk@15503 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:43:46 +00:00
fur%netscape.com
687f1ec19e Compiler-generated file shouldn't be checked in
git-svn-id: svn://10.0.0.236/trunk@15502 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:23:35 +00:00
beard%netscape.com
cb9ba7b0e8 Fixed non-debug target to build in mozilla/dist/viewer.
git-svn-id: svn://10.0.0.236/trunk@15501 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:03:47 +00:00
waterson%netscape.com
8a5dd554af Removed obsolete files.
git-svn-id: svn://10.0.0.236/trunk@15500 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:51:09 +00:00
waterson%netscape.com
a93768c259 Obsolete.
git-svn-id: svn://10.0.0.236/trunk@15499 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:48:33 +00:00
waterson%netscape.com
0d67609952 Cleaned up unnecessary stuff that was being exported.
git-svn-id: svn://10.0.0.236/trunk@15498 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:47:35 +00:00
waterson%netscape.com
866c72398c Initial revision.
git-svn-id: svn://10.0.0.236/trunk@15497 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:27:53 +00:00
waterson%netscape.com
09e224434a Added NPL. Removed tests dir for now.
git-svn-id: svn://10.0.0.236/trunk@15496 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:26:17 +00:00
michaelp%netscape.com
de4186f177 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@15495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:20:31 +00:00
waterson%netscape.com
a3506cd378 Landed changes from RDF_19981124_BRANCH. This is still not in the build.
git-svn-id: svn://10.0.0.236/trunk@15494 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:01:35 +00:00
raman%netscape.com
72c8c66977 Deleted unnecessary nsCCapsManager:: from the prototype
git-svn-id: svn://10.0.0.236/trunk@15493 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:00:42 +00:00
wtc%netscape.com
c509066038 Checked in Patrick Beard's temporary workaround (to use GetSharedLibrary
instead of NSGetSharedLibrary) because NSGetSharedLibrary is broken.


git-svn-id: svn://10.0.0.236/trunk@15492 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:56:29 +00:00
michaelp%netscape.com
3fbc2c9f07 updated for new blending API.
git-svn-id: svn://10.0.0.236/trunk@15491 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:16:14 +00:00
michaelp%netscape.com
5a970927aa revised blending APIs.
git-svn-id: svn://10.0.0.236/trunk@15490 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:15:44 +00:00
wtc%netscape.com
f40b5e2f3c Temporarily commented out the poll() wrapper for Linux, because
glibc 2.0.7 on Debian 2.0 Linux doesn't have __syscall_poll defined.
This problem was reported by Adam Sulmicki <adam@cfar.umd.edu>.


git-svn-id: svn://10.0.0.236/trunk@15489 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:10:44 +00:00
beard%netscape.com
ead1995fea Build bustage, was referencing non-debug libraries in debug target.
git-svn-id: svn://10.0.0.236/trunk@15488 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:55:01 +00:00
beard%netscape.com
6fd1db89c0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15487 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:51:22 +00:00
jfrancis%netscape.com
825ac7ea0e The first step to good mental health is to realize that you have a build problem.
redo'ing NSRuntime.shlb includes to use debug in debug target, opt in opt target.


git-svn-id: svn://10.0.0.236/trunk@15486 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:22:13 +00:00
michaelp%netscape.com
7164868c5a fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@15485 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:18:32 +00:00
beard%netscape.com
7f1c280849 More build bustage fixes.
git-svn-id: svn://10.0.0.236/trunk@15484 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:17:03 +00:00
beard%netscape.com
4be58ddc21 More build bustage fixes.
git-svn-id: svn://10.0.0.236/trunk@15483 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:06:33 +00:00
beard%netscape.com
a042fb01d9 Trying to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@15482 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:02:32 +00:00
beard%netscape.com
3cc3dcdf67 Mac shared library migration. Fixed some entries that were pointing to the debug build. Argh.
git-svn-id: svn://10.0.0.236/trunk@15481 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 00:44:07 +00:00
cyeh%netscape.com
5aedad152f applied fix from Bruce Mitchener (bruce@cybersight.com) to fix test
for --with-fullcircle. AC_TRY_LINK is still busted though, don't know why


git-svn-id: svn://10.0.0.236/trunk@15480 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 23:51:08 +00:00
beard%netscape.com
9ec220b936 Mac shared library migration. Moved PowerPlant earlier.
git-svn-id: svn://10.0.0.236/trunk@15479 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 23:39:17 +00:00
locka%iol.ie
de14ab7fe2 Added binary flag for icons in build broke on other machines
git-svn-id: svn://10.0.0.236/trunk@15478 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:59:43 +00:00
locka%iol.ie
ec309b6d17 Added binary flag for icons in build broke on other machines
git-svn-id: svn://10.0.0.236/trunk@15477 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:57:21 +00:00
locka%iol.ie
b2cc66ade7 Changed project to statically link to MFC
git-svn-id: svn://10.0.0.236/trunk@15476 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:53:49 +00:00
karnaze%netscape.com
070596fafe fixed bug 1613 (leak in nsFrameSetFrame::CalculateRowCol)
git-svn-id: svn://10.0.0.236/trunk@15475 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:37:52 +00:00
beard%netscape.com
810f6cfdf2 Mac shared library migration.
git-svn-id: svn://10.0.0.236/trunk@15474 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:15:00 +00:00
beard%netscape.com
57c4d48cc4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15473 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:14:25 +00:00
waterson%netscape.com
ad06dd696e Fix Unix bustage.
git-svn-id: svn://10.0.0.236/trunk@15472 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 21:17:59 +00:00
sar%netscape.com
55bd7b2825 fix seaMonkeyEditor module some, and add SeaMonkeyAll that tinderbox and Bonsai can track
git-svn-id: svn://10.0.0.236/trunk@15471 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 19:48:39 +00:00
buster%netscape.com
9fef29179c fixed a bug for tables with complicated colspans and fixed widths
git-svn-id: svn://10.0.0.236/trunk@15470 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 19:06:33 +00:00
karnaze%netscape.com
a937455d91 fixed bug 1696
git-svn-id: svn://10.0.0.236/trunk@15466 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 18:19:21 +00:00
pinkerton%netscape.com
755d662e57 added nsDocumentFragment.cpp to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@15465 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 17:51:01 +00:00
buster%netscape.com
826b9af0fe fixed some nested table layout problems
git-svn-id: svn://10.0.0.236/trunk@15463 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 15:10:20 +00:00
cls%seawood.org
2428418e65 Tweaks to allow building SeaMonkeyBrowser w/o the editor.
git-svn-id: svn://10.0.0.236/trunk@15462 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 10:39:37 +00:00
vidur%netscape.com
2c5fe78039 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@15457 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:47:27 +00:00
mjudge%netscape.com
2bacfb39ef blah
git-svn-id: svn://10.0.0.236/trunk@15456 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:36:47 +00:00
mjudge%netscape.com
228419a714 factory needs work
git-svn-id: svn://10.0.0.236/trunk@15455 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:35:45 +00:00
mjudge%netscape.com
d9467a0b51 fixing problem in editfactory
git-svn-id: svn://10.0.0.236/trunk@15454 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:25:44 +00:00
mjudge%netscape.com
6706cc4291 bug in editor. blowing up a little :(
git-svn-id: svn://10.0.0.236/trunk@15453 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:05:45 +00:00
vidur%netscape.com
b5d3af627a docfrag test
git-svn-id: svn://10.0.0.236/trunk@15452 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 07:59:37 +00:00
vidur%netscape.com
a8e89e05c1 Moved nsGenericElement to base directory. Added basic support for document fragments.
git-svn-id: svn://10.0.0.236/trunk@15451 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 07:59:11 +00:00
cls%seawood.org
f83fb62ba0 Call motif_detect scripts only if building with motif toolkit. Thanks to bert hubert <ahu@vvtp.tn.tudelft.nl> for the suggestion.
Fixed $CC evaluation problem when calling motif_detect scripts.  It should now work for multi-word $CC.
Removed extraneous gtk version variables.


git-svn-id: svn://10.0.0.236/trunk@15450 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 06:42:36 +00:00
mjudge%netscape.com
a254701232 do not try to link the ender library
git-svn-id: svn://10.0.0.236/trunk@15449 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 06:15:54 +00:00
msw%gimp.org
1df8ed18a5 Rewrote the resize handler. This fixes the crashes at startup. There are
still conditions to make this go into infinite loop.
All callbacks/event handlers now return proper values.


git-svn-id: svn://10.0.0.236/trunk@15448 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 05:53:17 +00:00
mjudge%netscape.com
1166ec86f8 adding nsRangeList.cpp to list of files to compile
git-svn-id: svn://10.0.0.236/trunk@15447 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 05:29:53 +00:00
mjudge%netscape.com
d1e65e0250 need to go into the editor dir. autoconf messed me up
git-svn-id: svn://10.0.0.236/trunk@15446 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 04:57:29 +00:00
mjudge%netscape.com
5ec37a3f55 added the editor directory to the unix builds
git-svn-id: svn://10.0.0.236/trunk@15444 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 04:04:49 +00:00
mjudge%netscape.com
2236aabe4b added editor as an include dir
git-svn-id: svn://10.0.0.236/trunk@15443 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 04:00:19 +00:00
jfrancis%netscape.com
66122f1a54 [sfraser checking in as jfrancis]
Temporarily comment out EDITOR_DLL-related stuff until Mac is building editor, to fix build bustage.


git-svn-id: svn://10.0.0.236/trunk@15442 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 03:04:00 +00:00
jfrancis%netscape.com
62c9b472da [sfraser checking in as jfrancis]
added nsRangeList.cpp, turned on debug info for debug targets, as build bustage fixage.


git-svn-id: svn://10.0.0.236/trunk@15441 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 03:02:52 +00:00
mjudge%netscape.com
8cd09d02d4 added nsRange to unix
git-svn-id: svn://10.0.0.236/trunk@15440 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 03:00:26 +00:00
mjudge%netscape.com
74937901fd export this header for nsIRangeList
git-svn-id: svn://10.0.0.236/trunk@15439 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 02:57:59 +00:00
mjudge%netscape.com
fd2aad9c57 should fix unix
git-svn-id: svn://10.0.0.236/trunk@15433 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 02:11:00 +00:00
mjudge%netscape.com
d5e3a66787 should be fixed
git-svn-id: svn://10.0.0.236/trunk@15432 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 02:01:00 +00:00
msw%gimp.org
142c2bdecf Really fix Unix build bustage. r,a=shaver@netscape.com
git-svn-id: svn://10.0.0.236/trunk@15431 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 00:29:45 +00:00
jfrancis%netscape.com
e1ca11a4a3 adding edtor lib entrty, even though we aren't actually linking it in yet.
git-svn-id: svn://10.0.0.236/trunk@15430 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 23:57:59 +00:00
jfrancis%netscape.com
6e9d095783 adding editor MANIFEST
git-svn-id: svn://10.0.0.236/trunk@15429 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 23:52:10 +00:00
jfrancis%netscape.com
e61a2c1e87 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15428 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 23:50:20 +00:00
mjudge%netscape.com
0035bfa567 fixing files for stupid hack in nsComFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@15427 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 23:19:24 +00:00
jfrancis%netscape.com
8e6753a6a9 adding nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15426 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:45:27 +00:00
mjudge%netscape.com
e85b747984 nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15425 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:35:13 +00:00
mjudge%netscape.com
4521f79b15 adding editor to the build
git-svn-id: svn://10.0.0.236/trunk@15424 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:30:29 +00:00
mjudge%netscape.com
62a90ef301 updating to add editor as a directory
git-svn-id: svn://10.0.0.236/trunk@15423 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:20:42 +00:00
mjudge%netscape.com
fd249a3e63 adding editor to the build
git-svn-id: svn://10.0.0.236/trunk@15422 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:13:27 +00:00
mjudge%netscape.com
1822ec4f9e new rangelist.cpp file
git-svn-id: svn://10.0.0.236/trunk@15421 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:12:27 +00:00
mjudge%netscape.com
70a6c4541a need to make rangelist.cpp
git-svn-id: svn://10.0.0.236/trunk@15420 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:11:49 +00:00
mjudge%netscape.com
66cae3341e new rangelist factory needs to be registered
git-svn-id: svn://10.0.0.236/trunk@15419 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:11:06 +00:00
mjudge%netscape.com
4918390790 exporting nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15418 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:02:50 +00:00
mjudge%netscape.com
166ae39262 export nsIDOMRange.h
git-svn-id: svn://10.0.0.236/trunk@15417 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:00:46 +00:00
mjudge%netscape.com
fe47a3bb8e tabbing
git-svn-id: svn://10.0.0.236/trunk@15416 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 21:59:52 +00:00
msw%gimp.org
cd5658de00 Fixed broken Unix build. Approved by shaver@netscape.com
git-svn-id: svn://10.0.0.236/trunk@15415 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 21:13:19 +00:00
rickg%netscape.com
11a2e32bd8 fixed bug #1070
git-svn-id: svn://10.0.0.236/trunk@15414 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 19:52:55 +00:00
locka%iol.ie
1f6de8dc3c Updated to use CControlSite - a homegrown control site class
git-svn-id: svn://10.0.0.236/trunk@15413 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:33:31 +00:00
locka%iol.ie
4d246212e5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@15412 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:08:59 +00:00
locka%iol.ie
42c2b7310a Added NS_INIT_REFCNT() to constructor
git-svn-id: svn://10.0.0.236/trunk@15411 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:06:34 +00:00
locka%iol.ie
fb503f3bd5 Added ControlSite.cpp & ControlSite.h
git-svn-id: svn://10.0.0.236/trunk@15410 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:05:04 +00:00
locka%iol.ie
a0b2f4d68b Implemented IOleCommandTarget and stubs for printing support
git-svn-id: svn://10.0.0.236/trunk@15409 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:03:43 +00:00
locka%iol.ie
03ee7d87c7 First working version
git-svn-id: svn://10.0.0.236/trunk@15408 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 17:59:46 +00:00
vidur%netscape.com
bf493acab1 Added nsDocumentFragment to build. Fixed bug 1256 - the content sink is flushed as soon as it encounters a script tag.
git-svn-id: svn://10.0.0.236/trunk@15407 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 23:51:06 +00:00
ramiro%netscape.com
e7ca2be12c Renamed the viewer from 'main' to 'viewer'
git-svn-id: svn://10.0.0.236/trunk@15404 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 22:18:24 +00:00
karnaze%netscape.com
7455cb021a changed frameset layout algorithm. fixed bugs 728, 1075, 1494 and half of 1486
git-svn-id: svn://10.0.0.236/trunk@15399 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 18:59:38 +00:00
morse%netscape.com
508b2fc134 fix single-signon problems
git-svn-id: svn://10.0.0.236/trunk@15398 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 17:19:38 +00:00
morse%netscape.com
bf3fc1efe8 fix single-signon problem
git-svn-id: svn://10.0.0.236/trunk@15397 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 17:16:47 +00:00
shaver%netscape.com
6486c53a49 Added NPL everywhere (ooops!).
Handle enums.
Output idents properly in IDL comments.


git-svn-id: svn://10.0.0.236/trunk@15396 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 16:52:24 +00:00
michaelp%netscape.com
1428cec472 fixed memory leak.
git-svn-id: svn://10.0.0.236/trunk@15391 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 04:24:46 +00:00
michaelp%netscape.com
19eb838ffd fixed resource leak.
git-svn-id: svn://10.0.0.236/trunk@15390 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 04:24:15 +00:00
michaelp%netscape.com
84bebdcae2 fixed duplicate resource free.
git-svn-id: svn://10.0.0.236/trunk@15389 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 04:23:23 +00:00
michaelp%netscape.com
ce13283356 added missing NS_INIT_REFCNT().
git-svn-id: svn://10.0.0.236/trunk@15388 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 04:21:40 +00:00
msw%gimp.org
0c74cc81dc Unhorked Unix non-editor build.
git-svn-id: svn://10.0.0.236/trunk@15387 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 03:28:39 +00:00
mjudge%netscape.com
6c6a833e89 modifying
git-svn-id: svn://10.0.0.236/trunk@15385 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:46:56 +00:00
mjudge%netscape.com
0df2af35fe ok this will break the editor, I will have to learn how to register the IIDs of the editor in the registry!!
git-svn-id: svn://10.0.0.236/trunk@15384 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:42:51 +00:00
mjudge%netscape.com
6fffbd0142 removed non production code
git-svn-id: svn://10.0.0.236/trunk@15383 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:28:00 +00:00
mjudge%netscape.com
7410278224 updating the editor public dir. must change all access methods now
git-svn-id: svn://10.0.0.236/trunk@15382 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:20:24 +00:00
mjudge%netscape.com
19263c1621 just broke the mac build. I will tell jfrancis!
git-svn-id: svn://10.0.0.236/trunk@15381 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:19:53 +00:00
shaver%netscape.com
d9379bb5ea Error message cleanups, including insertion of line/file info in initial
buffer, to make errors give correct line-number data.
Strip comments.  (Still need to handle doc comments correctly.)


git-svn-id: svn://10.0.0.236/trunk@15379 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-27 16:39:45 +00:00
kipp%netscape.com
5390fd74b1 Disabled the timebomb on the tip
git-svn-id: svn://10.0.0.236/trunk@15378 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-27 15:54:14 +00:00
shaver%netscape.com
88c5dff3d3 Updated README now includes Win32 libIDL/glib URLs, and mention of msw's
GTK+/glib 1.1.5.
Generate #includes for interfaces to which we refer.
Output inheritance data.
Switch to PRUnichar * for wstring, and char * for string.
in params that become pointer types get const'd.


git-svn-id: svn://10.0.0.236/trunk@15377 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 21:03:03 +00:00
mcafee%netscape.com
e7e4e89ca6 Adding support for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@15374 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 19:47:01 +00:00
scc%netscape.com
6b8ab9fbf3 Final changes to be used in production code (though currently only allowed in Composer module). Stripped tabs, replaced with spaces; made internal macro prefix; some final naming decisions (s/func/getter/). Good luck Composer team.
git-svn-id: svn://10.0.0.236/trunk@15373 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 19:28:42 +00:00
kipp%netscape.com
c98e60be06 Port to revised pres-context API
git-svn-id: svn://10.0.0.236/trunk@15372 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:14:41 +00:00
kipp%netscape.com
12f3900c32 Fixed to not subtract out borders/padding when unconstrained height reflow is occuring
git-svn-id: svn://10.0.0.236/trunk@15371 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:14:17 +00:00
kipp%netscape.com
90deabb695 disabled another printf; use web-shell destroy to properly whack the sub-webshell
git-svn-id: svn://10.0.0.236/trunk@15370 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:13:13 +00:00
kipp%netscape.com
fd2798ed60 Compute combined area properly
git-svn-id: svn://10.0.0.236/trunk@15369 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:11:23 +00:00
kipp%netscape.com
ebb0b9f0d8 Fixed verify reflow to avoid creating reflow commands during a verify reflow
git-svn-id: svn://10.0.0.236/trunk@15368 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:11:02 +00:00
kipp%netscape.com
03e51bc9c4 XPCOMized more of the API; added new operator to avoid future bugs; implement Stop method
git-svn-id: svn://10.0.0.236/trunk@15367 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:10:10 +00:00
kipp%netscape.com
76c0c7a5e2 XPCOMize more of the API; added Stop method
git-svn-id: svn://10.0.0.236/trunk@15366 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:08:44 +00:00
kipp%netscape.com
5f76ab669f whitespace tweak
git-svn-id: svn://10.0.0.236/trunk@15365 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:08:27 +00:00
kipp%netscape.com
8e9a8f6894 Removed bogus include
git-svn-id: svn://10.0.0.236/trunk@15364 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:08:08 +00:00
kipp%netscape.com
444a1435da Hide some noise; pass on Stop to content-viewer
git-svn-id: svn://10.0.0.236/trunk@15363 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:06:47 +00:00
kipp%netscape.com
4a22e5141c XPCOMize API; added Stop method
git-svn-id: svn://10.0.0.236/trunk@15362 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:06:25 +00:00
kipp%netscape.com
d9b72da670 Removed duplicate init
git-svn-id: svn://10.0.0.236/trunk@15361 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:06:08 +00:00
kipp%netscape.com
90be7a9a74 XPCOMize the methods; added Stop
git-svn-id: svn://10.0.0.236/trunk@15360 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:03:42 +00:00
kipp%netscape.com
2a73c19d2a Expose WalkTheStack
git-svn-id: svn://10.0.0.236/trunk@15359 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:03:20 +00:00
peterl%netscape.com
983d848263 made css style sheet public (for mac)
git-svn-id: svn://10.0.0.236/trunk@15357 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 05:17:03 +00:00
peterl%netscape.com
924bee3843 removed processimport
git-svn-id: svn://10.0.0.236/trunk@15356 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 05:16:43 +00:00
peterl%netscape.com
acd26bce38 added media support to @import
git-svn-id: svn://10.0.0.236/trunk@15355 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 05:16:22 +00:00
peterl%netscape.com
8c5f87d7f3 backed out previous change
git-svn-id: svn://10.0.0.236/trunk@15354 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:54:11 +00:00
peterl%netscape.com
721a073075 deal with const issues on unix compilers
git-svn-id: svn://10.0.0.236/trunk@15353 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:53:49 +00:00
rickg%netscape.com
f163d7e8e4 also enabled better null document support
git-svn-id: svn://10.0.0.236/trunk@15352 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:14:06 +00:00
peterl%netscape.com
c9ab26763f hopefully fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@15351 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:07:58 +00:00
rickg%netscape.com
327d9295a8 removed non-essential DTD calls
git-svn-id: svn://10.0.0.236/trunk@15350 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:04:08 +00:00
peterl%netscape.com
40dcb95b43 fix unix build
git-svn-id: svn://10.0.0.236/trunk@15349 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 03:45:50 +00:00
rickg%netscape.com
77f4a49baa cleaned up DTD api's
git-svn-id: svn://10.0.0.236/trunk@15348 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 03:35:24 +00:00
rickg%netscape.com
56aaafad6f removed unnecessary API's
git-svn-id: svn://10.0.0.236/trunk@15347 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 03:21:55 +00:00
rickg%netscape.com
76329e0097 improvements to recursive parser calls
git-svn-id: svn://10.0.0.236/trunk@15346 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 02:56:40 +00:00
rickg%netscape.com
78d79cf0d2 improvements to recursively parser calls
git-svn-id: svn://10.0.0.236/trunk@15345 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 02:55:59 +00:00
peterl%netscape.com
8907fc654c removed simple rule, added unknown rule
git-svn-id: svn://10.0.0.236/trunk@15344 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 02:32:48 +00:00
sar%netscape.com
ce37c3484b backing out akkana's changes. this will fix build bustage on the mac
git-svn-id: svn://10.0.0.236/trunk@15343 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 02:30:44 +00:00
peterl%netscape.com
383116acf6 style change notification support
git-svn-id: svn://10.0.0.236/trunk@15337 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:34:53 +00:00
peterl%netscape.com
eb0e68e55b handle whitespace in url() better
git-svn-id: svn://10.0.0.236/trunk@15336 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:30:51 +00:00
peterl%netscape.com
8bf6a015e5 connected style sheet better (added content node & properties)
git-svn-id: svn://10.0.0.236/trunk@15335 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:29:10 +00:00
peterl%netscape.com
39e7ccb9fc added change notification support
git-svn-id: svn://10.0.0.236/trunk@15334 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:24:52 +00:00
peterl%netscape.com
6504e8fe4b added style sheet properties
git-svn-id: svn://10.0.0.236/trunk@15333 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:24:32 +00:00
peterl%netscape.com
09bc113e28 fixed bug in font family enumeration
git-svn-id: svn://10.0.0.236/trunk@15332 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:22:04 +00:00
law%netscape.com
3f61274bf3 Fixed 'Phonebook' button and stripped out some stuff from non-debug version to save space
git-svn-id: svn://10.0.0.236/trunk@15331 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:21:46 +00:00
peterl%netscape.com
0b40994da0 made text decorations minimum size of 1 pixel
git-svn-id: svn://10.0.0.236/trunk@15330 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:21:22 +00:00
peterl%netscape.com
bf2d444100 updated to new version of CSSOM interfaces
git-svn-id: svn://10.0.0.236/trunk@15329 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:20:04 +00:00
peterl%netscape.com
226561ff6f new CSSOM interfaces
git-svn-id: svn://10.0.0.236/trunk@15328 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:18:57 +00:00
peterl%netscape.com
f7d360a0f0 made pointer conversion more friendly to const methods
git-svn-id: svn://10.0.0.236/trunk@15327 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:18:21 +00:00
beard%netscape.com
553570efc5 Consistent spacing
git-svn-id: svn://10.0.0.236/trunk@15326 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 00:21:54 +00:00
akkana%netscape.com
fcc377cf71 Implementation of the easy parts
git-svn-id: svn://10.0.0.236/trunk@15325 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 23:20:29 +00:00
wtc%netscape.com
a374e6bf4c Bugzilla bug #1664: removed an unnecessary strdup call in
NSGetSharedLibrary.  Thanks to Patrick Beard <beard@netscape.com>
for the bug report.


git-svn-id: svn://10.0.0.236/trunk@15322 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 22:25:21 +00:00
rickg%netscape.com
e01fa50744 changed startup URL
git-svn-id: svn://10.0.0.236/trunk@15321 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 22:00:24 +00:00
law%netscape.com
61fb09f59b Disable inoperative stuff
git-svn-id: svn://10.0.0.236/trunk@15320 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 21:23:02 +00:00
wtc%netscape.com
577817af39 Removed -D_PR_NEED_FAKE_POLL from FreeBSD.mk and NEXTSTEP.mk. This
macro is defined internally.
In _freebsd.h, include poll.h if poll is available.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for suggesting the patches.


git-svn-id: svn://10.0.0.236/trunk@15319 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 21:01:14 +00:00
rickg%netscape.com
7b9a495531 changed top 100 sites to Test Sites
git-svn-id: svn://10.0.0.236/trunk@15315 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 20:28:27 +00:00
shaver%netscape.com
9e45f0515d make Makefiles for xpidl
git-svn-id: svn://10.0.0.236/trunk@15314 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 20:03:57 +00:00
mcafee%netscape.com
825e28958b Added mhanni@sprintmail.com's suggestion as a comment, pending someone finding out of this works
git-svn-id: svn://10.0.0.236/trunk@15313 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 20:02:26 +00:00
shaver%netscape.com
2bc42328ed Added support for char, wchar and wstring types.
Fixed long long nits.
Make methods pure virtual.
Use pointers and not references.
Remove useless header.c.


git-svn-id: svn://10.0.0.236/trunk@15312 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 19:12:50 +00:00
kipp%netscape.com
b31f7790b2 new
git-svn-id: svn://10.0.0.236/trunk@15311 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 19:07:17 +00:00
locka%iol.ie
03d6a73a56 Added IOleCommandTarget
git-svn-id: svn://10.0.0.236/trunk@15310 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:54:07 +00:00
buster%netscape.com
79920f1ff6 2 Nav4 compatibility additions:
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.


git-svn-id: svn://10.0.0.236/trunk@15309 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:43:56 +00:00
kipp%netscape.com
246dfaaf94 Removed related-links menu from windows
git-svn-id: svn://10.0.0.236/trunk@15308 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:42:47 +00:00
kipp%netscape.com
d09b42a9e1 Brought verify-reflow back to life
git-svn-id: svn://10.0.0.236/trunk@15307 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:41:02 +00:00
karnaze%netscape.com
e0d2e68693 fixed the crash on bug 1588 (rsac.org). There is still a scrolling problem
git-svn-id: svn://10.0.0.236/trunk@15306 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:11:26 +00:00
shaver%netscape.com
f8cfaf6d4d revert pavlov's changes at his request
git-svn-id: svn://10.0.0.236/trunk@15305 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 17:50:35 +00:00
kipp%netscape.com
8e7b6b1767 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608)
git-svn-id: svn://10.0.0.236/trunk@15304 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 16:41:06 +00:00
pavlov%pavlov.net
3b39f6e3df remove my last commit. these caused more bugs than they were intended to
catch


git-svn-id: svn://10.0.0.236/trunk@15303 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 12:51:53 +00:00
cltbld%netscape.com
ef49d0fb32 fix checkout of nsprpub. -D negates tag call, so dir wasn't being pulled. this should fix build bustage too.
git-svn-id: svn://10.0.0.236/trunk@15296 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 08:15:02 +00:00
vidur%netscape.com
ebef0f10a9 New class nsDocumentFragment
git-svn-id: svn://10.0.0.236/trunk@15295 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 08:14:47 +00:00
cyeh%netscape.com
574bba6b75 oooops. back out everything by commenting it out until i can fix
it next week.


git-svn-id: svn://10.0.0.236/trunk@15294 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 05:48:38 +00:00
shaver%netscape.com
c1a29cb53b C++ class decls need a semicolon
git-svn-id: svn://10.0.0.236/trunk@15293 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 04:54:02 +00:00
shaver%netscape.com
3b8e66c9f3 Added input callback, in preparation for autogenerating __declspec(inhibit)
and doing the doc comment thing.
Generate method declarations.
More stdout -> state->file fixes.


git-svn-id: svn://10.0.0.236/trunk@15292 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 04:19:59 +00:00
kipp%netscape.com
7d4fb7d8d3 Fixed compilation bug with method signature not matching baseclass method
git-svn-id: svn://10.0.0.236/trunk@15291 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 04:14:55 +00:00
michaelp%netscape.com
05a6bdf469 fixed bug where computing *need* for vert/horz scrollbar did not take into
account the fact that there might be a need for the other scrollbar too.
it used to be that if it knew that it *did* need a vert/horz scrollbar it
would take the other one into account properly. it was just in making the
initial decision that there was an error.


git-svn-id: svn://10.0.0.236/trunk@15290 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 03:32:00 +00:00
cyeh%netscape.com
68cda70ad6 make it so that if it can't actually find the talkback lib, it fails.
previously, if it didn't fail properly


git-svn-id: svn://10.0.0.236/trunk@15289 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 03:16:59 +00:00
cyeh%netscape.com
98e35964f3 added mozilla/lib/mac/PowerPlant to RaptorMac
git-svn-id: svn://10.0.0.236/trunk@15288 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 03:08:13 +00:00
michaelp%netscape.com
db5101c6cd fixed non-painting controls on certain resize operations in xpviewer.
git-svn-id: svn://10.0.0.236/trunk@15287 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:52:04 +00:00
akkana%netscape.com
09aa40f079 Fix C++ comment for Irix build
git-svn-id: svn://10.0.0.236/trunk@15286 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:50:20 +00:00
rickg%netscape.com
dc71142bfc change Parse(nsString&...) so that an empy string doesn't start process
git-svn-id: svn://10.0.0.236/trunk@15285 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:41:17 +00:00
pavlov%pavlov.net
026c0325c1 fix twipstopixels and got the scrollbars being sized correctly.
git-svn-id: svn://10.0.0.236/trunk@15284 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:35:59 +00:00
pavlov%pavlov.net
bef2cc3023 updated gtklayout code. Added lots of assertions to the widget code
git-svn-id: svn://10.0.0.236/trunk@15283 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:34:40 +00:00
rickg%netscape.com
463a920a7c changed the default start page, yet again
git-svn-id: svn://10.0.0.236/trunk@15282 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:19:58 +00:00
rickg%netscape.com
988e0eb906 fixed bugs 1203, 1067, 1169, 1125, 647
git-svn-id: svn://10.0.0.236/trunk@15281 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:19:22 +00:00
jfrancis%netscape.com
026c88790f added nsIDOMRange.h
git-svn-id: svn://10.0.0.236/trunk@15280 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 01:38:46 +00:00
jfrancis%netscape.com
f090f81a9f removing the accidentally copied "AUTOGENERATED - Do Not Edit" warning
git-svn-id: svn://10.0.0.236/trunk@15279 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 01:34:59 +00:00
jfrancis%netscape.com
162d8e834d added nsRange.cpp
git-svn-id: svn://10.0.0.236/trunk@15278 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 01:22:35 +00:00
jfrancis%netscape.com
9bf4a9e3bf cleanup
git-svn-id: svn://10.0.0.236/trunk@15277 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 01:21:42 +00:00
jfrancis%netscape.com
1d7e344048 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15276 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:33:59 +00:00
locka%iol.ie
7082061c64 Added ControlSite.cpp
git-svn-id: svn://10.0.0.236/trunk@15275 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:13:12 +00:00
locka%iol.ie
85d4e7103e Added header notice
git-svn-id: svn://10.0.0.236/trunk@15274 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:06:22 +00:00
locka%iol.ie
65b4fc67fc Added BeforeNavigate2 and NavigateComplete2 event firing
git-svn-id: svn://10.0.0.236/trunk@15273 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:03:28 +00:00
locka%iol.ie
67d6bba8c1 ActiveX control site
git-svn-id: svn://10.0.0.236/trunk@15272 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:01:44 +00:00
shaver%netscape.com
04135aee13 Generate getter/setter/`is'er for attributes.
Report errors (and warnings).
Send output to state->file properly, instead of stdout (although state->file
is always stdout right now!).


git-svn-id: svn://10.0.0.236/trunk@15271 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 23:16:49 +00:00
locka%iol.ie
ab8c795267 Fixed mistyped macro
git-svn-id: svn://10.0.0.236/trunk@15270 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 22:44:35 +00:00
law%netscape.com
360079e452 Adding program icon
git-svn-id: svn://10.0.0.236/trunk@15269 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 22:15:40 +00:00
kipp%netscape.com
2121f2be81 Fixed the bleeping build
git-svn-id: svn://10.0.0.236/trunk@15268 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:33:18 +00:00
cyeh%netscape.com
8d254d5529 add support for fullcircle libraries and headers
git-svn-id: svn://10.0.0.236/trunk@15267 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:27:42 +00:00
akkana%netscape.com
ad57b60bfc Add include line
git-svn-id: svn://10.0.0.236/trunk@15266 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:24:40 +00:00
akkana%netscape.com
9e0660d38e Implementation file for nsIDOMRange
git-svn-id: svn://10.0.0.236/trunk@15265 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:20:11 +00:00
law%netscape.com
623ee9b222 Fix for ss: bug #1444) nsBrowserWindow.cpp
git-svn-id: svn://10.0.0.236/trunk@15264 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:17:41 +00:00
joki%netscape.com
3ad8c4966f Implement document.URL access
git-svn-id: svn://10.0.0.236/trunk@15263 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:07:43 +00:00
buster%netscape.com
0f72cc9354 removed debug output
git-svn-id: svn://10.0.0.236/trunk@15262 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 20:40:43 +00:00
joki%netscape.com
f6295e142b Add missing coordinate transform to getFrameForPoint
git-svn-id: svn://10.0.0.236/trunk@15261 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 20:31:21 +00:00
rickg%netscape.com
4102309f80 fixed bug #1203
git-svn-id: svn://10.0.0.236/trunk@15260 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 20:23:46 +00:00
akkana%netscape.com
25c035a6d5 range shouldn't inherit from node
git-svn-id: svn://10.0.0.236/trunk@15259 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 19:58:40 +00:00
jfrancis%netscape.com
10b78cb8ec First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15258 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 19:43:21 +00:00
buster%netscape.com
37ca805909 bug 1520 (www.mirabilis.com)
the problem was the way table layout apportioned height from a rowspanning cell.
Now, we do 2 things correctly:
1) we handle rows with rowspanning cells and no other cells.
2) we divide the height of a rowspanning cell proportionately to the rows spanned, where the proportion is defined by
the max height of a cell in that row that has no effective rowspan.

the partial fix for bug 1431 has to do with dividing width between percent-width and fixed-width columns in the same
table. You won't see any better layout for this page (ww.boston.com) as a result of the code I added.  The rest of this
fix is a bit risky, so I'm waiting until after stability push.


git-svn-id: svn://10.0.0.236/trunk@15257 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 19:41:33 +00:00
mjudge%netscape.com
5aee685650 changing makefiles to build test apps on win32
git-svn-id: svn://10.0.0.236/trunk@15256 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 19:26:45 +00:00
karnaze%netscape.com
dbdc6ce081 fixed bug 1504 (memory leak of select elements)
git-svn-id: svn://10.0.0.236/trunk@15254 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 18:54:26 +00:00
cyeh%netscape.com
318d1c5621 change to pull mozilla/modules/libpref from the tip instead of XPCOM_BRANCH
change to pull mozilla/nsprpub from NSPR_RELEASE_3_0 tag
Fix stop ship bug #1577, approved kipp


git-svn-id: svn://10.0.0.236/trunk@15253 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 18:16:41 +00:00
rods%netscape.com
da0a53c2df Added paint method for printing (and possible future owner draw)
git-svn-id: svn://10.0.0.236/trunk@15252 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 14:57:09 +00:00
rpotts%netscape.com
7964c78293 removed invalid asserts for the STANDALONE_IMAGELIB...
git-svn-id: svn://10.0.0.236/trunk@15235 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 10:55:53 +00:00
joki%netscape.com
f87bae1385 ifdef out some broken code in SetActiveLink until I have time to fix it.
git-svn-id: svn://10.0.0.236/trunk@15234 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 08:13:55 +00:00
joki%netscape.com
765dbfd39b Add click event support for every element and initial keypress event support
git-svn-id: svn://10.0.0.236/trunk@15233 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 07:46:58 +00:00
joki%netscape.com
bab0e9e908 Add keypress event type to nsGUIEvent
git-svn-id: svn://10.0.0.236/trunk@15232 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 07:45:26 +00:00
joki%netscape.com
24bd25bf39 Have javascript call regular alert instead of dumping to console.
git-svn-id: svn://10.0.0.236/trunk@15231 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 07:44:39 +00:00
akkana%netscape.com
a4563a7a82 Add Range object
git-svn-id: svn://10.0.0.236/trunk@15230 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 03:06:53 +00:00
pavlov%pavlov.net
618f017f6a fixed my assertions
git-svn-id: svn://10.0.0.236/trunk@15229 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:43:07 +00:00
rickg%netscape.com
10d57d98ad fixed call to ToInteger() to respect the error code
git-svn-id: svn://10.0.0.236/trunk@15228 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:39:36 +00:00
rickg%netscape.com
7dbb22e801 fixed bug 1312
git-svn-id: svn://10.0.0.236/trunk@15227 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:38:50 +00:00
rickg%netscape.com
69aa236de9 changed ToInteger() so that it returns an error properly
git-svn-id: svn://10.0.0.236/trunk@15226 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:38:21 +00:00
joki%netscape.com
196391fbbd Send a reasonable value for the JS useragent on Windows.
git-svn-id: svn://10.0.0.236/trunk@15225 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:29:46 +00:00
rpotts%netscape.com
c87e4a1883 Added a missing NS_RELEASE which was causing the URL and webshell to hang around...
git-svn-id: svn://10.0.0.236/trunk@15224 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:07:27 +00:00
pavlov%pavlov.net
1da1e5ae82 import of new gtk code by Owen Taylor <otaylor@redhat.com>. This code should
support GTK_NO_WINDOW widgets now.


git-svn-id: svn://10.0.0.236/trunk@15223 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:06:29 +00:00
karnaze%netscape.com
b8beac0eaf <frame> now uses <base> for its src attribute
git-svn-id: svn://10.0.0.236/trunk@15222 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:01:45 +00:00
wtc%netscape.com
d769d9c9c4 _MD_FreeSegment should call free (instead of DisposePtr) to deallocate
the memory allocated by _MD_AllocSegment using malloc.  Thanks to
Simon Fraser <sfraser@netscape.com> for the bug report and fix.


git-svn-id: svn://10.0.0.236/trunk@15221 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:59:41 +00:00
kipp%netscape.com
c863d7b29b made it easier to see if the parser is working
git-svn-id: svn://10.0.0.236/trunk@15220 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:48:04 +00:00
kipp%netscape.com
9e72a38944 Made the test work again
git-svn-id: svn://10.0.0.236/trunk@15219 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:47:44 +00:00
kipp%netscape.com
0ddab1d0ce Use Pushback to put back the right character
git-svn-id: svn://10.0.0.236/trunk@15218 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:47:19 +00:00
kipp%netscape.com
e2045ab733 new regression test
git-svn-id: svn://10.0.0.236/trunk@15217 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:43:46 +00:00
akkana%netscape.com
1b25d1e7f2 Range specification
git-svn-id: svn://10.0.0.236/trunk@15216 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:39:47 +00:00
pavlov%pavlov.net
dbd7561c05 Added assertions to the gfx code so that we can find xp bugs easier
git-svn-id: svn://10.0.0.236/trunk@15215 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:32:12 +00:00
wtc%netscape.com
f9841381ad Fixed a bug in Mac's PR_IntervalNow() and PR_TicksPerSecond(). A
tick is one millisecond on the Mac.
Files changed: _macos.h, mactime.c.
Also removed a temporary comment-out in prinrval.c.


git-svn-id: svn://10.0.0.236/trunk@15214 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:31:07 +00:00
larryh%netscape.com
ad35ad2b55 BugSplat 335862
git-svn-id: svn://10.0.0.236/trunk@15213 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:26:00 +00:00
despotdaemon%netscape.com
831f12aaec Pseudo-automatic update of changes made by namachi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15212 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:10:34 +00:00
cyeh%netscape.com
49dfdd1b63 activate timebomb for technology demonstration.
THIS NEEDS TO BE REMOVED LATER


git-svn-id: svn://10.0.0.236/trunk@15211 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:08:47 +00:00
despotdaemon%netscape.com
46472d8f2f Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15209 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:53:48 +00:00
kin%netscape.com
42d0fcd52b Modified transaction manager to use nsTransactionStacks.
git-svn-id: svn://10.0.0.236/trunk@15208 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:45:21 +00:00
kin%netscape.com
5a539f9ae2 Added nsTransactionStack.cpp to list of files to build.
git-svn-id: svn://10.0.0.236/trunk@15206 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:44:29 +00:00
kin%netscape.com
e7f3da5c59 Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@15205 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:43:31 +00:00
jfrancis%netscape.com
45589e7d34 keeping the mac in synch
git-svn-id: svn://10.0.0.236/trunk@15204 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:28:20 +00:00
jfrancis%netscape.com
853b4f59e4 fixing compilation errors
git-svn-id: svn://10.0.0.236/trunk@15203 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:26:32 +00:00
wtc%netscape.com
60608cd6ce Temporarily ifdef out assertions for the Mac while I debug the
problem.


git-svn-id: svn://10.0.0.236/trunk@15202 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:25:25 +00:00
jfrancis%netscape.com
4add115a39 fixing include file typo
git-svn-id: svn://10.0.0.236/trunk@15201 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:19:41 +00:00
mcafee%netscape.com
c56fa67994 Added -DMOZ_FULLCIRCLE logic for release builds
git-svn-id: svn://10.0.0.236/trunk@15200 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:16:43 +00:00
kipp%netscape.com
35d1ba3e17 Made IFRAME a container (like it should have been) so that it can contain the content that isn't being rendered (because we support iframe's)
git-svn-id: svn://10.0.0.236/trunk@15198 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:11:54 +00:00
mcafee%netscape.com
fe8fbe0ec3 Fixing include directory for fullcircle stuff
git-svn-id: svn://10.0.0.236/trunk@15197 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:09:29 +00:00
michaelp%netscape.com
6313915e19 reduced scollbar flashing.
git-svn-id: svn://10.0.0.236/trunk@15196 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:06:46 +00:00
michaelp%netscape.com
6ca45d2e06 backout changes i didn't want to commit.
git-svn-id: svn://10.0.0.236/trunk@15195 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:50:17 +00:00
michaelp%netscape.com
ddee55a0ed fixed display of black or garbage when resizing scrolled scrollingviews.
git-svn-id: svn://10.0.0.236/trunk@15194 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:43:08 +00:00
pavlov%pavlov.net
6f3d289878 remove shadow from menubar to provide a consistant look.
git-svn-id: svn://10.0.0.236/trunk@15193 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:41:47 +00:00
pavlov%pavlov.net
94dd42f645 require gtk 1.1.5
git-svn-id: svn://10.0.0.236/trunk@15190 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:41:29 +00:00
rickg%netscape.com
6752d7e6e3 changed start page per chofmann's request
git-svn-id: svn://10.0.0.236/trunk@15189 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:22:34 +00:00
rickg%netscape.com
30087fabde fixed bug #1513
git-svn-id: svn://10.0.0.236/trunk@15188 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:11:22 +00:00
buster%netscape.com
3c5a5e590a changed the logic for reflowing cells whose height is changed due to a
height attribute.


git-svn-id: svn://10.0.0.236/trunk@15187 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:07:40 +00:00
vidur%netscape.com
13c578a455 Allow application/x-javascript for type in SCRIPT tags
git-svn-id: svn://10.0.0.236/trunk@15186 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:06:57 +00:00
mcafee%netscape.com
1d466b186a Printing out FCInitialize status for debugging, hope that's Ok.
git-svn-id: svn://10.0.0.236/trunk@15185 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:04:04 +00:00
sman%netscape.com
31ef51dc4c fixed instructions
git-svn-id: svn://10.0.0.236/trunk@15184 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:55:32 +00:00
mcafee%netscape.com
171e0d2d6c Printing out FCInitialize status for debugging, hope that's Ok.
git-svn-id: svn://10.0.0.236/trunk@15183 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:22:39 +00:00
kipp%netscape.com
8c86fef2cd Let style override the cursor choice when using an image map
git-svn-id: svn://10.0.0.236/trunk@15182 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:21:13 +00:00
kipp%netscape.com
bf83ca5a6e Walk up the content-parent so that style is applied appropriately for cursor selection
git-svn-id: svn://10.0.0.236/trunk@15181 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:20:50 +00:00
mjudge%netscape.com
39745ca900 build breakage... oops
git-svn-id: svn://10.0.0.236/trunk@15180 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:02:18 +00:00
mjudge%netscape.com
bc6f9c5357 adding contextloader
git-svn-id: svn://10.0.0.236/trunk@15179 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:00:55 +00:00
mjudge%netscape.com
65c64c5a3f context loader will be used for keybindings
git-svn-id: svn://10.0.0.236/trunk@15178 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:00:29 +00:00
mjudge%netscape.com
f288875f23 putting in changes for selection in editor. fixing problem akkana has had?
git-svn-id: svn://10.0.0.236/trunk@15177 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:53:14 +00:00
wtc%netscape.com
e5315cfb95 Handle the sa_len field of struct sockaddr correctly on platforms
whose struct sockaddr has that field.  Thanks to Bert Driehuis
<driehuis@playbeing.org> for suggesting this fix.


git-svn-id: svn://10.0.0.236/trunk@15176 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:22:07 +00:00
wtc%netscape.com
084a0cbfd3 Added 'else true;" to the if statement in our shell scripts because
QNX's shell doesn't work correctly without it.


git-svn-id: svn://10.0.0.236/trunk@15175 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:20:38 +00:00
kipp%netscape.com
c454cd08ea Factored IsReplaced into a throw-away method; fixed containing-block discovery to use IsPercentageBase method
git-svn-id: svn://10.0.0.236/trunk@15174 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:11:57 +00:00
kipp%netscape.com
f308031baa Use correct reflow-state to find the containing-block's width for text-indent (bug #1048)
git-svn-id: svn://10.0.0.236/trunk@15173 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:11:19 +00:00
shaver%netscape.com
a08a107a6d first xpidl stuff
git-svn-id: svn://10.0.0.236/trunk@15172 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:02:31 +00:00
kipp%netscape.com
e3e78619d0 Fixed up handling of form element attributes slightly to match navigators handling of ALIGN; this is compatible with nav/IE and with the HTML4 DTD (because ALIGN is deprecated)
git-svn-id: svn://10.0.0.236/trunk@15171 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 19:33:22 +00:00
leaf%mozilla.org
a556a33161 added mozilla/modules/softupdt to SeaMonkeyBrowser module
git-svn-id: svn://10.0.0.236/trunk@15170 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 19:28:06 +00:00
michaelp%netscape.com
fe7797d4be added STRICT to list of preprocessor macros.
git-svn-id: svn://10.0.0.236/trunk@15169 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 19:00:08 +00:00
kipp%netscape.com
11eb094755 Added code in to not consume events if the anchor has no HREF attribute. This prevents <A NAME=...> containers from eating events
git-svn-id: svn://10.0.0.236/trunk@15168 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:45:00 +00:00
karnaze%netscape.com
12cd5750b9 fixed bug 1479 (wsj.com crash)
git-svn-id: svn://10.0.0.236/trunk@15167 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:37:46 +00:00
danm%netscape.com
d413bc2696 tweak change from last rev, which was close, but misbehaved.
git-svn-id: svn://10.0.0.236/trunk@15166 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:34:50 +00:00
kipp%netscape.com
2571922a9d Added some debug noise (disabled by default) for image loading
git-svn-id: svn://10.0.0.236/trunk@15165 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:18:34 +00:00
kipp%netscape.com
9292a738ca Added some debug noise (disabled by default) for document creation
git-svn-id: svn://10.0.0.236/trunk@15164 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:18:08 +00:00
cls%seawood.org
8ec77484d4 Use MOZ_USER_DIR since it's already setup.
git-svn-id: svn://10.0.0.236/trunk@15163 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:13:39 +00:00
cls%seawood.org
9882158615 Check for libraries before functions and fixed detection of -c -o problem. Thanks to Tim Rice <tim@trr.metro.NET> for pointing those out.
Modified hcc & hcpp to work for any compiler that doesn't support -c -o, not just Unixware.   They expect the real compiler to be the first argument now.


git-svn-id: svn://10.0.0.236/trunk@15162 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:12:39 +00:00
leaf%mozilla.org
5de60a0010 Whacked set-timebomb.pl to whack nsNetService.cpp to kill seamonkey's
networking.


git-svn-id: svn://10.0.0.236/trunk@15161 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 11:16:32 +00:00
vidur%netscape.com
097c7c3402 Partial fix for bug 1256. A script context should always be created for each new script global object.
git-svn-id: svn://10.0.0.236/trunk@15160 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 08:09:11 +00:00
rickg%netscape.com
ef03ca1113 improvements to entity parsing and viewing
git-svn-id: svn://10.0.0.236/trunk@15159 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 08:01:14 +00:00
wtc%netscape.com
e9708a17e4 A jumbo checkin, consisting of:
1. Ports to older revisions of some Unix variants, e.g., BSD/OS 1.1,
   OSF1 V2.0, etc., contributed by Brian Ostrom <briano@netscape.com>.
2. QNX port, also contributed by Brian Ostrom.
3. New macro USE_MACH_DYLD to represent the dynamic library loading
   API of NEXTSTEP and Rhapsody.
4. On platforms whose socket address has the sa_len field, make a
   copy of the PRNetAddr argument for PR_Bind, PR_Connect, and PR_SendTo
   and set its sa_len before passing it to the system calls.  This
   fix is suggested by Bert Driehuis <driehuis@playbeing.org>.
5. Removed the unused field _lockf64 of struct _MD_IOVector.  Not
   every Unix platform has lockf, and the POSIX file locking API
   uses fcntl.


git-svn-id: svn://10.0.0.236/trunk@15158 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 06:33:00 +00:00
mcafee%netscape.com
48478d4ef7 Switching to cvs module checkout, moved nspr checkout to nspr target.
git-svn-id: svn://10.0.0.236/trunk@15157 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 05:50:02 +00:00
troy%netscape.com
5b79c87173 Added missing NS_RELEASE() to GetWidget() function
git-svn-id: svn://10.0.0.236/trunk@15156 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 04:41:51 +00:00
mcafee%netscape.com
eaad124a3b Moving client.mk to SeaMonkeyBrowser, fixing nglayout.mk
git-svn-id: svn://10.0.0.236/trunk@15155 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 04:18:22 +00:00
buster%netscape.com
792b1982ba #ifdef NS_DEUG references to _CrtSetDbgFlag
git-svn-id: svn://10.0.0.236/trunk@15154 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 04:09:06 +00:00
troy%netscape.com
ea321d77ca Added some casts to make the 6.0 compiler happy
git-svn-id: svn://10.0.0.236/trunk@15153 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:43:49 +00:00
michaelp%netscape.com
b3420da9fc made the stars 'n comets animation the default for the throbber.
git-svn-id: svn://10.0.0.236/trunk@15152 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:30:24 +00:00
mcafee%netscape.com
5f9edfc930 Changes needed to build on Linux
git-svn-id: svn://10.0.0.236/trunk@15151 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:24:25 +00:00
michaelp%netscape.com
43576b4ce6 changed ::ReleaseDC() call in RealizeFont() key off of the same thing that
it used to conditionally call ::GetDC(). strictly speaking this change was
not necessary. i did it to make the code look a bit cleaner and accomodate
the situation where a device context is Init()ed with a null widget handle.
a device context of that sort is questionable, but that issue can be
addressed separately.


git-svn-id: svn://10.0.0.236/trunk@15150 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:14:38 +00:00
michaelp%netscape.com
c85498fefa fixed a bunch of resource leaks exposed by the xpviewer and made
HDC state propagation in SetupDC() more complete.


git-svn-id: svn://10.0.0.236/trunk@15149 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:12:16 +00:00
michaelp%netscape.com
f85fa148e2 changed for drawing surface HDC ownership setting.
git-svn-id: svn://10.0.0.236/trunk@15148 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:11:16 +00:00
michaelp%netscape.com
b4939bef55 added data member to drawing surface to determine HDC ownership.
git-svn-id: svn://10.0.0.236/trunk@15147 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:10:10 +00:00
law%netscape.com
d9a95dea3e Add reload button logic and reset home page
git-svn-id: svn://10.0.0.236/trunk@15146 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 02:32:32 +00:00
vidur%netscape.com
44b9de5c38 Fix for bug 940. location.href can take a relative URL.
git-svn-id: svn://10.0.0.236/trunk@15145 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 01:09:27 +00:00
raman%netscape.com
1adb26bf9e XP_COM interfaces for JS calls into CAPS
git-svn-id: svn://10.0.0.236/trunk@15144 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 00:27:00 +00:00
locka%iol.ie
eb5b6c8750 Implemented folder picker dialog
git-svn-id: svn://10.0.0.236/trunk@15142 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 00:03:58 +00:00
amusil%netscape.com
5445c054f5 Fix for Bug 1416. Moving the call of the plugin entry point into Initialize (after the mPluginManager is set up).
This is so that NPN calls can get resolved if the plugin makes them in the entry point routine.


git-svn-id: svn://10.0.0.236/trunk@15137 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 23:13:44 +00:00
chuckb%netscape.com
5b6c955aac Merge from LDAPCSDK_19981015_BRANCH
git-svn-id: svn://10.0.0.236/trunk@15134 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 22:03:18 +00:00
pavlov%pavlov.net
1ad44df641 fixed rickg@netscape.com's broken code.
git-svn-id: svn://10.0.0.236/trunk@15133 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 16:48:18 +00:00
terry%netscape.com
ce44f10b4e More shuffling of owners.
git-svn-id: svn://10.0.0.236/trunk@15132 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 15:54:40 +00:00
rpotts%netscape.com
c3501aad62 fix up the places where the C and C++ memory managers were being mixed for allocs and frees...
git-svn-id: svn://10.0.0.236/trunk@15131 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 09:32:06 +00:00
rpotts%netscape.com
c6027a56e5 Force the URL exit routine to be called via a PLEvent. This insures that the LIBNET() lock is not being held during the call...
git-svn-id: svn://10.0.0.236/trunk@15130 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 09:31:10 +00:00
rpotts%netscape.com
bf86d61fe6 Disable async Winsock notifications until we figure out why it exhausts *all* system resources on Win95...
git-svn-id: svn://10.0.0.236/trunk@15129 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 09:30:00 +00:00
rpotts%netscape.com
e020eaf4ef Return NS_BINDING_FAILED if nw stream was created...
git-svn-id: svn://10.0.0.236/trunk@15128 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 09:28:44 +00:00
rpotts%netscape.com
7182d2a5d0 Add a missing NS_RELEASE(...) for a QI(...)
git-svn-id: svn://10.0.0.236/trunk@15127 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 09:27:30 +00:00
buster%netscape.com
2ae8193b78 fixed the aweful nested table problems
git-svn-id: svn://10.0.0.236/trunk@15126 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 08:56:19 +00:00
rickg%netscape.com
27b9a14618 changed start page to netcenter
git-svn-id: svn://10.0.0.236/trunk@15125 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 08:19:56 +00:00
rickg%netscape.com
ba8fd871ca fixed bug 1140; temp fix to 1321
git-svn-id: svn://10.0.0.236/trunk@15124 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 08:01:28 +00:00
cyeh%netscape.com
8d0560f175 remove old template modules Client50Browser and Client50MailNews. Add module
MozillaLicense, which should be included with every logical source
code component. (need to go back and check that major components, such
as NSPR include the LEGAL and LICENSE document.)

Create first pass for SeaMonkey modules. They are not active yet, but
this will allow them to be hacked on by multiple people and tested until
correct.


git-svn-id: svn://10.0.0.236/trunk@15123 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 05:18:43 +00:00
msw%gimp.org
f220464167 A _horrible_ hack to make fonts readable. Needs much work here.
git-svn-id: svn://10.0.0.236/trunk@15122 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 04:48:47 +00:00
pavlov%pavlov.net
b2b11721da fix transparent icons and flipped the nscolor to gdkcolor R and B colors
git-svn-id: svn://10.0.0.236/trunk@15121 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 04:43:24 +00:00
troy%netscape.com
3cbfe7948e Changed Destroy() to release references to and destroy its child
web shells. This fixes it so we don't leak all of the web shells for
frameset documents


git-svn-id: svn://10.0.0.236/trunk@15120 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 03:11:26 +00:00
jevering%netscape.com
385b20fd17 fixed fullsoft lib name
git-svn-id: svn://10.0.0.236/trunk@15119 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 01:20:32 +00:00
jevering%netscape.com
8ca3acc624 corrected the fullsoft lib name.
git-svn-id: svn://10.0.0.236/trunk@15118 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 01:19:21 +00:00
terry%netscape.com
7d6cf072ef valeski is no longer here; gagan now owns 'Networking Library'.
git-svn-id: svn://10.0.0.236/trunk@15117 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 01:17:08 +00:00
terry%netscape.com
c8fbb3bd3b Patch from Sam Ziegler <sam@ziegler.org>: fix some typos.
git-svn-id: svn://10.0.0.236/trunk@15116 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 01:12:09 +00:00
michaelp%netscape.com
4091ac9352 changed UserAgent string reporting.
git-svn-id: svn://10.0.0.236/trunk@15115 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 00:22:35 +00:00
pavlov%pavlov.net
870924220c Setup the X hints for when mozilla is minimized. Added icon.
git-svn-id: svn://10.0.0.236/trunk@15109 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 21:49:17 +00:00
rickg%netscape.com
481c1194fb fixed containment bugs, which corrects problems with www.majorleaguebaseball.com
git-svn-id: svn://10.0.0.236/trunk@15108 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 21:06:29 +00:00
troy%netscape.com
36cc15c205 Added missing NS_RELEASE of the content object in GetMarginHeight()
git-svn-id: svn://10.0.0.236/trunk@15107 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 17:30:41 +00:00
troy%netscape.com
d8e49916cf Added NS_RELEASE to fixed memory leak after calling ChildAt()
git-svn-id: svn://10.0.0.236/trunk@15106 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 17:22:31 +00:00
kipp%netscape.com
0100dd306f Fix up painting issue; if we end up with a negative damage area then convert to damaging everything
git-svn-id: svn://10.0.0.236/trunk@15105 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 17:21:18 +00:00
jfrancis%netscape.com
f789e191d5 shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@15104 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 08:29:45 +00:00
rickg%netscape.com
2954c4d855 assertions for bug 1375 and better autodetection code
git-svn-id: svn://10.0.0.236/trunk@15102 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 07:48:49 +00:00
raman%netscape.com
3ed308bf62 Added building of caps to the windows and unix build system
git-svn-id: svn://10.0.0.236/trunk@15101 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 06:05:24 +00:00
troy%netscape.com
b060981c1a Improved efficiency by avoiding the dreadfully slow NS_MakeAbsoluteURL() and
only setting the image loader's URL and base URL for the initial reflow


git-svn-id: svn://10.0.0.236/trunk@15100 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 04:04:41 +00:00
rickg%netscape.com
1fb036086d last tweak needed to get entities right again
git-svn-id: svn://10.0.0.236/trunk@15099 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 03:57:03 +00:00
kipp%netscape.com
ce366ccfba Fixed scroll-frame code to properly fill in the max-element-size
git-svn-id: svn://10.0.0.236/trunk@15098 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 03:52:01 +00:00
morse%netscape.com
b7adafbd1d moved string to allxpstr.h for sake of i18n
git-svn-id: svn://10.0.0.236/trunk@15097 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 03:10:43 +00:00
morse%netscape.com
48d2490554 change for single signon
git-svn-id: svn://10.0.0.236/trunk@15096 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 03:09:44 +00:00
rickg%netscape.com
893185a1b7 fixed bug 1125
git-svn-id: svn://10.0.0.236/trunk@15095 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 02:49:25 +00:00
rickg%netscape.com
9e4fe268ba fixed bug 1125
git-svn-id: svn://10.0.0.236/trunk@15094 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 02:48:01 +00:00
mcmullen%netscape.com
04e07a582a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15093 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 01:24:55 +00:00
vidur%netscape.com
d08fcd1057 Added XML factories to the xpviewer registry
git-svn-id: svn://10.0.0.236/trunk@15092 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 01:22:24 +00:00
kin%netscape.com
2fd3bd374a Quick test to see if the first pass transaction manager code is working.
git-svn-id: svn://10.0.0.236/trunk@15091 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 01:21:14 +00:00
joki%netscape.com
ab15534e85 Adding nsJSSecurityManager.cpp to project
git-svn-id: svn://10.0.0.236/trunk@15090 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 01:14:16 +00:00
kin%netscape.com
09cda0dcb4 First pass implementations of Do, Undo, and Redo.
git-svn-id: svn://10.0.0.236/trunk@15089 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 01:02:55 +00:00
cls%seawood.org
2fb7c44769 Linux shouldn't need the mkdetect scripts any longer. Get rid of bogus motif dependency as well.
git-svn-id: svn://10.0.0.236/trunk@15088 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 01:00:00 +00:00
rpotts%netscape.com
9a8b6f2684 Fixed up the throbber to stay animating throughout the document load... Found a better fix for the statusbar not showing up until the first resize.
git-svn-id: svn://10.0.0.236/trunk@15087 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:55:54 +00:00
buster%netscape.com
4b922cdb2b removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.


git-svn-id: svn://10.0.0.236/trunk@15086 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:53:03 +00:00
cls%seawood.org
bfc1cc9428 Removed redundant check for ios::bin. Replaced hardcoded check for 1.1.2 with $GTK_VERSION.
git-svn-id: svn://10.0.0.236/trunk@15085 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:48:32 +00:00
cyeh%netscape.com
79654fb86d Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@15084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:34:32 +00:00
radha%netscape.com
88479ed20c Comment off menu items that don't work
Add a "Navigator" Menu item to communicator menu and let it bring up
a browser window


git-svn-id: svn://10.0.0.236/trunk@15083 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:24:41 +00:00
larryh%netscape.com
ad9deb3a69 BugZilla #1473
git-svn-id: svn://10.0.0.236/trunk@15082 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:20:16 +00:00
joki%netscape.com
fe983ab777 Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug.
git-svn-id: svn://10.0.0.236/trunk@15081 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:19:36 +00:00
joki%netscape.com
581ca7e7ca Adding initial bit for the JS security system
git-svn-id: svn://10.0.0.236/trunk@15080 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:12:33 +00:00
despotdaemon%netscape.com
0b171bcddd Pseudo-automatic update of changes made by gem@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15079 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:59:24 +00:00
larryh%netscape.com
591896de41 fix compile error introduced with OS/2 port
git-svn-id: svn://10.0.0.236/trunk@15078 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:56:29 +00:00
michaelp%netscape.com
12392ea64e fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@15077 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:54:29 +00:00
despotdaemon%netscape.com
5f76d16dea Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@15076 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:54:16 +00:00
sar%netscape.com
dbbec2bbca adding mozilla/caps to RaptorDist. I know this is all going to get shuffled when the modules are realigned, but this is the best place to put it for now. --sarah
git-svn-id: svn://10.0.0.236/trunk@15075 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:51:40 +00:00
mcafee%netscape.com
d7b620533f Adding Talkback initialization & include/link stuff. Wrapped in MOZ_FULLCIRCLE=1
git-svn-id: svn://10.0.0.236/trunk@15074 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:33:53 +00:00
pnunn%netscape.com
edfeb525c4 png is an interal format... -pnunn
git-svn-id: svn://10.0.0.236/trunk@15073 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:33:46 +00:00
pnunn%netscape.com
e14d007f27 png is an internal format.... -pnunn
git-svn-id: svn://10.0.0.236/trunk@15072 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:32:44 +00:00
pnunn%netscape.com
16ccc2b700 png is an internal format..... -pnunn
git-svn-id: svn://10.0.0.236/trunk@15071 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:32:12 +00:00
pnunn%netscape.com
5423f91a18 ...png is an internal format. -pnunn.
git-svn-id: svn://10.0.0.236/trunk@15070 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:31:42 +00:00
morse%netscape.com
5f712de818 fix up indentation
git-svn-id: svn://10.0.0.236/trunk@15069 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:31:17 +00:00
troy%netscape.com
021ed0f162 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo


git-svn-id: svn://10.0.0.236/trunk@15068 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:27:59 +00:00
srinivas%netscape.com
d81bdb762d Fixed breakage of C++ build rule in previous checkin.
git-svn-id: svn://10.0.0.236/trunk@15067 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:19:54 +00:00
mcafee%netscape.com
0e51f60e05 Adding Talkback initialization & include/link stuff. Wrapped in MOZ_FULLCIRCLE=1
git-svn-id: svn://10.0.0.236/trunk@15066 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:14:22 +00:00
cyeh%netscape.com
2a77f20528 forgot the continuation character.
git-svn-id: svn://10.0.0.236/trunk@15065 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:10:59 +00:00
buster%netscape.com
bb8cc936f0 removed a spurious GetContent that was the cause of a memory leak
git-svn-id: svn://10.0.0.236/trunk@15064 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:10:47 +00:00
gagan%netscape.com
fe370c4af2 Fixed the NSPR spelling change warning (PRDirectorySeparator).
git-svn-id: svn://10.0.0.236/trunk@15063 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:10:23 +00:00
gagan%netscape.com
2d7ce54418 NuCache lib added.
git-svn-id: svn://10.0.0.236/trunk@15062 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:09:25 +00:00
waterson%netscape.com
52e0706e80 Updated for new interfaces.
git-svn-id: svn://10.0.0.236/trunk@15061 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:07:34 +00:00
gagan%netscape.com
fa23a2e423 We were unnecessarily checking cache entries for local resources. This should speed things up...
git-svn-id: svn://10.0.0.236/trunk@15060 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 23:03:39 +00:00
law%netscape.com
402be50ca4 Make statusbar appear without requiring window resize
git-svn-id: svn://10.0.0.236/trunk@15059 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:34:12 +00:00
kipp%netscape.com
29dc17dcda Use revised GetContainingBlockContentWidth method
git-svn-id: svn://10.0.0.236/trunk@15058 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:28:00 +00:00
kipp%netscape.com
699867e794 Support margins on the child frame
git-svn-id: svn://10.0.0.236/trunk@15057 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:27:33 +00:00
kipp%netscape.com
a207569b1c Work around more bugs in the style context code and use old margin calculations; factored get-containing-block-width better
git-svn-id: svn://10.0.0.236/trunk@15056 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:27:21 +00:00
kipp%netscape.com
8212a41c48 Disable fixed behavior when we are shrink wrapping so that floating tables (for example) can ignore their width if necessary
git-svn-id: svn://10.0.0.236/trunk@15055 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:24:20 +00:00
kipp%netscape.com
62773d21fe Made HTML a block (which it is going to be someday) so that percentage margins in the BODY will be computed correctly
git-svn-id: svn://10.0.0.236/trunk@15054 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:21:38 +00:00
cls%seawood.org
e2dbbb9c72 License issues supposedly have been cleared up so aclocal.m4 can stay.
git-svn-id: svn://10.0.0.236/trunk@15053 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:14:16 +00:00
rickg%netscape.com
fb379a12ba updated docs for nsString class usage
git-svn-id: svn://10.0.0.236/trunk@15052 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 22:11:09 +00:00
cyeh%netscape.com
996e83b704 added aclocal.m4 to RaptorUnix for autoconf
git-svn-id: svn://10.0.0.236/trunk@15051 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:57:20 +00:00
morse%netscape.com
680e1bf71b more fixes for change-of-password form
git-svn-id: svn://10.0.0.236/trunk@15050 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:57:04 +00:00
rickg%netscape.com
f7801b5a39 fixed broken entities
git-svn-id: svn://10.0.0.236/trunk@15049 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:34:20 +00:00
buster%netscape.com
f8aed9d5de took out a dumb debug printf
git-svn-id: svn://10.0.0.236/trunk@15048 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:09:54 +00:00
buster%netscape.com
3e6c71822b put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE


git-svn-id: svn://10.0.0.236/trunk@15047 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:08:06 +00:00
buster%netscape.com
81056561c2 added :TABLE pseudo-style
git-svn-id: svn://10.0.0.236/trunk@15046 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:06:59 +00:00
buster%netscape.com
38df9d7aff added tablePseudo
git-svn-id: svn://10.0.0.236/trunk@15045 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 21:05:31 +00:00
kin%netscape.com
fbb3c4f42e Corrected comments for Do(), Undo(), and Redo().
git-svn-id: svn://10.0.0.236/trunk@15044 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 20:59:40 +00:00
despotdaemon%netscape.com
9f52a9cb6d Pseudo-automatic update of changes made by cmanske@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15043 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 20:53:21 +00:00
despotdaemon%netscape.com
61f08efe95 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15042 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 20:44:42 +00:00
despotdaemon%netscape.com
4d245f36af Pseudo-automatic update of changes made by jwz@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@15041 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 20:31:21 +00:00
srinivas%netscape.com
efc84ef9fb Enable OS/2 builds with IBM's compiler (Visualage) and gcc port of OS/2 (emx).
Checkin for Eric Olson <Eric.Olson@Sympatico.CA> and Henry <sobotka@axess.com>.


git-svn-id: svn://10.0.0.236/trunk@15040 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 20:17:20 +00:00
mjudge%netscape.com
4561166339 changing names for nsEditorMouseListener ect
git-svn-id: svn://10.0.0.236/trunk@15038 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 19:30:50 +00:00
kipp%netscape.com
4078a9579e Removed a bogus assert
git-svn-id: svn://10.0.0.236/trunk@15037 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 19:28:44 +00:00
dcone%netscape.com
e06798ffdf Another small fix, to take out unnessasary code.
git-svn-id: svn://10.0.0.236/trunk@15036 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 19:26:06 +00:00
msw%gimp.org
056cca1ba8 Change the test for GTK+-1.1.3 to 1.1.2, as we should be able to build against
1.1.2 and that is the version that is on most boxes.  Approved by
shaver@netscape.com


git-svn-id: svn://10.0.0.236/trunk@15035 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 19:25:04 +00:00
terry%netscape.com
1d5e9c99f5 Backed out Andrew's patch -- turns out it was doing quoting sublty wrong.
git-svn-id: svn://10.0.0.236/trunk@15034 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 19:18:37 +00:00
dcone%netscape.com
93daf60388 deleted duplicate from nsIImage.h - no longer needed
git-svn-id: svn://10.0.0.236/trunk@15033 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:55:50 +00:00
kipp%netscape.com
70d4da59f6 Use proper calls to refresh the display (however, at this time the view manager is busted so it won't work)
git-svn-id: svn://10.0.0.236/trunk@15032 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:53:48 +00:00
kin%netscape.com
e5331aea39 Initial checkin of files.
git-svn-id: svn://10.0.0.236/trunk@15031 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:36:05 +00:00
kipp%netscape.com
ea00d06377 Removed the url comparison test that's no longer needed now that crawling is hooked to the EndLoadURL notification
git-svn-id: svn://10.0.0.236/trunk@15030 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:35:21 +00:00
kipp%netscape.com
11905db186 Fixed QueryInterface to do the right thing
git-svn-id: svn://10.0.0.236/trunk@15029 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:27:47 +00:00
kipp%netscape.com
a69dbcce53 Moved crawling code into EndLoadURL; eliminated bogus cast that hid the fact that the class wasn't implementing nsIStreamObserver
git-svn-id: svn://10.0.0.236/trunk@15028 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:27:14 +00:00
kipp%netscape.com
def484af1b Added EndLoadURL and fixed interface bogosity
git-svn-id: svn://10.0.0.236/trunk@15027 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:26:41 +00:00
kipp%netscape.com
8b6d12bcba pass on EndLoadURL to the crawler
git-svn-id: svn://10.0.0.236/trunk@15026 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:26:16 +00:00
kipp%netscape.com
f044481b68 Added -v argument to log crawler behavior
git-svn-id: svn://10.0.0.236/trunk@15025 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:25:55 +00:00
kipp%netscape.com
a40b0cff3a Pass on EndLoadURL to the app
git-svn-id: svn://10.0.0.236/trunk@15024 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:25:29 +00:00
kin%netscape.com
f9645c5674 Added QueryInterface() implementation.
git-svn-id: svn://10.0.0.236/trunk@15022 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:04:57 +00:00
kin%netscape.com
fce2d30102 Removed '_' from IID defines to conform to naming conventions used in nglayout.
git-svn-id: svn://10.0.0.236/trunk@15021 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 18:04:03 +00:00
kipp%netscape.com
18ec528130 Added support for StyleChanged reflow reason
git-svn-id: svn://10.0.0.236/trunk@15020 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:41:44 +00:00
kipp%netscape.com
4c0e7bb48f Temporary workaround for style issue
git-svn-id: svn://10.0.0.236/trunk@15019 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:39:11 +00:00
dcone%netscape.com
6b3aca698d Took out all blending code, and updated to coding standards, general cleanup
git-svn-id: svn://10.0.0.236/trunk@15018 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:37:18 +00:00
kipp%netscape.com
b7526778d2 Use new classname for base class; port to updated nsLeafFrame methods
git-svn-id: svn://10.0.0.236/trunk@15017 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:22:08 +00:00
kipp%netscape.com
da8bad5359 Port to updated nsLeafFrame methods
git-svn-id: svn://10.0.0.236/trunk@15016 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:21:49 +00:00
kipp%netscape.com
0ded33a37e Removed a compiler warning
git-svn-id: svn://10.0.0.236/trunk@15015 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:21:22 +00:00
kipp%netscape.com
8e874e3769 Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame
git-svn-id: svn://10.0.0.236/trunk@15014 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:21:02 +00:00
kipp%netscape.com
b08cebd76d Use revised API's for computing the border/padding
git-svn-id: svn://10.0.0.236/trunk@15013 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:20:29 +00:00
kipp%netscape.com
257cb2e34e Define new API's to compute margin/border/padding/border+padding and handle percentages correctly
git-svn-id: svn://10.0.0.236/trunk@15012 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:19:26 +00:00
kipp%netscape.com
74b2e97658 Use revised API's to get percentage padding/borders value right
git-svn-id: svn://10.0.0.236/trunk@15011 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:18:58 +00:00
kipp%netscape.com
4d8d60d08d Use revised margin calculation api's; center blocks that have auto margins
git-svn-id: svn://10.0.0.236/trunk@15010 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:18:12 +00:00
kipp%netscape.com
115cd2b9ad Use Get methods from style context instead of deprecated methods
git-svn-id: svn://10.0.0.236/trunk@15009 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:13:28 +00:00
kipp%netscape.com
07371bd0cd Updated leaf api's to better support caching of computed border/padding when percentages are used
git-svn-id: svn://10.0.0.236/trunk@15008 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:13:02 +00:00
kipp%netscape.com
b5fd638826 Added mBorderPadding to cache computed value in case percentages are used
git-svn-id: svn://10.0.0.236/trunk@15007 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:12:39 +00:00
kipp%netscape.com
b982296c15 Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame
git-svn-id: svn://10.0.0.236/trunk@15006 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:12:25 +00:00
dcone%netscape.com
5a1fd4591f Fixed some warnings, slight rework of the taghandling classes.
git-svn-id: svn://10.0.0.236/trunk@15005 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 15:38:18 +00:00
alecf%netscape.com
7724082a1f don't pass static classes as function parameters
git-svn-id: svn://10.0.0.236/trunk@15004 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 09:45:39 +00:00
alecf%netscape.com
5e3cc9c98d fix casting problems for gcc 2.7.2.3
git-svn-id: svn://10.0.0.236/trunk@15003 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 09:29:58 +00:00
troy%netscape.com
c3380a7354 Added temporary workaround to image frame code to compensate for the fact
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space


git-svn-id: svn://10.0.0.236/trunk@15002 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 06:31:55 +00:00
jfrancis%netscape.com
104d6e8c39 missed a source file. added nsView.cpp to project
git-svn-id: svn://10.0.0.236/trunk@15001 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 06:28:50 +00:00
jfrancis%netscape.com
4f2c73564d shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@15000 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 06:05:20 +00:00
jfrancis%netscape.com
76a3c8bde7 shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@14999 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:53:16 +00:00
jfrancis%netscape.com
47ed79a28a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14998 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:52:48 +00:00
troy%netscape.com
c80a6013b3 Removed some #include lines that are no longer needed
git-svn-id: svn://10.0.0.236/trunk@14997 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:22:45 +00:00
jfrancis%netscape.com
4906266ba1 moved view code to view project, included view lib here.
git-svn-id: svn://10.0.0.236/trunk@14996 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:21:57 +00:00
jfrancis%netscape.com
432fc0cc14 moved view code to view project, included view lib here
git-svn-id: svn://10.0.0.236/trunk@14995 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:15:24 +00:00
jfrancis%netscape.com
a949aa4d62 adding view to layout projects
git-svn-id: svn://10.0.0.236/trunk@14994 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:14:39 +00:00
morse%netscape.com
c44866825a fixes for change-of-password form
git-svn-id: svn://10.0.0.236/trunk@14993 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:03:36 +00:00
jfrancis%netscape.com
afed7afdb1 mac shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@14992 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:02:56 +00:00
jfrancis%netscape.com
91f873177c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14991 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:02:20 +00:00
morse%netscape.com
90633f4353 fix for single signon
git-svn-id: svn://10.0.0.236/trunk@14990 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:01:32 +00:00
pavlov%pavlov.net
9d41cbaec7 small bug fix.
git-svn-id: svn://10.0.0.236/trunk@14989 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 04:42:03 +00:00
troy%netscape.com
dc4177b6c9 Fixed ref counting problem in stub_GraphProgressDestroy()
git-svn-id: svn://10.0.0.236/trunk@14988 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 04:28:06 +00:00
pavlov%pavlov.net
296103f679 initial files for the tab widget
git-svn-id: svn://10.0.0.236/trunk@14987 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 04:27:32 +00:00
rickg%netscape.com
caa5d11b3c fix or partial fix to lots of bugs
git-svn-id: svn://10.0.0.236/trunk@14986 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 03:42:54 +00:00
pavlov%pavlov.net
b4cde81bb0 make sure we return a value for all of the NS_IMETHODIMP methods
git-svn-id: svn://10.0.0.236/trunk@14985 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 03:30:49 +00:00
pavlov%pavlov.net
b9b7dff7f0 unrevert the changes reverted earlier (build with static gtk libraries)
git-svn-id: svn://10.0.0.236/trunk@14984 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 03:25:59 +00:00
despotdaemon%netscape.com
6a92d7d074 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14983 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 02:36:57 +00:00
despotdaemon%netscape.com
d2acf69e40 Pseudo-automatic update of changes made by claudius@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14982 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 02:30:38 +00:00
alecf%netscape.com
fab1d9d3bb nsTimerExpired should be a C function that returns a gint (i.e. a GtkFunction)
which returns 0 on success


git-svn-id: svn://10.0.0.236/trunk@14981 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 02:03:57 +00:00
akkana%netscape.com
613c9d4260 more fixes for the irix autoconf build
git-svn-id: svn://10.0.0.236/trunk@14980 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 02:00:14 +00:00
mjudge%netscape.com
07924a7062 build bustage
git-svn-id: svn://10.0.0.236/trunk@14979 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:17:16 +00:00
saari%netscape.com
6f8340d89e Just a comment on nsWindow's mBounds member
git-svn-id: svn://10.0.0.236/trunk@14978 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:10:44 +00:00
buster%netscape.com
7b0e777c46 removed obsolete include of nsTableFrame
git-svn-id: svn://10.0.0.236/trunk@14977 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:04:43 +00:00
beard%netscape.com
f4e8d45219 xpcomDebug.exp only included in debug target, xpcom.exp in both.
git-svn-id: svn://10.0.0.236/trunk@14976 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:04:17 +00:00
buster%netscape.com
055399aac1 handles "height" attribute
git-svn-id: svn://10.0.0.236/trunk@14975 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:03:45 +00:00
beard%netscape.com
beeb760db7 Added nsServiceManager static method exports.
git-svn-id: svn://10.0.0.236/trunk@14974 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:03:42 +00:00
buster%netscape.com
6f5b201dbe implemented table height algorithms. also made a slight modification to
the way a table finds its container's width.


git-svn-id: svn://10.0.0.236/trunk@14973 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 01:01:25 +00:00
kin%netscape.com
d2516ee78e Updated nsITransaction and nsITransactionManager to match current spec.
git-svn-id: svn://10.0.0.236/trunk@14972 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 00:43:07 +00:00
kin%netscape.com
24520dc1e1 Added nsITransactionListener.h to list of EXPORTS.
git-svn-id: svn://10.0.0.236/trunk@14971 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 00:42:20 +00:00
kin%netscape.com
91002c329b Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@14970 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 00:41:43 +00:00
mjudge%netscape.com
785aeb3d68 editor changes not in inclusion
git-svn-id: svn://10.0.0.236/trunk@14968 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 00:02:11 +00:00
mjudge%netscape.com
8422a7b923 editor changes
git-svn-id: svn://10.0.0.236/trunk@14967 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 00:01:15 +00:00
despotdaemon%netscape.com
72a165b2bd Pseudo-automatic update of changes made by glynn@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14966 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 23:55:32 +00:00
mjudge%netscape.com
1961369c00 fixing future possible bustage even though tree is red. I will watch carefully
git-svn-id: svn://10.0.0.236/trunk@14965 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 23:25:58 +00:00
srinivas%netscape.com
c33c58e68b Fixed a typo in previous checkin.
git-svn-id: svn://10.0.0.236/trunk@14964 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 23:09:01 +00:00
srinivas%netscape.com
c02c8d8708 Enable OS/2 builds with IBM's compiler (Visualage) and gcc port of OS/2 (emx).
Checkin for Eric Olson <Eric.Olson@Sympatico.CA> and Henry <sobotka@axess.com>.


git-svn-id: svn://10.0.0.236/trunk@14963 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 22:20:31 +00:00
kin%netscape.com
8f709a1d84 Changed all occurrences of transactionManager to nsTransactionManager.
git-svn-id: svn://10.0.0.236/trunk@14962 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 21:58:58 +00:00
pinkerton%netscape.com
295a1367c6 Added SetCursor() override so that we will change the cursor when layout tells us.
git-svn-id: svn://10.0.0.236/trunk@14961 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 21:54:35 +00:00
kin%netscape.com
f5e4fd9944 Renamed transactionManager.{cpp,h} to nsTransactionManager.{cpp,h}.
git-svn-id: svn://10.0.0.236/trunk@14960 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 21:51:57 +00:00
kin%netscape.com
cf4c82ae3a Renamed files to nsTransactionManager.{h,cpp}.
git-svn-id: svn://10.0.0.236/trunk@14959 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 21:51:13 +00:00
kin%netscape.com
c1a1122be7 Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@14958 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 21:43:21 +00:00
msw%gimp.org
bd8ac5c0c7 This is a hack to service the PLEventQueue that nsWebShell posts events to
such as anchor clicking.  This is only a temporary fix.  We need some other
way to do this.


git-svn-id: svn://10.0.0.236/trunk@14957 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 21:12:02 +00:00
law%netscape.com
f5fae695c7 Adding support for 'view source'
git-svn-id: svn://10.0.0.236/trunk@14956 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 20:41:01 +00:00
scc%netscape.com
5c994d7aa4 some changes to better conform to our coding standards; removed the facility for assigning in without AddRef-ing, outside of the context of a function call; added some comparison operators for working with raw pointers; preprocessor-ized the bool type for compilers without
git-svn-id: svn://10.0.0.236/trunk@14955 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 20:26:12 +00:00
law%netscape.com
c7f2e93dfe Adding support for 'view source'
git-svn-id: svn://10.0.0.236/trunk@14954 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 19:15:30 +00:00
kipp%netscape.com
38fb3310d6 Improved the regression dump data somewhat
git-svn-id: svn://10.0.0.236/trunk@14953 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 18:51:53 +00:00
kipp%netscape.com
6eb8511825 Override FrameForPoint so that floaters/bullets get events
git-svn-id: svn://10.0.0.236/trunk@14952 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 18:09:57 +00:00
kipp%netscape.com
9ac80e4d0f Factored out FrameForPoint code into one that takes a particular list
git-svn-id: svn://10.0.0.236/trunk@14951 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 18:09:03 +00:00
kipp%netscape.com
84410733de Made nsString::Insert actually support the count=-1 default argument
git-svn-id: svn://10.0.0.236/trunk@14950 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:58:30 +00:00
kipp%netscape.com
7380c40198 Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting
git-svn-id: svn://10.0.0.236/trunk@14949 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:55:22 +00:00
kipp%netscape.com
f8626bbd26 Fixed up the web-crawler to only trigger crawls on a document being loaded, not on one of it's images; support -o even w/o a filter; use the regression dump for -o instead of list
git-svn-id: svn://10.0.0.236/trunk@14948 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:24:13 +00:00
kipp%netscape.com
9642cfd1e6 Removed some noise
git-svn-id: svn://10.0.0.236/trunk@14947 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:23:27 +00:00
kipp%netscape.com
b527c7f026 Added DumpRegressionData; revised ListTag; added GetFrameName
git-svn-id: svn://10.0.0.236/trunk@14946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:22:29 +00:00
cls%seawood.org
a96c8177ca Ooops, got my versions of configure.in confused.
git-svn-id: svn://10.0.0.236/trunk@14945 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:16:56 +00:00
cls%seawood.org
054c58515e Pavlov's changes are reverted until the license issues with aclocal.m4 have been settled.
git-svn-id: svn://10.0.0.236/trunk@14944 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 16:49:09 +00:00
cls%seawood.org
a3fde4f8bc Oops, premature commit last time. Try this one.
git-svn-id: svn://10.0.0.236/trunk@14941 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 06:33:10 +00:00
raman%netscape.com
841ba0b23b Backing out my last changes.
git-svn-id: svn://10.0.0.236/trunk@14940 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 06:31:14 +00:00
cls%seawood.org
5755d2cc70 Moved nsHTMLTags.h from EXTRA_EXPORTS to EXPORTS.
git-svn-id: svn://10.0.0.236/trunk@14939 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 06:23:35 +00:00
cls%seawood.org
414a725af1 Start pulling aclocal.m4 with the build
git-svn-id: svn://10.0.0.236/trunk@14938 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 05:44:20 +00:00
kipp%netscape.com
c6936d76d1 Fix build bustage (hopefully)
git-svn-id: svn://10.0.0.236/trunk@14937 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 05:37:59 +00:00
raman%netscape.com
bec5f1bf26 Added caps (capabilities based secure system for JVM plug-in and JS) to the build process
git-svn-id: svn://10.0.0.236/trunk@14936 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 05:36:46 +00:00
msw%gimp.org
3161812f83 Implemented the start of the text widget onkey callback. You can now type
URLs in the location field of xpviewer and hit enter.


git-svn-id: svn://10.0.0.236/trunk@14935 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 05:33:13 +00:00
cls%seawood.org
e2a4876f5e Removed the automatic check for the generate target. If we're going to check generated files into cvs, don't continue to generate them in the build
git-svn-id: svn://10.0.0.236/trunk@14934 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 05:23:42 +00:00
raman%netscape.com
f100d4f1c2 Changes to make caps into a DLL. Defined all strings in this file until there is a replacement for allxpstr.h
git-svn-id: svn://10.0.0.236/trunk@14933 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 05:22:28 +00:00
raman%netscape.com
5c8396fb31 Deleted obsolete messages
git-svn-id: svn://10.0.0.236/trunk@14932 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 05:21:37 +00:00
raman%netscape.com
d69036224b Deleted obsolete messages
git-svn-id: svn://10.0.0.236/trunk@14931 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 05:21:36 +00:00
pavlov%pavlov.net
8d18addb26 add --enable-static-gtk flag which will link the binaries with static gtk
libraries.  added aclocal.m4 with gtk's gtk check stuff which checks for GTK
properly.


git-svn-id: svn://10.0.0.236/trunk@14930 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 04:35:31 +00:00
troy%netscape.com
ac75bce1c1 Changed to make sure we mark the absolutely positioned element's view as
having transparent content if the visibility is hidden


git-svn-id: svn://10.0.0.236/trunk@14929 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 04:26:51 +00:00
troy%netscape.com
72f91661b7 Fixed it so that we don't ignore painting child frames of a parent frame
thas has "visibility:hidden", because child elements can override their
parent's visibility


git-svn-id: svn://10.0.0.236/trunk@14928 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 03:52:29 +00:00
joki%netscape.com
b01a5a7be7 Adding more backwards compat DOM support (event.which, pageX, and pageY)
git-svn-id: svn://10.0.0.236/trunk@14927 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 03:20:21 +00:00
cls%seawood.org
dd13058b68 Since $(DEPENDENCIES) is not generated for OS2 or NT, do not try to include the file.
git-svn-id: svn://10.0.0.236/trunk@14926 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 03:09:23 +00:00
cls%seawood.org
c3c39fac3d Don't bother checking for X libs or X toolkits when --without-x is specified.
git-svn-id: svn://10.0.0.236/trunk@14925 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 03:08:30 +00:00
akkana%netscape.com
3dc6756b1d Get Irix autoconf build a bit farther along -- thanks to var@sgi.com
git-svn-id: svn://10.0.0.236/trunk@14924 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 02:24:28 +00:00
kin%netscape.com
e9b5fcd32e Added stubs.
git-svn-id: svn://10.0.0.236/trunk@14923 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 02:05:16 +00:00
kin%netscape.com
88ba816ef0 Updated documenation.
git-svn-id: svn://10.0.0.236/trunk@14922 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 01:40:53 +00:00
troy%netscape.com
e82def0806 Fix for bug #1265. For incremental reflow now checks for the case where the new
height is smaller than the old height and makes sure we erase the entire area


git-svn-id: svn://10.0.0.236/trunk@14921 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 01:39:07 +00:00
joki%netscape.com
471346da0d Fire button on every click as opposed to every other.
git-svn-id: svn://10.0.0.236/trunk@14920 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 01:31:22 +00:00
joki%netscape.com
63292505da Modify event flow to avoid walking into trashed frames.
git-svn-id: svn://10.0.0.236/trunk@14919 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 00:43:36 +00:00
joki%netscape.com
eb8fbe519b Prevent multiple firings of DOM click events on buttons.
git-svn-id: svn://10.0.0.236/trunk@14918 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 00:42:38 +00:00
kin%netscape.com
af74d44f60 Fixed DEPTH entries.
git-svn-id: svn://10.0.0.236/trunk@14917 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 00:12:56 +00:00
kipp%netscape.com
475de74c3e Use new methods in nsHTMLReflowState to discover the proper width to base the text-indent percentage on (bug #1048)
git-svn-id: svn://10.0.0.236/trunk@14915 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 00:00:18 +00:00
kipp%netscape.com
d2c756191e Added two new utility methods on nsHTMLReflowState for finding a containing block's reflow state and for finding a containing blocks content width
git-svn-id: svn://10.0.0.236/trunk@14914 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:59:49 +00:00
wtc%netscape.com
d3ec260e4d NEXT port. Contributed by Balazs Pataki (balazs.pataki@sztaki.hu).
git-svn-id: svn://10.0.0.236/trunk@14911 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:53:21 +00:00
michaelp%netscape.com
e0cadc24c9 fixed bug where a view with opacity set to 0.0f would cause the area where it
is to never be drawn.


git-svn-id: svn://10.0.0.236/trunk@14910 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:50:28 +00:00
troy%netscape.com
3fb74be141 Changed Reflow() to make sure that the child is sized at least as big as the max size
we gave it as part of the reflow command


git-svn-id: svn://10.0.0.236/trunk@14909 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:49:44 +00:00
despotdaemon%netscape.com
55accca3f1 Pseudo-automatic update of changes made by hshaw@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14908 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:40:13 +00:00
briano%netscape.com
4b7e76ea29 Took out the superfluous second inclusion of rules.mk.
git-svn-id: svn://10.0.0.236/trunk@14907 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:18:29 +00:00
briano%netscape.com
59981c7ed4 Change for QNX. Might as well get it in while this file still exists....
git-svn-id: svn://10.0.0.236/trunk@14906 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:16:29 +00:00
despotdaemon%netscape.com
8d09a5cf40 Pseudo-automatic update of changes made by friedman@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14905 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 23:02:48 +00:00
srinivas%netscape.com
6568d14851 Conditionally compile pthread priority call;
checkin for Jeremy Lea <reg@shale.csir.co.za>.


git-svn-id: svn://10.0.0.236/trunk@14904 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:58:55 +00:00
srinivas%netscape.com
9d208681d0 Enable use of poll system call for FreeBSD 3.0.0-RELEASE;
checkin for Jeremy Lea <reg@shale.csir.co.za>.


git-svn-id: svn://10.0.0.236/trunk@14903 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:57:33 +00:00
srinivas%netscape.com
3274bf855b Implement poll for those platforms that don't support the system call.
git-svn-id: svn://10.0.0.236/trunk@14902 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:56:06 +00:00
srinivas%netscape.com
6e404c3359 Enable ELF builds and use of poll system call for FreeBSD 3.0.0-RELEASE;
checkin for Jeremy Lea <reg@shale.csir.co.za>.


git-svn-id: svn://10.0.0.236/trunk@14901 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:54:11 +00:00
srinivas%netscape.com
f8ae164f7d Enable ELF builds FreeBSD 3.0.0-RELEASE; checkin for
Jeremy Lea <reg@shale.csir.co.za>.


git-svn-id: svn://10.0.0.236/trunk@14900 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:51:51 +00:00
kin%netscape.com
661e233361 Makefile.in and config modifications to allow us to build the new NGT based
editor.


git-svn-id: svn://10.0.0.236/trunk@14899 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:35:21 +00:00
kin%netscape.com
76b3eae965 Initial checkin of files.
git-svn-id: svn://10.0.0.236/trunk@14898 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:29:44 +00:00
troy%netscape.com
d1175e5cd7 Fixed SetInitialChildList() so "frame" doesn't get reset after processing
the legend frame


git-svn-id: svn://10.0.0.236/trunk@14896 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:14:55 +00:00
cls%seawood.org
abd049c6b1 Added include for platform.h inside MOZILLA_CLIENT ifdef. Approved by shaver@netscape.com
git-svn-id: svn://10.0.0.236/trunk@14895 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:14:44 +00:00
buster%netscape.com
4c8bd867e7 Proportional column width based on HTML attributes is now implemented. proportional "multilength" syntax ("1*")
now works on COL and COLGROUP.  Bug 1128.


git-svn-id: svn://10.0.0.236/trunk@14894 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:10:02 +00:00
mjudge%netscape.com
2b3d3c6797 smart pointer updates
git-svn-id: svn://10.0.0.236/trunk@14893 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:09:52 +00:00
locka%iol.ie
ca58a74aad Added #define that removes requirement for atl.dll to be installed on host machine
git-svn-id: svn://10.0.0.236/trunk@14892 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 22:04:58 +00:00
cls%seawood.org
c8ab8eae29 Added -DMOZILLA_CLIENT define. Fixed problem with ios::binary cache values. Removed directory already exists error when manually making objdirs.
git-svn-id: svn://10.0.0.236/trunk@14891 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 21:54:38 +00:00
pavlov%pavlov.net
11495b160d Made all of these icons transparent. This should make things look much nicer
on different colored toolbars.


git-svn-id: svn://10.0.0.236/trunk@14889 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 21:20:50 +00:00
mcmullen%netscape.com
3914646b67 Fixed some warnings.
git-svn-id: svn://10.0.0.236/trunk@14887 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 20:49:15 +00:00
pnunn%netscape.com
5213031269 All image container states in il_image_complete() are now handled explicitly in
a switch, not by asserts. -pn


git-svn-id: svn://10.0.0.236/trunk@14885 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 20:24:40 +00:00
kin%netscape.com
31ec7310fa Changes neccessary to build on Unix.
git-svn-id: svn://10.0.0.236/trunk@14884 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 20:20:08 +00:00
kin%netscape.com
c265209704 Added pull_editor target.
git-svn-id: svn://10.0.0.236/trunk@14883 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 20:10:12 +00:00
pinkerton%netscape.com
aad7c2c534 add platform.h
git-svn-id: svn://10.0.0.236/trunk@14882 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 19:19:02 +00:00
mjudge%netscape.com
b7621fa804 changes to editor
git-svn-id: svn://10.0.0.236/trunk@14881 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 19:18:47 +00:00
kin%netscape.com
f7bae9c38d Fixes that allow us to compile on Linux.
git-svn-id: svn://10.0.0.236/trunk@14880 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 19:16:10 +00:00
kin%netscape.com
d059afc819 Added COM_auto_ptr.h to EXPORTS list.
git-svn-id: svn://10.0.0.236/trunk@14879 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 19:14:56 +00:00
cls%seawood.org
53616ae431 Updated checks for solaris. Started using platform.h.
git-svn-id: svn://10.0.0.236/trunk@14878 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 18:32:52 +00:00
cls%seawood.org
b648eda516 Changed LCFLAGS to CFLAGS
git-svn-id: svn://10.0.0.236/trunk@14877 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 18:29:18 +00:00
cls%seawood.org
81a132b6f5 Updated check for Solaris and added multiple include check
git-svn-id: svn://10.0.0.236/trunk@14876 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 18:28:27 +00:00
cls%seawood.org
57c8cfc299 Only use libC is not using the GNU c++ compiler.
git-svn-id: svn://10.0.0.236/trunk@14875 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 17:29:38 +00:00
troy%netscape.com
6d4ad48e4d Removed spaces around '::'
git-svn-id: svn://10.0.0.236/trunk@14874 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 16:20:39 +00:00
jfrancis%netscape.com
19903b9dd0 shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@14873 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 06:36:44 +00:00
buster%netscape.com
cb259330a3 impl of DOM table.deleteRow
git-svn-id: svn://10.0.0.236/trunk@14872 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 06:30:13 +00:00
troy%netscape.com
3a125ad21a Added some constants to use when referring to child list name indices
git-svn-id: svn://10.0.0.236/trunk@14871 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 06:13:58 +00:00
buster%netscape.com
894ea8272b impl for DOM table.InsertRow
git-svn-id: svn://10.0.0.236/trunk@14870 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 06:06:37 +00:00
terry%netscape.com
6127274b46 Wasn't handling spaces in components or versions correctly.
git-svn-id: svn://10.0.0.236/trunk@14869 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:38:43 +00:00
cls%seawood.org
ede0c5f277 Added DLL_SUFFIX fixes. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the patch.
git-svn-id: svn://10.0.0.236/trunk@14868 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:35:46 +00:00
joki%netscape.com
8eaf3892a5 Adding new generated DOM header
git-svn-id: svn://10.0.0.236/trunk@14867 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:34:23 +00:00
cls%seawood.org
1692c26f63 Added DLL_SUFFIX fixes. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the patches.
Removed dummy Makefiles from AC_OUTPUT and called mkdir manually.


git-svn-id: svn://10.0.0.236/trunk@14866 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:34:13 +00:00
troy%netscape.com
8c7ca57e9f Changed Init() to addref mAppShell and mPrefs, because that's what the other
overloaded Init() does and because the destructor will do a release


git-svn-id: svn://10.0.0.236/trunk@14865 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:31:03 +00:00
joki%netscape.com
f1462f4d55 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)


git-svn-id: svn://10.0.0.236/trunk@14864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:25:26 +00:00
morse%netscape.com
f48f2d5568 update for single signon
git-svn-id: svn://10.0.0.236/trunk@14863 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:59:50 +00:00
janc%netscape.com
11a796f577 New css parser test
git-svn-id: svn://10.0.0.236/trunk@14862 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:42:37 +00:00
janc%netscape.com
145c53c8dc update css parser test
git-svn-id: svn://10.0.0.236/trunk@14861 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:40:13 +00:00
janc%netscape.com
84bfaf5802 update CSS Parser test
git-svn-id: svn://10.0.0.236/trunk@14860 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:39:13 +00:00
morse%netscape.com
8b86d09e16 update for single signon
git-svn-id: svn://10.0.0.236/trunk@14859 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:38:13 +00:00
morse%netscape.com
225430c9fb updates for single signon
git-svn-id: svn://10.0.0.236/trunk@14858 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:35:47 +00:00
troy%netscape.com
9cb560bf11 Removed mFlags from nsBodyFrame and now we use the mFlags defined by
nsBlockFrame


git-svn-id: svn://10.0.0.236/trunk@14857 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:16:03 +00:00
troy%netscape.com
e6e0bfb280 Fixed a couple of cases where I missed calling the base class
git-svn-id: svn://10.0.0.236/trunk@14856 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:06:19 +00:00
pavlov%pavlov.net
84e44d7068 made the gdkcolor to nscolor code a tad cleaner. removed the
gtk_layout_freeze and gtk_layout_thaw calls as the object being resized was
not always a layout.


git-svn-id: svn://10.0.0.236/trunk@14855 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 03:58:54 +00:00
pavlov%pavlov.net
d541dcc7f7 Impliment SetLineStyle and DrawPolyline
git-svn-id: svn://10.0.0.236/trunk@14854 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 03:56:41 +00:00
troy%netscape.com
1d92304a59 Removed mChildCount member data
git-svn-id: svn://10.0.0.236/trunk@14853 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 03:44:08 +00:00
troy%netscape.com
221b0b3bfd Made sure the block's SetFlags() member function is called. This fixes shrink
wrapping so it works again


git-svn-id: svn://10.0.0.236/trunk@14852 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 03:27:04 +00:00
jfrancis%netscape.com
da170b8a62 more shared lib conversion work.
git-svn-id: svn://10.0.0.236/trunk@14851 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
910475eaff more shared lib conversion work
git-svn-id: svn://10.0.0.236/trunk@14850 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:43:45 +00:00
jfrancis%netscape.com
65163288e7 Shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@14849 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:33:58 +00:00
jfrancis%netscape.com
cea6b1e716 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14848 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:33:41 +00:00
peterl%netscape.com
0604ddadab cursor style cleanup
git-svn-id: svn://10.0.0.236/trunk@14847 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:23:39 +00:00
beard%netscape.com
c300ac1865 Checking out mozilla/modules/libpref from the tip.
git-svn-id: svn://10.0.0.236/trunk@14846 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:20:16 +00:00
peterl%netscape.com
01c47ed171 cleaned up cursor style handling
git-svn-id: svn://10.0.0.236/trunk@14845 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:11:54 +00:00
peterl%netscape.com
8f073ecf34 use proper pseudo tag for text style contexts
git-svn-id: svn://10.0.0.236/trunk@14844 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:11:27 +00:00
peterl%netscape.com
95f66c00f4 cleaned up cursor handling
git-svn-id: svn://10.0.0.236/trunk@14843 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:10:45 +00:00
peterl%netscape.com
79bb1b728a added text pseudo tag
git-svn-id: svn://10.0.0.236/trunk@14842 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:09:53 +00:00
peterl%netscape.com
0b3a3301bc remove style_cursor_inherit
git-svn-id: svn://10.0.0.236/trunk@14841 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:08:45 +00:00
peterl%netscape.com
733c6bf720 fixed comment
git-svn-id: svn://10.0.0.236/trunk@14840 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:08:30 +00:00
peterl%netscape.com
d2592b689c tweaked x-height guess for true-type fonts
git-svn-id: svn://10.0.0.236/trunk@14839 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:07:40 +00:00
beard%netscape.com
4d5736b807 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14838 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 01:54:25 +00:00
janc%netscape.com
400672e2a6 New CSS Parser test.
git-svn-id: svn://10.0.0.236/trunk@14837 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 01:53:02 +00:00
beard%netscape.com
a2c5d6d24e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14836 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 01:46:22 +00:00
cls%seawood.org
2912fcef5c Added #include <iostream.h> to ios::binary check.
git-svn-id: svn://10.0.0.236/trunk@14835 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 01:38:20 +00:00
beard%netscape.com
f3218e3cf8 Took out PL_VectorAssertValid for non-debug build.
git-svn-id: svn://10.0.0.236/trunk@14834 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 01:36:28 +00:00
beard%netscape.com
ffcb90e3f3 Added xpcomDebug.exp to xpcomDebug.shlb target.
git-svn-id: svn://10.0.0.236/trunk@14833 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 01:35:54 +00:00
beard%netscape.com
eb9aa87814 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14832 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 01:28:37 +00:00
janc%netscape.com
9406c923de New CSS Parser Test
git-svn-id: svn://10.0.0.236/trunk@14831 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 01:24:30 +00:00
janc%netscape.com
0f44af8a5f New CSS Parser test.
git-svn-id: svn://10.0.0.236/trunk@14830 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 01:15:17 +00:00
janc%netscape.com
ef3968a967 New CSS Parser test
git-svn-id: svn://10.0.0.236/trunk@14829 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:58:49 +00:00
jfrancis%netscape.com
b3f2408262 shared lib conversion, phase 1
git-svn-id: svn://10.0.0.236/trunk@14828 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:55:05 +00:00
jfrancis%netscape.com
5fd90b887b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14827 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:54:26 +00:00
mjudge%netscape.com
f1990d8cbf editor changes will not affect build. working on typing
git-svn-id: svn://10.0.0.236/trunk@14826 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:49:02 +00:00
pinkerton%netscape.com
7f42b90636 Don't use screenbits.bounds for determining constraints on moving or growing windows. Use bounding rect of GetGrayRgn().
git-svn-id: svn://10.0.0.236/trunk@14825 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 00:46:22 +00:00
amusil%netscape.com
be4a82caa2 Bug fix for 1201. Now use the size parameters from the object tag as a determinant of size.
git-svn-id: svn://10.0.0.236/trunk@14824 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 23:29:20 +00:00
buster%netscape.com
91eb39eb1e impl for DOM methods table.create(THead|TFoot|Caption) and deleteCaption
git-svn-id: svn://10.0.0.236/trunk@14823 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 23:09:59 +00:00
locka%iol.ie
c7a10c77bd Added a default page to load when control is first created
git-svn-id: svn://10.0.0.236/trunk@14822 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 22:39:31 +00:00
locka%iol.ie
dacae6cd8b Added MozillaControl.html to release folder
git-svn-id: svn://10.0.0.236/trunk@14821 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 22:38:43 +00:00
dcone%netscape.com
02dc0521cb updated steve clarks changes, added genericElementCollection
git-svn-id: svn://10.0.0.236/trunk@14820 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 22:38:03 +00:00
locka%iol.ie
7222ab1c34 Added default page to load when control is first shown (it will improve!)
git-svn-id: svn://10.0.0.236/trunk@14819 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 22:37:10 +00:00
cls%seawood.org
06cc09cf31 Removed redundant test. Thanks to Chris <dexter@dns.ci.columbia.mo.us> for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@14818 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 22:32:35 +00:00
kipp%netscape.com
18241f0edb Revised max-element-size computation somewhat so that floaters are accounted for better
git-svn-id: svn://10.0.0.236/trunk@14817 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 22:28:51 +00:00
buster%netscape.com
5b723aeb9c new module
git-svn-id: svn://10.0.0.236/trunk@14816 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 22:20:59 +00:00
cls%seawood.org
355a8b20f1 CFLAGS wasn't getting set properly due to ordering problems with config.mk
git-svn-id: svn://10.0.0.236/trunk@14815 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 22:20:25 +00:00
buster%netscape.com
673f0e2046 renamed TableElementCollection to GenericElementCollection, and factored it into
it's own module for reuse.


git-svn-id: svn://10.0.0.236/trunk@14814 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 21:40:38 +00:00
alecf%netscape.com
d04489f3ff make build instructions a little more clear, and add URL
for more information


git-svn-id: svn://10.0.0.236/trunk@14811 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 20:00:57 +00:00
pinkerton%netscape.com
d99502389c Added comments that these are the default implementations and that they can (and should) be replaced by embedding applications.
git-svn-id: svn://10.0.0.236/trunk@14810 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:34:47 +00:00
pinkerton%netscape.com
a25d78a7ef since nsMacMessagePump is back (as a default imp), export it as well.
git-svn-id: svn://10.0.0.236/trunk@14809 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:22:05 +00:00
pinkerton%netscape.com
8b26bfe9a2 moving default imps of message pump and app shell back into widget. This uses those instead of its own.
git-svn-id: svn://10.0.0.236/trunk@14808 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:21:29 +00:00
pinkerton%netscape.com
7982d20f9b moving default imps of message pump and app shell back into widget. This once again uses those instead of providing its own.
git-svn-id: svn://10.0.0.236/trunk@14807 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:20:57 +00:00
pinkerton%netscape.com
ec770e398c Move default imps of AppShell and MessagePump back into widget. Clients may still provide their own.
git-svn-id: svn://10.0.0.236/trunk@14806 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:20:06 +00:00
pinkerton%netscape.com
13254b3c93 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14805 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 17:19:01 +00:00
cls%seawood.org
fc53174a4f Added check for ios::binary which seems to just be the new ANSI/ISO standard for ios::bin .
git-svn-id: svn://10.0.0.236/trunk@14804 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 16:53:02 +00:00
troy%netscape.com
663a7d26dc Changed the body to be a subclass of nsBlockFrame rather than contain a
block frame


git-svn-id: svn://10.0.0.236/trunk@14803 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 16:37:39 +00:00
buster%netscape.com
5bd3d8a5e5 implementation of rows() and tBodies()
git-svn-id: svn://10.0.0.236/trunk@14802 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 16:32:29 +00:00
kipp%netscape.com
fb66524089 Made SetTitle call ReduceEntities for bug #1398
git-svn-id: svn://10.0.0.236/trunk@14801 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 16:29:25 +00:00
blizzard%appliedtheory.com
5477366e93 clean up transparent image rendering. Also, make sure that the XImage is
free'ed after rendering and that the gc is placed back into a sane state.


git-svn-id: svn://10.0.0.236/trunk@14800 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 15:32:13 +00:00
msw%gimp.org
2e2473f9bc First pass of alpha support in images by Chris Blizzard, fixed for endian
problems.  There is still a little work left to do on this.


git-svn-id: svn://10.0.0.236/trunk@14799 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 09:08:10 +00:00
cls%seawood.org
1d0cab6cc7 Silly mistake. Yes, we still want to call buildwho.pl
git-svn-id: svn://10.0.0.236/trunk@14798 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:58:56 +00:00
msw%gimp.org
e7ea193c8d Implemented Invalidate class members, reverted Resize funkiness
git-svn-id: svn://10.0.0.236/trunk@14797 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:57:27 +00:00
troy%netscape.com
af98c8b1d4 Fixed CreateWrapperFrame() so it resets the geometric and content parent pointers
of the frame being wrapped


git-svn-id: svn://10.0.0.236/trunk@14796 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:47:06 +00:00
jfrancis%netscape.com
22444ae9fd Added shared lib targets
git-svn-id: svn://10.0.0.236/trunk@14795 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:38:30 +00:00
jfrancis%netscape.com
b80ec268a0 Shared Lib conversion
git-svn-id: svn://10.0.0.236/trunk@14794 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:37:42 +00:00
jfrancis%netscape.com
5b3e72e2a1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14793 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:26:28 +00:00
pierre%netscape.com
25fc70f015 fix build: added nsGenericDOMHTMLCollection.cpp
git-svn-id: svn://10.0.0.236/trunk@14790 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 03:23:02 +00:00
pierre%netscape.com
cf3a92af33 Fix Mac build: added nsIDOMNSDocument.h
git-svn-id: svn://10.0.0.236/trunk@14785 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 03:09:30 +00:00
troy%netscape.com
c3c113628e Fixed problem that caused Mac build to break
git-svn-id: svn://10.0.0.236/trunk@14784 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:37:47 +00:00
vidur%netscape.com
f99db26085 New interface nsIDOMNSDocument
git-svn-id: svn://10.0.0.236/trunk@14783 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:37:19 +00:00
vidur%netscape.com
0dae27ae27 Moved document.styleSheets from HTML-specific interface to generic Document interface
git-svn-id: svn://10.0.0.236/trunk@14782 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:19:28 +00:00
vidur%netscape.com
c67a7ad987 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables.
git-svn-id: svn://10.0.0.236/trunk@14781 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:14:38 +00:00
akkana%netscape.com
fb957e4152 An include was missing, breaking the Irix build
git-svn-id: svn://10.0.0.236/trunk@14780 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:09:12 +00:00
msw%gimp.org
2ecb1c8140 Resizes are faster, deleted old Motif code in nsWindow::Scroll
git-svn-id: svn://10.0.0.236/trunk@14779 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:30:27 +00:00
kipp%netscape.com
e8f8e26932 Added missing init of the net-file's refcnt
git-svn-id: svn://10.0.0.236/trunk@14777 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:21:04 +00:00
pinkerton%netscape.com
fa6c94850f fix in SupportsNativeWidgets() to draw so we can continue working, but things are not fixed for real. Read the comment in that method for more details.
git-svn-id: svn://10.0.0.236/trunk@14775 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:08:01 +00:00
kipp%netscape.com
fdd6ed4330 Fixed up incremental reflow for content-changed and removed floaters
git-svn-id: svn://10.0.0.236/trunk@14773 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:04:45 +00:00
kipp%netscape.com
a1d94ad86e Added in nsHTMLReflowState argument to ReflowFrame so that callers can properly initialize it
git-svn-id: svn://10.0.0.236/trunk@14772 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:04:21 +00:00
kipp%netscape.com
9b3d386967 Tidy up; added some tracing
git-svn-id: svn://10.0.0.236/trunk@14771 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:03:59 +00:00
kipp%netscape.com
e8e77859cb Removed DidReflow hack again
git-svn-id: svn://10.0.0.236/trunk@14770 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:03:41 +00:00
kipp%netscape.com
5e936efd0f Look on all lists for frames
git-svn-id: svn://10.0.0.236/trunk@14769 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:03:28 +00:00
pierre%netscape.com
672e98385c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14768 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:03:16 +00:00
cls%seawood.org
0659b986f3 Added check for DLL_SUFFIX. Thanks to Jeremy Lea <reg@shale.csir.co.za> for supplying the patch.
Changed gtk lib check to depend entirely upon the output from gtk-config.


git-svn-id: svn://10.0.0.236/trunk@14766 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 00:23:25 +00:00
wtc%netscape.com
26858ad13e Bugzilla bug #122: Checked in the NetBSD patch submitted by
Frank van der Linden (frank@wins.uva.nl).
ftp://ftp.netbsd.org/pub/NetBSD/misc/fvdl/mozilla/diff-19981008.001
Modified files: Makefile, Makefile.in.


git-svn-id: svn://10.0.0.236/trunk@14765 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 23:44:55 +00:00
wtc%netscape.com
28d4ab0218 Added Alec Flett's comments on the version of glibc2/sparc whose
setjmp/longjmp works.


git-svn-id: svn://10.0.0.236/trunk@14764 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 23:39:10 +00:00
buster%netscape.com
15ea380e94 work in progress for full DOM support for tables
git-svn-id: svn://10.0.0.236/trunk@14763 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 23:31:24 +00:00
troy%netscape.com
34fb009ccf Changed Reflow() to deal with reflow commands targeted at the root frame
git-svn-id: svn://10.0.0.236/trunk@14761 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 23:16:03 +00:00
cls%seawood.org
c24fcea5b1 Added check to make sure user only specifies supported toolkits.
git-svn-id: svn://10.0.0.236/trunk@14760 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 23:02:40 +00:00
rods%netscape.com
2d2e1d5946 Added a check for a NULL nsIDeviceContextSpec. This happens when the user "cancels"
out of the print dialog.


git-svn-id: svn://10.0.0.236/trunk@14759 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 22:25:57 +00:00
rods%netscape.com
8cacf168e5 Added checks for null objects so printing would work.
git-svn-id: svn://10.0.0.236/trunk@14758 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 22:18:30 +00:00
cls%seawood.org
126128120e DSO_CFLAGS defaults to -fPIC only if using gcc, otherwise it's set to -KPIC.
git-svn-id: svn://10.0.0.236/trunk@14757 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 22:11:17 +00:00
raman%netscape.com
c88302e2b7 Bug fixes from MozillaClassic branch, plus changes to build caps without rdf
git-svn-id: svn://10.0.0.236/trunk@14756 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:57:13 +00:00
cls%seawood.org
0728bcc724 Actually set GTK_VERSION. Thanks to Chris <dexter@dns.ci.columbia.mo.us> for pointing out this oversight.
git-svn-id: svn://10.0.0.236/trunk@14755 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:50:33 +00:00
troy%netscape.com
62a6e8e1fe Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents


git-svn-id: svn://10.0.0.236/trunk@14754 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:48:13 +00:00
troy%netscape.com
75c8461a9c Added null pointer check in DidSetStyleContext(). This keeps us from crashing
on XML documents


git-svn-id: svn://10.0.0.236/trunk@14753 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:45:24 +00:00
hyatt%netscape.com
8ee2eaab39 Tweaking interfaces to move some functionality out of the treedatamodel and into the base.
git-svn-id: svn://10.0.0.236/trunk@14750 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 20:53:27 +00:00
hyatt%netscape.com
018a52aac8 GetWidget and SetWidget weren't doing proper AddRef and Release. Fixed the
code.


git-svn-id: svn://10.0.0.236/trunk@14749 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 20:39:09 +00:00
hyatt%netscape.com
44a586b358 Added SetOpenState.
git-svn-id: svn://10.0.0.236/trunk@14748 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 20:11:06 +00:00
cyeh%netscape.com
baf1f2e463 remove dependence on mozilla classic style features (MOZ_MEDIUM)
git-svn-id: svn://10.0.0.236/trunk@14747 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 20:00:53 +00:00
hyatt%netscape.com
8779cbca5c Fixing SetOpenState so that it really works.
git-svn-id: svn://10.0.0.236/trunk@14746 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 19:53:05 +00:00
terry%netscape.com
d96970ce3c Patch by Andrew Anderson <andrew@redhat.com>. Many minor bugfixes and cleanup.
git-svn-id: svn://10.0.0.236/trunk@14745 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 19:43:50 +00:00
michaelp%netscape.com
bff62c7d82 fixed problem with vertical scrollbar not always appearing.
git-svn-id: svn://10.0.0.236/trunk@14744 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 19:42:53 +00:00
jfrancis%netscape.com
d8abdbf2f0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14742 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 19:30:48 +00:00
jfrancis%netscape.com
2703380897 adding scott's XP_COM auto_pointer header to xpcom exports.
git-svn-id: svn://10.0.0.236/trunk@14741 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 19:08:50 +00:00
terry%netscape.com
e7821fe48e mozillazine has changed its format; cope with the new format.
git-svn-id: svn://10.0.0.236/trunk@14740 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 18:58:24 +00:00
pinkerton%netscape.com
803d9e359a Turn on debugging info for message sink and text area cpp files.
git-svn-id: svn://10.0.0.236/trunk@14739 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 18:45:30 +00:00
cls%seawood.org
620b2a5402 Removed kludge that removed generated files from srcdir
git-svn-id: svn://10.0.0.236/trunk@14738 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 18:39:49 +00:00
troy%netscape.com
497e834006 Reinstated hack to have the placeholder frame forward the DidReflow() notification
to the floated frame. Needed until the block frame properly handles FirstChild()
and returns the list of floated frames


git-svn-id: svn://10.0.0.236/trunk@14737 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 18:33:21 +00:00
leaf%mozilla.org
d692bbe45b Removing include of icondata.h, which doesn't seem to exist for xpfe yet.
git-svn-id: svn://10.0.0.236/trunk@14736 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 18:17:33 +00:00
dcone%netscape.com
b6260dbbdd Updated and tested the taghandling finding mechanism
git-svn-id: svn://10.0.0.236/trunk@14735 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 18:13:09 +00:00
troy%netscape.com
62e0e3c71a Split class declaration out into a separate header file so the body frame
can be a derived class


git-svn-id: svn://10.0.0.236/trunk@14734 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 17:11:12 +00:00
buster%netscape.com
067db66354 added storage in styleTable for a column's width contribution from cells that
have colspan>1.


git-svn-id: svn://10.0.0.236/trunk@14733 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 06:47:24 +00:00
buster%netscape.com
aeee0e2b41 irrationally-specified table (one where the width attributes of various rows don't add up to the same value,
and/or to the width attribute on the table itself), the rule is to try to give the column the largest value
assigned to it by any cell intersecting that column.
Separate storage is maintained for a column's natural desired width (width from any source other than a cell
with a colspan) and the maximum contribution to the column's width from any cell with a colspan.


git-svn-id: svn://10.0.0.236/trunk@14732 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 06:46:00 +00:00
vidur%netscape.com
b0070d4d60 First pass to allow HTML forms to be embedded inside XML documents.
git-svn-id: svn://10.0.0.236/trunk@14731 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 06:16:17 +00:00
beard%netscape.com
991d915062 Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates. Moved some calls from Destroy to the destructor to deal with a refcounting bug.
git-svn-id: svn://10.0.0.236/trunk@14730 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 23:31:37 +00:00
beard%netscape.com
6c99d5aed6 Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates.
git-svn-id: svn://10.0.0.236/trunk@14729 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 23:30:19 +00:00
pavlov%pavlov.net
5ff1e9a95f removed unused files
git-svn-id: svn://10.0.0.236/trunk@14728 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 22:27:32 +00:00
beard%netscape.com
5ea03f970d Fixed SetThumbSize to not crash when mContext == NULL.
git-svn-id: svn://10.0.0.236/trunk@14727 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 21:58:09 +00:00
beard%netscape.com
33bc4f922b Changed COLOR8TOCOLOR16 to an inline function that simply returns (color8 << 8) | color8. This properly maps 0xFF to 0xFFFF, etc.
git-svn-id: svn://10.0.0.236/trunk@14726 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 21:56:40 +00:00
briano%netscape.com
f9d7538c2b MP-RAS 2.03 doesn't have sys/bitypes.h.
git-svn-id: svn://10.0.0.236/trunk@14725 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 21:47:01 +00:00
pavlov%pavlov.net
af89faa093 removed some debugging messages
git-svn-id: svn://10.0.0.236/trunk@14724 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 19:32:54 +00:00
pavlov%pavlov.net
97b10e9705 removed lots of printf's that were no longer needed
git-svn-id: svn://10.0.0.236/trunk@14723 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 19:32:36 +00:00
pavlov%pavlov.net
274e6e4f5e more work on the resizing. this works a tad better
git-svn-id: svn://10.0.0.236/trunk@14722 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 18:59:09 +00:00
pavlov%pavlov.net
49e4bc2251 Initial work on resizing. This works somewhat
git-svn-id: svn://10.0.0.236/trunk@14721 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 18:28:16 +00:00
msw%gimp.org
9aed506fc8 Oops - scrolling was set up backwards.
git-svn-id: svn://10.0.0.236/trunk@14720 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:30:31 +00:00
locka%iol.ie
bef4f8aa2f Added extra button
git-svn-id: svn://10.0.0.236/trunk@14719 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:18:36 +00:00
locka%iol.ie
061edb5b7e Added extra button to scan folders (still disabled)
git-svn-id: svn://10.0.0.236/trunk@14718 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:18:06 +00:00
locka%iol.ie
a72805248d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@14717 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:16:55 +00:00
locka%iol.ie
16420a9327 Added NPL header
git-svn-id: svn://10.0.0.236/trunk@14716 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:13:49 +00:00
locka%iol.ie
4e6321a667 Added NPL header
Fixed problem caused by typedef int32 disappearing from winsock.h


git-svn-id: svn://10.0.0.236/trunk@14715 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:09:20 +00:00
locka%iol.ie
10a2edf355 Added NPL header
Added extra diagnostics


git-svn-id: svn://10.0.0.236/trunk@14714 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:07:04 +00:00
locka%iol.ie
daada24abe Fixed trace bug
Added NPL header


git-svn-id: svn://10.0.0.236/trunk@14713 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 17:04:58 +00:00
cls%seawood.org
bf6ec432b8 Better handling of the -c -o problem. Thanks to Tim Rice <tim@trr.metro.NET> for the patch
git-svn-id: svn://10.0.0.236/trunk@14712 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 09:55:01 +00:00
cls%seawood.org
283d3705d8 Added --with-gtk-config=$location_of_gtk-config.
Added version checking for gtk.
Added check for GNU CC for setting DSO_LDOPTS for solaris and freebsd.
If compiler doesn't support -c -o, then use ${topsrcdir}/build/{hcc,hcpp}.
Cleaned up missing nspr error message.


git-svn-id: svn://10.0.0.236/trunk@14711 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 09:42:57 +00:00
cls%seawood.org
93ddf67399 Added GTK_CONFIG
git-svn-id: svn://10.0.0.236/trunk@14710 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 09:12:37 +00:00
cls%seawood.org
88a10a469b Build xpfe by default now.
git-svn-id: svn://10.0.0.236/trunk@14709 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 09:12:03 +00:00
cls%seawood.org
00192c135f Added build/hcc & build/hcpp to pull_autoconf
git-svn-id: svn://10.0.0.236/trunk@14708 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 09:11:35 +00:00
briano%netscape.com
9eff91466b Fix for platforms that have PRInt64 defined as a struct.
git-svn-id: svn://10.0.0.236/trunk@14707 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 08:56:19 +00:00
briano%netscape.com
a91760319f Fix for overly anal-retentive compilers.
git-svn-id: svn://10.0.0.236/trunk@14706 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 08:47:18 +00:00
briano%netscape.com
4bbb85313c Fix to shut up the compilers on OSF/1.
git-svn-id: svn://10.0.0.236/trunk@14705 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 08:46:54 +00:00
briano%netscape.com
aef7ac5a48 Fix for a variety of nit-picking compilers.
git-svn-id: svn://10.0.0.236/trunk@14704 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 08:40:32 +00:00
briano%netscape.com
479882883f Fixes for AIXV3.
git-svn-id: svn://10.0.0.236/trunk@14703 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 08:39:27 +00:00
briano%netscape.com
28512fe231 Fixes for various non-Linux platforms that no one but me cares about.
git-svn-id: svn://10.0.0.236/trunk@14702 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 08:36:41 +00:00
briano%netscape.com
700c4a1593 Minor tweaks for 5.3 and 5.4.
git-svn-id: svn://10.0.0.236/trunk@14701 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 08:27:17 +00:00
briano%netscape.com
72c3310865 Support building on 3.2.5 in case someone has to.
git-svn-id: svn://10.0.0.236/trunk@14700 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 08:25:19 +00:00
pavlov%pavlov.net
257f830305 Impliment the key press events
git-svn-id: svn://10.0.0.236/trunk@14699 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:38:43 +00:00
msw%gimp.org
f7e05da556 Initial scrolling support - it's jumpy, but it works
git-svn-id: svn://10.0.0.236/trunk@14698 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:24:57 +00:00
mjudge%netscape.com
9946ad5ea4 fixing test app for lame windows compiler
git-svn-id: svn://10.0.0.236/trunk@14697 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:09:51 +00:00
mjudge%netscape.com
864d194dba adding the void ** back in. windows compiler is lame.
git-svn-id: svn://10.0.0.236/trunk@14696 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:08:56 +00:00
mjudge%netscape.com
ea2e4366fa editor changes that will not affect build! gooooo mike
git-svn-id: svn://10.0.0.236/trunk@14695 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:04:45 +00:00
mjudge%netscape.com
040421894c editor changes are being prepared. SHOULD NOT EFFECT BUILD
git-svn-id: svn://10.0.0.236/trunk@14694 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 07:04:02 +00:00
pavlov%pavlov.net
1280035af5 add and remove items correctly. this fixes crashes on pages with comboboxes
git-svn-id: svn://10.0.0.236/trunk@14693 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 06:22:03 +00:00
mjudge%netscape.com
148521fbb4 oops messed up the build. fixing...
git-svn-id: svn://10.0.0.236/trunk@14692 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 04:13:14 +00:00
scc%netscape.com
70163ae70a operator void** is superfluous; removed. Added operator* to support clients who (against better advice) write getter functions that look like this GetSomething(T*& result)
git-svn-id: svn://10.0.0.236/trunk@14691 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 02:10:04 +00:00
kipp%netscape.com
1f8a32ffdb Removed extraneous bullet padding that was left-over from the pre-pseudo-style days
git-svn-id: svn://10.0.0.236/trunk@14690 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 01:17:05 +00:00
kipp%netscape.com
ab8a0f8a42 Attempt to compute max-element-size better
git-svn-id: svn://10.0.0.236/trunk@14689 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 01:13:44 +00:00
kipp%netscape.com
42ebf96e27 Tidy the max-element-size code
git-svn-id: svn://10.0.0.236/trunk@14688 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 01:13:25 +00:00
kipp%netscape.com
3dc450bf61 Cleaned up OL/UL margins
git-svn-id: svn://10.0.0.236/trunk@14687 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 01:13:00 +00:00
pavlov%pavlov.net
454a4f22b8 Remove debugging message and set the scrollbar size
git-svn-id: svn://10.0.0.236/trunk@14686 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:57:21 +00:00
pavlov%pavlov.net
604aeb8534 patch from Owen Taylor <otaylor@redhat.com> to fix fix the GBR->RGB conversion
for images.


git-svn-id: svn://10.0.0.236/trunk@14685 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:53:10 +00:00
kipp%netscape.com
faa8c9c0eb Properly walk up the tree to find the real color
git-svn-id: svn://10.0.0.236/trunk@14684 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:20:52 +00:00
kipp%netscape.com
7200077d4d Repaired Get3DColors code to work properly; added in extra code to make sure we never return the passed in color as one of the output colors
git-svn-id: svn://10.0.0.236/trunk@14683 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:20:27 +00:00
pavlov%pavlov.net
8c1ac53b4d convert BGR colors to RGB for tables and such. We now draw images, text, etc
correctly, and we don't crash (at least not usually).  Images are not
converted from BGR to RGB yet, but they will be shortly.


git-svn-id: svn://10.0.0.236/trunk@14682 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 23:47:41 +00:00
kipp%netscape.com
9f2054c505 Added some more null-pointer checking to DOM methods
git-svn-id: svn://10.0.0.236/trunk@14681 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 22:51:43 +00:00
kipp%netscape.com
4b86830d22 Fixed bug #1257: the bug was that we were overrunning the transformers malloc'd buffer because the mBufferLength was never being updated
git-svn-id: svn://10.0.0.236/trunk@14680 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 22:27:50 +00:00
kipp%netscape.com
8e672b6551 Removed and unused member variable
git-svn-id: svn://10.0.0.236/trunk@14679 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 22:27:06 +00:00
kipp%netscape.com
6f7a324458 Fixed frame-removed crash case (when we run out kids); bug #691
git-svn-id: svn://10.0.0.236/trunk@14678 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 21:57:38 +00:00
pavlov%pavlov.net
7c905feb11 use gtk styles for the look and feel. this makes everything look much more
together.  use the correct window when we create the GC for nsWidgets, and
move one of the callbacks into the correct place.


git-svn-id: svn://10.0.0.236/trunk@14677 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 21:08:27 +00:00
kipp%netscape.com
9e3eceabae Basic support for :first-letter pseudo-elements
git-svn-id: svn://10.0.0.236/trunk@14676 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 21:01:26 +00:00
pavlov%pavlov.net
4b8b51488c use the gdkrgb colormap/visual for the widget creation. put nscoord() around
two doubles in nsGtkEventHandler to fix a compiler warning.  call gdk_rgb_init
in nsAppShell and not in the gfx stuff multiple times


git-svn-id: svn://10.0.0.236/trunk@14675 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:40:31 +00:00
pavlov%pavlov.net
35061f6ecd use NS_TO_X to convert the pixel to gdkrgb type. this may not be what we want
to do here though.


git-svn-id: svn://10.0.0.236/trunk@14674 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:39:04 +00:00
kipp%netscape.com
8c16e2eebc Eliminated NewFrame
git-svn-id: svn://10.0.0.236/trunk@14673 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:28:34 +00:00
kipp%netscape.com
db993de7c6 Modified List code to list floater list and bullet better; support multiple child lists; manage floater list properly
git-svn-id: svn://10.0.0.236/trunk@14672 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:28:11 +00:00
kipp%netscape.com
8a35c19883 Removed hacks that were mostly block-frame bug workarounds
git-svn-id: svn://10.0.0.236/trunk@14671 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:26:57 +00:00
kipp%netscape.com
5eac8852a3 DidReflow now supports multiple child lists; added DeleteFrameList helper method
git-svn-id: svn://10.0.0.236/trunk@14670 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:25:34 +00:00
waterson%netscape.com
9179bddb5a Initial revision.
git-svn-id: svn://10.0.0.236/trunk@14669 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 08:58:29 +00:00
waterson%netscape.com
01dc10a642 Fixed misc column bugs.
git-svn-id: svn://10.0.0.236/trunk@14668 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 08:54:54 +00:00
waterson%netscape.com
d2e07dfe1a Fixed an IID mis-definition.
git-svn-id: svn://10.0.0.236/trunk@14667 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 08:54:16 +00:00
waterson%netscape.com
ab3dc72646 Got GetNthItem() working.
git-svn-id: svn://10.0.0.236/trunk@14666 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 08:13:25 +00:00
msw%gimp.org
968efffd3e Draw directly onto windows, not on a pixmap
git-svn-id: svn://10.0.0.236/trunk@14665 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 06:35:25 +00:00
michaelp%netscape.com
96d71286a4 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@14661 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:58:09 +00:00
waterson%netscape.com
2225952138 Hooked up InitFromResource() in a sort of half-assed way I'm not sure I understand.
git-svn-id: svn://10.0.0.236/trunk@14660 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:56:01 +00:00
waterson%netscape.com
c11eb2fede Misc. cleanup.
git-svn-id: svn://10.0.0.236/trunk@14659 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:55:48 +00:00
kipp%netscape.com
c631ba58e3 Fixed typo
git-svn-id: svn://10.0.0.236/trunk@14657 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:31:29 +00:00
briano%netscape.com
3b34eb52b3 Created a special-case macro for OSF/1 2.0 (hey, _someone_ might still be using it) so we can pass the compiler the -x cxx flag, which is required by the old 2.0 cxx compiler.
git-svn-id: svn://10.0.0.236/trunk@14656 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:26:55 +00:00
briano%netscape.com
28dcbca00a Added Frank van der Linden's (frank@wins.uva.nl) requested changes.
git-svn-id: svn://10.0.0.236/trunk@14654 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:22:43 +00:00
pavlov%pavlov.net
0d0c995122 fix for removing children, add gtk_exit() to the exit call of nsAppShell and
redid a few move functions


git-svn-id: svn://10.0.0.236/trunk@14653 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:15:06 +00:00
michaelp%netscape.com
7c96d12312 changes to support printing architecture and actual printing under windows.
git-svn-id: svn://10.0.0.236/trunk@14651 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:05:13 +00:00
michaelp%netscape.com
1fe751e205 added new xpcom objects to registry. i'm really getting tired of this hack...
git-svn-id: svn://10.0.0.236/trunk@14650 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:59:49 +00:00
michaelp%netscape.com
1f112558cd changes to support printing.
git-svn-id: svn://10.0.0.236/trunk@14649 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:58:34 +00:00
michaelp%netscape.com
25149e78ea changes for pixel scaling/printing.
git-svn-id: svn://10.0.0.236/trunk@14647 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:52:27 +00:00
pavlov%pavlov.net
b0ed8266ad Fix the Font methods. This allows the pages to be rendered.. under something
so we still can't see it.. i'm looking


git-svn-id: svn://10.0.0.236/trunk@14646 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:43:27 +00:00
pavlov%pavlov.net
f6b7bf5869 fix gtklayout so that it removes children properly. add a few more debugging
messages to nsWidget and nsWindow


git-svn-id: svn://10.0.0.236/trunk@14645 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:42:42 +00:00
bjorn%netscape.com
70ddc60ea9 Removing files to restructure the typelib stuff.
git-svn-id: svn://10.0.0.236/trunk@14644 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:22:50 +00:00
scc%netscape.com
6250806e51 fixed for IRIX (doesn't like new-style casts)
git-svn-id: svn://10.0.0.236/trunk@14642 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:35:48 +00:00
vidur%netscape.com
eea563e7fd Added Xlink support
git-svn-id: svn://10.0.0.236/trunk@14641 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:22:10 +00:00
vidur%netscape.com
19d3032d70 Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface.
git-svn-id: svn://10.0.0.236/trunk@14640 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:21:19 +00:00
waterson%netscape.com
e54ec51180 Added nsIRDFResource interface to clean up some internal downcasting kludges and stop their evil propagation.
git-svn-id: svn://10.0.0.236/trunk@14639 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:19:00 +00:00
waterson%netscape.com
1980ba8ade Initial revision.
git-svn-id: svn://10.0.0.236/trunk@14638 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:17:58 +00:00
joki%netscape.com
5f606a33e0 Modify cursor types from default to inherit (they're the same internally right now)
git-svn-id: svn://10.0.0.236/trunk@14637 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:00:03 +00:00
joki%netscape.com
0d29052c82 Modify cursor setting code to check css cursor setting for containers.
git-svn-id: svn://10.0.0.236/trunk@14636 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 23:58:52 +00:00
karnaze%netscape.com
44efd97f78 bug 1374 (hometown.aol.com crash on resize)
git-svn-id: svn://10.0.0.236/trunk@14635 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 23:44:50 +00:00
karnaze%netscape.com
d94c8fd321 bug 1226 for form control with native widgets. Other controls are still not working.
git-svn-id: svn://10.0.0.236/trunk@14634 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 23:13:42 +00:00
karnaze%netscape.com
65b6034ae6 bug 1357 involving a hidden control not getting submitted
git-svn-id: svn://10.0.0.236/trunk@14633 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 23:10:52 +00:00
vidur%netscape.com
ac22156a81 Generic HTML collection base class
git-svn-id: svn://10.0.0.236/trunk@14622 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 22:30:23 +00:00
leaf%mozilla.org
b53becbefd Checking in a fix for linux builds.
git-svn-id: svn://10.0.0.236/trunk@14621 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 22:16:07 +00:00
dcone%netscape.com
4c70822459 New tag handling code added
git-svn-id: svn://10.0.0.236/trunk@14620 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 22:14:45 +00:00
mcmullen%netscape.com
7d8ba2670e Commenting out previous change for now.
git-svn-id: svn://10.0.0.236/trunk@14619 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 22:06:10 +00:00
wtc%netscape.com
4c2f42d2a9 Specify -R <path> if LIBRUNPATH is defined in the environment.
Contributed by Frank van der Linden (frank@wins.uva.nl).


git-svn-id: svn://10.0.0.236/trunk@14618 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 22:05:33 +00:00
mcmullen%netscape.com
3c3462c43b Put the first error in the perl console as well as the log file.
git-svn-id: svn://10.0.0.236/trunk@14617 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 22:01:21 +00:00
mcmullen%netscape.com
2da0c905a3 Work around a CW Pro4 bug. If the CW Find window is in front before you start, and you try to use an applevent to walk the list of open
documents, you will fail.  Running the build script in this case would open each of the projects in turn, but fail to attempt to build them or to close
them again.  The output will say something like "building foo / building bar / ... / build complete".  Nothing would be built, and the log file would show no
errors. 

This change will stop the build, instead of just barreling ahead
regardless, in the case when the Find window bug is encountered.


git-svn-id: svn://10.0.0.236/trunk@14616 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 22:01:01 +00:00
despotdaemon%netscape.com
801a094046 Pseudo-automatic update of changes made by mcmullen@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14615 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 21:56:47 +00:00
troy%netscape.com
b33787056b Changed GetLoadImageFailed() so it checks with the image loader rather
than just using the value of mLoadImageFailed. Fixes bug #1287


git-svn-id: svn://10.0.0.236/trunk@14614 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 21:31:50 +00:00
troy%netscape.com
d0270485ee Changed Notify() to call NotifyError() if the notification type is
nsImageNotification_kAborted. This ensures that the NS_IMAGE_LOAD_STATUS_ERROR
load status bit is set and that the frame gets repainted


git-svn-id: svn://10.0.0.236/trunk@14613 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 21:21:15 +00:00
akkana%netscape.com
85c7f6764a xpfe is now in nglayout.mk, doesn't need to be pulled by client.mk
git-svn-id: svn://10.0.0.236/trunk@14612 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 21:03:26 +00:00
rjc%netscape.com
fd1e1b4987 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14611 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 20:47:53 +00:00
despotdaemon%netscape.com
46f0aab451 Pseudo-automatic update of changes made by rudman@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14610 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 20:39:12 +00:00
rickg%netscape.com
7ac80c8417 incrmental improvement in view-source for better text-run handling
git-svn-id: svn://10.0.0.236/trunk@14609 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 20:16:05 +00:00
scc%netscape.com
56449b02df SOLARIS _does_ support member using declarations, so modify the test to let them through
git-svn-id: svn://10.0.0.236/trunk@14608 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 20:07:25 +00:00
scc%netscape.com
b1e51f2dd8 fixed order of declarations (confused SOLARIS compiler) and return types of AddRef and Release to match in the unfortunate case that the compiler does not support member using declarations
git-svn-id: svn://10.0.0.236/trunk@14607 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 20:06:43 +00:00
pinkerton%netscape.com
e94b269309 get rid of "hiding inherited virtual method" warnings on CanContain() by making it const like it's parent class.
git-svn-id: svn://10.0.0.236/trunk@14606 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 20:04:27 +00:00
alecf%netscape.com
96298d61de implement fe_GetConfigDir
git-svn-id: svn://10.0.0.236/trunk@14605 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 19:46:00 +00:00
rickg%netscape.com
8694b27dc6 added tag handling support for future use
git-svn-id: svn://10.0.0.236/trunk@14604 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 19:45:09 +00:00
alecf%netscape.com
c2bf93f15a updated to allow for one-step building
git-svn-id: svn://10.0.0.236/trunk@14603 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 19:42:43 +00:00
scc%netscape.com
c9a93fd103 unified compiler dependent code (removed from unit-tests, inserted in header); fixed for egcs-1.1 well known bug (member using declarations don't work)
git-svn-id: svn://10.0.0.236/trunk@14602 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 19:41:24 +00:00
rickg%netscape.com
1b71e25bc6 added nsITagHandler for future use
git-svn-id: svn://10.0.0.236/trunk@14601 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 19:20:47 +00:00
troy%netscape.com
98bfa2a63c Added check for SRC being an empty string
git-svn-id: svn://10.0.0.236/trunk@14598 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 18:38:16 +00:00
matt%netscape.com
0aa5613660 Re-updated to CW 4.0 - we need it at this level so that the Mac tinderbox doesn't get wedged.
git-svn-id: svn://10.0.0.236/trunk@14597 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 18:28:59 +00:00
troy%netscape.com
ae5da1b1b1 Changed it so that if there's a NULL URL then we set the mLoadImageFailed
flag and don't try and load the broken image URL. Only on Windows for now
until Mac and Unix support the image icons


git-svn-id: svn://10.0.0.236/trunk@14596 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 17:00:54 +00:00
pavlov%pavlov.net
867d43cb50 Fix gtklayout child sizing problems, add gtk_widget_set_name to all of the
widgets for a bunch of debugging into that is being printf'd.  Fixed most all
of nsListBox so that it works correctly.  We now have widgets working! yippie!
I almost have gfx working too... heehee :-)


git-svn-id: svn://10.0.0.236/trunk@14595 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 16:37:03 +00:00
pavlov%pavlov.net
72065479ef add nsRegionGTK to the factory. this fixes some major region related
problems.


git-svn-id: svn://10.0.0.236/trunk@14594 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 16:29:46 +00:00
scc%netscape.com
5a3153856f Fixed for VC++ 4.2 (no template function specifiers at the call site)
git-svn-id: svn://10.0.0.236/trunk@14593 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 12:33:58 +00:00
rjc%netscape.com
7a87714ce1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14590 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 08:56:09 +00:00
rjc%netscape.com
cf60a27d14 Include a few more essential header files.
git-svn-id: svn://10.0.0.236/trunk@14589 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 08:53:29 +00:00
troy%netscape.com
a0ba51c52c Changed Notify() to handle nsImageNotification_kAborted and set the image load
status to NS_IMAGE_LOAD_STATUS_ERROR


git-svn-id: svn://10.0.0.236/trunk@14588 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 06:24:33 +00:00
troy%netscape.com
b4ea688607 Fixed a crash when using File|Exit from the print preview window
git-svn-id: svn://10.0.0.236/trunk@14587 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 05:53:47 +00:00
troy%netscape.com
b7fc0e639a Removed an assert that was incorrect and that triggered when print
previewing test1


git-svn-id: svn://10.0.0.236/trunk@14586 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 05:17:08 +00:00
rickg%netscape.com
a1a662c891 fixed a crash that someone missed
git-svn-id: svn://10.0.0.236/trunk@14585 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:58:35 +00:00
rickg%netscape.com
11309dbf4e allow view-source on XML
git-svn-id: svn://10.0.0.236/trunk@14583 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:36:46 +00:00
troy%netscape.com
e8b6cc2769 Added a scroll frame for print preview
git-svn-id: svn://10.0.0.236/trunk@14582 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:22:23 +00:00
troy%netscape.com
13ef91147a Cleaned up ConstructXMLRootFrame() and added some XXX comments
git-svn-id: svn://10.0.0.236/trunk@14581 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 03:43:15 +00:00
cls%seawood.org
070ad923bf Previously reset endsection in the wrong place.
git-svn-id: svn://10.0.0.236/trunk@14580 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 03:17:09 +00:00
waterson%netscape.com
27adcac439 Added some good COM citizenry to the node factory methods.
git-svn-id: svn://10.0.0.236/trunk@14579 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:59:56 +00:00
waterson%netscape.com
ded0a6e1d4 Fixed outbound/inbound mixup for traversing the arcs in Open(). Fixed some bugs in Open() for adding kids to a node.
git-svn-id: svn://10.0.0.236/trunk@14578 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:59:12 +00:00
waterson%netscape.com
3b85146b00 Got rid of Initialize().
git-svn-id: svn://10.0.0.236/trunk@14577 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:57:58 +00:00
waterson%netscape.com
98fe67ef0e Got rid of Initialize() method and just moved that code into InitFromURL(). Added default initializers for the arc info.
git-svn-id: svn://10.0.0.236/trunk@14576 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:57:33 +00:00
waterson%netscape.com
e7adb06e88 A complete hack to get the bookmark file.
git-svn-id: svn://10.0.0.236/trunk@14575 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:54:39 +00:00
waterson%netscape.com
9711ca18f6 Hack to use rdf:bookmarks rather than NC:Bookmarks as to top of the bookmark tree. This is mostly for the Raptor demo until I can get Guha to look at it.
git-svn-id: svn://10.0.0.236/trunk@14574 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:53:50 +00:00
vidur%netscape.com
a9e72c3c46 Temporary fix when scroll frame is created unsized. The real fix will come from michaelp.
git-svn-id: svn://10.0.0.236/trunk@14573 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:50:24 +00:00
akkana%netscape.com
64e5b75a45 Put back the old pwd code; otherwise it crashes if MOZILLA_HOME isn't set
git-svn-id: svn://10.0.0.236/trunk@14572 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:49:19 +00:00
vidur%netscape.com
c5e9198c6b Null check for prefs. The MozillaControl doesn't set up prefs correctly quite yet (and might never will).
git-svn-id: svn://10.0.0.236/trunk@14571 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:47:33 +00:00
gagan%netscape.com
61ff9414d7 Getting this to build on BSD. See bugzilla bug #122. Thanks Frank van der Linden (frank@wins.uva.nl)
git-svn-id: svn://10.0.0.236/trunk@14570 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:47:10 +00:00
sar%netscape.com
6eeabfbf5c add mozilla/editor to the RaptorDist module at the request of mjudge
git-svn-id: svn://10.0.0.236/trunk@14569 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:21:58 +00:00
troy%netscape.com
fc79083fd3 Added ListTag() member function
git-svn-id: svn://10.0.0.236/trunk@14568 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:20:31 +00:00
akkana%netscape.com
6173d15046 Fix more build bustage (IRIX)
git-svn-id: svn://10.0.0.236/trunk@14567 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:12:55 +00:00
wtc%netscape.com
b813447f3a Merged the NetBSD patch contributed by Frank van der Linden
(frank@wins.uva.nl).
ftp://ftp.netbsd.org/pub/NetBSD/misc/fvdl/mozilla/diff-19981008.001


git-svn-id: svn://10.0.0.236/trunk@14566 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:12:38 +00:00
kin%netscape.com
23dd013f7e Fixed library name typo to fix build bustage on Unix.
git-svn-id: svn://10.0.0.236/trunk@14564 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 01:33:29 +00:00
cls%seawood.org
affaf49581 Added support for multiple status reports in a single email.
Added keyword END to mark the end of a status report.


git-svn-id: svn://10.0.0.236/trunk@14563 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 01:27:02 +00:00
cls%seawood.org
27198ed45e Added MPL header and changed version to SNAP.
git-svn-id: svn://10.0.0.236/trunk@14562 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 01:25:48 +00:00
waterson%netscape.com
8501856240 Added code to expand children.
git-svn-id: svn://10.0.0.236/trunk@14561 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 00:54:53 +00:00
scc%netscape.com
709841f25f Fixed (unit-tests only) for VC++ 4.2 (no 'explicit')
git-svn-id: svn://10.0.0.236/trunk@14560 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 00:34:41 +00:00
despotdaemon%netscape.com
b8c6f31bc0 Pseudo-automatic update of changes made by jj@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14559 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 00:34:09 +00:00
despotdaemon%netscape.com
55ba7e082c Pseudo-automatic update of changes made by ssu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14558 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 00:33:20 +00:00
akkana%netscape.com
8195367fcf Define gAppContext -- fix crash on startup
git-svn-id: svn://10.0.0.236/trunk@14557 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 00:23:16 +00:00
jfrancis%netscape.com
ad491433a9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14556 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:59:32 +00:00
vidur%netscape.com
a61e198b1a XML example with scripting
git-svn-id: svn://10.0.0.236/trunk@14555 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:57:54 +00:00
vidur%netscape.com
64cb975c74 Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML.
git-svn-id: svn://10.0.0.236/trunk@14554 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:55:47 +00:00
vidur%netscape.com
300e345ba6 Added support for CDATA sections.
git-svn-id: svn://10.0.0.236/trunk@14553 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:54:37 +00:00
shaver%netscape.com
d9f2935397 add proper QI and Create calls for RO text widget
git-svn-id: svn://10.0.0.236/trunk@14552 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:54:34 +00:00
vidur%netscape.com
da54dfbcc2 Changed get/setDOMAttribute to get/setAttribute in generated script glue class. This is temporary!! It may get lost in a later checkin since the change was made manually and not through the generator
git-svn-id: svn://10.0.0.236/trunk@14551 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:53:46 +00:00
despotdaemon%netscape.com
133b3c3a62 Pseudo-automatic update of changes made by bienvenu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14550 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:44:38 +00:00
waterson%netscape.com
30b9ca8ac1 Added one-time initialization for RDF.
git-svn-id: svn://10.0.0.236/trunk@14549 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:39:25 +00:00
kipp%netscape.com
bf9dbe6a89 Actually advance the dest pointer so a copy occurs (doh!)
git-svn-id: svn://10.0.0.236/trunk@14548 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:33:12 +00:00
kipp%netscape.com
4e26047e39 Fixed a memory leak with text editing
git-svn-id: svn://10.0.0.236/trunk@14547 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:31:38 +00:00
despotdaemon%netscape.com
9ef484d2bc Pseudo-automatic update of changes made by mscott@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14546 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:30:58 +00:00
despotdaemon%netscape.com
e9b5fa559c Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@14545 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:26:39 +00:00
despotdaemon%netscape.com
50629c5c9b Pseudo-automatic update of changes made by ppandit@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14544 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:11:13 +00:00
troy%netscape.com
48a7503df3 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element


git-svn-id: svn://10.0.0.236/trunk@14543 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:03:35 +00:00
waterson%netscape.com
6c8193b779 Minor tweaks to get factory working.
git-svn-id: svn://10.0.0.236/trunk@14542 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:46:41 +00:00
despotdaemon%netscape.com
337529ba36 Pseudo-automatic update of changes made by namachi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14541 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:44:33 +00:00
despotdaemon%netscape.com
ab1e3c2ad7 Pseudo-automatic update of changes made by lpham@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14540 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:41:22 +00:00
despotdaemon%netscape.com
f2eed8a581 Pseudo-automatic update of changes made by ducarroz@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14539 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:33:03 +00:00
joki%netscape.com
a9b12553ca DOM Support: nsHTMLDocument body property
git-svn-id: svn://10.0.0.236/trunk@14538 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:25:51 +00:00
kipp%netscape.com
4004ea6d2a Fixed margin collapsing bug
git-svn-id: svn://10.0.0.236/trunk@14537 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:24:46 +00:00
despotdaemon%netscape.com
4dfa3fc915 Pseudo-automatic update of changes made by chrisf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14536 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:21:51 +00:00
waterson%netscape.com
5edf0d404d Rename nsRDFCIDs.h to nsRDFCID.h to be consistent with the rest of the world.
git-svn-id: svn://10.0.0.236/trunk@14535 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:20:08 +00:00
mjudge%netscape.com
762c599ef7 this works with the new autopointers
git-svn-id: svn://10.0.0.236/trunk@14534 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:18:43 +00:00
waterson%netscape.com
aab295e1ca One more time. Deal with interface inheiritance by delegation. Sucks, but...oh well.
git-svn-id: svn://10.0.0.236/trunk@14533 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:13:31 +00:00
despotdaemon%netscape.com
c755099887 Pseudo-automatic update of changes made by takacs@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14532 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:02:46 +00:00
despotdaemon%netscape.com
812befb862 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@14531 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:50:49 +00:00
joki%netscape.com
40f25eb994 Get rid of old comment.
git-svn-id: svn://10.0.0.236/trunk@14530 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:35:46 +00:00
joki%netscape.com
2a777b6656 Fix bug where the DOM event bubbling process was overriding previous event status codes.
git-svn-id: svn://10.0.0.236/trunk@14529 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:35:27 +00:00
pinkerton%netscape.com
bc413017e9 Replacing message pump with message sink. The pump is "client" code and has been moved out there to better separate the event handling.
git-svn-id: svn://10.0.0.236/trunk@14528 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:25:26 +00:00
pinkerton%netscape.com
9651a64926 moving message pump and app shell into "client" code because they should not be a part of the widget library.
git-svn-id: svn://10.0.0.236/trunk@14527 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:24:53 +00:00
pinkerton%netscape.com
21d40ad4ca Separate the event loop in the client from the nglayout/widget provided code. Now creates a message pump (client side) and a message sink (nglayout side) for event handling.
git-svn-id: svn://10.0.0.236/trunk@14526 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:24:16 +00:00
pinkerton%netscape.com
f073c1311e export nsMacMessageSink instead to separate the client from the internals of the event loop.
git-svn-id: svn://10.0.0.236/trunk@14525 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:23:02 +00:00
pinkerton%netscape.com
402a4f0911 Moved into viewer, since these are "client" routines and don't belong under
Widget.


git-svn-id: svn://10.0.0.236/trunk@14524 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:22:24 +00:00
pinkerton%netscape.com
0d9eab1aa6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14523 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:20:36 +00:00
buster%netscape.com
ed61619f6b fixed a tiny bug in handling unexpected frames in a row
git-svn-id: svn://10.0.0.236/trunk@14521 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 21:04:41 +00:00
buster%netscape.com
839e25fcb5 rowgroup pseudo-frames for rows inserted directly into a table
git-svn-id: svn://10.0.0.236/trunk@14520 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 20:45:28 +00:00
alecf%netscape.com
8e0cfd8ffe fix for unix bustage
git-svn-id: svn://10.0.0.236/trunk@14519 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 20:27:31 +00:00
mjudge%netscape.com
6a6baf3e9c adding the test_com_auto_ptr.exe as a new test
git-svn-id: svn://10.0.0.236/trunk@14518 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 20:07:28 +00:00
mjudge%netscape.com
76dc70335a modifying makefile.win to export the new com_auto_ptr.h file
git-svn-id: svn://10.0.0.236/trunk@14517 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 20:05:41 +00:00
scc%netscape.com
1331dc468c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14516 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 20:00:51 +00:00
alecf%netscape.com
bb62bc17af fix autoconf bustage for new xml layout stuff
git-svn-id: svn://10.0.0.236/trunk@14515 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 19:37:08 +00:00
beard%netscape.com
623bf257e4 Prints the name of the target being built as well.
git-svn-id: svn://10.0.0.236/trunk@14514 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 19:34:14 +00:00
alecf%netscape.com
d71c278a30 fix Solaris/gcc bustage
git-svn-id: svn://10.0.0.236/trunk@14513 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 19:19:09 +00:00
buster%netscape.com
eeaf9cbedd col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...


git-svn-id: svn://10.0.0.236/trunk@14512 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 18:37:28 +00:00
kipp%netscape.com
71662f0d55 Fixed some serious bugs in list bullet placement that prevented some relatively easy cases from working at all; this fixes up most outside list bullet cases
git-svn-id: svn://10.0.0.236/trunk@14511 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 18:19:22 +00:00
kipp%netscape.com
f8f00d8bd7 init the html atoms too...(temporary)
git-svn-id: svn://10.0.0.236/trunk@14510 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 18:16:25 +00:00
vidur%netscape.com
596f5264bb Modified stylesheet
git-svn-id: svn://10.0.0.236/trunk@14509 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 17:17:48 +00:00
vidur%netscape.com
cc5477eb92 new
git-svn-id: svn://10.0.0.236/trunk@14508 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 16:36:02 +00:00
kipp%netscape.com
0300e60d1f Fixed list numbering to work again (whoops!); added support for display: compact (just the beginnings); more work-in-progress for :first-letter support
git-svn-id: svn://10.0.0.236/trunk@14507 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 16:32:56 +00:00
kipp%netscape.com
25b61d53b3 Support for display: compact
git-svn-id: svn://10.0.0.236/trunk@14506 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 16:32:19 +00:00
kipp%netscape.com
152ed9b709 Some support for first-letter style
git-svn-id: svn://10.0.0.236/trunk@14505 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 16:31:38 +00:00
waterson%netscape.com
9f81df589a Slugfest to get HT wired up thru C++ interfaces.
git-svn-id: svn://10.0.0.236/trunk@14504 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 08:56:20 +00:00
vidur%netscape.com
28b563ea1c Added new interface nsIHTMLContentContainer
git-svn-id: svn://10.0.0.236/trunk@14503 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 07:56:13 +00:00
vidur%netscape.com
84598f1f88 Factored GetAttributStyleSheet method into separate nsHTMLContentContainer interface that can be implemented by both HTML and XML document classes.
git-svn-id: svn://10.0.0.236/trunk@14502 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 07:54:12 +00:00
vidur%netscape.com
a4e3cbd63e Got rid of bogus dependency on XMLContent
git-svn-id: svn://10.0.0.236/trunk@14501 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 07:06:47 +00:00
pinkerton%netscape.com
8d48b89986 Use the correct prefix files to pick up all our settings.
git-svn-id: svn://10.0.0.236/trunk@14499 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 06:00:05 +00:00
pinkerton%netscape.com
f938f75ace Added specific mac toolbox include files (and helper macros) not covered in the widget prefix file.
git-svn-id: svn://10.0.0.236/trunk@14498 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 05:59:31 +00:00
pinkerton%netscape.com
718cf50bfc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14497 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 05:57:33 +00:00
troy%netscape.com
a7875d7a01 Changed slightly the check for whether the vertical scrollbar will be hidden.
This way it works better for XML documents that have an initial value for the
overflow property


git-svn-id: svn://10.0.0.236/trunk@14494 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 03:56:57 +00:00
cyeh%netscape.com
7bb05bddbe first pass to remove http://warp links and update bonsai documentation
to be more outsider friendly.


git-svn-id: svn://10.0.0.236/trunk@14491 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 02:30:55 +00:00
waterson%netscape.com
db5b17eb18 Added forward decl of nsIDMItem.
git-svn-id: svn://10.0.0.236/trunk@14490 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 02:11:07 +00:00
waterson%netscape.com
1b98afa5c7 Added nsRDFCIDs.h, which contains class IDs for RDF objects.
git-svn-id: svn://10.0.0.236/trunk@14489 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 02:09:56 +00:00
pinkerton%netscape.com
5e19627971 Add xml/layout files.
git-svn-id: svn://10.0.0.236/trunk@14488 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 01:05:48 +00:00
hyatt%netscape.com
ab50ba4f97 Added a method for counting columns in the tree.
git-svn-id: svn://10.0.0.236/trunk@14487 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 01:03:25 +00:00
pinkerton%netscape.com
b62a3ba585 Add nsViewSourceHTML.cpp to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@14486 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 01:01:35 +00:00
pinkerton%netscape.com
f3a24bb255 add nsWellFormedDTD.h to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@14485 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 01:01:22 +00:00
pinkerton%netscape.com
42adb0b502 Fix build bustage. Add xml/document files and nsGenericElement.cpp
git-svn-id: svn://10.0.0.236/trunk@14484 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 01:00:58 +00:00
kin%netscape.com
ca083bb777 Removed nsEditorInterfaces.h from list EXPORTS.
git-svn-id: svn://10.0.0.236/trunk@14483 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 00:16:46 +00:00
kin%netscape.com
2dcd0bdd06 Removed gui from list of directories to build.
git-svn-id: svn://10.0.0.236/trunk@14482 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 00:16:08 +00:00
mjudge%netscape.com
35e4aa0583 we now have a DLL!!!
git-svn-id: svn://10.0.0.236/trunk@14481 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 00:15:58 +00:00
hyatt%netscape.com
038b04e513 Added initializers to the DataModel. Changed the interface hierarchy
again (after much debate).


git-svn-id: svn://10.0.0.236/trunk@14479 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 00:02:26 +00:00
alecf%netscape.com
92a895b642 fix autoconf bustage
git-svn-id: svn://10.0.0.236/trunk@14478 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 23:48:24 +00:00
bjorn%netscape.com
63114a760a New support for typeinformation and typelibraries. nsISupports.h has an
additional definition NS_DECL_ISUPPORTS_EXPORTED, which exports the threesome.
This is not yet part of the build. It will be picked up by support code in
mozilla/js/src/xpcom.


git-svn-id: svn://10.0.0.236/trunk@14477 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 23:46:21 +00:00
pavlov%pavlov.net
156ff8d3cc implimentation of nsDialog, few scrollbar fixes
git-svn-id: svn://10.0.0.236/trunk@14476 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 23:09:04 +00:00
pavlov%pavlov.net
fb993cf19e implimentation for DrawString for PRUnichar characters.
git-svn-id: svn://10.0.0.236/trunk@14475 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 23:08:19 +00:00
leaf%mozilla.org
281d42392a Landing the XPCOM_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@14474 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:29:18 +00:00
karnaze%netscape.com
738d621f23 dump content/frames/views traverses web shells
git-svn-id: svn://10.0.0.236/trunk@14473 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:22:18 +00:00
hyatt%netscape.com
f55cde9494 Adding the toolbar widget interface to the data model.
git-svn-id: svn://10.0.0.236/trunk@14472 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:10:50 +00:00
vidur%netscape.com
a4f9082955 Added XML display support.
git-svn-id: svn://10.0.0.236/trunk@14470 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:07:55 +00:00
vidur%netscape.com
467ad26d42 Added XML display support. Creation of XML document for text/xml and application/xml
git-svn-id: svn://10.0.0.236/trunk@14468 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:07:03 +00:00
vidur%netscape.com
118281d675 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces.
git-svn-id: svn://10.0.0.236/trunk@14467 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:06:16 +00:00
vidur%netscape.com
38bf6d6724 Added XML display support. Added NotifyError method to nsIContentSink
git-svn-id: svn://10.0.0.236/trunk@14466 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:04:42 +00:00
vidur%netscape.com
4b5a532b07 Added XML display support. Creation of XML elements through the DOM
git-svn-id: svn://10.0.0.236/trunk@14465 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:03:59 +00:00
hyatt%netscape.com
6a0247d42a New tree widget interface.
git-svn-id: svn://10.0.0.236/trunk@14464 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:03:19 +00:00
hyatt%netscape.com
4225eba31e Added nsITreeDMWidget interface.
git-svn-id: svn://10.0.0.236/trunk@14463 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:03:02 +00:00
cyeh%netscape.com
ec09d088bb remove checkout ui and set it so that it just builds. checkout routines have been moved to "PullNGlayout.pl"
git-svn-id: svn://10.0.0.236/trunk@14462 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 21:42:28 +00:00
waterson%netscape.com
e1efbf6233 Added forward declaration of nsIDMItem. Made sure that we actually
define NS_IDMWIDGET_IID here.


git-svn-id: svn://10.0.0.236/trunk@14457 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:58:23 +00:00
mjudge%netscape.com
1e92f72645 changes for better naming conventions of interfaces and their implementation
git-svn-id: svn://10.0.0.236/trunk@14456 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:48:57 +00:00
mjudge%netscape.com
5dabcba40d changes to get autopointers to work
git-svn-id: svn://10.0.0.236/trunk@14455 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:44:02 +00:00
rickg%netscape.com
208f37c790 enabled view-source
git-svn-id: svn://10.0.0.236/trunk@14454 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:31:45 +00:00
wtc%netscape.com
1532475aa9 Removed the temporary "depend: clean" hack.
git-svn-id: svn://10.0.0.236/trunk@14450 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:30:02 +00:00
rods%netscape.com
0da80c4e85 Commented out the 3D border hint for the WebShell window.
git-svn-id: svn://10.0.0.236/trunk@14449 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:17:09 +00:00
waterson%netscape.com
7884670539 Tracked some int to PRUint32 changes in the interface, replaced nsITreeItem with nsITreeDMItem.
git-svn-id: svn://10.0.0.236/trunk@14448 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:06:58 +00:00
waterson%netscape.com
54b81fc937 Added toolbars, renamed nsRDFTreeItem to nsRDFTreeDataModelItem to
keep up with interfaces.


git-svn-id: svn://10.0.0.236/trunk@14447 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:01:10 +00:00
waterson%netscape.com
9b6dd56fb3 Changed nsRDFTreeModel -> nsRDFTreeDataModel.
git-svn-id: svn://10.0.0.236/trunk@14446 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:59:50 +00:00
waterson%netscape.com
46821b0352 Changed nsITreeItem -> nsITreeDMItem.
git-svn-id: svn://10.0.0.236/trunk@14445 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:58:36 +00:00
waterson%netscape.com
5c45c9cee2 Added toolbar stub implementations.
git-svn-id: svn://10.0.0.236/trunk@14444 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:57:16 +00:00
buster%netscape.com
0a52434582 support for frame and rules attribute
git-svn-id: svn://10.0.0.236/trunk@14443 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:56:02 +00:00
buster%netscape.com
8e0e5828a6 fix for default cell padding and cell spacing
git-svn-id: svn://10.0.0.236/trunk@14442 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:54:23 +00:00
waterson%netscape.com
02bcf9b5c6 Added column data structures.
git-svn-id: svn://10.0.0.236/trunk@14441 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:45:05 +00:00
waterson%netscape.com
6da015982f Added methods for visibility.
git-svn-id: svn://10.0.0.236/trunk@14440 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:44:28 +00:00
waterson%netscape.com
15db648521 Renamed nsRDFTreeItem to nsRDFTreeDataModelItem to keep up with interfaces.
git-svn-id: svn://10.0.0.236/trunk@14439 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:44:04 +00:00
waterson%netscape.com
04dcdf1ec3 Renamed for consistency with interfaces.
git-svn-id: svn://10.0.0.236/trunk@14438 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:42:07 +00:00
hyatt%netscape.com
3d7092a279 Adding new interfaces for toolbars.
git-svn-id: svn://10.0.0.236/trunk@14437 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:11:02 +00:00
hyatt%netscape.com
759a65c75f Modified a few interfaces and tweaked some of the names.
git-svn-id: svn://10.0.0.236/trunk@14436 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:10:18 +00:00
waterson%netscape.com
9ee09600b2 Minor cleanup work to get compiling on Unix. Made sure that destructors were virtual, fixed usage of NS_IMPLEMENT_ISUPPORTS(), etc.
git-svn-id: svn://10.0.0.236/trunk@14435 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 19:00:01 +00:00
cls%seawood.org
6a2a246163 The purpose of this file is to convert various compiler defines into a single define for each platform. This is ONLY to be used when feature defines will not work.
git-svn-id: svn://10.0.0.236/trunk@14434 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 18:59:44 +00:00
waterson%netscape.com
2e35f17882 Alphabetized CPPSRCS.
git-svn-id: svn://10.0.0.236/trunk@14433 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 18:59:13 +00:00
waterson%netscape.com
62bbe5f89b Fixed to get Unix building.
git-svn-id: svn://10.0.0.236/trunk@14432 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 18:58:51 +00:00
waterson%netscape.com
8b274a181d Cleaned up some cruft in the NS_IRDFDATABASE_IID.
git-svn-id: svn://10.0.0.236/trunk@14431 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 18:58:23 +00:00
sman%netscape.com
051a61593f formatting
git-svn-id: svn://10.0.0.236/trunk@14430 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 18:57:24 +00:00
sman%netscape.com
64baf1eecd formatting updates
git-svn-id: svn://10.0.0.236/trunk@14429 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 18:51:06 +00:00
cls%seawood.org
b22a873ce4 Sync'd with Makefile
git-svn-id: svn://10.0.0.236/trunk@14427 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 18:37:33 +00:00
leaf%mozilla.org
99e1c93a53 Adding dawn@cannibal.mi.org's mods to add the option to grab file
and directory descriptions from README.html files. Descriptions of
directories are enclosed by <SPAN CLASS=LXRLONGDESC>...</SPAN> and file
descriptions by <SPAN CLASS=LXRSHORTDESC>...</SPAN>


git-svn-id: svn://10.0.0.236/trunk@14426 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 17:33:24 +00:00
troy%netscape.com
04604b55c5 Fixed memory leak
git-svn-id: svn://10.0.0.236/trunk@14425 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 16:50:51 +00:00
rickg%netscape.com
e507069774 first pass support for view-source
git-svn-id: svn://10.0.0.236/trunk@14424 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 11:55:32 +00:00
rpotts%netscape.com
40ea51753a Pass the view command as the default for the webshell to the document loader...
git-svn-id: svn://10.0.0.236/trunk@14423 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 10:58:14 +00:00
rpotts%netscape.com
47cd835bdd Fixed random crash...
git-svn-id: svn://10.0.0.236/trunk@14422 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 10:04:57 +00:00
mjudge%netscape.com
f5eeccb6c0 more changes to API
git-svn-id: svn://10.0.0.236/trunk@14421 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 09:26:42 +00:00
mjudge%netscape.com
d0b25503a3 mjudge18883891134 adding dir for the editor. SHOULD BE OFF BY DEFAULT!! THIS SHOULD AFFECT NO ONE.
git-svn-id: svn://10.0.0.236/trunk@14420 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 09:26:06 +00:00
mjudge%netscape.com
e0d91882a0 changes to the editor api interface in core. also "Javadocing" the interfaces in public
git-svn-id: svn://10.0.0.236/trunk@14419 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 08:12:57 +00:00
troy%netscape.com
5ddc2cc432 Fixed a memory leak of a content object
git-svn-id: svn://10.0.0.236/trunk@14418 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 06:37:30 +00:00
waterson%netscape.com
e45a3dab88 Fixed unix bustage.
git-svn-id: svn://10.0.0.236/trunk@14417 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 06:28:46 +00:00
cls%seawood.org
ec77f902e8 Moved PNG_LIBS after libimg for final link.
git-svn-id: svn://10.0.0.236/trunk@14416 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 06:12:10 +00:00
cls%seawood.org
6a389b2021 Added EXPORTS
git-svn-id: svn://10.0.0.236/trunk@14415 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 05:33:24 +00:00
mjudge%netscape.com
7b76d160bd adding new files to the editor structure
git-svn-id: svn://10.0.0.236/trunk@14414 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 05:06:40 +00:00
troy%netscape.com
cc9970fac0 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame


git-svn-id: svn://10.0.0.236/trunk@14413 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 04:43:13 +00:00
cls%seawood.org
676c885013 Forgotten piece of Jeremy Lea's patch
git-svn-id: svn://10.0.0.236/trunk@14412 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 04:38:53 +00:00
pavlov%pavlov.net
1fdeb4210c impliment nsPopUpMenu code (it is identical to nsMenu.. why are these not
inheriting each other?)


git-svn-id: svn://10.0.0.236/trunk@14411 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 04:28:30 +00:00
kipp%netscape.com
30c4a39a11 Added a sleazy implementation of css2's run-in display type
git-svn-id: svn://10.0.0.236/trunk@14408 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:55:55 +00:00
kipp%netscape.com
5124efc774 Added a method to support propogation of the mRunInFrame info down into the reflow of a block
git-svn-id: svn://10.0.0.236/trunk@14407 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:55:23 +00:00
kipp%netscape.com
d66db3ecf6 Added run-in and compact display types to the TreatFrameAsBlockFrame method
git-svn-id: svn://10.0.0.236/trunk@14406 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:54:47 +00:00
kipp%netscape.com
ce5cc1fa2e Added mRunInFrame to the html reflow state so that run-in frame handling can be forwarded from a parent block to a child block
git-svn-id: svn://10.0.0.236/trunk@14405 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:54:15 +00:00
waterson%netscape.com
b428b63d47 Added C++ interface to HT.
git-svn-id: svn://10.0.0.236/trunk@14404 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:50:38 +00:00
waterson%netscape.com
fa4c62eb00 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@14403 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:45:12 +00:00
waterson%netscape.com
4260761699 Fixed enum declaration.
git-svn-id: svn://10.0.0.236/trunk@14402 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:39:28 +00:00
mjudge%netscape.com
f8052cff0b modified files for editor build process
git-svn-id: svn://10.0.0.236/trunk@14401 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:38:24 +00:00
mjudge%netscape.com
eadf162c58 moving editor core to "core"
git-svn-id: svn://10.0.0.236/trunk@14400 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:34:37 +00:00
mjudge%netscape.com
d8741ef43a removing src directory modifying editor.h
git-svn-id: svn://10.0.0.236/trunk@14399 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:29:53 +00:00
cls%seawood.org
0cca66223e Oops. Fixed oversight of using MOZ_NATIVE_ZLIB instead of MOZ_NATIVE_PNG for png stuff.
git-svn-id: svn://10.0.0.236/trunk@14398 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:04:43 +00:00
hyatt%netscape.com
f78b12a1cd Made some functions (inspectors) const.
git-svn-id: svn://10.0.0.236/trunk@14397 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 03:04:20 +00:00
hyatt%netscape.com
aca7ced0f0 Added forward decl of nsIDMWidget
git-svn-id: svn://10.0.0.236/trunk@14396 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 02:58:39 +00:00
pierre%netscape.com
a6451b0f2c Initialize the 2 new fields of the nsSizeEvent (mWinWidth + mWinHeight) before dispatching the event. Fix a crash due to recursive calls in the sample viewer app.
git-svn-id: svn://10.0.0.236/trunk@14395 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 02:49:14 +00:00
hyatt%netscape.com
47acfc72b3 Changing the interfaces to avoid a big bad diamond inheritance pattern when we
drop in the RDF implementations.


git-svn-id: svn://10.0.0.236/trunk@14393 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:58:21 +00:00
cls%seawood.org
0a35e79928 Fixes to resource install for xpfe. Fixes to make MOZ_NATIVE_* work again. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the diffs.
git-svn-id: svn://10.0.0.236/trunk@14392 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:53:49 +00:00
hyatt%netscape.com
a47c9325cd Added interfaces.
git-svn-id: svn://10.0.0.236/trunk@14391 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:52:44 +00:00
hyatt%netscape.com
f96b5338a5 Added new interfaces.
git-svn-id: svn://10.0.0.236/trunk@14390 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:52:34 +00:00
pierre%netscape.com
32cba0e347 Set the scroll bar dimensions to 16 pixels instead of 10.
git-svn-id: svn://10.0.0.236/trunk@14388 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:41:44 +00:00
pierre%netscape.com
a1df98431f Set the coordinates ot the top-level object to (0,0) instead of its global coordinates.
Removed the override of PointInWidget() which became obsolete after the change above.
Changed Move() and Resize() to call the toolbox only when necessary.


git-svn-id: svn://10.0.0.236/trunk@14387 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:40:56 +00:00
hyatt%netscape.com
20304f7d91 Added a parent access function.
git-svn-id: svn://10.0.0.236/trunk@14386 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:40:54 +00:00
pierre%netscape.com
2e047c30a0 Removed the override of PointInWidget() which became obsolete after the change in the coordinate system.
git-svn-id: svn://10.0.0.236/trunk@14385 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:40:43 +00:00
pierre%netscape.com
784d87b96e Clean up the drawing code. Use StartDraw() and EndDraw(). It still has to be replaced with a native control.
git-svn-id: svn://10.0.0.236/trunk@14384 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:39:44 +00:00
pierre%netscape.com
78526b9f65 Set the coordinates ot the top-level object to (0,0) instead of its global coordinates.
Clipping and settting the origin is done in StartDraw() instead of Update().


git-svn-id: svn://10.0.0.236/trunk@14383 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:38:33 +00:00
pierre%netscape.com
af1dba3c99 Remove the unused CalcTotalOffset()
git-svn-id: svn://10.0.0.236/trunk@14382 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:38:00 +00:00
hyatt%netscape.com
67f8c6e2f5 Added iterators over node's children.
git-svn-id: svn://10.0.0.236/trunk@14381 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:37:51 +00:00
hyatt%netscape.com
ad1f1541cb Tweaks to the APIs to change the int types. Also cleaned up IsExpanded.
git-svn-id: svn://10.0.0.236/trunk@14380 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:29:42 +00:00
hyatt%netscape.com
8f61c0fe88 Tweaking sort enum.
git-svn-id: svn://10.0.0.236/trunk@14377 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 00:21:30 +00:00
hyatt%netscape.com
cdbf2dd313 Added sort state enum.
git-svn-id: svn://10.0.0.236/trunk@14376 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 00:20:59 +00:00
jsun%netscape.com
a2a85dc508 Fix windows build:
Removed nsIXPFCContentSinkContainer.h dependency


git-svn-id: svn://10.0.0.236/trunk@14375 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 00:17:29 +00:00
hyatt%netscape.com
f0138a96d7 Fixing a mistake in the include ifdef.
git-svn-id: svn://10.0.0.236/trunk@14374 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 00:06:20 +00:00
hyatt%netscape.com
3731b62f54 Tweaks to the interfaces to make them internally consistent.
git-svn-id: svn://10.0.0.236/trunk@14373 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 23:44:53 +00:00
hyatt%netscape.com
13dcb792a8 Files for data model widgets (and for the tree view widget in particular).
git-svn-id: svn://10.0.0.236/trunk@14372 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 23:08:22 +00:00
hyatt%netscape.com
54c174e229 The interface for widgets that interact with a data model.
git-svn-id: svn://10.0.0.236/trunk@14371 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 23:07:02 +00:00
cls%seawood.org
e2873e4be4 Do not explicitly set MAKE as GNU make automatically sets it. If NSPR_INSTALL_DIR is defined, then use --with-nspr, otherwise do not bother.
git-svn-id: svn://10.0.0.236/trunk@14369 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 21:58:31 +00:00
cls%seawood.org
bdea88a92a Added solaris section to pthread test
git-svn-id: svn://10.0.0.236/trunk@14368 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 21:57:18 +00:00
cls%seawood.org
38ef0246e0 Fixed check for motif
git-svn-id: svn://10.0.0.236/trunk@14367 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 21:55:44 +00:00
cyeh%netscape.com
c991e357d3 add additional documentation about MozillaSource modules being obsolete.
add placeholder modules for both Client and MailClient 5.0


git-svn-id: svn://10.0.0.236/trunk@14366 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 21:55:14 +00:00
despotdaemon%netscape.com
a1df2bed59 Pseudo-automatic update of changes made by danda@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14364 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 21:46:16 +00:00
karnaze%netscape.com
c220a9a260 fixed <frameset frameborder=no> allowed frame resizing
git-svn-id: svn://10.0.0.236/trunk@14363 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 20:49:51 +00:00
jsun%netscape.com
15fd435da7 Modified nsStreamManager::LoadURL so that nsIXPFCCanvas parameter is
replaced by generic nsISupports.

Added nsIXPFCContentSink interface to implement the SetContentSinkContainer
method.


git-svn-id: svn://10.0.0.236/trunk@14361 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 20:04:01 +00:00
jsun%netscape.com
b170c822bf Updated calendar XML parser to use newer LoadURL call.
git-svn-id: svn://10.0.0.236/trunk@14360 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 19:33:47 +00:00
kipp%netscape.com
05f22fe6ea Fixed AddFrame method hiding
git-svn-id: svn://10.0.0.236/trunk@14359 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 19:20:53 +00:00
kipp%netscape.com
4186fefce1 Removed unused include
git-svn-id: svn://10.0.0.236/trunk@14358 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 19:16:32 +00:00
cls%seawood.org
f002c86029 Sync'd with Makefile. Thanks to Steve Morrison <smorrison@gte.com> for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@14355 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:14:24 +00:00
kipp%netscape.com
5c3856a3cc Use lineLayout object to pass on floater to the containing block
git-svn-id: svn://10.0.0.236/trunk@14348 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:04:34 +00:00
kipp%netscape.com
fd3e20c111 Added InitFloater
git-svn-id: svn://10.0.0.236/trunk@14347 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:04:19 +00:00
kipp%netscape.com
cd6050f965 Use geometric parent to get containing block of the floater
git-svn-id: svn://10.0.0.236/trunk@14346 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:04:10 +00:00
kipp%netscape.com
39bf131805 Removed obsolete IIDs
git-svn-id: svn://10.0.0.236/trunk@14345 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:03:53 +00:00
kipp%netscape.com
74e3541265 Removed GetReflowMetrics
git-svn-id: svn://10.0.0.236/trunk@14344 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:03:42 +00:00
kipp%netscape.com
c3a39b9634 Tidy up by removing some old junky code
git-svn-id: svn://10.0.0.236/trunk@14343 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:03:29 +00:00
kipp%netscape.com
93bd8372b4 nuked
git-svn-id: svn://10.0.0.236/trunk@14342 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:02:20 +00:00
kipp%netscape.com
2f82fa3735 Added a reminder to the ua.css
git-svn-id: svn://10.0.0.236/trunk@14341 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:00:46 +00:00
kipp%netscape.com
2e4a5abc59 Removed the unused GetReflowMetrics method (it may come back in a different form some day)
git-svn-id: svn://10.0.0.236/trunk@14340 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 18:00:08 +00:00
despotdaemon%netscape.com
a283fdfa60 Pseudo-automatic update of changes made by rhp@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14339 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 17:01:13 +00:00
despotdaemon%netscape.com
be92dfc905 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14338 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 16:55:59 +00:00
cls%seawood.org
55774478d2 Changed libplds21 check from PL_VectorAdd to PL_GetEvent. Thanks to Brian Ryner <bryner@my-dejanews.com> for pointing out the nspr change.
git-svn-id: svn://10.0.0.236/trunk@14337 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 16:49:12 +00:00
rpotts%netscape.com
e79d0ccb4e do not allow the stream listener to be freed during a call to OnDataAvailable... It is possible, that OnStopBinding() wil lbe called while the listener is processing the data (ie. the URL load is interrupted). If this happens, do not free the listener until the OnDataAvailable() call has finished...
git-svn-id: svn://10.0.0.236/trunk@14335 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 07:06:02 +00:00
morse%netscape.com
db277344c9 attempt to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@14334 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 06:33:14 +00:00
troy%netscape.com
1c0da71da3 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list


git-svn-id: svn://10.0.0.236/trunk@14333 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 06:05:32 +00:00
mcafee%netscape.com
b003c91f88 Better error for missing nspr libs
git-svn-id: svn://10.0.0.236/trunk@14332 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 05:06:00 +00:00
morse%netscape.com
ec6bea41a0 turn on cookie management
git-svn-id: svn://10.0.0.236/trunk@14331 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:39:38 +00:00
morse%netscape.com
112eeeb2b7 separate trust labels from cookie management
git-svn-id: svn://10.0.0.236/trunk@14330 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:31:26 +00:00
troy%netscape.com
3b217d91c6 Added GetChildListName() member function
git-svn-id: svn://10.0.0.236/trunk@14329 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:31:02 +00:00
pavlov%pavlov.net
11a75fc3e7 Removed some old debugging messages and redid some font initialization which
seems to work a tad better, though it has plenty room to be improved.


git-svn-id: svn://10.0.0.236/trunk@14328 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:28:00 +00:00
pavlov%pavlov.net
a14fdfbd96 Impliment menu callbacks, fix a few paint events, remove some old debugging
messages.  Use nsWidget::Show for nsWindow::Show.


git-svn-id: svn://10.0.0.236/trunk@14327 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:25:51 +00:00
morse%netscape.com
b0a46198a2 separate trust labels from cookie management, add MakeHTMLDialog hack
git-svn-id: svn://10.0.0.236/trunk@14326 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:25:28 +00:00
rickg%netscape.com
a7c873a99e changed contentsink API to support XML
git-svn-id: svn://10.0.0.236/trunk@14325 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:20:40 +00:00
rickg%netscape.com
0af9e4b202 changed contentsink API to support XML
git-svn-id: svn://10.0.0.236/trunk@14324 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:13:59 +00:00
eyork%netscape.com
9e5c59e530 Stubs for the OutBox Manager
git-svn-id: svn://10.0.0.236/trunk@14323 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 02:27:51 +00:00
pierre%netscape.com
21fe174c19 fix build: added nsImageControlFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@14322 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 02:26:13 +00:00
cls%seawood.org
1f81164a05 Added mozilla/configure target so that build: does not always run configure. Added $autoobjdir to build:.
git-svn-id: svn://10.0.0.236/trunk@14321 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 01:56:13 +00:00
cls%seawood.org
b6acf9a16a Use $(MAKE) for build instead of gmake
git-svn-id: svn://10.0.0.236/trunk@14320 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 01:16:42 +00:00
cyeh%netscape.com
237f748ea3 add the following exports:
PL_VectorAssertValid
PL_VectorRemove
PL_VectorInsert
PL_VectorAdd
PL_VectorSet
PL_VectorClone
PL_VectorCopy
PL_VectorCompact
PL_VectorIsValidIndex
PL_VectorSetSize
PL_VectorFinalize
PL_VectorInitialize
PL_VectorDestroy
PL_NewVector


git-svn-id: svn://10.0.0.236/trunk@14319 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 00:54:21 +00:00
joki%netscape.com
332786d692 Stop dual event flow through both frames kids and view kids. Now flows through views.
git-svn-id: svn://10.0.0.236/trunk@14318 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 00:35:30 +00:00
mcafee%netscape.com
c8c122f0b6 new configure target, NSPR_INSTALL_DIR usage changed slightly
git-svn-id: svn://10.0.0.236/trunk@14317 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 00:32:08 +00:00
pnunn%netscape.com
0bbc3ecdd7 bugzilla#1211. Needed ifndef for Timer decl.
git-svn-id: svn://10.0.0.236/trunk@14316 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 00:07:58 +00:00
kipp%netscape.com
b8945492a1 Create a block frame for run-in and compact frames
git-svn-id: svn://10.0.0.236/trunk@14314 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:35:44 +00:00
kipp%netscape.com
bce0142060 Improved the table warning diagnostic
git-svn-id: svn://10.0.0.236/trunk@14313 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:35:05 +00:00
karnaze%netscape.com
c723661f91 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.


git-svn-id: svn://10.0.0.236/trunk@14312 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:30:16 +00:00
terry%netscape.com
904b7ef8f0 Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- cope with product
names that have a "/" in them.


git-svn-id: svn://10.0.0.236/trunk@14309 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:19:37 +00:00
terry%netscape.com
36a0f43bd5 Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- noted the CPAN
modules that the report stuff now depends on.


git-svn-id: svn://10.0.0.236/trunk@14308 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:19:15 +00:00
pavlov%pavlov.net
3b2e646d56 have GetFontMetrics return a sane value. this fixes crash
git-svn-id: svn://10.0.0.236/trunk@14307 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 22:59:14 +00:00
terry%netscape.com
0a9b625773 Fixed stupid bug causing stupid error messages.
git-svn-id: svn://10.0.0.236/trunk@14306 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 22:45:32 +00:00
mcafee%netscape.com
7a50070e1c moving OBJDIR to use config.guess
git-svn-id: svn://10.0.0.236/trunk@14305 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 22:28:28 +00:00
mcafee%netscape.com
6d90538083 renaming WITH_NSPR to NSPR_INSTALL_DIR
git-svn-id: svn://10.0.0.236/trunk@14304 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 22:03:24 +00:00
rickg%netscape.com
0dad7246be a tiny update to improve XML support
git-svn-id: svn://10.0.0.236/trunk@14303 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 21:51:18 +00:00
akkana%netscape.com
109f33438b Add coherent message if gtk libs are missing
git-svn-id: svn://10.0.0.236/trunk@14301 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 21:47:41 +00:00
akkana%netscape.com
1bea5b34a9 Fix motif autoconf build -- pass MOZ_TOOLKIT through
git-svn-id: svn://10.0.0.236/trunk@14300 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 21:46:15 +00:00
terry%netscape.com
c6ec569b75 kostello now owns Selection bugs.
git-svn-id: svn://10.0.0.236/trunk@14299 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 21:25:27 +00:00
pavlov%pavlov.net
5150414c26 revert changes to gtklayout. make sure some labels are shown since they are
inside the mWidget


git-svn-id: svn://10.0.0.236/trunk@14298 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 21:04:32 +00:00
pavlov%pavlov.net
d44ef64683 only compile one binary, not two
git-svn-id: svn://10.0.0.236/trunk@14297 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 20:36:08 +00:00
terry%netscape.com
3af2e707df Add Directory LDAP stuff.
git-svn-id: svn://10.0.0.236/trunk@14296 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 20:22:53 +00:00
wtc%netscape.com
a717df16f7 Have "make depend" invoke "make clean" as a hack to ensure
that the "depend" continuous builds still work after I removed
plvector.c and plvector.h from mozilla/nsprpub/lib/ds.  This
temporary hack will be removed later.


git-svn-id: svn://10.0.0.236/trunk@14295 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 20:14:54 +00:00
wtc%netscape.com
5a196dc346 Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
to mozilla/xpcom.
Modified files: Makefile, Makefile.in, makefile.win.


git-svn-id: svn://10.0.0.236/trunk@14294 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 20:10:21 +00:00
wtc%netscape.com
79dfb923f5 Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
to mozilla/xpcom.
Modified files: MANIFEST, Makefile, Makefile.in, makefile.win.


git-svn-id: svn://10.0.0.236/trunk@14293 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 20:09:33 +00:00
wtc%netscape.com
13d9e77b86 Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
to mozilla/xpcom.
Modified files: MANIFEST, Makefile


git-svn-id: svn://10.0.0.236/trunk@14292 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 20:08:18 +00:00
wtc%netscape.com
65879c08d8 Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
to mozilla/xpcom.


git-svn-id: svn://10.0.0.236/trunk@14291 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 20:05:38 +00:00
troy%netscape.com
113c5409bc Added GetAdditionalChildListName() as a way to discover additional
named child lists at runtime


git-svn-id: svn://10.0.0.236/trunk@14290 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:59:33 +00:00
troy%netscape.com
cdf69643a6 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.


git-svn-id: svn://10.0.0.236/trunk@14289 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:40:27 +00:00
akkana%netscape.com
e1a7c441bf Fix nspr build line
git-svn-id: svn://10.0.0.236/trunk@14288 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:30:54 +00:00
cyeh%netscape.com
a3f972adc3 adding mozilla/rdf to RaptorDist at request of guha
git-svn-id: svn://10.0.0.236/trunk@14287 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:22:55 +00:00
troy%netscape.com
3f4e4b9185 Added a #define for NS_ERROR_INVALID_ARG to be the same as
NS_ERROR_ILLEGAL_VALUE. This helps make our error names more
consistent with COM


git-svn-id: svn://10.0.0.236/trunk@14286 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 19:03:05 +00:00
kipp%netscape.com
fddf21d369 Disabled some more dubious br/margin code
git-svn-id: svn://10.0.0.236/trunk@14285 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 17:54:37 +00:00
vidur%netscape.com
e67acdda42 Fix to GetFirstChild/GetLastChild from Michael Leventhal (mle@citec.fi)
git-svn-id: svn://10.0.0.236/trunk@14284 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 17:51:18 +00:00
kipp%netscape.com
fe24aed36f Repaired marginwidth/marginheight handling code
git-svn-id: svn://10.0.0.236/trunk@14283 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 17:51:05 +00:00
kipp%netscape.com
fc00faf9c4 Some spot error handling improvements to fix a crash in http://checkmate/raptor/js98/test3.html
git-svn-id: svn://10.0.0.236/trunk@14282 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 16:21:18 +00:00
pavlov%pavlov.net
598102d7c1 Patch from Owen Taylor <otaylor@redhat.com> that makes nsWidget inherit from
nsBaseWidget.  It moves the Create() functions into nsWidget for the base
creation so that the code is reused and not the same code in each file.  This
patch also fixes numerous nsWindow related issues.


git-svn-id: svn://10.0.0.236/trunk@14281 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 15:49:30 +00:00
pavlov%pavlov.net
3e54e2709e remove assertion in nsRenderingContextGTK and added gdk_rgb_init() to
nsDeviceContextGTK


git-svn-id: svn://10.0.0.236/trunk@14280 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 15:47:45 +00:00
pavlov%pavlov.net
3c65e04df8 Impliment Resize for nsWidget (and nsWindow (it calls nsWidget::Resize/Move)
Add patch for gtklayout from Owen Taylor that makes sure the widgets added are
shown and realized.  We now get a window popped up that shows the spinner,
toolbar, menu, etc etc etc.  its getting close!


git-svn-id: svn://10.0.0.236/trunk@14278 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 05:45:57 +00:00
pavlov%pavlov.net
9b477477c8 patch from Owen Taylor <otaylor@redhat.com> that allows you to draw on the
drawing area.


git-svn-id: svn://10.0.0.236/trunk@14277 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 03:03:09 +00:00
pavlov%pavlov.net
9e26b77291 Patch from Owen Taylor <otaylor@redhat.com> which uses the correct GdkWindow
to draw to.


git-svn-id: svn://10.0.0.236/trunk@14276 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 03:02:08 +00:00
guha%netscape.com
e1494f0946 More RDF fixing. Now ready for Raptor.
git-svn-id: svn://10.0.0.236/trunk@14275 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 01:28:58 +00:00
pavlov%pavlov.net
6cd3539dc6 nsComboBox implimentation from Chris Lahey <clahey@mich.net>
nsWidget and nsWindow changes (fix class inheritance, provide functions in
nsWidget and not nsWindow since everything is derived from nsWidget) patch
from Owen Taylor <otaylor@redhat.com>


git-svn-id: svn://10.0.0.236/trunk@14274 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 23:31:40 +00:00
pavlov%pavlov.net
8c7dd7cd60 call gtk_widget_show() on all the menuitems that are being added to the
menubar


git-svn-id: svn://10.0.0.236/trunk@14273 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 22:39:14 +00:00
mcafee%netscape.com
c54f6c616f Cut & Paste bug, double-freeing stuff. Thanks to Peter.vanHelden@net.HCC.nl for the fix.
git-svn-id: svn://10.0.0.236/trunk@14272 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 21:31:07 +00:00
terry%netscape.com
16710e429b If we fail to get slashdot data, don't let that stop us from trying
again in a couple of hours.


git-svn-id: svn://10.0.0.236/trunk@14271 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 21:12:12 +00:00
pavlov%pavlov.net
217523a5d1 Fixed nsMenu::AddMenu so that it adds menus to menus correctly.
git-svn-id: svn://10.0.0.236/trunk@14270 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 20:57:57 +00:00
pavlov%pavlov.net
0fe9befefc add 'this' to the userdata of the widget so that callbacks will have the info
they need


git-svn-id: svn://10.0.0.236/trunk@14269 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 20:45:53 +00:00
pavlov%pavlov.net
0e76c6696d patch from skinny@knowhere.net for the scrollbar widget implimentation.
git-svn-id: svn://10.0.0.236/trunk@14268 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 19:36:31 +00:00
pavlov%pavlov.net
1ca0554355 set the userdata for all of the widgets to 'this'. Use the userdata in the
callbacks in nsGtkEventHandler


git-svn-id: svn://10.0.0.236/trunk@14267 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 18:51:09 +00:00
pavlov%pavlov.net
3246866ead minor code cleanup in nsCheckButton.cpp. begin work on nsComboBox.
git-svn-id: svn://10.0.0.236/trunk@14266 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 18:19:37 +00:00
pavlov%pavlov.net
cc3b90eac2 Fix GTK Build so that it will compile without Motif. Remove extra mWidget's
from a few widgets that were provided mWidget from nsWidget.


git-svn-id: svn://10.0.0.236/trunk@14265 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 17:54:19 +00:00
rpotts%netscape.com
9a751e9735 Support asynchronous network notifications (instead of polling) if NO_NETWORK_POLLING is defined. Currently, this is only implemented for Win32
git-svn-id: svn://10.0.0.236/trunk@14264 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 09:04:54 +00:00
rpotts%netscape.com
bceab2e61f propagate abnormal stream termination correctly...
git-svn-id: svn://10.0.0.236/trunk@14263 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 09:03:02 +00:00
pavlov%pavlov.net
bab432bdde initial stab at converting GdkEvents into mozilla events.
git-svn-id: svn://10.0.0.236/trunk@14262 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 05:53:52 +00:00
pavlov%pavlov.net
7dda2eea3d blizzard%appliedtheory.com patch to allow this to compile without motif
installed.  this patch also fixes the arguments to the event callbacks to
those of Gtk


git-svn-id: svn://10.0.0.236/trunk@14261 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:34:08 +00:00
guha%netscape.com
0d5187ffa0 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@14260 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:29:07 +00:00
pavlov%pavlov.net
f8353761e5 fix ::Remove so that it works on both TextWidget and TextAreaWidget
git-svn-id: svn://10.0.0.236/trunk@14259 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:12:42 +00:00
pavlov%pavlov.net
fd6626fd2e Initial nsText* implimentation. This should be about 90% functional.
git-svn-id: svn://10.0.0.236/trunk@14258 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 04:05:34 +00:00
pavlov%pavlov.net
2d8a1c681b nsBrowserWindow.cpp:3220
change
if (nsnull == menu) {
to
if (NS_OK == rv) {
which makes submenus be added correctly.


git-svn-id: svn://10.0.0.236/trunk@14256 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 02:09:38 +00:00
pavlov%pavlov.net
3856fcd990 fix menu code... submenus are not added correctly for some reason, but the
earlier warnings are gone.


git-svn-id: svn://10.0.0.236/trunk@14255 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 02:05:02 +00:00
pavlov%pavlov.net
e64ca00484 Menu's are now displayed correctly (almost).
git-svn-id: svn://10.0.0.236/trunk@14251 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 01:13:43 +00:00
troy%netscape.com
14d17485ee That part about the frame deleted reflow command being a list was a
bit overzealous. It can't be. Maybe at some point we'll have an
argument that specifies the number of frames to delete


git-svn-id: svn://10.0.0.236/trunk@14248 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 00:26:56 +00:00
troy%netscape.com
68cb6349cf Added some comments clarifying that appended, inserted, and deleted reflow
commands take a child list (i.e. more than one frame)


git-svn-id: svn://10.0.0.236/trunk@14247 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 00:24:40 +00:00
pavlov%pavlov.net
bc53841b8e yet another patch from Owen Taylor <otaylor@redhat.com> that impliments
nsFontMetricsGTK


git-svn-id: svn://10.0.0.236/trunk@14246 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 23:21:18 +00:00
pavlov%pavlov.net
26fed3657e patch that impliments nsRenderingContextGTK from Owen Taylor
<otaylor@redhat.com>


git-svn-id: svn://10.0.0.236/trunk@14245 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 23:19:06 +00:00
ramiro%netscape.com
3590eb68fd Fix from Tim Rowley <tor@boojum.cs.brown.edu>.
The Sun compiler tossing the templated class into a template repository
(see Templates.DB in the directory layout/html/base/src).  At link time the
compiler doesn't know where that repository is, so it can't resolve that
symbol.
You can get the compiler to include the templated class in the shared library
by linking the objects together with "CC -xar".


git-svn-id: svn://10.0.0.236/trunk@14244 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 22:29:15 +00:00
pavlov%pavlov.net
221f39c0a2 Apply patch from Owen Taylor <otaylor@redhat.com> that does images the right
way.


git-svn-id: svn://10.0.0.236/trunk@14243 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 19:54:14 +00:00
msw%gimp.org
cec9a1349a Oops - not using this.
git-svn-id: svn://10.0.0.236/trunk@14242 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 18:43:17 +00:00
troy%netscape.com
77ba0862ca Changed PostCreateWidget() code to use the "default value" when setting
the widget's initial value


git-svn-id: svn://10.0.0.236/trunk@14241 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:47:57 +00:00
troy%netscape.com
221ed4cb8d Changed implementation of DefaultValue to use the value of the "value"
attribute


git-svn-id: svn://10.0.0.236/trunk@14240 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:46:12 +00:00
pavlov%pavlov.net
35e4f0d399 initialize mWidget to null
git-svn-id: svn://10.0.0.236/trunk@14239 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:30:50 +00:00
pavlov%pavlov.net
bae8029782 Implimented nsImageGTK. Fixed some compling problems in the other files due
to headers needed in nsImageGTK


git-svn-id: svn://10.0.0.236/trunk@14238 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:24:46 +00:00
pavlov%pavlov.net
2313f1b071 Add the menu bar to the Window correctly.
git-svn-id: svn://10.0.0.236/trunk@14237 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:23:30 +00:00
msw%gimp.org
43d0d8905a Move all the widget to inherit from nsWidget, not nsWindow. Add stub
for mouse events in nsWidget


git-svn-id: svn://10.0.0.236/trunk@14236 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:00:11 +00:00
pavlov%pavlov.net
3282afa5c2 convert nsLabel's to nsWidget instead of nsWindow. Impliment part of
nsPopUpMenu


git-svn-id: svn://10.0.0.236/trunk@14235 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 15:18:51 +00:00
msw%gimp.org
59f0348d97 set the size of buttons on creation. Need to check to make sure this
is the Right Way.


git-svn-id: svn://10.0.0.236/trunk@14234 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 05:43:47 +00:00
troy%netscape.com
d83f2d34ad Added code to StringToAttribute() to handle "border" attribute
git-svn-id: svn://10.0.0.236/trunk@14233 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 05:27:39 +00:00
troy%netscape.com
0185d48b6d Added a copy of the UpdateImageFrame() code from nsImageFrame, so that
when the image size arrives we get notified so we can kick off an
incremental reflow


git-svn-id: svn://10.0.0.236/trunk@14231 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 03:56:11 +00:00
akkana%netscape.com
6f32c3691a Add some more commands to 'gmake build'
git-svn-id: svn://10.0.0.236/trunk@14230 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 03:34:51 +00:00
rickg%netscape.com
4fd4208ee3 allow script in table
git-svn-id: svn://10.0.0.236/trunk@14225 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 02:18:55 +00:00
pavlov%pavlov.net
6fd52ccd4f Initial GTK code for menus.
git-svn-id: svn://10.0.0.236/trunk@14224 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 02:05:59 +00:00
troy%netscape.com
b261b06be6 Fixed DamageRepairFrame() to correctly handle the case where the
target frame has a view


git-svn-id: svn://10.0.0.236/trunk@14223 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 02:00:21 +00:00
saari%netscape.com
7ea3e11e01 Mac only change.
Don't unlock GDeviceHandles. Fixed.
Don't dereference unlocked handles. Fixed.


git-svn-id: svn://10.0.0.236/trunk@14221 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 01:45:03 +00:00
buster%netscape.com
96b01811a9 fixed the bug where events were not getting passed down to content inside
of cells with rowspans.  Basically, I just override HandleEvent() in nsTableRowGroupFrame
to ask nsTableRowFrame::Contains(), rather than the default action which is to
just use the child's rect.


git-svn-id: svn://10.0.0.236/trunk@14218 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 00:36:37 +00:00
troy%netscape.com
433ac3b15e Added a hack to make sure that the floated frame gets a DidReflow notification
git-svn-id: svn://10.0.0.236/trunk@14216 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 00:03:45 +00:00
pavlov%pavlov.net
03823732fb show the widgets so that they appear on the screen
git-svn-id: svn://10.0.0.236/trunk@14215 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 23:46:18 +00:00
shaver%netscape.com
b1c2d66c81 created new nsWidget common baseclass, and reparented nsButton to use it -- more reparenting to follow
git-svn-id: svn://10.0.0.236/trunk@14214 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 23:33:15 +00:00
valeski%netscape.com
a04d9a8d31 turning on NS_NET_FILE
git-svn-id: svn://10.0.0.236/trunk@14213 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 22:55:04 +00:00
rickg%netscape.com
dfcc756a77 tiny fix to allow form tag inside the table tag
git-svn-id: svn://10.0.0.236/trunk@14212 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 21:41:59 +00:00
despotdaemon%netscape.com
2b5a7c8abd Pseudo-automatic update of changes made by jefft@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14211 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 21:16:20 +00:00
terry%netscape.com
b78ecc0e29 Greatly enhance the bot's conversational ability, using the very
latest in AI techniques.


git-svn-id: svn://10.0.0.236/trunk@14210 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 20:53:22 +00:00
despotdaemon%netscape.com
a6bca59cca Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14209 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 20:02:53 +00:00
jsun%netscape.com
50beceb8fa Updated ContentSink to use newer LoadURL API.
git-svn-id: svn://10.0.0.236/trunk@14208 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 19:20:45 +00:00
shaver%netscape.com
2fc303099e improve nsWindow to handle toplevel and embedded windows, and use GtkLayout
git-svn-id: svn://10.0.0.236/trunk@14207 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 18:26:30 +00:00
troy%netscape.com
4301af14c3 Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct


git-svn-id: svn://10.0.0.236/trunk@14206 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 17:57:24 +00:00
pinkerton%netscape.com
fa76632d34 implicit int not supported anymore.
git-svn-id: svn://10.0.0.236/trunk@14205 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 17:24:58 +00:00
troy%netscape.com
2f3cd82513 Changed to make the Mac compiler happy...
git-svn-id: svn://10.0.0.236/trunk@14204 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 17:24:08 +00:00
shaver%netscape.com
4bc88b9fbd fix compile bustage
git-svn-id: svn://10.0.0.236/trunk@14203 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 17:11:58 +00:00
pavlov%pavlov.net
421b40e34f fix it. honest!
git-svn-id: svn://10.0.0.236/trunk@14202 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 17:03:18 +00:00
pavlov%pavlov.net
c864d13235 fix compiling
git-svn-id: svn://10.0.0.236/trunk@14201 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 16:37:33 +00:00
pavlov%pavlov.net
b02c929071 add these items to the parent widget (layout)
git-svn-id: svn://10.0.0.236/trunk@14200 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 16:35:24 +00:00
pavlov%pavlov.net
f26dc01bdf add menu to layout, not box
git-svn-id: svn://10.0.0.236/trunk@14199 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 16:34:20 +00:00
troy%netscape.com
a72ab6c885 Added a comment
git-svn-id: svn://10.0.0.236/trunk@14198 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 16:24:21 +00:00
troy%netscape.com
222a7c54b8 Added support for using foreground color and background color from user
preferences. Also made it so we observe the preferences, get a callback if
they change, and then do a style change reflow


git-svn-id: svn://10.0.0.236/trunk@14197 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 16:16:01 +00:00
shaver%netscape.com
bc5ab1f4f3 remove old *.mk sanity checking that isn't needed by autoconf
git-svn-id: svn://10.0.0.236/trunk@14196 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 15:46:39 +00:00
mcafee%netscape.com
b36588fdd4 more comments
git-svn-id: svn://10.0.0.236/trunk@14194 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 09:06:37 +00:00
mcafee%netscape.com
93eb2d576d Initial version
git-svn-id: svn://10.0.0.236/trunk@14193 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 08:39:52 +00:00
valeski%netscape.com
5bfb7eb009 Adding a default directory for the new cache when it's being used in modular_netlib and for windows only. I also added the cache.lib to be dumped to the public dist dir when built.
git-svn-id: svn://10.0.0.236/trunk@14191 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 05:43:01 +00:00
pavlov%pavlov.net
27839170f2 fix the million errors that GTK was giving out when the window was popped up.
Fix it to show menus.


git-svn-id: svn://10.0.0.236/trunk@14190 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 04:45:46 +00:00
akkana%netscape.com
b96e015aaf Tweak to get it to link on Solaris GCC
git-svn-id: svn://10.0.0.236/trunk@14189 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:58:18 +00:00
joki%netscape.com
e8fb4a2070 Fixup calls to DumpCellMap() with NS_DEBUG #ifdefs
git-svn-id: svn://10.0.0.236/trunk@14188 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:38:17 +00:00
spider%netscape.com
f1f10c21ed Allow Image URL's to be set independently. Needed for XML parsing.
git-svn-id: svn://10.0.0.236/trunk@14187 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:24:50 +00:00
kipp%netscape.com
87999ea1e6 Fixed nowrap support by computing max-element-size better
git-svn-id: svn://10.0.0.236/trunk@14186 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:09:21 +00:00
kipp%netscape.com
4e88066b19 Support mapping the character set encoding properly so that codes from 0x80 to 0x9f get mapped into ucs2 properly
git-svn-id: svn://10.0.0.236/trunk@14185 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:07:17 +00:00
akkana%netscape.com
3e2725073a fix build: define gAppContext since it's used and was never defined
git-svn-id: svn://10.0.0.236/trunk@14184 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:02:31 +00:00
spider%netscape.com
e9ec733cab Add GetImageDimensions API
git-svn-id: svn://10.0.0.236/trunk@14183 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 02:00:25 +00:00
akkana%netscape.com
e26d7f0f4d Remove dlldeps.c reference which was breaking the build
git-svn-id: svn://10.0.0.236/trunk@14182 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 01:48:22 +00:00
joki%netscape.com
b7f7229b49 Adding focus passing method to nsIWebShellContainer
git-svn-id: svn://10.0.0.236/trunk@14181 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 01:30:07 +00:00
spider%netscape.com
a29da299d7 Fix crash when image not loaded yet
git-svn-id: svn://10.0.0.236/trunk@14180 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 01:24:09 +00:00
peterl%netscape.com
aaea73e24c fixed text-decorations some more
git-svn-id: svn://10.0.0.236/trunk@14179 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 01:06:26 +00:00
peterl%netscape.com
a1a45f062d sync to declaration api change
git-svn-id: svn://10.0.0.236/trunk@14178 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:59:03 +00:00
peterl%netscape.com
ffec4e0aa8 added table-layout
added mix/max width/height
made text-decoration not be cumulative


git-svn-id: svn://10.0.0.236/trunk@14177 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:58:23 +00:00
peterl%netscape.com
840596b54d removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties


git-svn-id: svn://10.0.0.236/trunk@14176 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:56:28 +00:00
peterl%netscape.com
0ec8345b85 removed char* method types
git-svn-id: svn://10.0.0.236/trunk@14175 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:52:57 +00:00
peterl%netscape.com
eec6adfe4e sync to declaration api change
git-svn-id: svn://10.0.0.236/trunk@14174 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:52:30 +00:00
peterl%netscape.com
7219883a0a added default style for INS, DEL & DFN
git-svn-id: svn://10.0.0.236/trunk@14173 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:51:46 +00:00
peterl%netscape.com
bdb4c727fb turned bilnking off when the attribute goes away
git-svn-id: svn://10.0.0.236/trunk@14172 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:50:27 +00:00
peterl%netscape.com
908ed10a5a added min/max width/height
made table inheritance block be conditional on compatibility mode


git-svn-id: svn://10.0.0.236/trunk@14171 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:49:04 +00:00
peterl%netscape.com
9dc8a72ce9 added min/max width/height
git-svn-id: svn://10.0.0.236/trunk@14170 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 00:48:14 +00:00
joki%netscape.com
5c6e4978a4 Removing unneeded methods from nsIBrowserWindow interface.
git-svn-id: svn://10.0.0.236/trunk@14169 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 23:57:02 +00:00
shaver%netscape.com
2247f3b0ca init the device context -- we display a window now
git-svn-id: svn://10.0.0.236/trunk@14168 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 22:39:37 +00:00
mjudge%netscape.com
c313227a80 Adding sbr files if you want to browse your classes using .BSC file
git-svn-id: svn://10.0.0.236/trunk@14167 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 22:32:17 +00:00
jsun%netscape.com
c09283c3d1 adding more files
git-svn-id: svn://10.0.0.236/trunk@14166 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 22:27:06 +00:00
jsun%netscape.com
8325859f93 Adding source files to parser/core/ical/src.
git-svn-id: svn://10.0.0.236/trunk@14165 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 22:24:25 +00:00
jsun%netscape.com
92932a5bc5 Parser addition: adding public header files to core/ical/public.
git-svn-id: svn://10.0.0.236/trunk@14164 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 22:21:03 +00:00
buster%netscape.com
d2c0910241 various small fixes and clean up
git-svn-id: svn://10.0.0.236/trunk@14163 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 21:42:46 +00:00
troy%netscape.com
80f3b31cc4 Changed BODY frame to create a continuing block frame during Init() if
the body has a prev-in-flow


git-svn-id: svn://10.0.0.236/trunk@14162 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 21:41:12 +00:00
spider%netscape.com
6b3dd2fbf4 Expose OnPaint and HandleEvent for cases where a native widget is not
created for the toolbars


git-svn-id: svn://10.0.0.236/trunk@14160 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 21:03:04 +00:00
leaf%mozilla.org
1da0a122f1 updating unix build docs, adding the classic build instructions for when
the new mac/win instructions are added.


git-svn-id: svn://10.0.0.236/trunk@14159 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 20:55:43 +00:00
spider%netscape.com
5460ad7c65 Fix for multiple update commands being sent
git-svn-id: svn://10.0.0.236/trunk@14157 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 20:33:59 +00:00
jsun%netscape.com
6a5e17d8ae adding XPCOM wrapper to parser files.
Not being built yet


git-svn-id: svn://10.0.0.236/trunk@14156 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 20:26:53 +00:00
spider%netscape.com
9433ef1b24 Changed toolbar code to support wrapping in View system
git-svn-id: svn://10.0.0.236/trunk@14155 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:52:50 +00:00
kipp%netscape.com
ba1490b848 Temporary fix to get rid of the green text
git-svn-id: svn://10.0.0.236/trunk@14154 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:38:32 +00:00
kipp%netscape.com
d5112be2e6 Fixed a few more floater bugs; fixed incremental reflow bug with regards to BR tags (clear=all for example); support :first-line properly; work in progress on :first-letter
git-svn-id: svn://10.0.0.236/trunk@14153 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:33:01 +00:00
kipp%netscape.com
73f0843257 Make sure overflow lists get ReResolved too
git-svn-id: svn://10.0.0.236/trunk@14152 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:31:59 +00:00
kipp%netscape.com
a3ee06369b Added UpdateStyleContexts for support change-out of style contexts
git-svn-id: svn://10.0.0.236/trunk@14151 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:31:39 +00:00
kipp%netscape.com
57ec0437e6 Added code to repair the style-contexts when pushing/pulling frames for support of :first-line and :first-letter (and so on!)
git-svn-id: svn://10.0.0.236/trunk@14150 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:31:16 +00:00
kipp%netscape.com
0a19dd88ba Added GetAvailWidth
git-svn-id: svn://10.0.0.236/trunk@14149 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:30:45 +00:00
kipp%netscape.com
119559064d Added some first-letter support
git-svn-id: svn://10.0.0.236/trunk@14148 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:30:31 +00:00
kipp%netscape.com
040c3e3f0e Eliminated hacky version of :first-line support; lay some groundwork for :first-letter support
git-svn-id: svn://10.0.0.236/trunk@14147 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 19:27:42 +00:00
spider%netscape.com
6add2700e7 Fix to use search path for lesstif as per John Hicks suggestion. Environment
variable shared with mozilla codebase


git-svn-id: svn://10.0.0.236/trunk@14146 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 18:04:06 +00:00
pavlov%pavlov.net
9647c2ec68 cleanups for compile
git-svn-id: svn://10.0.0.236/trunk@14145 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 17:58:08 +00:00
terry%netscape.com
4e6eb8dd45 Added Calendar product.
git-svn-id: svn://10.0.0.236/trunk@14144 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 17:44:28 +00:00
pavlov%pavlov.net
5244715a7e fix a symbol problem which was causing the viewer not to be able to find some
symbols


git-svn-id: svn://10.0.0.236/trunk@14143 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 17:05:34 +00:00
pavlov%pavlov.net
1e524225fe Seperate this dummy file out so that it included things that were not all
motif so people without motif could compile gtk version.


git-svn-id: svn://10.0.0.236/trunk@14142 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 16:35:25 +00:00
pinkerton%netscape.com
0a2edd020d Fix build bustage. Add nsSimplePageSequence.cp
git-svn-id: svn://10.0.0.236/trunk@14141 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 16:25:52 +00:00
rods%netscape.com
17fc612292 Made the webshell have a 3D border
git-svn-id: svn://10.0.0.236/trunk@14140 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 14:15:50 +00:00
jband%netscape.com
8719b2fcc7 not part of mozilla build - merging from SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@14138 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 08:57:24 +00:00
jband%netscape.com
33de54eaeb not part of mozilla build - merging from SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@14137 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 08:47:44 +00:00
troy%netscape.com
e6a6c4d084 Make sure Linux links okay
git-svn-id: svn://10.0.0.236/trunk@14136 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:16:24 +00:00
troy%netscape.com
bc3d710f3f Changed frame construction code to create a simple page sequence frame
when paginated


git-svn-id: svn://10.0.0.236/trunk@14135 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:13:55 +00:00
troy%netscape.com
12070e6983 Updated to work with new frame construction code
git-svn-id: svn://10.0.0.236/trunk@14134 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:12:57 +00:00
joki%netscape.com
1adbedd6f9 Fixing missing '.h' on filename.
git-svn-id: svn://10.0.0.236/trunk@14133 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:50:20 +00:00
rpotts%netscape.com
6f2f42b217 fix bug #1112. Free the next stream listener as soon as OnStopBinding(...) is called...
git-svn-id: svn://10.0.0.236/trunk@14132 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:39:16 +00:00
rpotts%netscape.com
2b6176f9d8 fix bug #1112. For MODULAR_NETLIB never null out the fe_data field of the URL Struct...
git-svn-id: svn://10.0.0.236/trunk@14131 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:37:58 +00:00
rpotts%netscape.com
1d0fead886 fix bug #1112. Added support for multipart/x-mixed-replace content type
git-svn-id: svn://10.0.0.236/trunk@14130 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:37:02 +00:00
pavlov%pavlov.net
815a0d1a53 added gtk/nsWidgetFactory.cpp so that we are not dependant on the one in
Build.  Changed build/Makefile.in so that we do not compile
nsMotifWidgetFactory.cpp if we are using GTK as we have one in the GTK dir
now.
Add nsWidgetFactory.cpp to gtk/Makefile.in
Cleanup of nsWindow.cpp: removed lots of unused code and general cleanups and
fixes.
Don't create a toplevel window in nsAppShell.cpp as it isn't really needed.


git-svn-id: svn://10.0.0.236/trunk@14129 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 04:08:10 +00:00
spider%netscape.com
eaeddb7cbc Fix duplicate Adding of children into hierarchy during Window Creation.
This is done the first time in BaseCreate.


git-svn-id: svn://10.0.0.236/trunk@14128 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 03:26:41 +00:00
michaelp%netscape.com
5054c76987 fixed release mode build issue.
git-svn-id: svn://10.0.0.236/trunk@14127 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 03:25:02 +00:00
michaelp%netscape.com
aaa877b47c fixes bug on (at minimum) hometonw.aol.com due to delete object being used.
git-svn-id: svn://10.0.0.236/trunk@14126 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 03:15:51 +00:00
racham%netscape.com
c6620f1885 BUG 333146 : Adding fix to allow leave server fix on existing path
git-svn-id: svn://10.0.0.236/trunk@14123 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 03:14:03 +00:00
spider%netscape.com
d0ab03d4a3 Fix linux bustage
git-svn-id: svn://10.0.0.236/trunk@14122 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 02:15:53 +00:00
mang%netscape.com
a11bd9820c Fixed possible infinite loop in dependency.
git-svn-id: svn://10.0.0.236/trunk@14121 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 02:13:43 +00:00
mccabe%netscape.com
e35fa87f00 Not part of the client build. Propagate perlconnect work from development branch.
git-svn-id: svn://10.0.0.236/trunk@14120 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 01:53:57 +00:00
cls%seawood.org
0e79006260 Always remember to match the ()s
git-svn-id: svn://10.0.0.236/trunk@14119 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 00:21:56 +00:00
mccabe%netscape.com
a02a1efd96 Stable drop of JavaScript interpreter code from SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@14116 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 00:08:43 +00:00
troy%netscape.com
a76e7f64d4 Added simple page sequence formatting object
git-svn-id: svn://10.0.0.236/trunk@14113 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 23:21:50 +00:00
cls%seawood.org
242018f1b0 Updated
git-svn-id: svn://10.0.0.236/trunk@14112 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 23:13:55 +00:00
janc%netscape.com
e1fb42ecd9 New CSS parser test
git-svn-id: svn://10.0.0.236/trunk@14111 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 23:08:16 +00:00
fur%netscape.com
fbaca6a474 Finished -commit option
git-svn-id: svn://10.0.0.236/trunk@14110 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 23:02:28 +00:00
cls%seawood.org
d3dee2a1cd Fixed problems with toolkits cflags not being used
git-svn-id: svn://10.0.0.236/trunk@14109 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 22:44:50 +00:00
dcone%netscape.com
e4d6b73897 updated inverse colormap code, now blend works at 4 bit resolution
git-svn-id: svn://10.0.0.236/trunk@14108 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 22:38:37 +00:00
mjudge%netscape.com
e67ea67176 Editor Structure taking hold. mjudge
git-svn-id: svn://10.0.0.236/trunk@14107 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 22:04:22 +00:00
fur%netscape.com
2ee3f26756 Script utility for checking in the JS branch
git-svn-id: svn://10.0.0.236/trunk@14106 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 22:02:26 +00:00
kmcclusk%netscape.com
2f69c04ca1 Added comments + css style for find dialog
git-svn-id: svn://10.0.0.236/trunk@14105 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:52:49 +00:00
rods%netscape.com
f3596d389e Made changes for GetBounds to GetClientBounds conversion
git-svn-id: svn://10.0.0.236/trunk@14104 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:46:00 +00:00
rods%netscape.com
eb644191a7 Made GetBounds and GetClientBounds changes
Added window width and height fields nsSizeEvent


git-svn-id: svn://10.0.0.236/trunk@14103 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:43:47 +00:00
rods%netscape.com
b8f65f898c Made change for GetBounds to GetClientBounds conversion
git-svn-id: svn://10.0.0.236/trunk@14102 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:41:26 +00:00
rods%netscape.com
dae6ba15ff Added Getbounds and GetBorderSize (these need to be removed when
nsWindow is derived from nsBaseWidget)


git-svn-id: svn://10.0.0.236/trunk@14101 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:02:42 +00:00
troy%netscape.com
9c9fd15257 Removed code for RootContentFrame class which is no longer used
git-svn-id: svn://10.0.0.236/trunk@14100 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 21:02:32 +00:00
kmcclusk%netscape.com
1975d14459 Changed to use nsIDOMHTMLDocument to find an element with a particular id instead
of walking the content tree. Removed FindDomElement and SearchTree methods since they
are redundant with the nsIDOMHTMLDocument GetElementById


git-svn-id: svn://10.0.0.236/trunk@14099 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 20:17:56 +00:00
mang%netscape.com
7a3a4637e0 Added fdlibm math library for JS 1.4
git-svn-id: svn://10.0.0.236/trunk@14098 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 20:11:45 +00:00
buster%netscape.com
d2ee90c6f6 removed some inefficiencies in finding the parent table frame.
Now the parent table frame is cached in the reflow state.


git-svn-id: svn://10.0.0.236/trunk@14097 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 20:09:19 +00:00
buster%netscape.com
869710ea81 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification
git-svn-id: svn://10.0.0.236/trunk@14096 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:34:34 +00:00
buster%netscape.com
cbe75d082c in default 2-pass layout, tables with auto width and with all columns coord width now act like auto width tables,
not like specified width (which you might logically expect since all column widths are specified, but sadly that's
not the way Nav or IE interprets this case. )
nsTableFrame's use of IsPseudoFrame has been removed.


git-svn-id: svn://10.0.0.236/trunk@14095 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:33:27 +00:00
buster%netscape.com
45096aedf8 nsHTMLReflowCommand now has mAttribute, the attribute that triggered StyleChanged reflow
for reflow commands of type other than StyleChanged, mAttribute is nsnull.


git-svn-id: svn://10.0.0.236/trunk@14094 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:26:25 +00:00
michaelp%netscape.com
b334610eb4 xpcom'ed blender.
git-svn-id: svn://10.0.0.236/trunk@14092 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:03:37 +00:00
cyeh%netscape.com
19df6bd097 checking in conflicts to fix
git-svn-id: svn://10.0.0.236/trunk@14088 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 18:50:31 +00:00
cyeh%netscape.com
382fa764f3 checkin files with conflicts to fix
git-svn-id: svn://10.0.0.236/trunk@14087 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 18:50:06 +00:00
valeski%netscape.com
90665d4586 fix for bugzilla 1219
git-svn-id: svn://10.0.0.236/trunk@14085 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 18:37:10 +00:00
ramiro%netscape.com
4d8a1b7ce4 Patch from fraioli@dg-rtp.dg.com (Marc J. Fraioli) to unbreak DGUX.
git-svn-id: svn://10.0.0.236/trunk@14084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 17:54:14 +00:00
ramiro%netscape.com
7c95f4e280 Add missing ac makefile. Fixes broken ac build.
git-svn-id: svn://10.0.0.236/trunk@14083 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 17:47:23 +00:00
dcone%netscape.com
6b177d62cb have a new interface for the blends init
git-svn-id: svn://10.0.0.236/trunk@14082 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 17:34:19 +00:00
despotdaemon%netscape.com
5212d164bb Pseudo-automatic update of changes made by andrew@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@14081 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 16:42:23 +00:00
dcone%netscape.com
536a210148 updated the blending, fixed 8 bit blending, and fixed a leak in the blender
git-svn-id: svn://10.0.0.236/trunk@14080 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 16:02:50 +00:00
ramiro%netscape.com
2a07783ae3 Add autoconf makefiles.
git-svn-id: svn://10.0.0.236/trunk@14079 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 15:14:18 +00:00
ramiro%netscape.com
deb6b70b30 Remove duplicate lib.
git-svn-id: svn://10.0.0.236/trunk@14078 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 15:04:22 +00:00
ramiro%netscape.com
2149baa1b7 Make it 'work' on unix.
git-svn-id: svn://10.0.0.236/trunk@14077 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 13:41:54 +00:00
ramiro%netscape.com
cfc9d86f06 Use the right toolkit dlls on unix.
git-svn-id: svn://10.0.0.236/trunk@14076 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 13:38:16 +00:00
ramiro%netscape.com
713b176c77 oops. Should use PR_GetEnv() instead of getenv().
git-svn-id: svn://10.0.0.236/trunk@14075 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 13:34:36 +00:00
ramiro%netscape.com
5d5567ee0b Use filter instead of ifdef hacks.
git-svn-id: svn://10.0.0.236/trunk@14074 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 11:47:21 +00:00
ramiro%netscape.com
928e03821e XP_UNIX only. Unhardcode the resource: url base path. It used to be the
working directory (pwd) which is not very useful.  Use MOZILLA_HOME instead.


git-svn-id: svn://10.0.0.236/trunk@14073 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 10:31:32 +00:00
rpotts%netscape.com
8e0bea5308 Added a skidmark when a content viewer cannot be found for a given content-type...
git-svn-id: svn://10.0.0.236/trunk@14072 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 08:49:05 +00:00
rpotts%netscape.com
a15efa757c Moved the clipboard methods from nsIWebShell into a new interface called nsIClipboardCommands...
git-svn-id: svn://10.0.0.236/trunk@14071 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 08:48:22 +00:00
rpotts%netscape.com
b0cb022865 Added new public interface nsIClipboardCommands.h
git-svn-id: svn://10.0.0.236/trunk@14070 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 08:46:48 +00:00
pierre%netscape.com
4db27e1c5c Replaced with the previous contents of nsTextWidget.
nsTextWidget is 1-line field and can be done with TextEdit or the Appearance Manager instead of WASTE, while nsTextArea should use WASTE.


git-svn-id: svn://10.0.0.236/trunk@14069 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 07:32:33 +00:00
pierre%netscape.com
74d4f4944e oops...backed out previous changes and removed GetWindowPtr() because it's not used anywhere and it was a bad idea anyway: an object should either inherit from nsWindow and can access mWindowPtr, or should call GetNativeData().
git-svn-id: svn://10.0.0.236/trunk@14068 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 07:08:05 +00:00
pierre%netscape.com
7f91320a9f Added StartDraw() and EndDraw() + other fixes in Destroy()
git-svn-id: svn://10.0.0.236/trunk@14067 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 07:02:26 +00:00
pierre%netscape.com
101f6c6d04 Added StartDraw() and EndDraw()
git-svn-id: svn://10.0.0.236/trunk@14066 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 07:01:36 +00:00
pierre%netscape.com
4469613c6c re-enabled TextArea and FileWidget
git-svn-id: svn://10.0.0.236/trunk@14065 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 07:01:00 +00:00
pierre%netscape.com
52d4b0ef55 fixed the Focus event
git-svn-id: svn://10.0.0.236/trunk@14064 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 07:00:24 +00:00
pierre%netscape.com
f1cbc7a59f use the appearance manager to implement that 1-line pwd-capable edit field
git-svn-id: svn://10.0.0.236/trunk@14063 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:59:20 +00:00
pierre%netscape.com
6476689c2a added a #error before we obsolete that file
git-svn-id: svn://10.0.0.236/trunk@14062 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:58:22 +00:00
pierre%netscape.com
1879f2dad1 removed OnResize()
commented out the SetOrigin() etc...


git-svn-id: svn://10.0.0.236/trunk@14061 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:57:28 +00:00
pierre%netscape.com
3308c1a24a removed OnResize()
git-svn-id: svn://10.0.0.236/trunk@14060 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:56:20 +00:00
pierre%netscape.com
2f1162ac13 save and restore the colors in CopyOffScreenBits()
git-svn-id: svn://10.0.0.236/trunk@14059 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:55:50 +00:00
pierre%netscape.com
b29fa59c9e added GetWindowPtr()
git-svn-id: svn://10.0.0.236/trunk@14058 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:54:41 +00:00
pierre%netscape.com
7156617070 added DoIdle(), fixed some SetPort() problems
git-svn-id: svn://10.0.0.236/trunk@14057 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:54:16 +00:00
pierre%netscape.com
dbcff154a0 added DoIdle()
git-svn-id: svn://10.0.0.236/trunk@14056 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:53:57 +00:00
pierre%netscape.com
4ce01434b7 Use GetFontHandle() to return the fontNum because we don't have font handles on Mac
git-svn-id: svn://10.0.0.236/trunk@14055 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:51:20 +00:00
pierre%netscape.com
dd5d0a0c69 some cleanup
git-svn-id: svn://10.0.0.236/trunk@14054 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:49:50 +00:00
pierre%netscape.com
6b3655097e Cache data to improve performance in GetMacFontNumber()
git-svn-id: svn://10.0.0.236/trunk@14053 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:49:14 +00:00
pierre%netscape.com
f6b4569d23 fixed the 3 instances of Compare() to work with empty strings
git-svn-id: svn://10.0.0.236/trunk@14052 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:48:11 +00:00
pierre%netscape.com
7ee2406a60 return 0 (ie. "strings are equal") instead of 1 when the 'n' of strncmp() and strncasecmp() is 0
git-svn-id: svn://10.0.0.236/trunk@14051 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:46:33 +00:00
pierre%netscape.com
9ea292f821 Replaced mButtonSet with mValue
git-svn-id: svn://10.0.0.236/trunk@14050 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:43:35 +00:00
pierre%netscape.com
0ad35718e6 Added mValue.
Improved redraw by caching data.


git-svn-id: svn://10.0.0.236/trunk@14049 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:42:26 +00:00
pierre%netscape.com
cf081db165 SetLabel() redraws immediately
git-svn-id: svn://10.0.0.236/trunk@14048 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:38:09 +00:00
pierre%netscape.com
a5c4d7dadc changed a 'delete' to 'delete []'
git-svn-id: svn://10.0.0.236/trunk@14047 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:37:28 +00:00
pierre%netscape.com
ff4eb30e75 minor changes: defined a constant
git-svn-id: svn://10.0.0.236/trunk@14046 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:36:48 +00:00
pierre%netscape.com
eecde8e1b4 added nsTextAreaWidget
git-svn-id: svn://10.0.0.236/trunk@14045 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:35:13 +00:00
pierre%netscape.com
7265fa57bd enabled debug info in standalone target
git-svn-id: svn://10.0.0.236/trunk@14044 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:34:46 +00:00
pierre%netscape.com
c73df6a348 enabled debug info in standalone target (closed tree override: raptor build only)
git-svn-id: svn://10.0.0.236/trunk@14043 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:34:34 +00:00
shaver%netscape.com
0144faa442 use MOZ_TOOLKIT, not hardcoded-motif, for include path stuff
git-svn-id: svn://10.0.0.236/trunk@14042 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:10:20 +00:00
cls%seawood.org
1f6040d392 Another fix for parallel builds and checked in generated files.
git-svn-id: svn://10.0.0.236/trunk@14041 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 05:36:35 +00:00
troy%netscape.com
01c1aa106c Added some temporary code to GetContainingBlock() to make sure we return
a frame that supports the nsIAbsoluteItems interface


git-svn-id: svn://10.0.0.236/trunk@14040 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 05:35:33 +00:00
cls%seawood.org
fa224fd2ef Added xpfe Makefiles
git-svn-id: svn://10.0.0.236/trunk@14039 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 05:35:00 +00:00
racham%netscape.com
d2f3506c5b BUG 333146 : Added new flag to allow users to control leave_on_server value
git-svn-id: svn://10.0.0.236/trunk@14038 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 05:26:39 +00:00
racham%netscape.com
2d31e54c33 BUG 333146 : set the mail.leave_on_server based on ACCTSET.INI flag
git-svn-id: svn://10.0.0.236/trunk@14037 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 05:22:16 +00:00
michaelp%netscape.com
43acfe6cc5 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.


git-svn-id: svn://10.0.0.236/trunk@14036 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 04:14:10 +00:00
pierre%netscape.com
8f341809c7 Backed out previous changes.
git-svn-id: svn://10.0.0.236/trunk@14035 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 03:59:18 +00:00
scullin%netscape.com
c1a5d8d3b3 Add current directory to path so pref dlls and nspr are looked for in
the dll directory, not the application directory.


git-svn-id: svn://10.0.0.236/trunk@14034 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 03:04:10 +00:00
scullin%netscape.com
be7e32c82b Fix to load from dll dir, not program dir.
git-svn-id: svn://10.0.0.236/trunk@14033 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 02:43:44 +00:00
harrison%netscape.com
0bb7b2cbd4 added a debug command to show when external content was last
updated (slashdot, mozillazine)


git-svn-id: svn://10.0.0.236/trunk@14028 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 01:19:08 +00:00
cls%seawood.org
24405b2309 Added xpfe to pull_autoconf target
git-svn-id: svn://10.0.0.236/trunk@14027 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:41:07 +00:00
leaf%mozilla.org
7a522664a1 the config directory shouldn't be needed for pulling, so i made the
includes that use config optional by prepending '-'


git-svn-id: svn://10.0.0.236/trunk@14026 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:35:59 +00:00
akkana%netscape.com
5606d9ffe7 Shift libraries around to make it link on IRIX
git-svn-id: svn://10.0.0.236/trunk@14025 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:31:57 +00:00
kipp%netscape.com
a870fdb2bf Brought -md back to life
git-svn-id: svn://10.0.0.236/trunk@14024 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:29:58 +00:00
kipp%netscape.com
23fc9f0716 Added an assertion
git-svn-id: svn://10.0.0.236/trunk@14023 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:29:39 +00:00
kipp%netscape.com
eee480656d Removed my style-changed work-around from last time (because it breaks incremental reflow badly); revised QueryInterface to use the revised way of casting
git-svn-id: svn://10.0.0.236/trunk@14022 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:29:17 +00:00
shaver%netscape.com
eb4e58c625 need to reorder libs to make it link correctly
git-svn-id: svn://10.0.0.236/trunk@14021 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:26:44 +00:00
terry%netscape.com
7084adda2f Added the maintainer's email address.
git-svn-id: svn://10.0.0.236/trunk@14020 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 23:55:25 +00:00
shaver%netscape.com
4fc0cd66b9 Repair Makefile.in and update to let it link again for testing GTK widgets.
git-svn-id: svn://10.0.0.236/trunk@14016 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 22:57:36 +00:00
despotdaemon%netscape.com
c847582208 Pseudo-automatic update of changes made by waqar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14014 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 21:36:11 +00:00
despotdaemon%netscape.com
8aa9a429e2 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@14013 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 21:31:08 +00:00
peterl%netscape.com
3dd636321e made parent context no longer be optional on re-resolve style context method
git-svn-id: svn://10.0.0.236/trunk@14012 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 21:29:14 +00:00
beard%netscape.com
a792550eaf Trying to fix IRIX bustage, #include "jvmmgr.h" first to get "xp_core.h" first. (Don't ask. Bool problems.)
git-svn-id: svn://10.0.0.236/trunk@14010 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:53:39 +00:00
peterl%netscape.com
93d3fcc553 sync to style resolution api changes
git-svn-id: svn://10.0.0.236/trunk@14009 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:33:43 +00:00
peterl%netscape.com
b574a339c4 sync to style resolution api changes
moved style context re-resolving to frame land


git-svn-id: svn://10.0.0.236/trunk@14008 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:33:23 +00:00
peterl%netscape.com
26593bba3e changed inheritance of colors
hacked inheritance of vert align for now


git-svn-id: svn://10.0.0.236/trunk@14007 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:31:21 +00:00
peterl%netscape.com
bb6dae00b4 added inherit rules for table child elements
git-svn-id: svn://10.0.0.236/trunk@14006 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:25:23 +00:00
peterl%netscape.com
536bb5fb69 sync to style resolution api changes
added reresolve support


git-svn-id: svn://10.0.0.236/trunk@14005 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:23:15 +00:00
peterl%netscape.com
5b7224a0ba decoupled style context resolution from frames
git-svn-id: svn://10.0.0.236/trunk@14004 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:20:07 +00:00
peterl%netscape.com
2565f0ea42 removed context hashtable code
decoupled style context resolution from frames


git-svn-id: svn://10.0.0.236/trunk@14003 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:19:28 +00:00
peterl%netscape.com
978f92d1cb added pseudo tag support
removed backstop rule count
removed reparent


git-svn-id: svn://10.0.0.236/trunk@14002 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:18:40 +00:00
peterl%netscape.com
57fb94abb2 decoupled style resolution api from frame system
git-svn-id: svn://10.0.0.236/trunk@14001 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:16:23 +00:00
peterl%netscape.com
9e150141dc added pseudo element tag
git-svn-id: svn://10.0.0.236/trunk@14000 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:15:59 +00:00
peterl%netscape.com
43f1a57a68 removed pres context from get style context api
added re-resolve style method


git-svn-id: svn://10.0.0.236/trunk@13999 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:15:24 +00:00
peterl%netscape.com
4a625adf16 made enumeration methods const
added append via array method


git-svn-id: svn://10.0.0.236/trunk@13998 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:14:08 +00:00
cls%seawood.org
e2980a544f Fixed TOOLKIT_CFLAGS bug. Thanks to Mike Shaver <shaver@netscape.com> for pointing this out
git-svn-id: svn://10.0.0.236/trunk@13997 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 19:30:50 +00:00
sman%netscape.com
998ecccd77 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@13996 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 19:10:09 +00:00
rods%netscape.com
03d573ae07 Added nsXPBaseWindowType for creating either a Window or Dialog
git-svn-id: svn://10.0.0.236/trunk@13995 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 17:18:49 +00:00
sman%netscape.com
3995187622 Start of commands for mini cal
git-svn-id: svn://10.0.0.236/trunk@13994 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 16:26:42 +00:00
rods%netscape.com
09e945fd66 Added configurablility of nsXPBaseWindow
git-svn-id: svn://10.0.0.236/trunk@13993 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 16:19:56 +00:00
cls%seawood.org
05a1c42505 Removed hardcoded 'gtk-config'
git-svn-id: svn://10.0.0.236/trunk@13992 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 16:16:37 +00:00
cls%seawood.org
dbfcbd98f5 Removed classic build Makefiles from configure.in
Changed --enable-fe to --enable-toolkit which takes a single argument.
Changed MOZ_FE to MOZ_TOOLKIT.
Removed USE_NGLAYOUT and USE_NGLAYOUT_GTK.
Removed FULL_STATIC_BUILD and --enable-min-shared.
Removed checks for gnome and qt.


git-svn-id: svn://10.0.0.236/trunk@13990 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 15:48:45 +00:00
rods%netscape.com
badd14779a Changed the names of some of the ids
git-svn-id: svn://10.0.0.236/trunk@13989 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 15:41:09 +00:00
rods%netscape.com
be17f0bd8d Formatted some of the code because of tab problems
git-svn-id: svn://10.0.0.236/trunk@13988 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 15:40:38 +00:00
rods%netscape.com
d926919cb7 Added event processing for the size event.
git-svn-id: svn://10.0.0.236/trunk@13987 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 15:38:52 +00:00
rods%netscape.com
097912ea50 Added event process for the radiobuttons and check box.
git-svn-id: svn://10.0.0.236/trunk@13986 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 15:37:22 +00:00
rods%netscape.com
0824b3c722 Fixed toolbars so the border can be painted in 3 modes. All, partial or none.
git-svn-id: svn://10.0.0.236/trunk@13985 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 14:52:27 +00:00
rpotts%netscape.com
ef2de12e76 Removed the definition of the nsIDocumentLoadInfo IID
git-svn-id: svn://10.0.0.236/trunk@13977 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 10:11:33 +00:00
rpotts%netscape.com
aa18bd41b1 Removed the exporting of the obsolete nsIDocumentLoadInfo interface...
git-svn-id: svn://10.0.0.236/trunk@13976 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 10:11:01 +00:00
rpotts%netscape.com
acf0119e9e Removed the implementation of the nsIDocumentLoadInfo interface. This is an obsolete interface.
git-svn-id: svn://10.0.0.236/trunk@13975 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 10:09:42 +00:00
rpotts%netscape.com
3688797c1c removed unused interface include...
git-svn-id: svn://10.0.0.236/trunk@13974 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 10:08:31 +00:00
mcafee%netscape.com
9f88be8d5b /usr/dt and /usr/openwin don't exist on Irix
git-svn-id: svn://10.0.0.236/trunk@13972 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 09:27:37 +00:00
mcafee%netscape.com
19394cf881 minor cleanup
git-svn-id: svn://10.0.0.236/trunk@13971 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 09:20:54 +00:00
mcafee%netscape.com
b42f4a67f9 borrowed toolkit abstraction from webshell/tests/viewer/Makefile
git-svn-id: svn://10.0.0.236/trunk@13970 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 09:08:06 +00:00
mcafee%netscape.com
1c9f6bdf36 Removing bogus OBJS rule
git-svn-id: svn://10.0.0.236/trunk@13969 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:58:05 +00:00
rpotts%netscape.com
c759a83640 removed the export for kINetSupportIID
git-svn-id: svn://10.0.0.236/trunk@13968 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:31:21 +00:00
mcafee%netscape.com
95940ed7dd minor, cleaning up this file
git-svn-id: svn://10.0.0.236/trunk@13967 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:25:27 +00:00
rpotts%netscape.com
3177780a05 Fixed the implementation of nsINetSupport. Before it was totally busted since it assumed that nsString could return a const char *buffer (which it cant). This error was masked because the (assumed) coersion was supposed to occur in a var-args (of course it wouldnt - but thats another story)
git-svn-id: svn://10.0.0.236/trunk@13966 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:07:24 +00:00
rpotts%netscape.com
cc1becb059 Added some comments...
git-svn-id: svn://10.0.0.236/trunk@13965 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:04:34 +00:00
rpotts%netscape.com
3e23be2a65 Added an NS_DEFINE_IID for nsINetSupport (in comments) just as a reminder...
git-svn-id: svn://10.0.0.236/trunk@13964 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:04:03 +00:00
rpotts%netscape.com
a616b0c737 Added support of the nsInetsupport interface. The implementation simply calls out through the observer (if it supports nsInetSupport)
git-svn-id: svn://10.0.0.236/trunk@13963 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:03:22 +00:00
rpotts%netscape.com
51248e7bd6 Removed the implementation of nsINetSupport...
git-svn-id: svn://10.0.0.236/trunk@13962 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:02:33 +00:00
rpotts%netscape.com
1003354989 Changed the IID to not use NS_DECLARE_ID...
git-svn-id: svn://10.0.0.236/trunk@13961 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:01:51 +00:00
rpotts%netscape.com
6ef933f1dd Moved the implementation of the nsINetSupport interface from the nsdocumentBindInfo over to the URL container...
git-svn-id: svn://10.0.0.236/trunk@13960 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:01:29 +00:00
mcafee%netscape.com
0532abd596 Added more libraries to the link line, again
git-svn-id: svn://10.0.0.236/trunk@13959 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 08:00:53 +00:00
mcafee%netscape.com
8a0510d517 Added more libraries to the link line
git-svn-id: svn://10.0.0.236/trunk@13958 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 07:56:28 +00:00
mcafee%netscape.com
3ca1f0e330 Added nsBrowserMain.cpp, nsBrowserWindow.cpp; added libraries to link line
git-svn-id: svn://10.0.0.236/trunk@13957 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 07:19:58 +00:00
cls%seawood.org
9a3681b17c Added removecheckedinkludge as dependency of generate to insure that checked in generated files are removed.
git-svn-id: svn://10.0.0.236/trunk@13956 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 07:01:39 +00:00
michaelp%netscape.com
fd21a37d46 changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.


git-svn-id: svn://10.0.0.236/trunk@13955 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 06:36:36 +00:00
mcafee%netscape.com
4b813fe58a Adding Makefile for new public directory
git-svn-id: svn://10.0.0.236/trunk@13954 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 06:15:49 +00:00
mcafee%netscape.com
2e1de58db6 Adding public directory
git-svn-id: svn://10.0.0.236/trunk@13953 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 06:14:37 +00:00
leaf%mozilla.org
ad1b4d1f0f replaced MOZ_SRC with DEPTH/..
git-svn-id: svn://10.0.0.236/trunk@13951 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 05:55:18 +00:00
sudu%netscape.com
34d1dbb943 Moved result declaration outside the if statement to fix irix build
git-svn-id: svn://10.0.0.236/trunk@13949 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 02:34:50 +00:00
michaelp%netscape.com
d8f18ce4e4 fixed bug where changing view opacity or transparency would not trigger
a refresh.


git-svn-id: svn://10.0.0.236/trunk@13948 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 01:49:30 +00:00
kipp%netscape.com
f797cb3825 Whompage to remove unused extra arg to the NS_IMPL_*_ATTR macros
git-svn-id: svn://10.0.0.236/trunk@13946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 01:08:02 +00:00
rickg%netscape.com
f7496502f8 small parser improvements to handle bad quotes better
git-svn-id: svn://10.0.0.236/trunk@13945 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 00:55:33 +00:00
spider%netscape.com
df1afa8f63 Fix Linux link bustage
git-svn-id: svn://10.0.0.236/trunk@13944 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 00:42:01 +00:00
sudu%netscape.com
3f1787b5b9 Changes to support liveconnect security using ProxyJNI
git-svn-id: svn://10.0.0.236/trunk@13943 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 00:21:47 +00:00
beard%netscape.com
a203142a37 Updated to use security context.
git-svn-id: svn://10.0.0.236/trunk@13942 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 00:14:49 +00:00
beard%netscape.com
bf3698e38e Changed a comment.
git-svn-id: svn://10.0.0.236/trunk@13941 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 00:13:38 +00:00
beard%netscape.com
ad0bb844fb Changes to support liveconnect security using ProxyJNI
git-svn-id: svn://10.0.0.236/trunk@13940 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 00:06:12 +00:00
troy%netscape.com
b0645e2d20 Added some temporary code to ensure that the floated frame is deleted
git-svn-id: svn://10.0.0.236/trunk@13939 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:57:25 +00:00
pinkerton%netscape.com
b5d3b442c6 add xpfeViewer.mcp to build list so that it shows up on tinderbox if broken.
git-svn-id: svn://10.0.0.236/trunk@13938 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:52:49 +00:00
spider%netscape.com
ba2c2ed5c3 Fix unix bustage
git-svn-id: svn://10.0.0.236/trunk@13937 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:40:14 +00:00
beard%netscape.com
c85dbb793f Added nsCSecurityContext.cpp.
git-svn-id: svn://10.0.0.236/trunk@13936 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:31:23 +00:00
pinkerton%netscape.com
575cafe33c Build aliases in the resource folder a better way.
git-svn-id: svn://10.0.0.236/trunk@13935 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:22:26 +00:00
sudu%netscape.com
38eaee9d7f Changes to support liveconnect security using ProxyJNI
git-svn-id: svn://10.0.0.236/trunk@13933 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:11:38 +00:00
sudu%netscape.com
618048aeca Added a new api to support liveconnect security
git-svn-id: svn://10.0.0.236/trunk@13932 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:08:06 +00:00
joki%netscape.com
4c59734a0a Adding submit event type
git-svn-id: svn://10.0.0.236/trunk@13931 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:05:46 +00:00
gagan%netscape.com
a7cf25c760 Replaced obsoleted macro usage.
git-svn-id: svn://10.0.0.236/trunk@13930 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:01:45 +00:00
gagan%netscape.com
58fb3b03d9 NuCache changes.
git-svn-id: svn://10.0.0.236/trunk@13929 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 23:01:00 +00:00
cyeh%netscape.com
54f5b97a00 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@13928 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:56:00 +00:00
msw%gimp.org
93857c0f50 a bit more error checking..
git-svn-id: svn://10.0.0.236/trunk@13927 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:46:26 +00:00
cyeh%netscape.com
0f78181c4a remove dependency on perl to rotate the build number. this target should
have only been defined if MOZILLA_OFFICIAL was set, but it didn't work
right at all.

i've commented out the offending lines for now, until it is determined how we go
about rolling version numbers in the new world.


git-svn-id: svn://10.0.0.236/trunk@13926 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:45:09 +00:00
jfrancis%netscape.com
696ff1d673 Fixing use of uninitialized var in nsRenderingContextMac :: CopyOffScreenBits()
git-svn-id: svn://10.0.0.236/trunk@13925 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:42:15 +00:00
michaelp%netscape.com
d3752ac63b fixed leak of shared offscreen drawing surface.
git-svn-id: svn://10.0.0.236/trunk@13924 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:35:55 +00:00
spider%netscape.com
397d1112c0 Changing nsVector* to nsArray* to not conflict with XPCOM nsVector in new build
naming scheme


git-svn-id: svn://10.0.0.236/trunk@13923 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:32:15 +00:00
pavlov%pavlov.net
d718c75e36 apply patches from Frank Visser <fvisser@hgmp.mrc.ac.uk>
git-svn-id: svn://10.0.0.236/trunk@13922 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:29:22 +00:00
rods%netscape.com
87be6c6bbb Added extra parameter for Init of WenShell
git-svn-id: svn://10.0.0.236/trunk@13921 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:20:51 +00:00
buster%netscape.com
fe5f58e6b1 tables were not properly respecting maxElementSize in cells with colspan. now they do.
git-svn-id: svn://10.0.0.236/trunk@13920 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:19:17 +00:00
rods%netscape.com
afb0729ff5 Added an extra parameter to the Init to tell it whether it should have a sunken border
git-svn-id: svn://10.0.0.236/trunk@13919 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:19:08 +00:00
cyeh%netscape.com
b682893960 make this script so it just builds. it assumes you have a source tree.
git-svn-id: svn://10.0.0.236/trunk@13918 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:11:29 +00:00
pinkerton%netscape.com
03918ae6a0 using XP_PC to wrap win32 code.
git-svn-id: svn://10.0.0.236/trunk@13917 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:00:47 +00:00
rods%netscape.com
2ca263121e Added eBorderStyle_none to zero out the extended border style
git-svn-id: svn://10.0.0.236/trunk@13916 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 21:55:21 +00:00
spider%netscape.com
619de9735c Fix unix bustage
git-svn-id: svn://10.0.0.236/trunk@13915 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 21:42:33 +00:00
spider%netscape.com
93b0afe1e6 Fix windows build bustage
git-svn-id: svn://10.0.0.236/trunk@13914 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 21:39:13 +00:00
ramiro%netscape.com
801b4353bb OOPS...the post link command needs to be true or else the binary gets run.
git-svn-id: svn://10.0.0.236/trunk@13913 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 21:36:31 +00:00
spider%netscape.com
c49c3453db Fix unix bustage
git-svn-id: svn://10.0.0.236/trunk@13912 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 21:32:07 +00:00
joki%netscape.com
d2800a7dca Remove extra comma from end of nsDOMEvent enum
git-svn-id: svn://10.0.0.236/trunk@13911 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 21:21:19 +00:00
spider%netscape.com
990634558a Some testing enhancements and fixes
git-svn-id: svn://10.0.0.236/trunk@13910 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 20:45:10 +00:00
pinkerton%netscape.com
e1c7dc7d45 wrapping win32 code in !defined(XP_MAC) since Win nglayout doesn't define XP_WIN.
git-svn-id: svn://10.0.0.236/trunk@13909 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 20:37:01 +00:00
akkana%netscape.com
4f6b1eff1e Changes over the weekend broke the IRIX build by removing the LD_ALL
and LD_NONE directives which enable the linker to combine dynamic
and static objects.
This puts them back.


git-svn-id: svn://10.0.0.236/trunk@13908 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 20:19:30 +00:00
terry%netscape.com
853b441ba7 Cope a little better when there is no ldap server.
git-svn-id: svn://10.0.0.236/trunk@13907 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:48:24 +00:00
spider%netscape.com
a85fcf53ab fix unix bustage
git-svn-id: svn://10.0.0.236/trunk@13906 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:41:29 +00:00
spider%netscape.com
5069231a7a Build MIME stuff again. Unfortunately, the smtp.h in mozilla/include
conflicts with that in msgsdk, so need to make sure mozilla/include
is not in the path here


git-svn-id: svn://10.0.0.236/trunk@13905 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:38:56 +00:00
spider%netscape.com
64a6aa6855 fix unix bustage
git-svn-id: svn://10.0.0.236/trunk@13904 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:33:00 +00:00
spider%netscape.com
00d1f7c1ed Fix unix bustage
git-svn-id: svn://10.0.0.236/trunk@13903 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:32:20 +00:00
spider%netscape.com
fad5a4613b Fix unix bustage
git-svn-id: svn://10.0.0.236/trunk@13902 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:26:56 +00:00
rods%netscape.com
e826647f5a A few more visual corrections (toolbars and the 3d border)
git-svn-id: svn://10.0.0.236/trunk@13901 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:23:49 +00:00
spider%netscape.com
81f553ec98 Fix msgsdk build problem
git-svn-id: svn://10.0.0.236/trunk@13900 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:14:40 +00:00
rods%netscape.com
7e9fb1460b Added 3D child window configurablility
git-svn-id: svn://10.0.0.236/trunk@13899 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:13:05 +00:00
rods%netscape.com
6509224cb1 Added FindNext
git-svn-id: svn://10.0.0.236/trunk@13898 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:11:43 +00:00
pinkerton%netscape.com
3429485e0c check for null parent.
git-svn-id: svn://10.0.0.236/trunk@13897 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:06:49 +00:00
spider%netscape.com
21ed55f697 Add dist/include to path
git-svn-id: svn://10.0.0.236/trunk@13896 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:04:27 +00:00
pinkerton%netscape.com
367db8d903 wrapping winfe-specific code with ifdefs so mac will compile.
git-svn-id: svn://10.0.0.236/trunk@13895 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:01:46 +00:00
pinkerton%netscape.com
0944b9df83 temp hack so mac doesn't crash
git-svn-id: svn://10.0.0.236/trunk@13894 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 19:01:24 +00:00
pinkerton%netscape.com
4d8bb40766 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@13893 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 18:58:24 +00:00
terry%netscape.com
c7f2668539 Was crashing if we had more than 20 people on the list and we couldn't
contact the LDAP server.


git-svn-id: svn://10.0.0.236/trunk@13892 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 18:56:33 +00:00
spider%netscape.com
d86add2381 Fix problem reported by John Hicks
git-svn-id: svn://10.0.0.236/trunk@13891 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 18:50:59 +00:00
pinkerton%netscape.com
64bd2d479b mac now uses strstream.h like everyone else.
git-svn-id: svn://10.0.0.236/trunk@13890 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 18:35:02 +00:00
buster%netscape.com
1d02eeaa85 fixed rowspan/cell height problem where subsequent rowspanning cells can
effect previous cell heights.


git-svn-id: svn://10.0.0.236/trunk@13889 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 18:32:14 +00:00
pinkerton%netscape.com
4ec5bfbc70 fix scoping syntax error.
git-svn-id: svn://10.0.0.236/trunk@13888 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 18:19:52 +00:00
vidur%netscape.com
00783c3caf nsHTMLTaqsEnums.cpp~
git-svn-id: svn://10.0.0.236/trunk@13887 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 17:53:14 +00:00
pinkerton%netscape.com
23494411d1 These should never have been checked into the tree.
git-svn-id: svn://10.0.0.236/trunk@13886 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 17:32:24 +00:00
spider%netscape.com
9962598ad4 Fix bustage
git-svn-id: svn://10.0.0.236/trunk@13885 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 17:18:33 +00:00
spider%netscape.com
b4f057ab70 Pull msgsdk
git-svn-id: svn://10.0.0.236/trunk@13884 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 17:17:57 +00:00
rods%netscape.com
39fa156cf9 Added additional border style for dialogs
git-svn-id: svn://10.0.0.236/trunk@13883 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 16:58:55 +00:00
rods%netscape.com
c4a1ce23c0 Cleaned up some includes and fixed a sizing issue
git-svn-id: svn://10.0.0.236/trunk@13882 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 16:47:28 +00:00
ramiro%netscape.com
af89e6ee56 Fix broken autoconf build.
git-svn-id: svn://10.0.0.236/trunk@13881 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 16:39:36 +00:00
ramiro%netscape.com
68fb13b240 Add a post link command to do magical things to the binary.
git-svn-id: svn://10.0.0.236/trunk@13880 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 16:36:06 +00:00
ramiro%netscape.com
403adcd321 Fix broken solaris and hpux builds.
git-svn-id: svn://10.0.0.236/trunk@13879 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 16:25:37 +00:00
rods%netscape.com
450cc00b0e Fixed Factory problem (no longer using XPDialogWindow)
git-svn-id: svn://10.0.0.236/trunk@13878 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 16:19:39 +00:00
rods%netscape.com
5bddf80e07 Added the "find" dialog as an XPDialog
git-svn-id: svn://10.0.0.236/trunk@13877 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 16:07:23 +00:00
ramiro%netscape.com
38b1292ac7 Cleanup the GTK support.
git-svn-id: svn://10.0.0.236/trunk@13876 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 16:06:50 +00:00
msw%gimp.org
bc64bc9f75 use $(NSPR_LIBS) for autoconf'ed builds to get the path to nspr libs
git-svn-id: svn://10.0.0.236/trunk@13875 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 15:54:43 +00:00
msw%gimp.org
092b0da252 change gmbaseunix to gmbasegtk here too
git-svn-id: svn://10.0.0.236/trunk@13874 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 15:22:59 +00:00
msw%gimp.org
33a3f8c4e9 rename gmbaseunix to gmbasegtk
git-svn-id: svn://10.0.0.236/trunk@13873 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 15:20:37 +00:00
ramiro%netscape.com
8fd8e53a03 Rename gfx and widget libs from 'unix' to 'motif'.
git-svn-id: svn://10.0.0.236/trunk@13872 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 14:35:03 +00:00
ramiro%netscape.com
6851a0e6ef Add support for GTK base timer. Rename the 'unix' timer lib to 'motif'
git-svn-id: svn://10.0.0.236/trunk@13871 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 14:32:12 +00:00
shaver%netscape.com
cf7c0268db Minor typo. I'm so anal.
git-svn-id: svn://10.0.0.236/trunk@13870 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 14:30:56 +00:00
ramiro%netscape.com
ef83d32fa5 Move the 'unix' nsTimer to 'motif'.
git-svn-id: svn://10.0.0.236/trunk@13869 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 14:28:32 +00:00
shaver%netscape.com
54e5227fce add Frank Visser's nsRegionGTK
git-svn-id: svn://10.0.0.236/trunk@13868 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 14:17:06 +00:00
ramiro%netscape.com
d8242d6b50 Add support for gtk.
git-svn-id: svn://10.0.0.236/trunk@13867 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 13:56:59 +00:00
ramiro%netscape.com
5d922b0607 Rename 'unix' to 'motif'
Add support for USE_NGLAYOUT_GTK.


git-svn-id: svn://10.0.0.236/trunk@13866 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 13:39:47 +00:00
msw%gimp.org
1bb3eb1ece Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@13865 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 13:34:51 +00:00
ramiro%netscape.com
e3c7b8ee2e Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This
makes more unix linker happy.
Simplify the GTK vs motif hackery.


git-svn-id: svn://10.0.0.236/trunk@13864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 13:31:43 +00:00
ramiro%netscape.com
8a4c30499c Rename from 'unix' to 'motif'
git-svn-id: svn://10.0.0.236/trunk@13863 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 13:22:17 +00:00
ramiro%netscape.com
a079b82f96 Changed 'unix' to 'motif' to deal with toolkit confusion.
git-svn-id: svn://10.0.0.236/trunk@13862 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 12:24:05 +00:00
ramiro%netscape.com
2e7953e856 Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This
makes more unix linker happy.


git-svn-id: svn://10.0.0.236/trunk@13861 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 12:20:07 +00:00
ramiro%netscape.com
53faa92171 Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This
makes more unix linker happy.
Simplify the gtk hackery a bit.


git-svn-id: svn://10.0.0.236/trunk@13860 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 12:15:00 +00:00
ramiro%netscape.com
71559caf86 Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This makes
more unix linkers happy.


git-svn-id: svn://10.0.0.236/trunk@13859 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 12:00:57 +00:00
ramiro%netscape.com
4cec320d5f Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This
makes more unix linker happy.


git-svn-id: svn://10.0.0.236/trunk@13858 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 11:58:23 +00:00
ramiro%netscape.com
f6dd7b8e2d Use $(CCC) to make shared libs if NS_USE_GCC is defined.
git-svn-id: svn://10.0.0.236/trunk@13857 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 11:39:26 +00:00
eyork%netscape.com
986a620583 Fixed compile problem
git-svn-id: svn://10.0.0.236/trunk@13856 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 06:34:33 +00:00
eyork%netscape.com
0f13df8524 Fixed a build problem.
git-svn-id: svn://10.0.0.236/trunk@13855 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 03:07:59 +00:00
pavlov%pavlov.net
4cf12f52b4 nsWindow::CreateGC
fix so that it realizes the widget if needed so that it is
 able to get the gdkwindow.

nsWindow::CreateMainWindow
 use mainWindow as the AppShell mTopLevel window instead of creating a new one.
 use GtkAdjustments to the gtk_layout_new so that this doesn't crash.  (this
 probibly need to be looked at)
 create a GtkVBox for mWidget instead the layout for mWidget. this probibly
 isn't correct.

nsWindow::Show
 this should show the window correctly, but it doesn't.  probibly due to early
 errors.

nsWindow::GetNativeData
 impliment this function so that it doesn't barf at an early point due to lots
 of things being NULL.

nsWindow.h - added GtkWidget *mVBox to the protected items.  this isn't used
 yet, and probibly won't be.


git-svn-id: svn://10.0.0.236/trunk@13854 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 02:57:05 +00:00
eyork%netscape.com
7a6596b388 Build should go green now.
git-svn-id: svn://10.0.0.236/trunk@13853 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 23:05:50 +00:00
msw%gimp.org
ed68810de3 Made CreateGC a little more careful
git-svn-id: svn://10.0.0.236/trunk@13852 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 22:49:04 +00:00
msw%gimp.org
522e2c939f Implemented nsWindow::CreateGC.
git-svn-id: svn://10.0.0.236/trunk@13851 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 22:32:18 +00:00
shaver%netscape.com
19ceea02ea fixing pavlov%pavlov.net's breakage of legacy Motif build
git-svn-id: svn://10.0.0.236/trunk@13850 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 22:06:10 +00:00
pavlov%pavlov.net
629930594a Implimented CreateViewerMenus() for the GTK test viewer.
git-svn-id: svn://10.0.0.236/trunk@13849 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 21:03:40 +00:00
shaver%netscape.com
796c404334 use libwidgetgtk.so and libgfxgtk.so when selected by configure
git-svn-id: svn://10.0.0.236/trunk@13848 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 20:30:42 +00:00
shaver%netscape.com
253d092aa2 build libwidgetgtk.so when in GTK mode
git-svn-id: svn://10.0.0.236/trunk@13847 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 20:18:52 +00:00
shaver%netscape.com
b4c83f3565 use libwidgetgtk.so and libgfxgtk.so when selected by configure
git-svn-id: svn://10.0.0.236/trunk@13846 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 20:01:08 +00:00
blizzard%appliedtheory.com
946d7a4f6c when using --enable-nglayout=gtk build gtk specific timer code
git-svn-id: svn://10.0.0.236/trunk@13845 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 19:49:49 +00:00
pavlov%pavlov.net
ee4fc06d7b more work on making this stuff work.
git-svn-id: svn://10.0.0.236/trunk@13844 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 19:30:03 +00:00
pavlov%pavlov.net
83be20c407 few fixes here and there.. more work on making it work
git-svn-id: svn://10.0.0.236/trunk@13843 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 19:29:40 +00:00
shaver%netscape.com
78a97845e4 include gtklayout.h to get the symbol-hiding ifdefs and link correctly -- and get rid of the helpful warning
git-svn-id: svn://10.0.0.236/trunk@13842 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 18:43:48 +00:00
pavlov%pavlov.net
cc8152d779 fix up for container add bug
git-svn-id: svn://10.0.0.236/trunk@13841 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 18:30:40 +00:00
shaver%netscape.com
7ed1508eb7 would you believe that nsMotifWidgetFactory.cpp is actually totally portable and reusable code
git-svn-id: svn://10.0.0.236/trunk@13840 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 18:13:37 +00:00
pavlov%pavlov.net
18b1ecd76a added nsPopUpMenu.cpp
git-svn-id: svn://10.0.0.236/trunk@13839 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 18:12:55 +00:00
shaver%netscape.com
a3f31ec82d GTK needs a different gfx lib
git-svn-id: svn://10.0.0.236/trunk@13838 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 17:13:34 +00:00
shaver%netscape.com
a19951a779 oops...when they ask for motif, they should still get motif
git-svn-id: svn://10.0.0.236/trunk@13837 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 17:09:50 +00:00
shaver%netscape.com
08d367bb94 build the GTK stuff if --enable-nglayout=gtk
git-svn-id: svn://10.0.0.236/trunk@13836 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 07:51:00 +00:00
shaver%netscape.com
3515cf905f use gtk-config to find proper CFLAGS
git-svn-id: svn://10.0.0.236/trunk@13835 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 07:49:23 +00:00
shaver%netscape.com
b09afc13b7 build the right files for --enable-nglayout=gtk
git-svn-id: svn://10.0.0.236/trunk@13834 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 07:48:25 +00:00
troy%netscape.com
03e55a2524 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()


git-svn-id: svn://10.0.0.236/trunk@13833 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 01:29:00 +00:00
blizzard%appliedtheory.com
3e7a55229e add timer code for gtk from Frank Visser <fvisser@hgmp.mrc.ac.uk>
git-svn-id: svn://10.0.0.236/trunk@13832 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 00:13:30 +00:00
shaver%netscape.com
85af300c3f add --enable-nglayout=gtk to build with GTK and not motif
git-svn-id: svn://10.0.0.236/trunk@13831 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 00:09:30 +00:00
blizzard%appliedtheory.com
90d84e1b14 new main for GTK impl of webshell
git-svn-id: svn://10.0.0.236/trunk@13830 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 23:43:28 +00:00
blizzard%appliedtheory.com
3b2e752c9d fixes to get building and linking.
git-svn-id: svn://10.0.0.236/trunk@13829 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 23:17:57 +00:00
blizzard%appliedtheory.com
71846e88e0 fixes to get building and linking
git-svn-id: svn://10.0.0.236/trunk@13828 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 23:17:10 +00:00
kipp%netscape.com
6268b0ebfb nit changes
git-svn-id: svn://10.0.0.236/trunk@13827 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:53:00 +00:00
kipp%netscape.com
c3340327ce Removed a private assert
git-svn-id: svn://10.0.0.236/trunk@13826 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:50:38 +00:00
kipp%netscape.com
da930054fd Removed mInlineAware
git-svn-id: svn://10.0.0.236/trunk@13825 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:50:26 +00:00
kipp%netscape.com
44278b8dbc Added vertical alignment tracing; use new line layout white-space handling routines
git-svn-id: svn://10.0.0.236/trunk@13824 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:50:16 +00:00
kipp%netscape.com
dc85222579 Reworked white-space compression flags so that inline-reflow can detect white-space aware frames properly
git-svn-id: svn://10.0.0.236/trunk@13823 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:48:56 +00:00
kipp%netscape.com
cd7dbec032 Use revised line-layout whitespace compression methods; fixed trim to not trim out compressed whitespace; fixed code to break multi-span words when the first placable frame contains a breakable point
git-svn-id: svn://10.0.0.236/trunk@13822 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:48:21 +00:00
kipp%netscape.com
10536d60d8 Support hspace/vspace properly
git-svn-id: svn://10.0.0.236/trunk@13821 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 22:45:39 +00:00
pavlov%pavlov.net
7d13af6cd7 lots and lots of Gtk/Gdk code added to nsWindow.cpp
git-svn-id: svn://10.0.0.236/trunk@13820 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 21:56:02 +00:00
shaver%netscape.com
75b23e3d9b move gtklayout.c here, and do some symbol munging so we don't conflict with the one in gnome-libs
git-svn-id: svn://10.0.0.236/trunk@13819 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 21:43:01 +00:00
shaver%netscape.com
261c09e9a4 gtklayout.c needs to be in widgets, not gfx
git-svn-id: svn://10.0.0.236/trunk@13818 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 21:42:02 +00:00
shaver%netscape.com
964bf5df85 use gtk-config to find CFLAGS
git-svn-id: svn://10.0.0.236/trunk@13817 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 20:34:17 +00:00
pavlov%pavlov.net
10e896e070 fix the broken Makefile.in
git-svn-id: svn://10.0.0.236/trunk@13816 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 20:32:04 +00:00
pavlov%pavlov.net
f2e785dc3d oops, small typo that would have screwd upsome stuff
git-svn-id: svn://10.0.0.236/trunk@13815 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 20:26:59 +00:00
pavlov%pavlov.net
0110ffd817 oops, forgot that we didn't want the column titles displayed
git-svn-id: svn://10.0.0.236/trunk@13814 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 20:21:19 +00:00
briano%netscape.com
d29688bda8 Make the OSF/1 OS_RELEASE macro compatible with that used by NSPR.
git-svn-id: svn://10.0.0.236/trunk@13813 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 20:14:33 +00:00
pavlov%pavlov.net
fd043bcb87 Converted almost all of nsListBox to a GtkCList
git-svn-id: svn://10.0.0.236/trunk@13812 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 20:05:28 +00:00
shaver%netscape.com
0d13f6d8ad add widget/src/gtk/Makefile
git-svn-id: svn://10.0.0.236/trunk@13811 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 19:45:01 +00:00
troy%netscape.com
ef67a6638f Changed InitConstraints() to set the constraint to be "fixed content"
rather than "constrained" if there's an explicit width or height property
specified


git-svn-id: svn://10.0.0.236/trunk@13810 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 17:56:37 +00:00
pavlov%pavlov.net
4ec4b95cab just about finish setting up all the files needed for gtk to compile
git-svn-id: svn://10.0.0.236/trunk@13809 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 17:54:41 +00:00
pavlov%pavlov.net
f281182e39 add menu files which do compile
git-svn-id: svn://10.0.0.236/trunk@13808 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 17:20:45 +00:00
pavlov%pavlov.net
3dc8a3ae8d nsWindow now compiles! whoo! about half way there!
git-svn-id: svn://10.0.0.236/trunk@13807 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 17:09:39 +00:00
blizzard%appliedtheory.com
3f18a46c65 compiles now.
git-svn-id: svn://10.0.0.236/trunk@13806 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 17:02:32 +00:00
blizzard%appliedtheory.com
390518f530 File widget compiles now.
git-svn-id: svn://10.0.0.236/trunk@13805 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:54:50 +00:00
pavlov%pavlov.net
963de1188c radio button compiles now
git-svn-id: svn://10.0.0.236/trunk@13804 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:49:26 +00:00
pavlov%pavlov.net
aea45d430c move widgets into protected instead of private
git-svn-id: svn://10.0.0.236/trunk@13803 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:44:00 +00:00
pavlov%pavlov.net
a25d4830f5 these now compile
git-svn-id: svn://10.0.0.236/trunk@13802 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:40:31 +00:00
blizzard%appliedtheory.com
204a4ebb6f nsDialog compiles now
git-svn-id: svn://10.0.0.236/trunk@13801 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:35:29 +00:00
blizzard%appliedtheory.com
26e487f807 this compiles now.
git-svn-id: svn://10.0.0.236/trunk@13800 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:30:43 +00:00
pavlov%pavlov.net
d0ec2a3f30 update for event handler and file widget
git-svn-id: svn://10.0.0.236/trunk@13799 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:20:07 +00:00
blizzard%appliedtheory.com
cbb595bc74 make nsButton.cpp compile. Initial nsWindow as well. The header file works,
the .cpp file doesn't compile yet ( it's still Motif )


git-svn-id: svn://10.0.0.236/trunk@13798 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:19:33 +00:00
shaver%netscape.com
53acefa0fb add gtklayout.* to local build, since we'll need it for the drawing context, and we don't want all of gnome-libs
git-svn-id: svn://10.0.0.236/trunk@13797 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:17:21 +00:00
blizzard%appliedtheory.com
811fd2c6b7 cleaned up this interface - it builds and even might do some stuff
git-svn-id: svn://10.0.0.236/trunk@13796 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 16:02:16 +00:00
pavlov%pavlov.net
29f9544186 added the GtkEventHandler stuff for the gtk widget set
git-svn-id: svn://10.0.0.236/trunk@13795 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 15:57:22 +00:00
pavlov%pavlov.net
e1b5af3c02 Fixed some problems the inital checkin and added some new files.
git-svn-id: svn://10.0.0.236/trunk@13794 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 15:42:09 +00:00
mcafee%netscape.com
26476a8f72 libgfxunix.a -> libgfxmotif.a. r=ramiro@netscape.com, spider@netscape.com
git-svn-id: svn://10.0.0.236/trunk@13793 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 07:05:37 +00:00
mcafee%netscape.com
9557259fac Removing Rhapsody hack
git-svn-id: svn://10.0.0.236/trunk@13792 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 06:39:58 +00:00
blizzard%appliedtheory.com
97b3ba87ce Patches from Stuart Parmenter <pavlov@innerx.net>. This does not build,
these files are just a starting point.


git-svn-id: svn://10.0.0.236/trunk@13791 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 05:30:25 +00:00
troy%netscape.com
60eb0f82a8 Added code to invalidate the frame after a resize if there is border or
padding. Otherwise the border/padding area was left dirty


git-svn-id: svn://10.0.0.236/trunk@13790 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 04:40:01 +00:00
blizzard%appliedtheory.com
fd9d887680 Skel code for gtk/gdk gfx library. This compiles and does nothing else.
git-svn-id: svn://10.0.0.236/trunk@13789 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 04:12:39 +00:00
briano%netscape.com
24c82877d7 Added a check for another ARM variant.
git-svn-id: svn://10.0.0.236/trunk@13788 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 04:10:42 +00:00
troy%netscape.com
cb9d4c2248 Added release of content object in SetDocumentInChildrenOf. This fixes a
memory leak


git-svn-id: svn://10.0.0.236/trunk@13787 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 04:00:25 +00:00
sar%netscape.com
6bcb5e9aea nsDOMEVent.h -> nsDOMEvent.h to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@13783 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 02:15:35 +00:00
spider%netscape.com
436cbe9f4c WIP mime stuff
git-svn-id: svn://10.0.0.236/trunk@13782 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 02:04:30 +00:00
cls%seawood.org
e8e225d6a4 Updated DEFINES
git-svn-id: svn://10.0.0.236/trunk@13781 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 01:40:28 +00:00
spider%netscape.com
658c01a15c WIP: Mime
git-svn-id: svn://10.0.0.236/trunk@13779 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 01:28:10 +00:00
cls%seawood.org
928b076582 Fixed problem with DEFINES and missing \\. Thanks to Stuart Parmenter <pavlov@innerx.net> for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@13778 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 01:24:13 +00:00
eyork%netscape.com
d10846bc53 First pass at DataCollection Manager
git-svn-id: svn://10.0.0.236/trunk@13777 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 00:55:23 +00:00
spider%netscape.com
38fe84272b Add MIME Basic Body Part
git-svn-id: svn://10.0.0.236/trunk@13775 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 00:48:41 +00:00
spider%netscape.com
5d4dcb3021 Adding MIME Basic Part interface
git-svn-id: svn://10.0.0.236/trunk@13774 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 00:47:25 +00:00
akkana%netscape.com
9fd537fc37 Fix the static-class-object-from-DSO problem. Approved by briano.
git-svn-id: svn://10.0.0.236/trunk@13773 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 00:38:27 +00:00
cyeh%netscape.com
15bd8936d3 pull_all now an option
git-svn-id: svn://10.0.0.236/trunk@13772 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 00:25:41 +00:00
troy%netscape.com
7f19f8bc79 Changed to define _DEBUG if MOZ_DEBUG is set.
git-svn-id: svn://10.0.0.236/trunk@13771 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 00:25:40 +00:00
kipp%netscape.com
c4968109cb Removed bogus line-height that caused lots of tables to look wrong (bug #636)
git-svn-id: svn://10.0.0.236/trunk@13770 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 00:23:52 +00:00
despotdaemon%netscape.com
eaf15669da Pseudo-automatic update of changes made by pavlov@pavlov.net.
git-svn-id: svn://10.0.0.236/trunk@13769 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 00:12:45 +00:00
cls%seawood.org
13dd42d26e FreeBSD shared libs opt, take2
git-svn-id: svn://10.0.0.236/trunk@13768 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:52:59 +00:00
akkana%netscape.com
2810bc0762 Put back the part of the old IRIX clause that doesn't break gcc/egcs
git-svn-id: svn://10.0.0.236/trunk@13767 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:51:43 +00:00
troy%netscape.com
2ffbe5d997 Changed DeleteFrame() to prevent unwanted view event dispatch during frame
destruction


git-svn-id: svn://10.0.0.236/trunk@13766 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:38:03 +00:00
akkana%netscape.com
f1177f874c Put back the part of the old IRIX clause that doesn't break gcc/egcs
git-svn-id: svn://10.0.0.236/trunk@13765 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:35:01 +00:00
buster%netscape.com
1249f0b7be implemented basic attribute changed handling. most things currently work, those that don't will work better after Peter
lands some style context resolution changes.


git-svn-id: svn://10.0.0.236/trunk@13764 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:08:34 +00:00
buster%netscape.com
ec76a92bb8 factored AttributeChanged so when deciding what to do in response to a change,
common attributes are checked first, then content-specific handlers are asked


git-svn-id: svn://10.0.0.236/trunk@13763 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 23:06:14 +00:00
kipp%netscape.com
791a1160b9 Support mCombinedArea computation
git-svn-id: svn://10.0.0.236/trunk@13762 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:15:16 +00:00
kipp%netscape.com
921ba39e2a Support mCombinedArea in metrics; implement MoveInSpaceManager by passing it through to the children
git-svn-id: svn://10.0.0.236/trunk@13761 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:13:58 +00:00
kipp%netscape.com
1d4ce9d870 Added mCombinedArea to the metrics; added MoveInSpaceManager to the html-reflow methods
git-svn-id: svn://10.0.0.236/trunk@13760 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:13:14 +00:00
kipp%netscape.com
aac6b1834b Removed anchored-items IID
git-svn-id: svn://10.0.0.236/trunk@13759 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:12:33 +00:00
kipp%netscape.com
889a98b461 Cleaned up Paint method
git-svn-id: svn://10.0.0.236/trunk@13758 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:12:19 +00:00
kipp%netscape.com
c5aa091c9a Added MoveInSpaceManager stub
git-svn-id: svn://10.0.0.236/trunk@13757 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:11:47 +00:00
kipp%netscape.com
ed672de7ee Added PaintChild method that properly handles OUTSIDE_CHILDREN bit
git-svn-id: svn://10.0.0.236/trunk@13756 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:11:06 +00:00
kipp%netscape.com
4d514e1475 Reworked floater support somewhat now that blocks manage them instead of body frames; fixed up painting to use the outside-children data; support the visibility property; fixed bug #624,#628
git-svn-id: svn://10.0.0.236/trunk@13755 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:10:10 +00:00
kipp%netscape.com
3d43df67e0 fixed a comment
git-svn-id: svn://10.0.0.236/trunk@13754 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:09:13 +00:00
kipp%netscape.com
4173b65b96 Removed nsIAnchoredItems from the body frame; body no longer handles floaters
git-svn-id: svn://10.0.0.236/trunk@13753 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:08:48 +00:00
kipp%netscape.com
0e289f9983 Removed nsIAnchoredItems from the body frame; body no longer handles floaters; allow style change to turn into a full reflow
git-svn-id: svn://10.0.0.236/trunk@13752 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:08:32 +00:00
spider%netscape.com
07045aadc0 WIP: Mime stuff
git-svn-id: svn://10.0.0.236/trunk@13751 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:07:53 +00:00
kipp%netscape.com
a363205273 Moved frame-border rendering debug hook here
git-svn-id: svn://10.0.0.236/trunk@13750 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:06:14 +00:00
kipp%netscape.com
d583bfd2c0 Uncommented the two pseudo properties so that the rest of the table would line up properly
git-svn-id: svn://10.0.0.236/trunk@13749 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:05:50 +00:00
kipp%netscape.com
4073da1ad6 Fixed a coordinate system bug with Offset method
git-svn-id: svn://10.0.0.236/trunk@13748 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:05:22 +00:00
kipp%netscape.com
9770e7f6a0 Added NS_FRAME_OUTSIDE_CHILDREN bit
git-svn-id: svn://10.0.0.236/trunk@13747 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:04:56 +00:00
spider%netscape.com
b5086dd83e Add BodyType enum
git-svn-id: svn://10.0.0.236/trunk@13746 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:01:36 +00:00
troy%netscape.com
38de983db5 Moved cursor and mouse enter/exit related logic from RootContentFrame to
body frame


git-svn-id: svn://10.0.0.236/trunk@13745 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 21:54:57 +00:00
spider%netscape.com
d7e950cb07 Adding MIMEBodyPart
git-svn-id: svn://10.0.0.236/trunk@13744 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 21:47:38 +00:00
spider%netscape.com
98a44d6d1d Adding interface for MIMEBodyPart
git-svn-id: svn://10.0.0.236/trunk@13743 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 21:46:38 +00:00
troy%netscape.com
8bfc148b9e Fixed ComputeDesiredSize() to make sure it includes the absolutely positioned
items


git-svn-id: svn://10.0.0.236/trunk@13742 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 21:43:16 +00:00
karnaze%netscape.com
5c932baf63 preliminary support to keep text, radio, checkbox dom access in sync with widgets
git-svn-id: svn://10.0.0.236/trunk@13739 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 20:41:01 +00:00
valeski%netscape.com
f59ddd76de solaris compiler choking on trailing comma in enumeration. submitted by tor@cs.brown.edu
git-svn-id: svn://10.0.0.236/trunk@13738 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:43:25 +00:00
spider%netscape.com
8e26ea23af Some minor code cleanup
git-svn-id: svn://10.0.0.236/trunk@13737 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:40:06 +00:00
spider%netscape.com
10b0586ff2 Switch between MIME & plain based on interface in SMTP Service
git-svn-id: svn://10.0.0.236/trunk@13736 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:29:56 +00:00
cyeh%netscape.com
83eeb740a3 add needed autoconf stuff
git-svn-id: svn://10.0.0.236/trunk@13735 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:29:19 +00:00
karnaze%netscape.com
e9f056b9e6 initial support for opacity in html 4 button
git-svn-id: svn://10.0.0.236/trunk@13734 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:20:39 +00:00
spider%netscape.com
f92ae60b6b nsMessage implementation
git-svn-id: svn://10.0.0.236/trunk@13733 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:14:50 +00:00
spider%netscape.com
fd4f23b3a3 Adding nsMIMEMessage to registry
git-svn-id: svn://10.0.0.236/trunk@13732 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:10:42 +00:00
spider%netscape.com
03dd781fc8 Adding nsIMIMEMessage interface
git-svn-id: svn://10.0.0.236/trunk@13731 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:09:57 +00:00
jevering%netscape.com
bef9e12eb4 Removed debug menus if not a debug build
git-svn-id: svn://10.0.0.236/trunk@13730 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 19:03:38 +00:00
spider%netscape.com
110e0583ca Add support for SMTPObserver, break out callbacks from SMTP Service
git-svn-id: svn://10.0.0.236/trunk@13729 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 18:32:32 +00:00
karnaze%netscape.com
081ed90d75 nsIFormControlFrames initiate insertion into nsFormFrame's list;
turned off url encoding of '.' and '_" to match Nav
fixed bug where non clicked buttons submitted data;
fixed bug where <select>s with initial values were not submitting that value;


git-svn-id: svn://10.0.0.236/trunk@13727 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 18:05:29 +00:00
despotdaemon%netscape.com
417fe30eff Pseudo-automatic update of changes made by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13726 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 16:53:06 +00:00
despotdaemon%netscape.com
a81a0d9d11 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13725 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 16:43:36 +00:00
terry%netscape.com
2781aefef5 Changed format of slashdot headline URL. It's now more consistant with
the mozillaZine one, and works better with tkirc's automatic URL detection.


git-svn-id: svn://10.0.0.236/trunk@13724 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 16:28:56 +00:00
ramiro%netscape.com
2905eb0808 Renamed target to 'viewer' from 'main' and made it install in $OBJDIR.
git-svn-id: svn://10.0.0.236/trunk@13723 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 11:29:56 +00:00
buster%netscape.com
cf08e060ad some extremely preliminary work for styleChanged incremental reflow
git-svn-id: svn://10.0.0.236/trunk@13722 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 07:57:44 +00:00
rpotts%netscape.com
518fd29f37 Fix some build bustage...
git-svn-id: svn://10.0.0.236/trunk@13721 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 07:14:17 +00:00
rpotts%netscape.com
18a5d0d12b Release the stream observer when stopping a document load. This will break the circular reference between the webshell and the docloader...
git-svn-id: svn://10.0.0.236/trunk@13720 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 07:10:10 +00:00
troy%netscape.com
58e5b3ad09 Some fixes to correctly compute the desired size
git-svn-id: svn://10.0.0.236/trunk@13719 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 05:50:07 +00:00
troy%netscape.com
aedcffba4d Fixed it so border and padding style specified for the HTML element
work again


git-svn-id: svn://10.0.0.236/trunk@13718 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 05:18:59 +00:00
michaelp%netscape.com
2aa6e2a7ea fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@13717 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 05:04:39 +00:00
michaelp%netscape.com
ea5de2e14e fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@13716 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 04:27:48 +00:00
michaelp%netscape.com
3285a208a8 again.
git-svn-id: svn://10.0.0.236/trunk@13715 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 04:13:34 +00:00
michaelp%netscape.com
fb2a0d08d0 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@13714 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 04:13:33 +00:00
cls%seawood.org
c72fa9d414 More fixes for build_number
git-svn-id: svn://10.0.0.236/trunk@13712 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 04:05:50 +00:00
troy%netscape.com
15e4c2641f Removed some #if 0 code that's no longer needed
git-svn-id: svn://10.0.0.236/trunk@13711 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 04:01:39 +00:00
michaelp%netscape.com
1692db1422 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@13710 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 03:52:25 +00:00
troy%netscape.com
134f2d6f55 Changed to ignore SCRIPT tags that aren't JavaScript language
git-svn-id: svn://10.0.0.236/trunk@13709 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 03:36:35 +00:00
michaelp%netscape.com
c9dc101f20 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@13708 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 03:16:17 +00:00
beard%netscape.com
dc04fe1709 Fixes spurious drawing of the security icon.
git-svn-id: svn://10.0.0.236/trunk@13707 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 03:01:38 +00:00
cls%seawood.org
7029665f7b Added MAKE_OBJDIR to build_number target
git-svn-id: svn://10.0.0.236/trunk@13706 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:57:34 +00:00
michaelp%netscape.com
ee1fa0a7dc fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@13705 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:51:08 +00:00
pinkerton%netscape.com
b7455fddad put it in-line with the windows version of this file. The right widgets were not being created because we weren't checking the class/interface id's correctly (at least, I assume that the windows way is more correct than the mac way because now it works!).
git-svn-id: svn://10.0.0.236/trunk@13704 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:38:58 +00:00
michaelp%netscape.com
29bd495725 changes to support nsIRenderingContext that conforms to COM conventions.
git-svn-id: svn://10.0.0.236/trunk@13703 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:08:25 +00:00
spider%netscape.com
b346f9f8ae Support nsIMessage
git-svn-id: svn://10.0.0.236/trunk@13702 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:03:14 +00:00
spider%netscape.com
b4c8b8c251 Adding nsIMessage. Updating SMTPService to take an nsIMessage to send
git-svn-id: svn://10.0.0.236/trunk@13701 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:02:52 +00:00
pinkerton%netscape.com
3c24dfcac9 fix bug where new windows would not be the active window by calling right toolbox routines.
git-svn-id: svn://10.0.0.236/trunk@13700 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 01:00:33 +00:00
pinkerton%netscape.com
da64cf3a29 fix bug where dragging windows around would cause them to move twice by not passing the window move event down.
git-svn-id: svn://10.0.0.236/trunk@13699 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:59:29 +00:00
spider%netscape.com
a4c2157cb7 Adding mime
git-svn-id: svn://10.0.0.236/trunk@13698 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:50:23 +00:00
spider%netscape.com
a8b91edb14 Adding MIME interface
git-svn-id: svn://10.0.0.236/trunk@13697 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:50:04 +00:00
spider%netscape.com
3f589f9b96 Adding MIME Service
git-svn-id: svn://10.0.0.236/trunk@13696 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:49:31 +00:00
spider%netscape.com
58b2032551 adding mime libs
git-svn-id: svn://10.0.0.236/trunk@13695 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:48:05 +00:00
spider%netscape.com
45a9c60036 factor MIME & SMTP
git-svn-id: svn://10.0.0.236/trunk@13694 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:38:21 +00:00
pinkerton%netscape.com
9ffd44c8c4 cleanup constructor/destructor, and use auto_ptr where appropriate.
git-svn-id: svn://10.0.0.236/trunk@13693 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:12:37 +00:00
cls%seawood.org
7666302ed2 Added fix for freebsd shared libs
git-svn-id: svn://10.0.0.236/trunk@13692 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:12:20 +00:00
jevering%netscape.com
36b2df5f6e Fix case were neither MSSDK or NGPREFS is set
git-svn-id: svn://10.0.0.236/trunk@13691 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 00:06:40 +00:00
pinkerton%netscape.com
229ce1d8b7 don't process menu events multiple times (do them only on keydown).
git-svn-id: svn://10.0.0.236/trunk@13690 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 23:47:05 +00:00
troy%netscape.com
9d97f5e3a4 Changed BODY to be wrapped in a scroll frame
git-svn-id: svn://10.0.0.236/trunk@13689 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 23:37:56 +00:00
spider%netscape.com
17747420b6 Fix build
git-svn-id: svn://10.0.0.236/trunk@13688 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 23:32:06 +00:00
troy%netscape.com
6790bf9cf4 Changed to use a scroll frame for the BODY
git-svn-id: svn://10.0.0.236/trunk@13686 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 23:25:02 +00:00
spider%netscape.com
b88f55edc1 SMTP Service implementation
git-svn-id: svn://10.0.0.236/trunk@13685 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 23:20:48 +00:00
spider%netscape.com
048e4e82c4 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@13684 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 23:07:33 +00:00
cls%seawood.org
99d5cec396 Fixed building of shared libs when using egcs.
git-svn-id: svn://10.0.0.236/trunk@13682 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 22:27:49 +00:00
jevering%netscape.com
686ab09e1d include correct header file.
git-svn-id: svn://10.0.0.236/trunk@13681 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 22:13:15 +00:00
jevering%netscape.com
d24e485ddd Moved MSSDK dependency down a level.
git-svn-id: svn://10.0.0.236/trunk@13680 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 22:06:27 +00:00
spider%netscape.com
1160764112 Adding support for SMTP service
git-svn-id: svn://10.0.0.236/trunk@13679 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 22:04:11 +00:00
spider%netscape.com
debca7e4b0 Adding support for SMTP Service to send Mail
git-svn-id: svn://10.0.0.236/trunk@13678 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 22:03:50 +00:00
ramiro%netscape.com
727677388a Fix a comment.
git-svn-id: svn://10.0.0.236/trunk@13677 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 22:01:16 +00:00
spider%netscape.com
bf84d4676d remove jdefines.h
git-svn-id: svn://10.0.0.236/trunk@13672 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 21:39:06 +00:00
spider%netscape.com
ff98509a11 Support SMTP send message
git-svn-id: svn://10.0.0.236/trunk@13671 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 21:09:32 +00:00
spider%netscape.com
dda42577e3 msg stuff
git-svn-id: svn://10.0.0.236/trunk@13670 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 21:09:07 +00:00
wtc%netscape.com
1cf2eda599 Linux/m68k porting change (define _MD_SP_TYPE), contributed by
Jes Sorensen <Jes.Sorensen@cern.ch>.


git-svn-id: svn://10.0.0.236/trunk@13669 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 21:04:47 +00:00
cmanske%netscape.com
c7a7f073cb Fixed bugzilla bugs 305, 306, 307 and some code cleanup.
git-svn-id: svn://10.0.0.236/trunk@13668 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 20:38:40 +00:00
despotdaemon%netscape.com
04bb9b85c5 Pseudo-automatic update of changes made by larryh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13667 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 20:09:03 +00:00
akkana%netscape.com
28e1db1ba8 Remove nonworking IRIX compile segments; these should be in IRIX.mk anyway, if they're really needed
git-svn-id: svn://10.0.0.236/trunk@13666 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 20:08:22 +00:00
despotdaemon%netscape.com
9c07a0ccb1 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13665 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 20:06:08 +00:00
pinkerton%netscape.com
41474b9f25 Don't use the offscreen pixmap if it is null (low memory situations)
git-svn-id: svn://10.0.0.236/trunk@13664 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 20:03:57 +00:00
troy%netscape.com
699f7b273a Changed Refresh() to use the dimensions of the widget associated with
theview being repainted, rather than the dimensions of the root widget


git-svn-id: svn://10.0.0.236/trunk@13662 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 19:47:19 +00:00
buster%netscape.com
378581e3b2 minor fix in determining which layout algorithm to call based on available size
git-svn-id: svn://10.0.0.236/trunk@13661 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 19:42:43 +00:00
dcone%netscape.com
1fb5bce42e Abstracted the nsBlender class
git-svn-id: svn://10.0.0.236/trunk@13660 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 19:22:42 +00:00
spider%netscape.com
e0dbef53b9 Adding SMTP lib's
git-svn-id: svn://10.0.0.236/trunk@13659 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 19:17:27 +00:00
terry%netscape.com
b324c734a9 Major spankage. Every command that mozbot understands on the public
channel can now also be sent to it via /msg.  Much code reorg done to
accomplish this.


git-svn-id: svn://10.0.0.236/trunk@13658 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 18:59:22 +00:00
spider%netscape.com
a9cc8d7fb8 Adding Msg Test Case
git-svn-id: svn://10.0.0.236/trunk@13657 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 18:51:10 +00:00
spider%netscape.com
69064850c5 Adding preliminary msg send stuff
git-svn-id: svn://10.0.0.236/trunk@13656 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 18:20:20 +00:00
pinkerton%netscape.com
ab4610e04c default constructor initializes position/size to 0 so people don't have to call Empty() any more.
git-svn-id: svn://10.0.0.236/trunk@13655 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 18:06:45 +00:00
pinkerton%netscape.com
c40e5f80b0 Turn on xSYM generation for both targets and enable debugging to touch the right prefs.
git-svn-id: svn://10.0.0.236/trunk@13654 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 17:44:13 +00:00
pinkerton%netscape.com
7f1c53ffbd make sure we init mMenuBar to null.
git-svn-id: svn://10.0.0.236/trunk@13653 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 17:40:22 +00:00
terry%netscape.com
d61f5ac92d Cram headlines into less lines of output.
git-svn-id: svn://10.0.0.236/trunk@13652 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 16:56:30 +00:00
pierre%netscape.com
3058b55651 Landing MacWidgets...
git-svn-id: svn://10.0.0.236/trunk@13651 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 14:06:26 +00:00
pierre%netscape.com
f3a71182c0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@13650 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 13:55:02 +00:00
pierre%netscape.com
01c800f006 oops... backing out last change: we must pull Raptor before the libpref branch
git-svn-id: svn://10.0.0.236/trunk@13649 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 11:47:17 +00:00
pierre%netscape.com
a52ecc58f7 swaped the 2 checkout lines so that, at the end of the script, the MacCVS status window displays the error messages from the Raptor module instead of those from the libpref branch
git-svn-id: svn://10.0.0.236/trunk@13648 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 11:12:59 +00:00
harrison%netscape.com
8ad4687c4c added support for slashdot headlines. say "mozbot, slashdot"
(or sd or /.) to see them.


git-svn-id: svn://10.0.0.236/trunk@13647 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 11:01:29 +00:00
rpotts%netscape.com
a2302d6ea3 Checked in some cheesy timebomb support until we can pull the timebomb vaules from all.js
git-svn-id: svn://10.0.0.236/trunk@13646 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 07:55:12 +00:00
spider%netscape.com
b1870aece3 Pull msgsdk
git-svn-id: svn://10.0.0.236/trunk@13644 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 02:50:29 +00:00
sman%netscape.com
c4d31156fa recurring updates
git-svn-id: svn://10.0.0.236/trunk@13641 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 01:53:46 +00:00
cyeh%netscape.com
0fc4671799 Remove obsolete/unused files.
git-svn-id: svn://10.0.0.236/trunk@13640 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 01:39:00 +00:00
matt%netscape.com
dcaeb10200 Updated to 4.0
git-svn-id: svn://10.0.0.236/trunk@13639 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 00:48:46 +00:00
cyeh%netscape.com
759e54597a make option picker work. you can optionally pull and build all, or just rebuild.
git-svn-id: svn://10.0.0.236/trunk@13635 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 00:17:52 +00:00
cls%seawood.org
79be6ce3fb Tweaked MKSHLIB settings.
git-svn-id: svn://10.0.0.236/trunk@13631 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 22:04:41 +00:00
spider%netscape.com
004510d695 Cleanup registry setup, add defaults to HTML to load plugins and auto-scroll
git-svn-id: svn://10.0.0.236/trunk@13630 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 22:01:07 +00:00
rpotts%netscape.com
44d663eb20 Removed the container pointer from the nsConnectionInfo struct. The container is held by the nsIURL...
git-svn-id: svn://10.0.0.236/trunk@13629 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:40:51 +00:00
despotdaemon%netscape.com
d99af8473b Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13628 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:29:46 +00:00
spider%netscape.com
7f75cbf21c Update to latest raptor code
git-svn-id: svn://10.0.0.236/trunk@13627 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:21:50 +00:00
spider%netscape.com
da00efde73 Fix build bustage ... again
git-svn-id: svn://10.0.0.236/trunk@13626 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:18:31 +00:00
valeski%netscape.com
302a2b6698 changed useragent method to call through to nsINetService's useragent method.
git-svn-id: svn://10.0.0.236/trunk@13625 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:16:00 +00:00
valeski%netscape.com
400853b281 fixed malformed user agent string. added GetUserAgent() method to nsINetService interface.
git-svn-id: svn://10.0.0.236/trunk@13624 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:12:50 +00:00
kipp%netscape.com
7d2fbdcb39 Added code to honor constrained width
git-svn-id: svn://10.0.0.236/trunk@13623 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:10:20 +00:00
spider%netscape.com
a39ecbd7f8 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@13622 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:53:25 +00:00
raman%netscape.com
6f24a9248e Disabled contiunous update
git-svn-id: svn://10.0.0.236/trunk@13620 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:19:12 +00:00
raman%netscape.com
7f391c8809 Added JavaScript object for background update. Added lm_bkgrd.c
git-svn-id: svn://10.0.0.236/trunk@13619 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:18:46 +00:00
raman%netscape.com
bd55775598 Added JavaScript object for background download
git-svn-id: svn://10.0.0.236/trunk@13617 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:17:56 +00:00
raman%netscape.com
1da19b249d Added an include for autoupdt.h
git-svn-id: svn://10.0.0.236/trunk@13616 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:17:25 +00:00
raman%netscape.com
0e52fa808b Provided API for JavaScript object of background download
git-svn-id: svn://10.0.0.236/trunk@13615 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:16:20 +00:00
dougt%netscape.com
7f1123fbb0 Added lm_bkgrd.c to project
git-svn-id: svn://10.0.0.236/trunk@13614 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:15:41 +00:00
rods%netscape.com
16c0bec37b Fixed text FG/BG colors for URLBar
git-svn-id: svn://10.0.0.236/trunk@13613 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:13:51 +00:00
rods%netscape.com
d6e6532f96 Cleaned up debug statements
git-svn-id: svn://10.0.0.236/trunk@13611 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:09:21 +00:00
rods%netscape.com
f814af496f Fixed statusbar BG color
git-svn-id: svn://10.0.0.236/trunk@13610 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 20:04:27 +00:00
troy%netscape.com
b185fdbace Sets the scrolling view's scroll preference and checks whether the scrolled
frame is a BODY frame


git-svn-id: svn://10.0.0.236/trunk@13608 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 17:29:51 +00:00
spider%netscape.com
f97c125cc8 Memory leak fixes, bug fixes, general cleanup....
git-svn-id: svn://10.0.0.236/trunk@13607 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 17:21:11 +00:00
spider%netscape.com
6ed1aaebd1 Support for xpcom tracing
git-svn-id: svn://10.0.0.236/trunk@13606 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 17:19:53 +00:00
ramiro%netscape.com
3ad7662ba1 Dont add the multigot stuff if using gcc.
git-svn-id: svn://10.0.0.236/trunk@13604 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 11:29:02 +00:00
cls%seawood.org
2d66797d69 Added $(FE_X_LIBS) to INCLUDES and $(FE_X_LIBS) to DSO_OS_LDOPTS to take care of motif dependencies under solaris.
git-svn-id: svn://10.0.0.236/trunk@13602 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 06:22:16 +00:00
troy%netscape.com
36841b7bfb Fixed positioning of horizontal scrollbar to be inside of the control
rect, and added missing curly braces around if stmt and else clause


git-svn-id: svn://10.0.0.236/trunk@13601 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 06:12:36 +00:00
cls%seawood.org
62f88d15c0 Added $XLDFLAGS & $XLIBS to EXTRA_DSO_LDOPTS
git-svn-id: svn://10.0.0.236/trunk@13600 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 05:38:12 +00:00
raman%netscape.com
05cb2627de Minor bug fix to my last check-in
git-svn-id: svn://10.0.0.236/trunk@13597 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 04:53:47 +00:00
kipp%netscape.com
413a084535 Fixed bug #1154 - made fieldset frame aware of a constrained width on itself and pass that through to a child body
git-svn-id: svn://10.0.0.236/trunk@13596 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 04:11:14 +00:00
cls%seawood.org
08a6bbac38 New autoconf files for nglayout
git-svn-id: svn://10.0.0.236/trunk@13594 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 03:53:57 +00:00
cls%seawood.org
3a70c5668a Some updated to work with nglayout. Others sync'd to remove cruft.
git-svn-id: svn://10.0.0.236/trunk@13593 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 03:49:12 +00:00
cls%seawood.org
771bb0ab08 Added ifndef HAVE_SYS_CDEFS_H around cdefs.h include. Approved by terry@netscape.com
git-svn-id: svn://10.0.0.236/trunk@13592 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 03:43:53 +00:00
cls%seawood.org
c089c7be5b Added pull_autoconf section. Approved by terry@netscape.com
git-svn-id: svn://10.0.0.236/trunk@13591 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 03:42:45 +00:00
cls%seawood.org
1075d0220f Added support for nglayout. Use --enable-nglayout to compile it *after* pulling the nglayout srcs. MKSHLIB & friends are now defined by configure. BUILD_UNIX_PLUGINS is set only ifndef NO_SHARED_LIB.
git-svn-id: svn://10.0.0.236/trunk@13590 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 03:40:33 +00:00
raman%netscape.com
c070f4d115 Bug fixes to make caps stuff work with jvm's codesource principals
git-svn-id: svn://10.0.0.236/trunk@13589 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 03:31:17 +00:00
kipp%netscape.com
129212b050 Removed old usage of AddPlacedFrame
git-svn-id: svn://10.0.0.236/trunk@13588 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 02:40:36 +00:00
kipp%netscape.com
d5206868ec Fixed bug #1173 - the margin.top was subtracted instead of added...
git-svn-id: svn://10.0.0.236/trunk@13587 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 02:36:06 +00:00
kipp%netscape.com
bb80c6008d Pass in opactity to view manager in case it changed
git-svn-id: svn://10.0.0.236/trunk@13585 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 02:05:05 +00:00
kipp%netscape.com
5c03605811 Implement opacity methods
git-svn-id: svn://10.0.0.236/trunk@13584 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 02:04:27 +00:00
kipp%netscape.com
df7f514392 Fixed oopsie in the hint storage check
git-svn-id: svn://10.0.0.236/trunk@13583 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 02:04:06 +00:00
kipp%netscape.com
7bb700d460 Use normal font always when rendering text-decorations, not the small-caps font
git-svn-id: svn://10.0.0.236/trunk@13581 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 02:03:40 +00:00
kipp%netscape.com
89c44b8453 Added in opacity
git-svn-id: svn://10.0.0.236/trunk@13580 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 02:02:47 +00:00
peterl%netscape.com
6cc6eed4f5 added the first Nav Quirk, when on, we now interpret numbers without units as pixel units
git-svn-id: svn://10.0.0.236/trunk@13579 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 01:12:38 +00:00
cls%seawood.org
4a97a49730 Fixed silly problem when checking for Xpm and Motif 2.1. Thanks to Stuart Parmenter <pavlov@innerx.net> for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@13575 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 23:51:16 +00:00
locka%iol.ie
27f3f1694f Added missing flag
git-svn-id: svn://10.0.0.236/trunk@13574 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 23:20:22 +00:00
buster%netscape.com
d37168f980 fixed nsInlineFrame to compile on MSVC 4.x by moving a method-scoped struct
to be class-scoped.


git-svn-id: svn://10.0.0.236/trunk@13573 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 23:13:03 +00:00
michaelp%netscape.com
2e593ad30b fleshed out view manager view clip setting and view depth arrangement methods.
git-svn-id: svn://10.0.0.236/trunk@13569 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 20:16:09 +00:00
troy%netscape.com
f88927fd2a Changed SetCursor() to use the HINSTANCE in the nsToolkit object rather
than assume a hardcoded DLL name


git-svn-id: svn://10.0.0.236/trunk@13568 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 18:57:18 +00:00
troy%netscape.com
c8a0af7840 Moved resource to src/build and changed makefile to build a .RES file
git-svn-id: svn://10.0.0.236/trunk@13566 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 18:45:20 +00:00
kipp%netscape.com
c765a66dc8 Removed a skid mark
git-svn-id: svn://10.0.0.236/trunk@13564 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 16:53:48 +00:00
kipp%netscape.com
214076ccbf Fixed underlining bug; support justification
git-svn-id: svn://10.0.0.236/trunk@13563 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 16:52:34 +00:00
kipp%netscape.com
dfd1fc1277 Implement justification methods
git-svn-id: svn://10.0.0.236/trunk@13562 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 16:52:10 +00:00
kipp%netscape.com
4ea46c84ff Added methods to support justification
git-svn-id: svn://10.0.0.236/trunk@13561 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 16:51:21 +00:00
kipp%netscape.com
6eb7152c7b Added justification support
git-svn-id: svn://10.0.0.236/trunk@13560 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 16:51:02 +00:00
kipp%netscape.com
80b34e4cfe Reworked background rendering to properly handle the background-position properties
git-svn-id: svn://10.0.0.236/trunk@13559 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 16:50:19 +00:00
kipp%netscape.com
28ed9703d1 Support high accuracy rendering (slowly)
git-svn-id: svn://10.0.0.236/trunk@13558 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 16:49:40 +00:00
shaver%netscape.com
9867c7247c ancient GTK port, as starting point
git-svn-id: svn://10.0.0.236/trunk@13557 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 15:43:49 +00:00
harrison%netscape.com
f527b81530 output key no longer required, silently defaults to most_doomed.
(people were linking into report.cgi without an output key
specified, this fix prevents perl from squealing.)


git-svn-id: svn://10.0.0.236/trunk@13556 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 10:54:27 +00:00
harrison%netscape.com
e1b3ab92e1 changed the CHANGES file to reflect changes made
git-svn-id: svn://10.0.0.236/trunk@13555 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 10:46:25 +00:00
harrison%netscape.com
0f7c4fcc60 updates for collectstats.pl and the Chart::Base requirement
git-svn-id: svn://10.0.0.236/trunk@13554 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 10:43:38 +00:00
harrison%netscape.com
79f4237ad6 all products get stats collected now, not just a hardcoded list.
git-svn-id: svn://10.0.0.236/trunk@13553 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 10:43:24 +00:00
harrison%netscape.com
4a943aa35d security check for legal products in place. bug charts are not
available as an option if collectstats.pl has never been run.
added quip support.


git-svn-id: svn://10.0.0.236/trunk@13552 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 10:43:01 +00:00
buster%netscape.com
18de1add17 minor tweak to column handling
git-svn-id: svn://10.0.0.236/trunk@13551 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 08:38:56 +00:00
troy%netscape.com
74701acb12 Commented out some code in Init() that was causing problems for the scrolling
view code


git-svn-id: svn://10.0.0.236/trunk@13550 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 05:57:18 +00:00
rickg%netscape.com
f404081f95 allow button anywhere in content, other small improvements
git-svn-id: svn://10.0.0.236/trunk@13549 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 05:13:16 +00:00
ddrinan%netscape.com
4563d8a75c Added call to HG06197
git-svn-id: svn://10.0.0.236/trunk@13546 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:56:41 +00:00
ddrinan%netscape.com
c296a8e7da Added handling of xpSecurityModule
git-svn-id: svn://10.0.0.236/trunk@13545 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:55:12 +00:00
ddrinan%netscape.com
c6af0a0d7c Added xpSecurityModule
git-svn-id: svn://10.0.0.236/trunk@13544 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:53:51 +00:00
ddrinan%netscape.com
46dfd716ef Added HG06196 and HG06197
git-svn-id: svn://10.0.0.236/trunk@13543 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:51:11 +00:00
michaelp%netscape.com
1cc1204f3b changes for removal of zindex from nsIView::Init().
git-svn-id: svn://10.0.0.236/trunk@13542 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:37:03 +00:00
michaelp%netscape.com
331c0397cf removed zindex from nsIView::Init().
git-svn-id: svn://10.0.0.236/trunk@13541 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:36:49 +00:00
spider%netscape.com
b46780dae8 Fix memory leaks. Add API's to ObserverManager to allow objects to
Unregister


git-svn-id: svn://10.0.0.236/trunk@13540 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:29:39 +00:00
peterl%netscape.com
849f62d331 removed depth style remap (context does it for us now)
git-svn-id: svn://10.0.0.236/trunk@13538 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:03:49 +00:00
peterl%netscape.com
c6925b2474 added reparent method
git-svn-id: svn://10.0.0.236/trunk@13537 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:03:02 +00:00
rickg%netscape.com
fa58313d3b fixed bug I recently introduced in canContain
git-svn-id: svn://10.0.0.236/trunk@13535 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 02:34:41 +00:00
janc%netscape.com
eda50c70ba New CSS2 parser test
git-svn-id: svn://10.0.0.236/trunk@13534 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 02:05:42 +00:00
janc%netscape.com
9fe486c0b3 new CSS2 parser test
git-svn-id: svn://10.0.0.236/trunk@13533 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 02:01:56 +00:00
kipp%netscape.com
43f3a6ef9c new
git-svn-id: svn://10.0.0.236/trunk@13532 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 01:33:17 +00:00
spider%netscape.com
5c8f6e680f memory leak fixes
git-svn-id: svn://10.0.0.236/trunk@13530 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:50:12 +00:00
despotdaemon%netscape.com
9bdd226ce2 Pseudo-automatic update of changes made by rickg@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13529 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:44:55 +00:00
despotdaemon%netscape.com
b0ee04ea51 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13528 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:43:46 +00:00
despotdaemon%netscape.com
1c5477a07a Pseudo-automatic update of changes made by rickg@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13527 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:41:53 +00:00
troy%netscape.com
1e340bcd24 Changed UpdateView() to call Update() to synchronoulsy repaint the
dirty area if NS_VMREFRESH_IMMEDIATE is specified


git-svn-id: svn://10.0.0.236/trunk@13525 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:17:54 +00:00
troy%netscape.com
336c7bc219 Added Update() member function which forces a synchronous repaint of any
dirty regions of the window


git-svn-id: svn://10.0.0.236/trunk@13524 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:16:59 +00:00
spider%netscape.com
e23567617a More memory leak fixes
git-svn-id: svn://10.0.0.236/trunk@13523 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:15:32 +00:00
jgellman%netscape.com
71f3407fae test program and necessary build and bug fixes
git-svn-id: svn://10.0.0.236/trunk@13522 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:11:43 +00:00
michaelp%netscape.com
a62a32763e fixed bug in ref counting on drawing surfaces in the rendering context.
git-svn-id: svn://10.0.0.236/trunk@13521 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:09:44 +00:00
janc%netscape.com
4b9888f652 changed test
git-svn-id: svn://10.0.0.236/trunk@13520 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 00:08:30 +00:00
despotdaemon%netscape.com
9532cb1ca2 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13519 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:46:49 +00:00
vidur%netscape.com
48cc145a5a Added additional parameter to nsIContent::SetDocument. The document now tells content to lose its weak reference before the document goes away. Elements and text now add their script objects as roots so they don't get collected prematurely.
git-svn-id: svn://10.0.0.236/trunk@13518 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:26:01 +00:00
peterl%netscape.com
a77900beba added support for CSS2 properties
git-svn-id: svn://10.0.0.236/trunk@13517 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:24:05 +00:00
peterl%netscape.com
02c54f87d0 normalized handling of gray vs grey
git-svn-id: svn://10.0.0.236/trunk@13516 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:23:48 +00:00
peterl%netscape.com
50802fef79 sync to api change
git-svn-id: svn://10.0.0.236/trunk@13515 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:23:11 +00:00
vidur%netscape.com
1e98e9a663 Added GC method to script context
git-svn-id: svn://10.0.0.236/trunk@13514 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:22:59 +00:00
peterl%netscape.com
f7190f6f47 added CSS2 property handling
git-svn-id: svn://10.0.0.236/trunk@13513 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:22:40 +00:00
vidur%netscape.com
103713e48c Added GC method to script contenxt
git-svn-id: svn://10.0.0.236/trunk@13512 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:22:21 +00:00
peterl%netscape.com
b323adce22 brought existing property handing up to spec for CSS2
git-svn-id: svn://10.0.0.236/trunk@13511 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:22:19 +00:00
peterl%netscape.com
31130f0665 added aural style hint
git-svn-id: svn://10.0.0.236/trunk@13510 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:21:19 +00:00
peterl%netscape.com
6acac9aa1b moved !important handling into parser
git-svn-id: svn://10.0.0.236/trunk@13509 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:20:45 +00:00
peterl%netscape.com
98f788ca35 added new value types
git-svn-id: svn://10.0.0.236/trunk@13508 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:19:59 +00:00
peterl%netscape.com
49e7c3f993 made helper functions static
git-svn-id: svn://10.0.0.236/trunk@13507 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:19:28 +00:00
peterl%netscape.com
d12d057d72 reversed ridge & groove rendering
git-svn-id: svn://10.0.0.236/trunk@13506 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:18:32 +00:00
peterl%netscape.com
5b2644b7cb added CSS2 properties
git-svn-id: svn://10.0.0.236/trunk@13505 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:16:27 +00:00
peterl%netscape.com
fe65f0b10a added CSS2 keywords
git-svn-id: svn://10.0.0.236/trunk@13504 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:15:35 +00:00
peterl%netscape.com
321cc67e2d renamed cursor values
git-svn-id: svn://10.0.0.236/trunk@13503 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:14:45 +00:00
peterl%netscape.com
f82390981e renamed cursor defines
git-svn-id: svn://10.0.0.236/trunk@13502 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:14:17 +00:00
peterl%netscape.com
3ed23f8046 added defines for CSS2 properties
git-svn-id: svn://10.0.0.236/trunk@13501 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:13:44 +00:00
peterl%netscape.com
73200c8277 moved side defines to nsStyleConsts
git-svn-id: svn://10.0.0.236/trunk@13500 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:13:14 +00:00
peterl%netscape.com
1cd8ece754 fixed usage of grey vs gray, now we support both
git-svn-id: svn://10.0.0.236/trunk@13499 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:11:07 +00:00
waterson%netscape.com
e900d18ade Use PR_EXTERN() macros to ensure external linkage for timing functions.
git-svn-id: svn://10.0.0.236/trunk@13498 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:08:58 +00:00
blizzard%appliedtheory.com
9723eeea42 gnomefe image handling: take three. This uses the same code structure as xfe and does tranparent images, tiling and standard images as it should.
git-svn-id: svn://10.0.0.236/trunk@13497 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:06:58 +00:00
spider%netscape.com
8e40fcd4a6 Memory Leak fixes
git-svn-id: svn://10.0.0.236/trunk@13495 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 22:57:37 +00:00
rickg%netscape.com
843ee0f1c6 fixed bug in IsOrdered that was found on the web
git-svn-id: svn://10.0.0.236/trunk@13494 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 22:33:39 +00:00
jgellman%netscape.com
1c7b13862f test program and necessary build and bug fixes
git-svn-id: svn://10.0.0.236/trunk@13493 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 22:22:30 +00:00
locka%iol.ie
b1cadc9f54 Added event sink to type library
git-svn-id: svn://10.0.0.236/trunk@13492 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 22:19:37 +00:00
locka%iol.ie
36910f8877 Added extra assert
git-svn-id: svn://10.0.0.236/trunk@13491 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 22:18:11 +00:00
locka%iol.ie
c4b86b343e Add new improved interface and multi-threaded goodness
git-svn-id: svn://10.0.0.236/trunk@13490 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 22:15:33 +00:00
locka%iol.ie
dc2098cbe1 New icons for new UI
git-svn-id: svn://10.0.0.236/trunk@13489 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 22:12:56 +00:00
janc%netscape.com
0b93c5a323 CSS2 parser test
git-svn-id: svn://10.0.0.236/trunk@13488 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:53:48 +00:00
janc%netscape.com
73e840f5f5 CSS2 parser test.
git-svn-id: svn://10.0.0.236/trunk@13487 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:53:14 +00:00
troy%netscape.com
5d65c5c70c Made sure to set the opacity and z-index when creating the views
git-svn-id: svn://10.0.0.236/trunk@13486 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:46:33 +00:00
janc%netscape.com
8741a16194 CSS2 parser test
git-svn-id: svn://10.0.0.236/trunk@13485 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:33:52 +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 70 additions and 11682 deletions

View File

@@ -0,0 +1,70 @@
#//------------------------------------------------------------------------
#//
#// Makefile to build the machine independent java runtime library
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH= ..\..
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
DLLNAME = sm$(MOZ_BITS)$(VERSION_NUMBER)
PDBFILE = $(DLLNAME).pdb
MAPFILE = $(DLLNAME).map
DLL =.\$(OBJDIR)\$(DLLNAME).dll
MAKE_OBJ_TYPE = DLL
include <$(DEPTH)\config\config.mak>
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
#// (these must be defined before the common makefiles are included)
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Define any local options for the make tools
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
#//
#//------------------------------------------------------------------------
#LCFLAGS = -DSM_NO_TABLE_DIVISION -DSM_DUMP -DSM_VERIFY=2
LCFLAGS = -DSM_NO_TABLE_DIVISION -DSM_DUMP
!ifndef MOZ_PROF # assume we use a write barrier when profiling
LCFLAGS = $(LCFLAGS) -DSM_NO_WRITE_BARRIER -DSM_CHECK_PTRS -DSM_DEBUG_HEADER
!endif
LLIBS= $(LLIBS) \
$(DEPTH)\dist\WIN32_D.OBJ\lib\libnspr21.lib \
$(DEPTH)\dist\WIN32_D.OBJ\lib\libplds21.lib \
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib

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___