Compare commits

..

3181 Commits

Author SHA1 Message Date
ruslan%netscape.com
b6a9a31b18 Minor cleanup
git-svn-id: svn://10.0.0.236/branches/linkclickfix_tmp_branch@65590 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 03:03:28 +00:00
ruslan%netscape.com
528acf4c90 Now this fixes everything
git-svn-id: svn://10.0.0.236/branches/linkclickfix_tmp_branch@65586 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 02:21:59 +00:00
ruslan%netscape.com
4dcb15068c Merge in GetSecurityInfo fix from the main branch
git-svn-id: svn://10.0.0.236/branches/linkclickfix_tmp_branch@65572 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:24:54 +00:00
ruslan%netscape.com
04353776b2 A better fix for link-click problem
git-svn-id: svn://10.0.0.236/branches/linkclickfix_tmp_branch@65557 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 19:36:56 +00:00
ruslan%netscape.com
3d8808b91f Add more logging
git-svn-id: svn://10.0.0.236/branches/linkclickfix_tmp_branch@65532 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 04:03:20 +00:00
ruslan%netscape.com
0e08e3e2ee Fix for link-click problem
git-svn-id: svn://10.0.0.236/branches/linkclickfix_tmp_branch@65508 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 21:54:37 +00:00
(no author)
953c538a6a This commit was manufactured by cvs2svn to create branch
'linkclickfix_tmp_branch'.

git-svn-id: svn://10.0.0.236/branches/linkclickfix_tmp_branch@65467 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:31:05 +00:00
davidm%netscape.com
a837246fb6 34713 Incorrect MIME type for .dtd files causes browser to not sta
r=sfraser a =jj


git-svn-id: svn://10.0.0.236/trunk@65466 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:31:04 +00:00
beard%netscape.com
a207c82fa2 needed to qualify isFieldKind
git-svn-id: svn://10.0.0.236/trunk@65465 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:24:42 +00:00
beard%netscape.com
a86bd6fe1d adding int to printCharBufferSize
git-svn-id: svn://10.0.0.236/trunk@65464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:23:33 +00:00
waldemar%netscape.com
6206f33439 Fixed Mac MPW build
git-svn-id: svn://10.0.0.236/trunk@65463 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:06:05 +00:00
rginda%netscape.com
aeb31fc3c7 fix to include java version info on rhino(i|ms|msi) engines
git-svn-id: svn://10.0.0.236/trunk@65462 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:05:50 +00:00
waldemar%netscape.com
9ccf4f1672 Made Mac MPW js2 tool work
git-svn-id: svn://10.0.0.236/trunk@65461 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:05:23 +00:00
waldemar%netscape.com
03d030fe69 Added Buffer, BitSet, and implemented Formatters for output
git-svn-id: svn://10.0.0.236/trunk@65460 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:48:05 +00:00
waldemar%netscape.com
e8930953fc Implemented Formatters for output
git-svn-id: svn://10.0.0.236/trunk@65459 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:47:33 +00:00
waldemar%netscape.com
fc34fc49ba Implemented Formatters for output and added parseMember
git-svn-id: svn://10.0.0.236/trunk@65458 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:45:58 +00:00
waldemar%netscape.com
b5267e4d45 Fixed syntax errors
git-svn-id: svn://10.0.0.236/trunk@65457 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:43:08 +00:00
waldemar%netscape.com
9529ea9d27 Commented out syntax error
git-svn-id: svn://10.0.0.236/trunk@65456 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:40:47 +00:00
nelsonb%netscape.com
5d3b43045e Detect failure of NSS_Init.
git-svn-id: svn://10.0.0.236/trunk@65455 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:02:44 +00:00
repka%netscape.com
d2ae30fe63 Put "btoa" back into the built directories, since the underlying code
is now available in nss/lib.


git-svn-id: svn://10.0.0.236/trunk@65454 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:45:50 +00:00
saari%netscape.com
a184d87233 Checking in fix for Waterson for M15 bug #34464, Mac menus crashing after you close a window. Waterson did the work, I just reviewed. r=saari, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65453 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:43:18 +00:00
repka%netscape.com
19e2f0bcca Build new base64 encoder implementation.
git-svn-id: svn://10.0.0.236/trunk@65452 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:41:21 +00:00
dbragg%netscape.com
feb6571090 Oops. Was checking into a branch that was created in the io directory only.
Backing out.


git-svn-id: svn://10.0.0.236/trunk@65451 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:40:25 +00:00
rogerl%netscape.com
8ea5e6aebd Changed compare/branch handling to determine last compare opcode.
Made returnStatement a member in ICG.


git-svn-id: svn://10.0.0.236/trunk@65450 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:40:17 +00:00
Peter.VanderBeken%pandora.be
bb24b2f07b New module file for transformiix. Not part of build yet.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65449 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:39:54 +00:00
repka%netscape.com
238efb4902 Removed BTOA_ConvertItemToAscii (now defined in nssb64e.c, using new
base64 encoder implementation).


git-svn-id: svn://10.0.0.236/trunk@65448 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:38:27 +00:00
Peter.VanderBeken%pandora.be
9d9091443f Fixing class declaration. Not part of build yet.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65447 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:37:48 +00:00
Peter.VanderBeken%pandora.be
7ed19d2d00 Fixing class declarations. Not part of build yet.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65446 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:36:39 +00:00
dbragg%netscape.com
d0fdac4dbe checked in to XPInstall IFile branch
git-svn-id: svn://10.0.0.236/trunk@65445 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:35:05 +00:00
hyatt%netscape.com
598802b0b1 Fixing the XBL event handler bug and the menu accelerator bug (plus getting menus
looking normal again). r=brendan, ben a=leaf


git-svn-id: svn://10.0.0.236/trunk@65444 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:33:41 +00:00
hyatt%netscape.com
6d45452ece Fixing an XBL event handling bug and the menu accelerator bug. r=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65443 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:32:39 +00:00
hyatt%netscape.com
3678a102a6 Fixing an XBL event handling bug and a menu shortcut bug. r=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65442 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:32:36 +00:00
waterson%netscape.com
8f1bbc4ff7 Bug 34714. Only add 'default' containment properties if the 'containment' attribute *isn't* set on the root. r=rjc, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65440 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:01:32 +00:00
waterson%netscape.com
b7c9edaaf2 Bug 34408. Force <treeitem> to reframe when open/close attribute changes. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@65439 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:53:12 +00:00
pnunn%netscape.com
29dec7c37d bug#34801: put a frame notification back at end of frame decoding. r:rods, a:leaf.
git-svn-id: svn://10.0.0.236/trunk@65438 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:51:58 +00:00
rginda%netscape.com
5c75d29ae2 punctuation fix
git-svn-id: svn://10.0.0.236/trunk@65437 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:50:03 +00:00
ruslan%netscape.com
03171d1302 Fix nsBinaryStream::ReadStringZ which used to add extra '\0' thus causing
tje string lenth to be off by 1 and all these nasty nsString warnings;
a=leaf,r=smfr


git-svn-id: svn://10.0.0.236/trunk@65436 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:28:09 +00:00
rginda%netscape.com
f029c602eb -- NOT PART OF THE DEFAULT BUILD --
Added -c (stackchunksize) option to the js shell, for testing purposes
r=pschwartau


git-svn-id: svn://10.0.0.236/trunk@65435 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:19:56 +00:00
rginda%netscape.com
bcba2e4de9 added -o/--opt options to pass args to js engine
git-svn-id: svn://10.0.0.236/trunk@65434 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:14:23 +00:00
terry%mozilla.org
1c8f76fb73 Queries should fully qualify the field name, in case there is more
than one table that have a field with that name.


git-svn-id: svn://10.0.0.236/trunk@65433 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:09:02 +00:00
rginda%netscape.com
0dc5b9ae1a remove +x mode.
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@65432 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 20:27:22 +00:00
rich.burridge%sun.com
2b16c9719e Fix to prevent tail-call optimisation. Fix also includes adjustment to
stack size, plus ASM niceities.
a=leaf r=rogerl
Bug id #15604


git-svn-id: svn://10.0.0.236/trunk@65431 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 18:28:06 +00:00
ashuk%eng.sun.com
978a03597e Made changes for accomodating new CurrentPage Find features into
webclient

a=ashuk
r=edburns
Bug=20659

Ashu


git-svn-id: svn://10.0.0.236/trunk@65430 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:45:27 +00:00
ashuk%eng.sun.com
b8d80f0eaa changed signatures of functions in CurrentPage interface
a=ashuk
r=edburns
Bug=20659

Ashu


git-svn-id: svn://10.0.0.236/trunk@65429 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:42:46 +00:00
ashuk%eng.sun.com
0056fc3244 Added stuff to implement Find features in CurrentPage interface
a=ashuk
r=edburns
Bug=20659

_Ashu


git-svn-id: svn://10.0.0.236/trunk@65428 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:39:01 +00:00
ashuk%eng.sun.com
1703e1e146 Added AWT code to create a generic Dialog box. Used this to create a
Find Dialog Box for the Find features in the CurrentPage interface

a=ashuk
r=edburns
Bug=20659

Ashu


git-svn-id: svn://10.0.0.236/trunk@65427 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:36:57 +00:00
ashuk%eng.sun.com
f3ef86993e Made changes in EMWIndow.java and EmbeddedMozilla.java to create a better
GUI with menus for creating and closing new windows and for Find features.

Ashu

a=ashuk
r=edburns
Bug=20659


git-svn-id: svn://10.0.0.236/trunk@65426 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:33:49 +00:00
kvisco%ziplink.net
15152d130c updated Olivier's information
git-svn-id: svn://10.0.0.236/trunk@65425 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 08:19:39 +00:00
kvisco%ziplink.net
faab154f76 Moved files to source/xslt and source/xpath
git-svn-id: svn://10.0.0.236/trunk@65424 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 07:57:14 +00:00
kvisco%ziplink.net
e087ec3f85 Changed directory structure, changed name of XSLProcessor to XSLTProcessor
git-svn-id: svn://10.0.0.236/trunk@65423 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 07:47:44 +00:00
pavlov%netscape.com
bc2d60ede1 fix for colorpicker not working r=ben a=leaf
git-svn-id: svn://10.0.0.236/trunk@65422 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 06:49:10 +00:00
nelsonb%netscape.com
489dce75cb Convert to BLAPI interface. Make very minor optimizations.
git-svn-id: svn://10.0.0.236/trunk@65421 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 06:07:37 +00:00
alecf%netscape.com
1167bbd9d1 update filter UI from pre-beta1 days
not part of build!


git-svn-id: svn://10.0.0.236/trunk@65420 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 05:24:56 +00:00
edburns%acm.org
64215a475e a=leaf
r=edburns
Author = snizinsk@us.ibm.com

bug: http://bugzilla.mozilla.org/show_bug.cgi?id=34762

#defines for Optlink calling convention


git-svn-id: svn://10.0.0.236/trunk@65419 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 04:21:51 +00:00
edburns%acm.org
afc4214e74 a=leaf
r=edburns
Author = snizinsk@us.ibm.com

bug: http://bugzilla.mozilla.org/show_bug.cgi?id=34762

Use PR_CALLBACK on thread_starter


git-svn-id: svn://10.0.0.236/trunk@65418 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 04:20:32 +00:00
sspitzer%netscape.com
578e7970d0 fix for #33471. fix by mscott, r=sspitzer, a=leaf. stop now works again for news, pop & smtp.
git-svn-id: svn://10.0.0.236/trunk@65417 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 03:23:21 +00:00
robodan%netscape.com
7da0e52342 Add proper reconnect concept
git-svn-id: svn://10.0.0.236/trunk@65416 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 03:21:53 +00:00
beard%netscape.com
c8788c23eb Added interpreter.o to build of js2.
git-svn-id: svn://10.0.0.236/trunk@65415 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 03:05:12 +00:00
beard%netscape.com
d8212dd27a cases for SUBTRACT, MULTIPLY, DIVIDE in print().
git-svn-id: svn://10.0.0.236/trunk@65414 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 03:02:24 +00:00
beard%netscape.com
e431bb0ff8 added testInterpreter(), which computes factorial using iCode (woo hoo!)
git-svn-id: svn://10.0.0.236/trunk@65413 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:59:16 +00:00
beard%netscape.com
826b63caba more arithmetic, conditional branches, return instruction.
git-svn-id: svn://10.0.0.236/trunk@65412 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:58:22 +00:00
beard%netscape.com
beb6ce856d added new instructions, SUBTRACT, MULTIPLY, DIVICE, BRANCH_*, and RETURN. Changed LoadVar/SaveVar to have uint32 operand. Added optional paramter branchOp to ICodeGenerator::branchConditional() & endWhileExpression() to parametrize branch kind. Added complete(Register) to generate a RETURN instruction.
git-svn-id: svn://10.0.0.236/trunk@65411 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:57:42 +00:00
beard%netscape.com
82df346ee5 added a ref field, changed default constructor to initialize f64.
git-svn-id: svn://10.0.0.236/trunk@65410 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:52:51 +00:00
nelsonb%netscape.com
e4e6791139 Check in original SHA implementation sources on behalf of Paul Kocher Cryptography Research, Inc. paul@cryptography.com
git-svn-id: svn://10.0.0.236/trunk@65409 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:48:30 +00:00
mccabe%netscape.com
5b3b220e27 Fix console by updating component request from unused 'consoleservice' to 'mozilla.consoleservice.1'. Oversight!
git-svn-id: svn://10.0.0.236/trunk@65408 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:08:18 +00:00
jim_nance%yahoo.com
e451d3b332 Someone broke jprof. This fixes it. This (obviously) should
not break anything, but if it does, give me a call at 919.859.3885.
a,r=leaf


git-svn-id: svn://10.0.0.236/trunk@65407 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:46:07 +00:00
akkana%netscape.com
1ada668b89 24360: make mail compose window remember its size/position. r=cmanske,a=leaf
git-svn-id: svn://10.0.0.236/trunk@65406 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:22:41 +00:00
jim_nance%yahoo.com
750fa76806 Removed extraneous parenthesis which caused make to spit warnings.
r,a=leaf


git-svn-id: svn://10.0.0.236/trunk@65403 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:18:34 +00:00
cmanske%netscape.com
20170b35d2 Fixed spell checker bug 34479. r=akkana, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65402 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:17:54 +00:00
repka%netscape.com
4875e07b30 Fixed some typos and inconsistencies.
git-svn-id: svn://10.0.0.236/trunk@65401 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:42:49 +00:00
repka%netscape.com
fb068397fb First cut at replacement for base64 encoder.
git-svn-id: svn://10.0.0.236/trunk@65400 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:39:49 +00:00
repka%netscape.com
5314d8e5ca - Added an error check and comment complementary to thayes's previous change
(same as I had already made in my version, but he beat me to checking it in).
- Some miscellaneous clean-up (typos, really).


git-svn-id: svn://10.0.0.236/trunk@65399 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:38:12 +00:00
danm%netscape.com
85c6799dd2 another tweak for bug 34631
git-svn-id: svn://10.0.0.236/trunk@65398 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:37:51 +00:00
thayes%netscape.com
3bea4efd2f Initialize SECItem values in ATOB_ routines to avoid PR_Assert for previously
allocated data buffers in the NSS versions of these routines.


git-svn-id: svn://10.0.0.236/trunk@65397 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:26:24 +00:00
thayes%netscape.com
1267e8cd26 Change handling of hash table for OSCP hashes to delete both hash key and
associated value in the hashtable "free entry" routine.  Fixes a memory leak.
(Re Netscape bug: 390117)


git-svn-id: svn://10.0.0.236/trunk@65396 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:24:43 +00:00
pavlov%netscape.com
ccf012c877 fix build problems
git-svn-id: svn://10.0.0.236/trunk@65395 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:17:39 +00:00
repka%netscape.com
9ae1a5bad4 Add a trailing CRLF; the encoder doesn't.
git-svn-id: svn://10.0.0.236/trunk@65394 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:15:54 +00:00
rogerl%netscape.com
ce4eff7437 Resolved branch targets
git-svn-id: svn://10.0.0.236/trunk@65393 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:04:11 +00:00
beard%netscape.com
e1e3d42b75 removed usage of labels (duh)
git-svn-id: svn://10.0.0.236/trunk@65392 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:57:51 +00:00
evaughan%netscape.com
a4bb7357fa Fixes for bugs
#34079 (context menus)
#34673 (grid crashes)
(Crash opening many of the editor dialogs)

-r hyatt -a leaf


git-svn-id: svn://10.0.0.236/trunk@65391 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:46:48 +00:00
bruce%cybersight.com
fa90ceb20a Fix build bustage. a=leaf,mulled=dveditz
git-svn-id: svn://10.0.0.236/trunk@65390 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:43:49 +00:00
rogerl%netscape.com
3580a148de typedef'd instructions
git-svn-id: svn://10.0.0.236/trunk@65389 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:41:58 +00:00
svn%xmlterm.org
1231c8bf78 xmlterm changes only, should not affect default SeaMonkey build;
(blanket a=leaf)
Fixed minor typos causing Solaris bustage


git-svn-id: svn://10.0.0.236/trunk@65388 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:40:39 +00:00
jst%netscape.com
fd4153a968 Fixing unix objdir build bustage. r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@65387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:26:15 +00:00
rjc%netscape.com
9445d5ad26 Fix bug # 34557: choosing a new search category needs to update the list of engines. Review: waterson Approval: leaf
git-svn-id: svn://10.0.0.236/trunk@65386 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:16:22 +00:00
danm%netscape.com
272c27c2de bug 34631 -- host window was forcing itself above popup menus created from clicks in window content. r=saari a=leaf
git-svn-id: svn://10.0.0.236/trunk@65385 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:11:44 +00:00
alecf%netscape.com
2631283d4e fix for #34199 r=sspitzer a=leaf
when enumerating preferences, build up the list before the callback is called, instead of while the hash table is being enumerated


git-svn-id: svn://10.0.0.236/trunk@65384 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:09:04 +00:00
evaughan%netscape.com
88ca55b802 Fix for PDT bugs #34056, #34280 (endor focus bug and tree sorting bug)
git-svn-id: svn://10.0.0.236/trunk@65383 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:02:29 +00:00
jim_nance%yahoo.com
8116cad07e Fix for bug 34543. Compile problem under Tru64 Unix.
a=leaf.  This is #ifdefed for Tru64 Unix, but if it causes
bustage and I am not on IRC, you can get me at 919.859.3885


git-svn-id: svn://10.0.0.236/trunk@65382 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 22:37:01 +00:00
robodan%netscape.com
36ea13f657 Add some initial series support
git-svn-id: svn://10.0.0.236/trunk@65381 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 21:55:54 +00:00
edburns%acm.org
6bd98defd0 bug: http://bugzilla.mozilla.org/show_bug.cgi?id=34665
This change replaces all printfs in src_moz with calls to PR_LOG.  No
printfs should appear in src_moz anymore.

You won't see any console output from native code unless you define

NSPR_LOG_MODULES=webclient:3

in your environment.  Furthermore, if you want PR_LOG statements in
webclient to go to a file instead, define

WEBCLIENT_LOG_FILE=C:\VALIDDIR\filename.txt

in your environment.  This file will get created fresh each time, since
PR_LOG uses fopen(filename, "w").

New Files:

I've created ns_globals.h, included from jni_util.h.  ns_globals.h holds
an extern * to a struct used in the PR_LOG calls.

Significant changes:

WrapperFactoryImpl.cpp

nativeAppInitialize(){

Added:

#if DEBUG_RAPTOR_CANVAS
    prLogModuleInfo = PR_NewLogModule("webclient");
    const char *webclientLogFile = PR_GetEnv("WEBCLIENT_LOG_FILE");
    if (nsnull != webclientLogFile) {
        PR_SetLogFile(webclientLogFile);
        // If this fails, it just goes to stdout/stderr
    }
#endif
}

All the other files in this checkin follow the this pattern:

Before checkin:

       printf("InitMozillaStuff(%lx): Create the Event Queue for the UI thread...\n",
               initContext);

After checkin:

    if (prLogModuleInfo) {
        PR_LOG(prLogModuleInfo, 3,
               ("InitMozillaStuff(%lx): Create the Event Queue for the UI thread...\n",
               initContext));
    }

See http://lxr.mozilla.org/mozilla/source/nsprpub/pr/include/prlog.h#190

for the definition of PR_LOG


git-svn-id: svn://10.0.0.236/trunk@65380 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 21:38:27 +00:00
beard%netscape.com
e095d84ccd Added default case to avoid warning
git-svn-id: svn://10.0.0.236/trunk@65379 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 21:26:01 +00:00
mscott%netscape.com
6a0e14a348 Bug #34561 --> we were reporting false timeouts with connection based protocols
r=ruslan,warren
a=granrose


git-svn-id: svn://10.0.0.236/trunk@65378 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 21:15:44 +00:00
beard%netscape.com
a91f66f391 added "globals", labels parameter for branches, combined some Instruction_N<> typedefs.
git-svn-id: svn://10.0.0.236/trunk@65377 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:33:41 +00:00
beard%netscape.com
c8c4fce31f added labels parameter.
git-svn-id: svn://10.0.0.236/trunk@65376 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:29:09 +00:00
beard%netscape.com
e84810f504 added Instruction::opcode(), and Instruction_N::oN(), and ICodeGenerator::getLabels().
git-svn-id: svn://10.0.0.236/trunk@65375 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:28:17 +00:00
beard%netscape.com
e7393a42b0 moved declaration of lgBasicAlignment & basicAlignment inside the include guard.
git-svn-id: svn://10.0.0.236/trunk@65374 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:26:49 +00:00
wtc%netscape.com
2c58e6354d Bugzilla bug #29427: restore the realclean/clobber_all targets to their
original behavior.
Modified files: Makefile, Makefile.in, config/rules.mk


git-svn-id: svn://10.0.0.236/trunk@65373 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:18:13 +00:00
despotdaemon%netscape.com
88e2ee342c Pseudo-automatic update of changes made by rich.burridge@sun.com.
git-svn-id: svn://10.0.0.236/trunk@65372 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 19:25:09 +00:00
edburns%acm.org
2decd663c1 DOESN'T IMPACT SEAMONKEY since it's inside
!ifdef JDIRS.

a=leaf
r=leaf
author=Steven Green <steven@surfcast.com>

bug: http://bugzilla.mozilla.org/show_bug.cgi?id=34614

Make it so clobber_all, as well as clobber: causes java .class files
in packages defined in JDIRS to be deleted.


git-svn-id: svn://10.0.0.236/trunk@65371 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 18:56:00 +00:00
rogerl%netscape.com
5e575e0c0a added missing semi in win32 case
git-svn-id: svn://10.0.0.236/trunk@65370 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 18:20:02 +00:00
beard%netscape.com
98eab49b31 added interpreter.cpp/.h
git-svn-id: svn://10.0.0.236/trunk@65369 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 18:06:04 +00:00
despotdaemon%netscape.com
eea46ae431 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@65368 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 18:04:33 +00:00
evaughan%netscape.com
9429071437 Last solaris build bustage fix.
git-svn-id: svn://10.0.0.236/trunk@65367 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 08:20:24 +00:00
evaughan%netscape.com
7f0295183a fix for solaris
git-svn-id: svn://10.0.0.236/trunk@65366 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 07:35:13 +00:00
evaughan%netscape.com
eb756173af Possible fix for solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@65365 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 07:27:59 +00:00
cls%seawood.org
54f5fc1db7 Forgot MOZ_REGISTRY_LIBS needed for os/2.
git-svn-id: svn://10.0.0.236/trunk@65363 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:58:57 +00:00
warren%netscape.com
afc9350a68 Fix to not call OnStartRequest if channel has been canceled. Bug #31957
git-svn-id: svn://10.0.0.236/trunk@65362 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:46:00 +00:00
dveditz%netscape.com
21216861fd making the StringBundleService use threadsafe ISupports so I can proxy it
git-svn-id: svn://10.0.0.236/trunk@65361 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:44:17 +00:00
evaughan%netscape.com
67fd8a1eb0 1) Fixed assertion in nsGfxTextFrame
2) More fixes to Grid widget


git-svn-id: svn://10.0.0.236/trunk@65360 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:41:27 +00:00
brendan%mozilla.org
200a1a7b52 Fix 22048 and 33391 (see bugs for details; r=jband@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@65359 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:39:11 +00:00
sgehani%netscape.com
278553d877 Don't have access to a solaris build: ifdef'ing for linux only.
git-svn-id: svn://10.0.0.236/trunk@65358 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:27:26 +00:00
cls%seawood.org
d9f2be62a7 Added newline to end of these files to placate the HP compiler.
So when are we going to make build/unix/print-non-newline.sh part of the cvs-commit filter?


git-svn-id: svn://10.0.0.236/trunk@65357 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:18:10 +00:00
rickg%netscape.com
ffb76e8c10 update nsStringX classes; not part of build
git-svn-id: svn://10.0.0.236/trunk@65356 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:11:03 +00:00
beard%netscape.com
caec52d10b linux fixes
git-svn-id: svn://10.0.0.236/trunk@65355 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:10:53 +00:00
cls%seawood.org
050469e617 Minor changes to incoporate OS/2 into our build system. Bug #34106
We now set MOZ_{JPEG,ZLIB,PNG}_{CFLAGS,LIBS}, XPCOM_LIBS, MOZ_COMPONENT*_LIBS, WIDGET_DLL, GFXWIN_DLL and MOZ_JS_LIBS in configure.
Added os2 specific arguments to configure.
Added os2 target arch section to configure.
Modified a handful of Makefile.ins to use MOZ_JS_LIBS, MOZ_COMPONENT_LIBS, & EXTRA_DSO_LIBS where necessary.


git-svn-id: svn://10.0.0.236/trunk@65354 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:08:04 +00:00
beard%netscape.com
03f68d8e4f first crack at an icode interpreter
git-svn-id: svn://10.0.0.236/trunk@65353 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:05:57 +00:00
rickg%netscape.com
b6f21d1225 improvements to string testbed to test perf
git-svn-id: svn://10.0.0.236/trunk@65352 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:04:12 +00:00
dveditz%netscape.com
21998f5309 fixing thread-safety issues
git-svn-id: svn://10.0.0.236/trunk@65351 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 06:02:58 +00:00
waterson%netscape.com
5fd7aa381d Bug 29507. Clean up PresShell refcounting. r=troy
git-svn-id: svn://10.0.0.236/trunk@65350 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:58:06 +00:00
bryner%uiuc.edu
9cd04ca551 Making nsTXTToHTMLConv implement nsITXTToHTMLConv. r=valeski.
git-svn-id: svn://10.0.0.236/trunk@65349 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:53:35 +00:00
sgehani%netscape.com
7d00ab591b Turning on Unix installer for GTK enabled environments. [b = 16300]
git-svn-id: svn://10.0.0.236/trunk@65348 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:52:30 +00:00
bryner%uiuc.edu
d331ebc06f Adding nsITXTToHTMLConv.idl to the build on Windows and Unix.
git-svn-id: svn://10.0.0.236/trunk@65347 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:49:34 +00:00
waterson%netscape.com
d66c07326c Fix windows bustage introduced trying to fix solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@65346 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:48:33 +00:00
dveditz%netscape.com
4928f4719b bugs 20044 and 30698
git-svn-id: svn://10.0.0.236/trunk@65345 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:47:50 +00:00
sgehani%netscape.com
1a66c67fc1 Making xpistub work on Unix... again!
git-svn-id: svn://10.0.0.236/trunk@65344 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:47:39 +00:00
bryner%uiuc.edu
f06746377c This CID definition is not needed.
git-svn-id: svn://10.0.0.236/trunk@65343 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:47:29 +00:00
dveditz%netscape.com
fc45aeab91 fixing IDL casing convention
git-svn-id: svn://10.0.0.236/trunk@65342 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:45:24 +00:00
valeski%netscape.com
523f17b1a0 adding nsITXTToHTMLConv.idl
git-svn-id: svn://10.0.0.236/trunk@65341 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:34:36 +00:00
bienvenu%netscape.com
6a3609938e adding some default server prefs for imap delete, fetch by junks, mpod
git-svn-id: svn://10.0.0.236/trunk@65340 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:31:14 +00:00
waterson%netscape.com
c8a98cb877 Renamed to nsXULTemplatebuilder.cpp
git-svn-id: svn://10.0.0.236/trunk@65339 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:22:14 +00:00
bryner%uiuc.edu
a16f278163 Adding a new interface for the text to HTML converter.
git-svn-id: svn://10.0.0.236/trunk@65338 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:21:13 +00:00
waterson%netscape.com
f12ff894e2 Fix build bustage on Solaris Workshop compiler.
git-svn-id: svn://10.0.0.236/trunk@65337 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:18:42 +00:00
waterson%netscape.com
c7054a1246 Bug 29507. Clean up PresShell refcounting. r=troy
git-svn-id: svn://10.0.0.236/trunk@65336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:17:36 +00:00
sgehani%netscape.com
ade2ca3d55 * Fixing ui/engine thread communication flakiness.
* Expecting .xpis in a tucked away ./xpi/ dir now.
* Renamed installer binary target to mozilla-installer.

Not part of build just yet.

b = 16300


git-svn-id: svn://10.0.0.236/trunk@65335 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:16:05 +00:00
svn%xmlterm.org
7b9131801e xmlterm changes only;
Windows mode implemented


git-svn-id: svn://10.0.0.236/trunk@65334 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:15:14 +00:00
ftang%netscape.com
429cdfc0b8 fix 27886. Swap implementation to the new one.
git-svn-id: svn://10.0.0.236/trunk@65333 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:13:52 +00:00
ruslan%netscape.com
d340140454 Fix pipelining case when chunk encoding stream is pushed (pipelining is
not a default yet).


git-svn-id: svn://10.0.0.236/trunk@65332 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:08:40 +00:00
sgehani%netscape.com
fdfe581345 Preparing Unix installer automation. Not part of build. Only used by
release.  Can also be used by anyone who wishes to generate a complete Unix
GUI installer from a local mozilla tree:
    prompt > perl deliver.pl
with no args defaults all required args for you and delivers a fully usable
GTK/pthreads requiring installer to
    mozilla/installer/sea/mozilla-installer.tar.gz


git-svn-id: svn://10.0.0.236/trunk@65331 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:06:29 +00:00
morse%netscape.com
86239b0847 fix bug 34499 don't display Block-Image if image is already blocked
git-svn-id: svn://10.0.0.236/trunk@65330 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 05:05:09 +00:00
saari%netscape.com
bb315bb524 Fixing Mac About menu to reflect Mozilla or Navigator as appropriate.
git-svn-id: svn://10.0.0.236/trunk@65328 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 04:54:04 +00:00
ruslan%netscape.com
a4dda2d74d Fix 34359 - nsSocketTransport timeout should also work while waiting on
actual data, not only while connecting.


git-svn-id: svn://10.0.0.236/trunk@65327 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 04:49:35 +00:00
ruslan%netscape.com
500b1474b9 Fix uninitialized variable. Minor code cleanup.
git-svn-id: svn://10.0.0.236/trunk@65326 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 04:38:08 +00:00
beard%netscape.com
af26bcaece turned off '\n' -> '\r' mapping
git-svn-id: svn://10.0.0.236/trunk@65325 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 04:25:51 +00:00
beard%netscape.com
037c859fd6 backed out "fix" (thanks waldemar)
git-svn-id: svn://10.0.0.236/trunk@65324 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 04:24:19 +00:00
valeski%netscape.com
553c0e9909 r=rhp, mscott. 34401. adding nsTXT converter back into the mix and removing prog id collision between it and mozTXT converter
git-svn-id: svn://10.0.0.236/trunk@65323 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 04:12:29 +00:00
rjc%netscape.com
c1e328d909 Fix bug # 29871: allow string substution with shortcut URLs.
git-svn-id: svn://10.0.0.236/trunk@65322 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 04:06:40 +00:00
attinasi%netscape.com
774ad7e810 Fixed regression bug 34257 and also contributed toward fixing 17309 by making external style sheets load blocking the parser, unless they are alternates. r=pierre b=34257, 17309
git-svn-id: svn://10.0.0.236/trunk@65321 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 04:02:38 +00:00
mscott%netscape.com
f907b78d65 Pass the address of the jsval instead of the value (which was null). This helps allow you to access xp-connect
objects from xbl.
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@65320 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 04:00:13 +00:00
beard%netscape.com
812c994be4 removed newline mapping code (instead using compiler mapping of '\n' to '\r' in literals, which should do the right thing).
git-svn-id: svn://10.0.0.236/trunk@65319 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:57:57 +00:00
beard%netscape.com
ebcb097cc9 added JS2MPW target (non-debug), converted MPW targets to do newline mapping (rather than using explicit override functions).
git-svn-id: svn://10.0.0.236/trunk@65318 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:56:34 +00:00
erik%netscape.com
55d8e9517c bug 30382; mostly written by tor@cs.brown.edu, partly by me; re-use the
font name cache in nsFontMetricsGTK.cpp from the device context


git-svn-id: svn://10.0.0.236/trunk@65317 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:56:15 +00:00
beard%netscape.com
50ed51e1c7 removed DEBUG
git-svn-id: svn://10.0.0.236/trunk@65316 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:54:46 +00:00
beard%netscape.com
5673a2aff0 debug prefix for MPW tool.
git-svn-id: svn://10.0.0.236/trunk@65315 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:54:30 +00:00
dveditz%netscape.com
d2e14e9235 Use threadsafe ISupports for service
git-svn-id: svn://10.0.0.236/trunk@65314 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:31:57 +00:00
davidm%netscape.com
f21b1a9cba No idea why this built for me. Change '????' to hex equivalent
git-svn-id: svn://10.0.0.236/trunk@65313 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:29:40 +00:00
jbetak%netscape.com
4ac27f690c crash when loading external JS files - bug 33029
git-svn-id: svn://10.0.0.236/trunk@65312 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:18:41 +00:00
davidm%netscape.com
5fc312c27f 31054 'TEXT' file which contains non ASCII does not open correctly
git-svn-id: svn://10.0.0.236/trunk@65311 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:03:50 +00:00
davidm%netscape.com
3c6f758b9e 31054 TEXT' file which contains non ASCII does not open correctly
git-svn-id: svn://10.0.0.236/trunk@65310 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:01:51 +00:00
davidm%netscape.com
8b18566b07 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@65309 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 03:00:00 +00:00
rjc%netscape.com
1a496a3697 Fix bug # 34125: bookmarks drag&drop edge-case fix.
git-svn-id: svn://10.0.0.236/trunk@65308 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:56:44 +00:00
ssu%netscape.com
8e89a24793 fixing bugs #32765, 32693, 21034, 33164.
affects only windows


git-svn-id: svn://10.0.0.236/trunk@65307 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:51:44 +00:00
danm%netscape.com
4a69fa07d1 implementing z-level control. not polished, but functional.
git-svn-id: svn://10.0.0.236/trunk@65306 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:48:29 +00:00
sgehani%netscape.com
6274659d0f Renaming install.jst to xpcom.jst. Part of automation requirement for new
.xpi name.


git-svn-id: svn://10.0.0.236/trunk@65305 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:48:23 +00:00
jst%netscape.com
cb06101661 Eliminating the last traces of NS_COMFALSE from the DOM code, fixes M15 bug #11594.
git-svn-id: svn://10.0.0.236/trunk@65304 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:40:08 +00:00
sgehani%netscape.com
84ef16c22c Renaming install.xpi to xpcom.xpi.
git-svn-id: svn://10.0.0.236/trunk@65303 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:39:55 +00:00
mkaply%us.ibm.com
b3f0f45fdd # 34082
r= waterson@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage


git-svn-id: svn://10.0.0.236/trunk@65302 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:39:51 +00:00
sgehani%netscape.com
29a8c53414 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@65301 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:39:00 +00:00
mkaply%us.ibm.com
73dbfd8a52 # 34082
r= jst@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage


git-svn-id: svn://10.0.0.236/trunk@65300 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:37:25 +00:00
sfraser%netscape.com
307ac0c598 Work in progress for Cut/copy/paste on context menu. r=ben
git-svn-id: svn://10.0.0.236/trunk@65299 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:37:06 +00:00
mkaply%us.ibm.com
f33889c73e # 34082
r= pnunn@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage


git-svn-id: svn://10.0.0.236/trunk@65298 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:36:47 +00:00
sfraser%netscape.com
e32a4658b2 Give the Find and Find Again menu items a shortcut key, and tidy up the Search menu. r=ben
git-svn-id: svn://10.0.0.236/trunk@65297 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:36:29 +00:00
sfraser%netscape.com
84f5f16e95 Give the Find and Find Again menu items a shortcut key, and add Cut/Copy/Paste strings for the context menu. r=ben
git-svn-id: svn://10.0.0.236/trunk@65296 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:35:57 +00:00
mkaply%us.ibm.com
d235fa9b63 # 34082
r= alecf@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage


git-svn-id: svn://10.0.0.236/trunk@65295 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:35:25 +00:00
sfraser%netscape.com
f6760bbcf9 Add a Redo menu item, for future use. r=ben
git-svn-id: svn://10.0.0.236/trunk@65294 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:35:15 +00:00
sfraser%netscape.com
ccdae4ba5e Fix for bug 29811 -- srGetStrBundle error on Mac. r=ben
git-svn-id: svn://10.0.0.236/trunk@65293 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:34:25 +00:00
mkaply%us.ibm.com
a95d031087 # 34082
r= wtc@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage


git-svn-id: svn://10.0.0.236/trunk@65292 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:33:57 +00:00
sfraser%netscape.com
bf58646738 Fix for bug 29807; JS error from hidden window on Mac. r=ben
git-svn-id: svn://10.0.0.236/trunk@65291 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:33:03 +00:00
mkaply%us.ibm.com
30e533ca3d # 34082
r= warren@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage


git-svn-id: svn://10.0.0.236/trunk@65290 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:32:07 +00:00
sfraser%netscape.com
ab58114b96 Fix the Open button in the dialog to be enabled after a Choose file, and on paste. r=ben
git-svn-id: svn://10.0.0.236/trunk@65289 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:31:19 +00:00
danm%netscape.com
4d41059660 when constraining z-level, make changes if "immediate" flag is set
git-svn-id: svn://10.0.0.236/trunk@65288 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:30:59 +00:00
sfraser%netscape.com
15a0f37943 Make the prefs dialog position persist. r=ben
git-svn-id: svn://10.0.0.236/trunk@65287 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:29:30 +00:00
mkaply%us.ibm.com
4953b60f0d # 33860
r= mkaply@us.ibm.com
OS/2 bring up - bad code in drawing cursor


git-svn-id: svn://10.0.0.236/trunk@65286 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:28:40 +00:00
mkaply%us.ibm.com
f9730b371e # 33860
r= mkaply@us.ibm.com
OS/2 bring up - uninitialized variables


git-svn-id: svn://10.0.0.236/trunk@65285 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:22:34 +00:00
mkaply%us.ibm.com
e8210bc32c # 33860
r= mkaply@us.ibm.com
OS/2 bring up - need the proper icon


git-svn-id: svn://10.0.0.236/trunk@65284 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:21:26 +00:00
mkaply%us.ibm.com
117c426428 # 33859
r= mkaply@us.ibm.com
OS/2 build - need an os2charset.properties - doesn't do anything yet


git-svn-id: svn://10.0.0.236/trunk@65283 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:19:51 +00:00
brendan%mozilla.org
66bc1e6c09 Clean up ugly whitespace, some of which survived my r=brendan comments.
git-svn-id: svn://10.0.0.236/trunk@65282 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:17:38 +00:00
mkaply%us.ibm.com
6c70a8133b # 33859
r= mkaply@us.ibm.com
OS/2build - add new module file


git-svn-id: svn://10.0.0.236/trunk@65281 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:17:28 +00:00
mkaply%us.ibm.com
2560194d84 # 33859
r= warren@netscape.com
OS/2build - add or change #ifdefs


git-svn-id: svn://10.0.0.236/trunk@65280 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:14:34 +00:00
ssu%netscape.com
db8df75997 fixing bugs #32765, 32693, 21034, 33164.
affects only windows


git-svn-id: svn://10.0.0.236/trunk@65279 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:13:50 +00:00
cls%seawood.org
ac2404dde2 Changes to get the BeOS build running. Patch provided by Yannick Koehler <koehler@mythrium.com> .
git-svn-id: svn://10.0.0.236/trunk@65278 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:12:26 +00:00
danm%netscape.com
8351af30e1 abort on null PresShell during focus blur and deactivate. bug 34148 r=saari
git-svn-id: svn://10.0.0.236/trunk@65277 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:10:25 +00:00
ssu%netscape.com
d80693b566 fixing bugs #32765, 32693, 21034, 33164.
affects only windows


git-svn-id: svn://10.0.0.236/trunk@65276 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:05:31 +00:00
beard%netscape.com
ed4663df13 now using gc_container<T>.
git-svn-id: svn://10.0.0.236/trunk@65275 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:05:12 +00:00
beard%netscape.com
89d4673f05 convenience container types that use the GC_allocator.
git-svn-id: svn://10.0.0.236/trunk@65274 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:03:03 +00:00
sgehani%netscape.com
fabd87a395 Various Mac installer features/fixes:
* Installer Modules folder now expected
* Not displaying invisible components in setup type desc
* Multi-xpi per checkbox support
* Centering about box

b=18912, 32690, 32707, 33370


git-svn-id: svn://10.0.0.236/trunk@65273 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:56:37 +00:00
beard%netscape.com
1bd7f13d64 added a comment.
git-svn-id: svn://10.0.0.236/trunk@65272 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:55:14 +00:00
svn%xmlterm.org
3518b8c6fc xmlterm changes only;
Autodetection of window resize at end of input command line.


git-svn-id: svn://10.0.0.236/trunk@65271 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:51:34 +00:00
rjc%netscape.com
522ee47bed Fix bug # 33657: add "UTF-8" encoding meta-tag into default bookmark file.
git-svn-id: svn://10.0.0.236/trunk@65270 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:49:57 +00:00
jst%netscape.com
158746e816 Add a nsHTMLUnknownElement class for LAYER, ILAYER, NOLAYER and unknown elements, this element is a normal element except that it doesn't do inline style processing. This fixes M15 bug #22260.
git-svn-id: svn://10.0.0.236/trunk@65269 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:46:48 +00:00
ruslan%netscape.com
8b1878c5fc Landing the next batch of http pipelining changes. Still not enabled by default
(but you can set a pref in all.js and it'll work and some sites will load
ultra-fast). pipelining_reorg_point2 is pre-checkin tag in case of major
bustages (which there should be none).


git-svn-id: svn://10.0.0.236/trunk@65268 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:43:57 +00:00
jst%netscape.com
0d711a757a added files: mozilla/layout/html/content/src/nsHTMLUnknownElement.cpp
git-svn-id: svn://10.0.0.236/trunk@65267 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:43:48 +00:00
sfraser%netscape.com
eed8a0458e Convert the Find dialog to use new XUL widgets. r=ben.
git-svn-id: svn://10.0.0.236/trunk@65266 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:43:15 +00:00
nelsonb%netscape.com
afbe16c2ba Change definition of $FILES. Don't include contents of CVS subdirectory.
git-svn-id: svn://10.0.0.236/trunk@65265 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 01:11:53 +00:00
sspitzer%netscape.com
83c17cbf3a remove my debugging printf.
git-svn-id: svn://10.0.0.236/trunk@65264 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:53:44 +00:00
beard%netscape.com
184b213c8c making icode generation test not mutually exclusive with the REPL.
git-svn-id: svn://10.0.0.236/trunk@65263 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:52:47 +00:00
beard%netscape.com
d2bb97f65d changed to use locally built gc.o library.
git-svn-id: svn://10.0.0.236/trunk@65262 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:50:59 +00:00
beard%netscape.com
913280223b gc configuration file.
git-svn-id: svn://10.0.0.236/trunk@65261 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:50:32 +00:00
sspitzer%netscape.com
a33e8f2695 fix for #34443. fix by waterson, r=sspitzer. now, it just asserts.
git-svn-id: svn://10.0.0.236/trunk@65260 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:50:20 +00:00
beard%netscape.com
abf915c0cb local project to build the gc itself.
git-svn-id: svn://10.0.0.236/trunk@65259 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:50:01 +00:00
ftang%netscape.com
d7919e0f34 put back blank out header file to fix breakage
git-svn-id: svn://10.0.0.236/trunk@65258 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:44:06 +00:00
jst%netscape.com
d25e292375 Removing #include and unused static IID, not part of the build quite yet.
git-svn-id: svn://10.0.0.236/trunk@65257 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:37:51 +00:00
jst%netscape.com
9fdec9c0df Adding class for unknown elements, not part of the build quite yet.
git-svn-id: svn://10.0.0.236/trunk@65256 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:35:54 +00:00
pavlov%netscape.com
4e2f05ea8b fix morse's last checkin to not have to allocate strings
git-svn-id: svn://10.0.0.236/trunk@65255 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:34:36 +00:00
evaughan%netscape.com
fbe42ca42b Forgot a file.
git-svn-id: svn://10.0.0.236/trunk@65254 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:31:30 +00:00
morse%netscape.com
663dce1932 undo partial fix for bug 26020
git-svn-id: svn://10.0.0.236/trunk@65253 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:30:40 +00:00
alecf%netscape.com
4c1a0db0ee add new strings for smtp picker and localize the server type
git-svn-id: svn://10.0.0.236/trunk@65252 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:29:07 +00:00
alecf%netscape.com
8cc70bd69d add "Advanced..." text
git-svn-id: svn://10.0.0.236/trunk@65251 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:28:27 +00:00
alecf%netscape.com
1dff3fe651 add new DTD for smtp picker
git-svn-id: svn://10.0.0.236/trunk@65250 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:27:38 +00:00
alecf%netscape.com
6f2d9eb400 change "stationery" to "templates"
git-svn-id: svn://10.0.0.236/trunk@65249 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:26:47 +00:00
alecf%netscape.com
89c6685952 fix typo with missing space
git-svn-id: svn://10.0.0.236/trunk@65248 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:26:21 +00:00
alecf%netscape.com
6a80fe3bd4 fix <html> tag and width so that the verbose text appears
git-svn-id: svn://10.0.0.236/trunk@65247 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:25:22 +00:00
karnaze%netscape.com
3cba3cfa2d new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@65246 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:24:13 +00:00
alecf%netscape.com
522e09c892 add "Advanced" button to main panel to get to per-identity smtp picker
git-svn-id: svn://10.0.0.236/trunk@65245 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:22:37 +00:00
alecf%netscape.com
4db977ec70 updates to the server panel - make server type localizable, use new XUL widget
git-svn-id: svn://10.0.0.236/trunk@65244 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:21:49 +00:00
alecf%netscape.com
d491e6a6d5 add per-identity smtp chooser to build for #18184
git-svn-id: svn://10.0.0.236/trunk@65243 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:20:48 +00:00
alecf%netscape.com
2e95679cb5 add per-identity smtp picker for #18184
git-svn-id: svn://10.0.0.236/trunk@65242 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:20:21 +00:00
evaughan%netscape.com
bee2a40c9b Added grid files
git-svn-id: svn://10.0.0.236/trunk@65241 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:19:29 +00:00
evaughan%netscape.com
5062bb0a09 added files: mozilla/layout/xul/base/src/nsObeliskLayout.cpp, mozilla/layout/xul/base/src/nsTempleLayout.cpp, mozilla/layout/xul/base/src/nsMonumentLayout.cpp, mozilla/layout/xul/base/src/nsGridLayout.cpp
git-svn-id: svn://10.0.0.236/trunk@65240 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:19:26 +00:00
evaughan%netscape.com
faa007901c 1) Bug fixes.
2) Changed to fix rods text control
3) Added new Grid widget


git-svn-id: svn://10.0.0.236/trunk@65239 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:19:00 +00:00
ftang%netscape.com
224046c004 fix 38821. Rename the detector name so it won't offend people. r=bobj
git-svn-id: svn://10.0.0.236/trunk@65238 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:14:52 +00:00
morse%netscape.com
27414f118e fix bug 34165, Allow viewing blocked images
git-svn-id: svn://10.0.0.236/trunk@65237 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:13:00 +00:00
ftang%netscape.com
32a96f6bd1 fix bug 32290 . Use the GBK converter to convert incomming data.
git-svn-id: svn://10.0.0.236/trunk@65236 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:12:40 +00:00
mstoltz%netscape.com
6477be8ebe Fixed crash when calling nsJARInputStream from nsJARChannel.
git-svn-id: svn://10.0.0.236/trunk@65235 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:12:20 +00:00
ftang%netscape.com
da8539b896 fix bug 33930. r=cata add ISO-8859-{6,8}-{I,E}
git-svn-id: svn://10.0.0.236/trunk@65234 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:12:15 +00:00
davidm%netscape.com
e18e9cd571 34454 ftp thread destroying nsIPrompt on the wrong thread
made nsWebShellWindow addref/release thread safe


git-svn-id: svn://10.0.0.236/trunk@65233 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:11:56 +00:00
morse%netscape.com
889af7104e fix bug 34483
git-svn-id: svn://10.0.0.236/trunk@65232 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:10:42 +00:00
pollmann%netscape.com
5719b0c3df bug 12002: Resizing a frameset by moving the splitter was causing rapid reflows bug was not updating the corresponding views. This change forces an update, which improves perceived performance. r=Troy
git-svn-id: svn://10.0.0.236/trunk@65231 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:10:26 +00:00
ftang%netscape.com
03e27b8f85 r=jbetak add additional performance enhancment code by
1. use a 256 bits (8 32bits integer) to prepresent no case block
2. cache the last index
3. use a base variable to remember m*3


git-svn-id: svn://10.0.0.236/trunk@65230 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:10:14 +00:00
morse%netscape.com
cd2b4fe61f fix bug 34486
git-svn-id: svn://10.0.0.236/trunk@65229 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:09:47 +00:00
terry%mozilla.org
98bf4567d7 Extra special disgusting hack: if we are ordering by target_milestone,
change it to order by the sortkey of the target_milestone first.


git-svn-id: svn://10.0.0.236/trunk@65228 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:09:22 +00:00
davidm%netscape.com
9ac1d46fcb 34314 Whacky permissions on Cache directories.
git-svn-id: svn://10.0.0.236/trunk@65226 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:08:21 +00:00
sfraser%netscape.com
34ad8135d9 Minor cleanup, removal of some unused parameters. r=cmanske.
git-svn-id: svn://10.0.0.236/trunk@65225 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:06:53 +00:00
karnaze%netscape.com
4658278093 bug 8398 - correct the placement of the caption during an incremental reflow targeted at the inner table.
git-svn-id: svn://10.0.0.236/trunk@65224 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:06:20 +00:00
sfraser%netscape.com
f943500526 Fix for 28491 -- clicking list buttons should unlist correctly now, and some other minor cleanup. r=cmanske.
git-svn-id: svn://10.0.0.236/trunk@65223 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:06:13 +00:00
harishd%netscape.com
cfc86ffead Added the new Notify(), overloaded, method.
r=sfraser


git-svn-id: svn://10.0.0.236/trunk@65222 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:59:33 +00:00
harishd%netscape.com
2cd5173be8 Fix for
28965 32523 -- Setting Document key to nsISupports
34308
19575 - Fixed had by replacing PRUnichar array with nsDeque.

r=ftang
22786 - Accounting for attributes on <HTML> tag [ this got backed out before ]
r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@65221 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:58:40 +00:00
beard%netscape.com
a6ce7d90d7 Fixing linux build: needed <algorithm> and stub implementations of parseMember, parseNonAssignmentExpression, paraseAssignmentExpression and parseExpression.
git-svn-id: svn://10.0.0.236/trunk@65220 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:58:30 +00:00
harishd%netscape.com
c60ce6798a Replacing PRUnichar* with nsDeque.
r=ftang


git-svn-id: svn://10.0.0.236/trunk@65219 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:58:26 +00:00
hangas%netscape.com
e23d045a61 Fixed 16330 and 16428, adding web page fields to AB cards. r=scottip
git-svn-id: svn://10.0.0.236/trunk@65218 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:55:54 +00:00
hyatt%netscape.com
c1aeb69e54 Elimination of nsIFocusableContent and improvements to tabbing r=saari
git-svn-id: svn://10.0.0.236/trunk@65217 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:55:31 +00:00
nhotta%netscape.com
f7c941fd47 Adding a new string resource for an alert, bug 28908, r=ducarroz.
git-svn-id: svn://10.0.0.236/trunk@65216 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:54:17 +00:00
hyatt%netscape.com
55539c4619 Eliminating nsIFocusableContent
git-svn-id: svn://10.0.0.236/trunk@65215 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:54:06 +00:00
pavlov%netscape.com
aa72295f89 fix for 34473
git-svn-id: svn://10.0.0.236/trunk@65214 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:51:59 +00:00
pavlov%netscape.com
4f7adf4a3d Make nsIFileURL scriptable and QueryInterfaceable. fix bug #34335 and 34328 and 34470. Minor cleanups on unix file picker dialog
git-svn-id: svn://10.0.0.236/trunk@65213 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:50:41 +00:00
relyea%netscape.com
0cfd00b308 Make the stub sytem work for WIN NT as well as other unix platforms:
1) fix compile issue in the stub maci.c file (change dllimports to dllexports).
	2) build a dll with matching lib to make the symbols all work.


git-svn-id: svn://10.0.0.236/trunk@65212 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:49:50 +00:00
rpallath%eng.sun.com
5d580fed94 Added entries for ElementImpl_hasAttribute and
ElementImpl_hasAttributeNS


git-svn-id: svn://10.0.0.236/trunk@65211 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 22:25:19 +00:00
rpallath%eng.sun.com
0de468882f Updated with entries for ElementImpl_hasAttribute/ElementImpl_hasAttributeNS
git-svn-id: svn://10.0.0.236/trunk@65210 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 22:21:50 +00:00
rpallath%eng.sun.com
7d927fbc84 Added new unsupported methods
git-svn-id: svn://10.0.0.236/trunk@65209 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 22:18:53 +00:00
ruslan%netscape.com
6796060512 Fix 34491 - tree blocker. Double-free in http compress converter.
git-svn-id: svn://10.0.0.236/trunk@65208 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 22:09:47 +00:00
waldemar%netscape.com
a7304e64e4 Updated for lexer changes
git-svn-id: svn://10.0.0.236/trunk@65207 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 21:43:28 +00:00
waldemar%netscape.com
f23c7f8d6e Added insertChars, removed SourcePosition, and reorganized Exception class
git-svn-id: svn://10.0.0.236/trunk@65206 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 21:42:39 +00:00
waldemar%netscape.com
a19e2ce3dd Added postfix expression parsing. Simplified Reader.
git-svn-id: svn://10.0.0.236/trunk@65205 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 21:39:59 +00:00
waldemar%netscape.com
fdc3910370 Updated sprintf call
git-svn-id: svn://10.0.0.236/trunk@65204 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 21:38:53 +00:00
waldemar%netscape.com
68fd4fc759 Updated lexer API
git-svn-id: svn://10.0.0.236/trunk@65203 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 21:38:25 +00:00
waldemar%netscape.com
41529793b7 Reordered files
git-svn-id: svn://10.0.0.236/trunk@65202 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 21:37:20 +00:00
waldemar%netscape.com
bb555d021d Fixed syntax errors
git-svn-id: svn://10.0.0.236/trunk@65201 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 21:36:57 +00:00
pnunn%netscape.com
3d3ffd7622 bug#34444: blocker bug. Backing out changes for dcone. pnunn.
git-svn-id: svn://10.0.0.236/trunk@65200 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 20:04:40 +00:00
sspitzer%netscape.com
de54b2f02d fix for blocker bug #34438. we weren't linking in -lmsgbaseutil, which left
us with an unresolved symbol, which caused bad things at run time.

there may be more, I'm trying to find them now.

a=leaf.


git-svn-id: svn://10.0.0.236/trunk@65199 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 19:33:10 +00:00
robinf%netscape.com
dfc7353975 updating this file to reflect Mozilla end-user text
git-svn-id: svn://10.0.0.236/trunk@65198 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 18:57:12 +00:00
robinf%netscape.com
55a1a1be8c updating thi sfile to reflect Mozilla CCK product
git-svn-id: svn://10.0.0.236/trunk@65197 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 18:55:24 +00:00
roeber%netscape.com
98255b1ebe Added a comment to the PORT character-conversion routines about
network byte order.


git-svn-id: svn://10.0.0.236/trunk@65196 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 18:27:34 +00:00
sdv%sparc.spb.su
2ba656b678 implemented some w3c event interfaces methods
git-svn-id: svn://10.0.0.236/trunk@65195 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 17:55:34 +00:00
bruce%cybersight.com
b941a3c6f1 Fix leak. #34396. r=ruslan
git-svn-id: svn://10.0.0.236/trunk@65194 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 14:58:12 +00:00
cmanske%netscape.com
1919711158 Fixed window title bug (28591), spell check done notification (28152), validate param range in dialogs (33027), converted to using nsIFilePicker in dialogs, other skinability fixes. r=mjudge,jfrancis
git-svn-id: svn://10.0.0.236/trunk@65193 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 14:51:26 +00:00
Jerry.Kirk%Nexwarecorp.com
8715ab7c6f Fix extern definition of PdReleaseDirectContext it should be extern'd as
a "C" function. PHOTON ONLY
r=kedl


git-svn-id: svn://10.0.0.236/trunk@65192 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 14:28:43 +00:00
troy%netscape.com
06a1e3a6e3 Eliminated buffering that the text frame was doing when measuring
text in runs and changed the text transformer code to do the buffering
instead. It was already copying the transformed text into its internal
buffer anyway, so this saves the extra copy


git-svn-id: svn://10.0.0.236/trunk@65191 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 14:14:47 +00:00
jst%netscape.com
d638ab269b document.write() speedup, fixes (at least partly) #29805.
git-svn-id: svn://10.0.0.236/trunk@65190 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 14:13:46 +00:00
dcone%netscape.com
9ca97fe70e Took out the code to do the Tiling.. a method in nsRenderingContext will now do this. This gives each platform
the option of tiling.. and optimizing for speed.  Windows will now be very fast for small tiles that are transparent.


git-svn-id: svn://10.0.0.236/trunk@65189 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 13:38:36 +00:00
dcone%netscape.com
4f40fe126c Added a CanTile() method.
git-svn-id: svn://10.0.0.236/trunk@65188 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 13:27:28 +00:00
dcone%netscape.com
a78eabf451 Added a CanTile() method
git-svn-id: svn://10.0.0.236/trunk@65187 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 13:27:10 +00:00
jfrancis%netscape.com
a56b1b5779 fix for bug 31125: teleporting selection when typing in mail replies.
git-svn-id: svn://10.0.0.236/trunk@65186 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 13:06:48 +00:00
ftang%netscape.com
ca7135ef68 check in the table which generated by using the Unicode 3.0 data base.
This file is generated by ../tools/gencasetable.pl
The file version of the data file is 3.0.0 (sept 10 1999)
r=ftang


git-svn-id: svn://10.0.0.236/trunk@65185 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 12:34:26 +00:00
ftang%netscape.com
e703a462af update npl for generate file
git-svn-id: svn://10.0.0.236/trunk@65184 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 12:30:55 +00:00
karnaze%netscape.com
3e77714948 new regression tests not affecting the build
git-svn-id: svn://10.0.0.236/trunk@65183 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 12:26:17 +00:00
cls%seawood.org
de46882af1 Fixed typo.
git-svn-id: svn://10.0.0.236/trunk@65182 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 12:17:06 +00:00
cls%seawood.org
8db40f1037 Ugh, forgot another EXTRA_DSO_LIBS.
git-svn-id: svn://10.0.0.236/trunk@65181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 11:06:30 +00:00
cls%seawood.org
a481d85df4 EXTRA_DSO_LIBS should fix the unresolve symbol problem.
git-svn-id: svn://10.0.0.236/trunk@65180 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:40:49 +00:00
waterson%netscape.com
d759391f64 Making string conversions explicit.
git-svn-id: svn://10.0.0.236/trunk@65179 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:35:51 +00:00
saari%netscape.com
e356508379 Enable about box from the Apple menu on MacOS.
Gotta love those high priority features.


git-svn-id: svn://10.0.0.236/trunk@65178 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:30:15 +00:00
waterson%netscape.com
b9c0266bb5 Ok, the |typename| stuff wasn't really necessary, and caused problems on VC++. r=scc
git-svn-id: svn://10.0.0.236/trunk@65177 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:21:57 +00:00
pierre%netscape.com
c774e17424 Use the system colors to paint the text selection (and added NS_DONT_CHANGE_COLOR to support the Mac selection scheme where colored text keeps its colors when selected).
git-svn-id: svn://10.0.0.236/trunk@65176 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:07:41 +00:00
warren%netscape.com
0adc119fff Added assertions to prove that cancel was being used in a thread-safe way. Bug 31091.
git-svn-id: svn://10.0.0.236/trunk@65175 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:49:49 +00:00
warren%netscape.com
4437d501e0 Making nsJARDownloadObserver have thread-safe addref/release.
git-svn-id: svn://10.0.0.236/trunk@65174 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:34:37 +00:00
waterson%netscape.com
0763d7737e Remove redundant class forward decls that were causing VC++ internal compiler errors.
git-svn-id: svn://10.0.0.236/trunk@65173 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:32:58 +00:00
waterson%netscape.com
258889fb73 Ok, really fix HP-UX this time.
git-svn-id: svn://10.0.0.236/trunk@65172 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:19:51 +00:00
brendan%mozilla.org
de16b39a0f Eliminate unused var warning and clean up other stuff not in the patch I reviewed and approved!
git-svn-id: svn://10.0.0.236/trunk@65171 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:17:05 +00:00
pierre%netscape.com
4818315df0 Fix a crash with Test10: a missing SetPort() in FindScreenForSurface().
git-svn-id: svn://10.0.0.236/trunk@65170 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:01:15 +00:00
cls%seawood.org
e2a38cc233 Add -Wno-multichar to WARNINGS_C*FLAGS for BeOS. Thanks to "Yannick Koehler" <koehler@mythrium.com> for the patch.
git-svn-id: svn://10.0.0.236/trunk@65169 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:53:25 +00:00
cls%seawood.org
bc2614bde8 Generate Makefiles not Makefile.ins. Thanks to "Yannick Koehler" <koehler@mythrium.com> for the patch.
git-svn-id: svn://10.0.0.236/trunk@65168 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:50:34 +00:00
cls%seawood.org
f5a05cad34 Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106


git-svn-id: svn://10.0.0.236/trunk@65167 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:37:50 +00:00
waterson%netscape.com
8136f122ee Fix build bustage on HP-UX. Access to protected classes only allowed by 'friends'.
git-svn-id: svn://10.0.0.236/trunk@65166 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:28:31 +00:00
sspitzer%netscape.com
e0d5800a14 fix for #34401. partial backout of valeski's changes.
thanks to mscott, putterman and bienvenu for the detective work.


git-svn-id: svn://10.0.0.236/trunk@65165 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:14:01 +00:00
warren%netscape.com
1850303e1b Changed 'default' content type to application/x-unknown-content-type (was text/html!).
git-svn-id: svn://10.0.0.236/trunk@65164 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:13:22 +00:00
warren%netscape.com
b059aabd61 Fixed uninitialized variable.
git-svn-id: svn://10.0.0.236/trunk@65163 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:11:30 +00:00
leaf%mozilla.org
96c89d670f Automated update
git-svn-id: svn://10.0.0.236/trunk@65162 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:45:12 +00:00
hyatt%netscape.com
7712c36001 Making menupopup support <children>. Needed a bit of special case code.
git-svn-id: svn://10.0.0.236/trunk@65161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:43:02 +00:00
waterson%netscape.com
5b2cfbd78e Add |operator!=()| implementation, conditioned on HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL. r=scc
git-svn-id: svn://10.0.0.236/trunk@65160 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:42:59 +00:00
waterson%netscape.com
3890935752 Both VC++ and MetroWerks HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL. r=scc
git-svn-id: svn://10.0.0.236/trunk@65159 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:38:12 +00:00
waterson%netscape.com
6caf8d768f Add test for HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL, which tests to see if |operator!=()| in the standard template library is overly helpful, and causes compiler bustage. r=scc
git-svn-id: svn://10.0.0.236/trunk@65158 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:36:08 +00:00
hyatt%netscape.com
4c50c0a82b Making <children> support dynamic.
git-svn-id: svn://10.0.0.236/trunk@65157 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:29:20 +00:00
waterson%netscape.com
b859bba9c2 Explicit conversion required for NEW_STRING_APIS. r=scc
git-svn-id: svn://10.0.0.236/trunk@65156 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:03:20 +00:00
waterson%netscape.com
43da99c9b2 Hackery to get NEW_STRING_APIS compiling on gcc-2.7.2.3. r=scc
git-svn-id: svn://10.0.0.236/trunk@65155 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:00:01 +00:00
cls%seawood.org
377c5d5d52 Remove CFLAGS from LDFLAGS. Bug #23870
git-svn-id: svn://10.0.0.236/trunk@65154 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 05:58:09 +00:00
warren%netscape.com
408d590cf3 Fix to make download observer not crash.
git-svn-id: svn://10.0.0.236/trunk@65153 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 05:56:11 +00:00
sspitzer%netscape.com
1e21a8de68 remove my debugging dump statements.
git-svn-id: svn://10.0.0.236/trunk@65152 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 05:53:39 +00:00
sspitzer%netscape.com
025c2b6236 more changes for "updating counts" when the news server expands.
because we persist the "open" state of a news server (unlike 4.x, which re-closed it)
I call PerformExpand() on all "open" servers at start up.

also, some performance optimizations, thanks to putterman for the help.


git-svn-id: svn://10.0.0.236/trunk@65150 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 05:47:24 +00:00
waterson%netscape.com
94d6ca1131 Start trying to compile on Unix with new changes. r=scc
git-svn-id: svn://10.0.0.236/trunk@65149 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 05:45:57 +00:00
scc%netscape.com
fc66e4de74 Added tests for construction and |Find|. Added null loop timings to help better analyze results. Temporarily commented out block-stomping tests.
git-svn-id: svn://10.0.0.236/trunk@65148 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 05:20:05 +00:00
karnaze%netscape.com
4fcd1d85c4 prevent trees from constructing pseudo frames in some cases as did rev 1.407, due to a bug in TableIsValidCellContent. Fix the bug for mathml.
git-svn-id: svn://10.0.0.236/trunk@65147 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:57:08 +00:00
rjc%netscape.com
f30db3b4eb Add support for adding a search engine via public sidebar JavaScript method (with appropriate user acceptance).
git-svn-id: svn://10.0.0.236/trunk@65146 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:55:58 +00:00
rjc%netscape.com
0c40b80e36 Fix a couple of signed/unsigned warnings.
git-svn-id: svn://10.0.0.236/trunk@65145 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:52:33 +00:00
cls%seawood.org
fb0cfba5e8 Make gc/boehm compile under linux. Compiles but doesn't necessarily run programs. Bug #31287
git-svn-id: svn://10.0.0.236/trunk@65144 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:48:44 +00:00
cls%seawood.org
a26020ddae Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
git-svn-id: svn://10.0.0.236/trunk@65143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:46:38 +00:00
rjc%netscape.com
c4f7587cf1 Expose support for adding a search engine via JavaScript (with appropriate user acceptance).
git-svn-id: svn://10.0.0.236/trunk@65142 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:42:50 +00:00
svn%xmlterm.org
6a44fa38e4 xmlterm changes only;
Initial terminal size is now explicitly passed through parameters, providing
better control. Session aborts now produce an error message on the screen.


git-svn-id: svn://10.0.0.236/trunk@65141 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:42:27 +00:00
erik%netscape.com
a6d40b28be bug 34037; added KOI8-U Ukrainian support for Unix
git-svn-id: svn://10.0.0.236/trunk@65140 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:36:32 +00:00
bruce%cybersight.com
ad9c7a6e01 Fix for leak of nsByteArrayInputStream objects and associated buffers from nsHTTPChunkConv. r=scc
git-svn-id: svn://10.0.0.236/trunk@65139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:35:25 +00:00
karnaze%netscape.com
67b057b4e1 bug 2479 - deleting cols and/or colgroups caused incorrect reseting of col group starting index.
git-svn-id: svn://10.0.0.236/trunk@65138 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:28:18 +00:00
morse%netscape.com
dc3792fdd2 fix bug 8530, expire cookies with excessive lifetimes, patch received from web
git-svn-id: svn://10.0.0.236/trunk@65137 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:19:01 +00:00
bruce%cybersight.com
95e7380573 Fixing nsByteArrayInputStream's QueryInterface() to be correct. Need this for a leak fix coming up shortly. r=scc
git-svn-id: svn://10.0.0.236/trunk@65136 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:16:07 +00:00
tbogard%aol.net
951aea37ec Seems the conditional as a parameter was too much for speedracer's little brain.
git-svn-id: svn://10.0.0.236/trunk@65135 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 03:31:57 +00:00
yueheng.xu%intel.com
87ea73de0b fix to bug #31351 (printing need support Unicode string) and bug #30176 (Fail to
print Chinese webpages). Design documentation is at http://linux.webchina.org/
printing/cprint.html. Tested existing ASCII pages and it remains working as before. For Chinese pages or other i18n pages, need Unicode encoded PostScript font support on the platform for rendering. Here we just output Unicode and user defined rendering
procedure 'unicodeshow'. For platforms without a Unicode encoded PostScript font, need a seperate post-processing utility to insert the font info at run time before the PostScript file is fed into a printer. I have such an utility documented in above web address and it depends on a TrueType font file which the user should buy by themselves. r=dcone.


git-svn-id: svn://10.0.0.236/trunk@65134 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 03:23:45 +00:00
scc%netscape.com
536db3ad95 make appending a single character faster for rickg
git-svn-id: svn://10.0.0.236/trunk@65133 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 03:06:15 +00:00
sspitzer%netscape.com
6dfdca45d6 jefft has fixed bug #34383, so take out debugging dump().
git-svn-id: svn://10.0.0.236/trunk@65132 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 02:58:38 +00:00
morse%netscape.com
c0f6bab39c all for selecting multiple items
git-svn-id: svn://10.0.0.236/trunk@65131 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 02:52:56 +00:00
tbogard%aol.net
2bc385ba4e Added handling for the webProgress status changes.
git-svn-id: svn://10.0.0.236/trunk@65130 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 02:46:17 +00:00
tbogard%aol.net
213b98cae5 Changed the Status flags to be transition flags rather than flat current state. This makes it easier to implement a listener. Otherwise you are forced to cache the last status and then determine transitions based on the deltas.
git-svn-id: svn://10.0.0.236/trunk@65129 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 02:45:32 +00:00
roeber%netscape.com
6876fef4c3 Make the conversion routines handle network byte order, not host byte order.
git-svn-id: svn://10.0.0.236/trunk@65128 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 02:36:46 +00:00
sspitzer%netscape.com
8028f196ca fix for #10855. update newsgroup counts when expanding the server. still a few
edges to smooth.  also, continue clean up of the news code.  r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@65127 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 02:31:43 +00:00
bienvenu%netscape.com
1b3d105c13 add nsINNTPProtocol.idl to build
git-svn-id: svn://10.0.0.236/trunk@65126 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 02:02:40 +00:00
bienvenu%netscape.com
e08c76b042 added files: mozilla/mailnews/news/public/nsINNTPProtocol.idl
git-svn-id: svn://10.0.0.236/trunk@65125 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:59:21 +00:00
rogerl%netscape.com
e613dc9d1d cleaning up the codestate classes; continue labels
git-svn-id: svn://10.0.0.236/trunk@65124 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:48:35 +00:00
alecf%netscape.com
db97dffa68 switch from titledbuttons to buttons
git-svn-id: svn://10.0.0.236/trunk@65123 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:45:06 +00:00
sfraser%netscape.com
21bcdf8ac8 Fix bustage. NS_IMETHODIMP and nsresult don't mix on windows.
git-svn-id: svn://10.0.0.236/trunk@65122 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:43:32 +00:00
alecf%netscape.com
a690108a71 add support for auto-refreshing server list, set as default, and various other minior tweaks
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@65121 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:40:10 +00:00
alecf%netscape.com
6f46bf8e1a add support for automatically disabling certain controls in the smtp server editor
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@65120 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:39:11 +00:00
alecf%netscape.com
5a24e7a200 add am-smtp.js to the builds r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65119 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:36:41 +00:00
alecf%netscape.com
ae475a2a28 make the smtp server panel reload itself when the advanced dialog tells it that there have been edits
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@65118 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:36:01 +00:00
alecf%netscape.com
296a8ac3e3 add support for pages asking to be reloaded from scratch
(so that SMTP prefs can be reloaded)
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@65117 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:33:23 +00:00
karnaze%netscape.com
72e181639a fix regression tests - not affecting the build
git-svn-id: svn://10.0.0.236/trunk@65116 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:29:10 +00:00
bienvenu%netscape.com
5bce3dcba4 adding interface for nsINNTPProtocol, nOT PART OF BUILD YET
git-svn-id: svn://10.0.0.236/trunk@65115 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:29:08 +00:00
karnaze%netscape.com
64a5b717fe bug 2479 - rewrite of table frame construction. r=troy, b=winNT,linux
git-svn-id: svn://10.0.0.236/trunk@65114 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:28:15 +00:00
erik%netscape.com
07f6f40c3a enabling the CSS font-family fix that the MathML guys contributed, by
turning the ifdef MATHML's into #if 1's


git-svn-id: svn://10.0.0.236/trunk@65113 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:20:35 +00:00
Jerry.Kirk%Nexwarecorp.com
f5f0e31a9d Adding Screen classes for Neutrino and makeing small interface changes
to catch up with new version of Photon header files that appeared
during latest Patch G.
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@65112 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:17:13 +00:00
Jerry.Kirk%Nexwarecorp.com
a52ba990bc Small change to build for Neutrino because uname changed
during the last patch.
r=kirkj


git-svn-id: svn://10.0.0.236/trunk@65111 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:15:29 +00:00
jefft%netscape.com
839adebc7e fixed bug 34383 - JS exception when selecting the twisty; r=scottip
git-svn-id: svn://10.0.0.236/trunk@65110 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:07:49 +00:00
sfraser%netscape.com
ce3113a37e Fix for 14599 -- detect attempt to edit frameset. a=akkana
git-svn-id: svn://10.0.0.236/trunk@65109 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:06:25 +00:00
Jerry.Kirk%Nexwarecorp.com
bef253ebc2 Making minor changes to code for new release of Photon 2.
Patch G changed the interface on a few of the functions.
Photon Only.


git-svn-id: svn://10.0.0.236/trunk@65108 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:56:28 +00:00
erik%netscape.com
1a2c5b8ac1 enabling the "Symbol" font support that was added by the MathML guys for
Unix, by removing the #ifdef ...MATHML


git-svn-id: svn://10.0.0.236/trunk@65107 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:56:02 +00:00
bienvenu%netscape.com
c8fcbc0b7e support for in-reply-to, r=sspitzer 8965
git-svn-id: svn://10.0.0.236/trunk@65106 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:53:23 +00:00
bienvenu%netscape.com
5584858f8d back out changes for in-reply-to header; I don't need them after all
git-svn-id: svn://10.0.0.236/trunk@65105 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:52:22 +00:00
waterson%netscape.com
75990a7c57 Add new XUL template builder to the build.
git-svn-id: svn://10.0.0.236/trunk@65104 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:47:20 +00:00
waterson%netscape.com
fcbac7f024 Add new template builder to the Mac build.
git-svn-id: svn://10.0.0.236/trunk@65103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:46:44 +00:00
waterson%netscape.com
8a137356a2 Add new XUL template builder to the windows build.
git-svn-id: svn://10.0.0.236/trunk@65102 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:44:18 +00:00
waterson%netscape.com
9f8c87aadd Rename Key::Hash(const void*) to avoid ambiguity on Mac.
git-svn-id: svn://10.0.0.236/trunk@65101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:40:41 +00:00
bruce%cybersight.com
3366dbbc52 Fix for #34220. r=Pavlov
git-svn-id: svn://10.0.0.236/trunk@65100 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:33:34 +00:00
pavlov%netscape.com
220b26baf6 fix bug with not handling null parents correctly
git-svn-id: svn://10.0.0.236/trunk@65099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:29:47 +00:00
sspitzer%netscape.com
358f9b8d52 use try and catch, to prevent bad things for happening when the user hits
bug #34383.


git-svn-id: svn://10.0.0.236/trunk@65098 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:27:42 +00:00
attinasi%netscape.com
2f4e0c1c8f Added and !important rule for buttons that are part of select elements so they are not broken out of the select control by global absolute positioning rules. r=rods b=27806
git-svn-id: svn://10.0.0.236/trunk@65091 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:07:53 +00:00
mkaply%us.ibm.com
091b7a6039 # 33860
r= mkaply@us.ibm.com
OS/2 bringup


git-svn-id: svn://10.0.0.236/trunk@65090 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:07:04 +00:00
tbogard%aol.net
cd915d2b75 CreateContentViewer() and NewContentViewer() no longer take the uri loading command as a parameter since they don't use it. InternalLoad now takes a window target parameter. DoURILoad now takes the uriloader command and a window target.
git-svn-id: svn://10.0.0.236/trunk@65088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:04:04 +00:00
tbogard%aol.net
7398fb87ea Removed some old code that was ifdefed out. Removed the isMail test in webshell as that path is no longer being hit due to the fact that "mailto" does succeed in creating a nsIURI. Changed InternalLoadURI due to changes in the docshell parameter list.
git-svn-id: svn://10.0.0.236/trunk@65087 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:03:11 +00:00
tbogard%aol.net
bb53bc7267 Fixed assertion with loading an URL due to changes with status now firing.
git-svn-id: svn://10.0.0.236/trunk@65086 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:02:15 +00:00
mkaply%us.ibm.com
d0f172ee6b Accidentally backleveld
git-svn-id: svn://10.0.0.236/trunk@65084 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 23:44:37 +00:00
gordon%netscape.com
e1768569e8 Fix for bug 23811 "Support IPv6". Integrating diffs by jgmeyers, r= wtc.
git-svn-id: svn://10.0.0.236/trunk@65083 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 23:41:53 +00:00
rpallath%eng.sun.com
ce37bc1dab Added Bug information for Bug Id 15118
git-svn-id: svn://10.0.0.236/trunk@65082 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 23:36:09 +00:00
mkaply%us.ibm.com
a9df2ad157 # 33860
r= mkaply@us.ibm.com
OS/2 bringup


git-svn-id: svn://10.0.0.236/trunk@65081 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 23:30:26 +00:00
mkaply%us.ibm.com
cf88ce0a55 # 33859
r= mkaply@us.ibm.com
OS/2 changes for Mozilla - basic OS/2 enablement in widgets


git-svn-id: svn://10.0.0.236/trunk@65080 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 23:26:11 +00:00
mkaply%us.ibm.com
e156ccca50 # 33859
r= mscott@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65079 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 23:13:14 +00:00
mkaply%us.ibm.com
8151332593 # 33859
r= mkaply@us.ibm.com
OS/2 changes for Mozilla - OS/2 Locale stuff


git-svn-id: svn://10.0.0.236/trunk@65078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 23:03:01 +00:00
tbogard%aol.net
0ca578d920 Changed nsSHEntry to be more XPCOM friendly.. Uses nsCOMPtr, the new interface map etc.
git-svn-id: svn://10.0.0.236/trunk@65077 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 23:02:55 +00:00
mkaply%us.ibm.com
2f121e2497 # 33859
r= nhotta@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65076 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 23:01:27 +00:00
mkaply%us.ibm.com
e5a34fbf49 # 33859
r= dveditz@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65075 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:58:34 +00:00
mkaply%us.ibm.com
284d146f9e # 33859
r= dp@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65074 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:56:47 +00:00
erik%netscape.com
b271305d73 bug 30022; added support for Enlarge/Reduce Text Size for Unix
git-svn-id: svn://10.0.0.236/trunk@65073 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:55:29 +00:00
mkaply%us.ibm.com
df92b92344 # 33859
r= mkaply@us.ibm.com
OS/2 changes for Mozilla - rewrite of ASM stubs


git-svn-id: svn://10.0.0.236/trunk@65072 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:54:20 +00:00
davidm%netscape.com
464de633a0 viewer crashing on http url
git-svn-id: svn://10.0.0.236/trunk@65071 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:53:39 +00:00
jefft%netscape.com
e0575b1c7f fixed bug 16235 -- [FEATURE] pop3_gets_new_mail on biff; put up confirmation dialog when deleting imap folders; r=scottip
git-svn-id: svn://10.0.0.236/trunk@65070 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:48:40 +00:00
mkaply%us.ibm.com
07d2b12def # 33859
r= waterson@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65069 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:47:44 +00:00
akkana%netscape.com
7ef2e94ed4 Add the XPLookAndFeel calls to the front ends which didn't already have them.
There's no Tinderbox for these platforms; if this causes any problems or
bustage, please contact me and feel free to back out or fix the offending
files.


git-svn-id: svn://10.0.0.236/trunk@65068 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:46:52 +00:00
mkaply%us.ibm.com
c0b6375693 # 33859
r= sspitzer@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65067 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:46:47 +00:00
valeski%netscape.com
61cdaa3446 adding text to html conversion to unix builds
git-svn-id: svn://10.0.0.236/trunk@65066 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:46:38 +00:00
mkaply%us.ibm.com
6530ef97ba # 33859
r= putterman@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65065 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:43:42 +00:00
valeski%netscape.com
eaf1fc2ae8 adding text to html converter to mac prj
git-svn-id: svn://10.0.0.236/trunk@65064 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:43:21 +00:00
valeski%netscape.com
df233a0566 adding plain text to html text stream converter to converter factory list and build
git-svn-id: svn://10.0.0.236/trunk@65063 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:41:33 +00:00
mscott%netscape.com
3dca74d3bf Bug #34321,34350 --> be sure to set the web progress listener on the doc loader
before every load.
r=travis


git-svn-id: svn://10.0.0.236/trunk@65062 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:41:26 +00:00
mkaply%us.ibm.com
64b45e1ee9 # 33859
r= dcone@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@65061 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:40:31 +00:00
putterman%netscape.com
03ff60431a add correct gif to makefile
git-svn-id: svn://10.0.0.236/trunk@65060 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:38:49 +00:00
relyea%netscape.com
d278b86f1e Use NSINSTALL instead of symbolic links so crypto works on NT builds as well.
git-svn-id: svn://10.0.0.236/trunk@65058 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:28:49 +00:00
sfraser%netscape.com
dab6d5f816 Fix for 34362 -- make opening local files work again, by returning a URL, rather than a native path. r=pavlov, a=leaf.
git-svn-id: svn://10.0.0.236/trunk@65056 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 22:19:16 +00:00
roeber%netscape.com
8f80b68581 typo I missed from last may
git-svn-id: svn://10.0.0.236/trunk@65054 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 21:58:53 +00:00
roeber%netscape.com
9b4d9824e0 the license boilerplate whompage induced a compile-blocking typo
git-svn-id: svn://10.0.0.236/trunk@65053 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 21:58:34 +00:00
relyea%netscape.com
fbf05404e8 Update makefiles so NT will build. (and other platforms that don't have symbolic links)
git-svn-id: svn://10.0.0.236/trunk@65052 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 21:41:33 +00:00
valeski%netscape.com
f417835bed adding asynchronous text/plain to text/html stream conversion - NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@65051 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 21:41:19 +00:00
putterman%netscape.com
f1bd9321d4 fix for bugs 34303, 34301, 34296. a=leaf. r=evaughan.
git-svn-id: svn://10.0.0.236/trunk@65050 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 21:30:09 +00:00
wtc%netscape.com
2cf9ce8e79 Bugzilla bug #33740: checked in a patch contributed by Skip Nizinski
<snizinsk@us.ibm.com> to change write() to DosWrite().


git-svn-id: svn://10.0.0.236/trunk@65048 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 20:59:39 +00:00
mcgreer%netscape.com
e4f1944907 Initial checkin of sslstrength/ssltelnet source.
git-svn-id: svn://10.0.0.236/trunk@65047 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 20:31:05 +00:00
mcgreer%netscape.com
8b7546e3a7 Initial checkin of signver source.
git-svn-id: svn://10.0.0.236/trunk@65046 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 20:24:02 +00:00
dougt%netscape.com
7eaf45c37f Fix for 34295. We are basically removing the classes from the titled buttons that
were not defined.  This makes this dialog use the standard button ui, which IMO looks
good.  r=valeski@netscape.com, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@65045 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 20:19:57 +00:00
mcgreer%netscape.com
e5fda9b634 Initial checkin of signver source.
git-svn-id: svn://10.0.0.236/trunk@65044 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 20:15:57 +00:00
sfraser%netscape.com
4d745519cb Fix a syntax error (simple missing brace). r=syd, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65043 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 19:50:15 +00:00
mcgreer%netscape.com
5551b8f302 Initial checkin of signtool source.
git-svn-id: svn://10.0.0.236/trunk@65042 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 19:08:51 +00:00
mcgreer%netscape.com
fac7613e8d Initial checkin of pk12util source.
git-svn-id: svn://10.0.0.236/trunk@65040 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 18:56:53 +00:00
rpallath%eng.sun.com
ea19a4808b Added redirectxml.html and changes the scripts
accordingly to reflect the new file.


git-svn-id: svn://10.0.0.236/trunk@65039 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 18:31:39 +00:00
wtc%netscape.com
47247a6335 Bugzilla bug #33364: checked in a patch contributed by pb@futuretv.com
that allows ARM systems other than v4l and SA110 to be correctly detected.


git-svn-id: svn://10.0.0.236/trunk@65037 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 18:25:35 +00:00
wtc%netscape.com
8acc6a5465 Bugzilla bug #34292: checked in OS/2 patch from Skip Nizinski
<snizinsk@us.ibm.com> to build with the VisualAge C++ compiler
which uses the Optlink calling convention.
Modified files: prtypes.h, OS2.mk, prlog.c


git-svn-id: svn://10.0.0.236/trunk@65035 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 17:51:02 +00:00
beard%netscape.com
e972732aef more bonsai support (not part of any build).
git-svn-id: svn://10.0.0.236/trunk@65034 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 15:54:59 +00:00
brade%netscape.com
2af6d4953e fix bug #9753 for constrain not working properly with pixels/percent
git-svn-id: svn://10.0.0.236/trunk@65033 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 14:33:17 +00:00
jst%netscape.com
1ac1a8e171 Updating the DOM Attr interface to match the DOM Level 2 spec. r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@65032 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 13:40:04 +00:00
dcone%netscape.com
16ca66e0ee Added some tiling support.
git-svn-id: svn://10.0.0.236/trunk@65031 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 13:39:30 +00:00
scc%netscape.com
2255fe399e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:39:09 +00:00
scc%netscape.com
e16ab47ebe making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:20:35 +00:00
scc%netscape.com
4e8cb518bc making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65028 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 09:20:26 +00:00
scc%netscape.com
74386ec8c1 making string conversions explicit; fixing bustage
git-svn-id: svn://10.0.0.236/trunk@65027 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 09:10:08 +00:00
scc%netscape.com
50e8e3beb4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65026 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 09:03:21 +00:00
rjc%netscape.com
f28387f980 Reduce amount of string allocations/copies when doing a search.
git-svn-id: svn://10.0.0.236/trunk@65025 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 09:02:16 +00:00
scc%netscape.com
76e6a9d0ca making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65024 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:27:43 +00:00
scc%netscape.com
dd2b4f8ffb making string conversions explict
git-svn-id: svn://10.0.0.236/trunk@65023 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:09:23 +00:00
scc%netscape.com
4cebb949ef making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65022 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:04:52 +00:00
alecf%netscape.com
26410a530c fix xlib bustage
git-svn-id: svn://10.0.0.236/trunk@65021 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:01:07 +00:00
waterson%netscape.com
159a29836b Reduce allocation overhead in ConflictSet; lazily create hashtable in MatchSet. NOT YET IN THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@65020 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 07:55:35 +00:00
rjc%netscape.com
f47c0aa555 Fix fragment name on Macintosh.
git-svn-id: svn://10.0.0.236/trunk@65019 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 07:27:34 +00:00
hyatt%netscape.com
d3b2c66d66 Checking in the real fix for 34130.
git-svn-id: svn://10.0.0.236/trunk@65018 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 07:13:07 +00:00
alecf%netscape.com
8f4d549ec6 fix semantics of these pref methods to match other pref methods and don't throw exceptions even on failure
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@65017 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:58:58 +00:00
waterson%netscape.com
55d7bc92d7 Leak fixes. NOT YET IN THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@65016 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:44:41 +00:00
alecf%netscape.com
fa96e70b28 add smtp server editor to the mac/windows build, and add one new file to the windows build r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65015 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:37:10 +00:00
alecf%netscape.com
02736edbec make the server editor itself actually change the hostname of the server being edited r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65014 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:33:49 +00:00
dougt%netscape.com
6160ec1b39 beard@netscape.com: nsXBLBinding objects are getting released without ever removing their roots. That
is clear.  r=dougt and r=hyatt. Fix for 34130.


git-svn-id: svn://10.0.0.236/trunk@65013 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:31:32 +00:00
alecf%netscape.com
2d1d9bda4a add Smtp editor stuff to the build r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65012 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:29:40 +00:00
alecf%netscape.com
0bd28fe65f fix typo r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65011 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:29:04 +00:00
evaughan%netscape.com
4988dd9975 Added a hook for the Bidi code.
git-svn-id: svn://10.0.0.236/trunk@65010 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:26:38 +00:00
scc%netscape.com
0d5b55ad34 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65009 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:20:05 +00:00
scc%netscape.com
71b1c7c5f4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65008 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:01:54 +00:00
scc%netscape.com
6c8855272d making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65007 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:52:40 +00:00
waterson%netscape.com
dd7c0d8e23 Bug 26402, try number two. Do event handler recompilation and 'style' attribute fixup in nsXULElement::SetDocument(). Fix uninitialized out params in nsXULElement::GetAttribute() and nsXULElement::GetClasses().
git-svn-id: svn://10.0.0.236/trunk@65006 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:36:17 +00:00
scc%netscape.com
9b475e367f making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65005 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:35:37 +00:00
scc%netscape.com
bb97d34faa making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65004 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:28:56 +00:00
scc%netscape.com
5ed2d7d9d7 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65003 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:13:05 +00:00
scc%netscape.com
8b434ed5e5 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65002 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 05:01:30 +00:00
evaughan%netscape.com
8c370b6061 Turned on widget move coelescing in view manager.
-r troy, kevin m


git-svn-id: svn://10.0.0.236/trunk@65001 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:57:42 +00:00
scc%netscape.com
4f2640d5bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65000 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:53:32 +00:00
scc%netscape.com
a50ec8fb2b Added a new converting signature |NS_ConvertToString| to substitute for this common practice |nsAutoString("a c string")| where used in parameter lists
git-svn-id: svn://10.0.0.236/trunk@64999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:52:47 +00:00
edburns%acm.org
e77c9b9105 The problem was in the way the
NativeEventThread's run() method's infinite loop was implemented.  The
  loop looks like this:

    while (null != this.browserControlCanvas) {
        synchronized (this.browserControlCanvas.getTreeLock()) {
            nativeProcessEvents(nativeWebShell);

            if (null != listenersToAdd && !listenersToAdd.isEmpty()) {
                tempEnum = listenersToAdd.elements();
                while (tempEnum.hasMoreElements()) {
                    nativeAddListener(nativeWebShell,
                                          (WebclientEventListener)
                                      tempEnum.nextElement());
                }
                listenersToAdd.clear();
            }
        }
    }

  The problem I was observing was that
  nativeProcessEvents(nativeWebShell) would crash due to the fact that
  the nativeWebShell, which is actually an WebShellInitContext instance,
  had been de-allocated.  This de-allocation happens as a result of the
  WindowControlImpl.delete() method, which looks like this:

public void delete()
{
    Assert.assert(null != eventThread, "eventThread shouldn't be null at delete time");
    eventThread.delete();
    eventThread = null;
    nativeDestroyInitContext(nativeWebShell);
    nativeWebShell = -1;
}

  nativeDestroyInitContext de-allocates the WebShellInitContextInstance.
  You can see that the first thing done is to delete the eventThread().
  NativeEventThread.delete() looks like this:

public void delete()
{
    // setting this to null causes the run thread to exit
    synchronized(this.browserControlCanvas.getTreeLock()) {
        browserControlCanvas = null;
    }
...
}

  If you compare NativeEventThread.delete() with the infinite loop in
  NativeEventThread.run(), you'll see that the fact that they both
  synchronize on the same object doesn't protect us from the following
  case:

    NativeEventThread: The infinite loop checks to see if the
    browserControlCanvas is null, then does synchronize on
    browserControlCanvas.getTreeLock(), then calls processNativeEvents().

meanwhile

    WindowControlImpl thread: delete() calls NativeEventThread.delete(),
    which does synchronize on browserControlCanvas.getTreeLock().
    During NativeEventThread.delete(), synchronized section,
    browserControlCanvas is set to null.

    NativeEventThread: because the check for null browserControlCanvas
    occurrs outside of the synchronized block, it's not recheked, and
    thus, the event loop continues to process when it shouldn't.

  The fix is to change the event loop to look like this:

    while (true) {
        synchronized (this.browserControlCanvas.getTreeLock()) {
            // this has to be inside the synchronized block!
            if (null == this.browserControlCanvas) {
                return;
            }
            nativeProcessEvents(nativeWebShell);

            if (null != listenersToAdd && !listenersToAdd.isEmpty()) {
                tempEnum = listenersToAdd.elements();
                while (tempEnum.hasMoreElements()) {
                    nativeAddListener(nativeWebShell,
                                          (WebclientEventListener)
                                      tempEnum.nextElement());
                }
                listenersToAdd.clear();
            }
        }
    }


git-svn-id: svn://10.0.0.236/trunk@64998 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:32:27 +00:00
rjc%netscape.com
c86063a240 Skinnability: use <xul:menulist> instead of <html:select>. Convert pluses to spaces before calling unescape().
git-svn-id: svn://10.0.0.236/trunk@64997 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:23:38 +00:00
evaughan%netscape.com
7739e3ecd4 Compiler error fix.
git-svn-id: svn://10.0.0.236/trunk@64996 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 04:17:47 +00:00
evaughan%netscape.com
995d26d6bc 1) viewmanager2 optimizations -r troy, kevin
2) box fixes for Rod's gfx listbox
3) memory leak fixes
4) box fixes in prep for grid widget


git-svn-id: svn://10.0.0.236/trunk@64995 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 03:55:38 +00:00
bienvenu%netscape.com
229721aaa2 remove unused view attachments as links option, work on in-reply-to header, r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@64994 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 03:22:56 +00:00
putterman%netscape.com
ef669dfa2e Add new icons to mail news 3 pane UI. r=mscott
git-svn-id: svn://10.0.0.236/trunk@64993 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:58:21 +00:00
mscott%netscape.com
9cf3fa4f0b Semi-large landing. I re-wrote mailnews compose to use a cached string bundle. I've had this code in my tree for
a couple weeks and just hadn't gotten around to checking it in yet.

I noticed that during a normal sending of a message, we were loading a string bundle 6 times! (most of this was to display
progress information during the send procedure). This caused us to hit the disk 6 times. With these changes, we
cache the string bundle in the compose string bundle service so we only hit the disk once.


git-svn-id: svn://10.0.0.236/trunk@64992 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:32:27 +00:00
mscott%netscape.com
03e4b44c53 Bug #33156 --> the doc loader now implements nsIWebProgress and makes basic notifications to a registered
nsIWebProgressListener.

Right now, the only methods that are hooked up are signaling when the doc loader is busy loading a document and
when it is done loading a document.


git-svn-id: svn://10.0.0.236/trunk@64991 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:26:05 +00:00
mscott%netscape.com
966f22a148 remove obsolete image files from the repository.
git-svn-id: svn://10.0.0.236/trunk@64990 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:16:59 +00:00
mscott%netscape.com
09d9d7d68b Remove old addtoab and attachment icons. We have new ones in mailnews/base/resources/content (which is
where this kind of stuff belongs) now.


git-svn-id: svn://10.0.0.236/trunk@64989 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:16:25 +00:00
mscott%netscape.com
884783a44e I broke newsgroups the other day so they weren't showing up in the message pane. undoing the damage.
git-svn-id: svn://10.0.0.236/trunk@64988 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:15:25 +00:00
mscott%netscape.com
c36deec18d Bug #27884 --> new attachment icon & add to ab icon
git-svn-id: svn://10.0.0.236/trunk@64987 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:14:19 +00:00
sspitzer%netscape.com
5260b405b4 add PerformExpand() to the nsIMsgIncomingServer interface. in the base case, it does nothing.
we override it in news, and we'll use this as our hook to update the counts for all the
newsgroups for a give server.  right now, PerformExpand() only gets called on a double
click but eventually, it will be hooked up to the twisty.  r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@64986 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:06:57 +00:00
blizzard%redhat.com
58c33807b9 add .cvsignore file
git-svn-id: svn://10.0.0.236/trunk@64985 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:06:14 +00:00
sspitzer%netscape.com
21f50c447c remove the MigrateFilters() calls. we are going with lazy filter migration. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@64984 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 02:03:58 +00:00
davidm%netscape.com
f5d8545cf8 unregister pref callbacks
turn on compile flag for disk cache


git-svn-id: svn://10.0.0.236/trunk@64983 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:58:17 +00:00
davidm%netscape.com
f6652ff6aa unregister pref listeners
r = gordon@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64982 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:56:15 +00:00
davidm%netscape.com
e00bc7a42e 27857 nsIFile - MAC not completely implemented
git-svn-id: svn://10.0.0.236/trunk@64981 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:54:22 +00:00
davidm%netscape.com
e9d415867c remove obsolete cache preferences
git-svn-id: svn://10.0.0.236/trunk@64980 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:50:53 +00:00
davidm%netscape.com
13d8169eea 27857 nsIFile - MAC not completely implemented
git-svn-id: svn://10.0.0.236/trunk@64979 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:50:19 +00:00
davidm%netscape.com
92fc885fc2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@64978 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:50:18 +00:00
davidm%netscape.com
11162e5110 update channel to work with warrens changes
git-svn-id: svn://10.0.0.236/trunk@64977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:47:43 +00:00
davidm%netscape.com
b2a5114130 32610 nsReplacementPolicy::LoadAllRecordsInAllCacheDatabases(
git-svn-id: svn://10.0.0.236/trunk@64976 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:46:45 +00:00
mscott%netscape.com
e4adcad9e5 Bug #33747 --> fix mailto url handling which broke after warren's big nsIChannel landing.
git-svn-id: svn://10.0.0.236/trunk@64975 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:26:58 +00:00
tbogard%aol.net
e17906d5a3 Changed the nsISHEntry interface to deal with layoutStateHistory in terms of a types nsILayoutHistoryState rather than just an nsISupports. Also changed the implementation to hold on to it with an nsCOMPtr rather than a raw pointer.
git-svn-id: svn://10.0.0.236/trunk@64974 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:21:06 +00:00
cls%seawood.org
d93b9c94c3 Use LDFLAGS when creating shared libraries. It may contain the paths to essential libraries.
git-svn-id: svn://10.0.0.236/trunk@64973 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:04:59 +00:00
leaf%mozilla.org
8fa1d50e9b Automated update
git-svn-id: svn://10.0.0.236/trunk@64972 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:00:39 +00:00
cls%seawood.org
41e17e31b3 Added rule to automatically run autoconf & config.status whenever configure.in changes. Set AUTOUPDATE_CONFIGURE to use it.
git-svn-id: svn://10.0.0.236/trunk@64971 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 00:56:31 +00:00
tbogard%aol.net
dac2734b78 The layoutState is actually a nsILayoutHistoryState not just an nsISupports.
git-svn-id: svn://10.0.0.236/trunk@64970 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 00:47:15 +00:00
tbogard%aol.net
613ccde6ff The parent content listener now doesn't have to implement every method. It can just implement the ones it wants and return NS_ERROR_NOT_IMPLEMENTED on the others.
git-svn-id: svn://10.0.0.236/trunk@64969 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 00:45:25 +00:00
bienvenu%netscape.com
8286ea29d5 filter upgrade code for local filters, r=sspitzer 17174
git-svn-id: svn://10.0.0.236/trunk@64968 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 00:39:51 +00:00
sspitzer%netscape.com
610ba94983 remove the news-test.* files, they are no longer used. so why make people check them out?
git-svn-id: svn://10.0.0.236/trunk@64967 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 00:09:09 +00:00
blizzard%redhat.com
0179e82811 remove the nsIDocShell hackery that was in there since travis checked in code to fix the problem that I was having. this is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@64966 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 00:05:30 +00:00
colin%theblakes.com
ca40ad9efa Add MOZ_TIMER_LIBS to resolve NS_NewTimer. r=cls
git-svn-id: svn://10.0.0.236/trunk@64965 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 23:35:56 +00:00
colin%theblakes.com
c0090b1668 Define MOZ_COMPONENT_LIBS to resolve missing symbols. r=cls
git-svn-id: svn://10.0.0.236/trunk@64964 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 23:34:34 +00:00
scc%netscape.com
589df0690f Adding NSPR to both debug and optimized builds; this should fix the build bustage. r=bruce
git-svn-id: svn://10.0.0.236/trunk@64963 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 23:19:24 +00:00
erik%netscape.com
84fb06e890 trying to fix build bustage with Enlarge/Reduce Text Size keys
git-svn-id: svn://10.0.0.236/trunk@64962 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 23:08:49 +00:00
sspitzer%netscape.com
3aa95dabaa remove the MigrateNewsFilters() call. we don't have to migrate news filters.
(but they don't work yet, but that's another bug.)  r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@64961 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 23:07:14 +00:00
jst%netscape.com
9eb6fb68fa Minor cleanup and fixing a compier warning.
git-svn-id: svn://10.0.0.236/trunk@64960 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 22:05:10 +00:00
erik%netscape.com
bbcfe20c54 bug 30022; added SetTextZoom and some UI stuff for that
git-svn-id: svn://10.0.0.236/trunk@64959 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:58:08 +00:00
erik%netscape.com
eeb070b4d8 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only
git-svn-id: svn://10.0.0.236/trunk@64958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:53:46 +00:00
erik%netscape.com
74fa582803 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
factored some code to reduce duplication; r=pierre,troy


git-svn-id: svn://10.0.0.236/trunk@64957 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:52:17 +00:00
erik%netscape.com
a97da1f428 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only;
r=pierre,troy; will do Unix next; someone will take care of the Mac


git-svn-id: svn://10.0.0.236/trunk@64956 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:47:15 +00:00
blizzard%redhat.com
153011395b use C++ mode for C++ files for emacs users
git-svn-id: svn://10.0.0.236/trunk@64955 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:19:56 +00:00
scc%netscape.com
d2a1e4062f making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64954 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:04:49 +00:00
tbogard%aol.net
cd052753f4 added files: mozilla/embedding/browser/webBrowser/nsWBURIContentListener.cpp
git-svn-id: svn://10.0.0.236/trunk@64953 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:01:51 +00:00
tbogard%aol.net
7897b53e83 Implemented the nsWBURIContentListener class and hooked it up to the build. It now sets itself as the parentURIListener for the internal docShell. Doing this makes the webBrowser control now the preferred handler for most webBrowser type loads. This fixes the problem where people who were embedding with this would always get a new window. Added a method to nsIWebBrowser to allow setting a parent URI Listener. Split the destruction of the webBrowser object into an InternalDestroy method. This fixes the odd construct where the destructor was calling Destroy and then having to clean up the Init structure that the Destroy method created.
git-svn-id: svn://10.0.0.236/trunk@64952 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:01:18 +00:00
mscott%netscape.com
362d7c27b1 Make sure nsIWebProgressListener is added to the GetInterface method for docshell.
git-svn-id: svn://10.0.0.236/trunk@64951 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:00:26 +00:00
blizzard%redhat.com
19dd6313e7 add work around for problems in nsIWebBrowser by registering the chrome object as the URIContentListener of the docshell. this solves the problem where clicking in links creates a new toplevel window.
git-svn-id: svn://10.0.0.236/trunk@64950 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 20:50:57 +00:00
blizzard%redhat.com
fbb6da544c make the default size bigger
git-svn-id: svn://10.0.0.236/trunk@64949 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 20:49:28 +00:00
scc%netscape.com
f41933dc19 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64948 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 20:34:28 +00:00
tbogard%aol.net
7ff6a20c43 Updated documentation to be clear about ownership model of the parentURIContentListener.
git-svn-id: svn://10.0.0.236/trunk@64947 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 20:31:12 +00:00
sspitzer%netscape.com
719ab251e6 add a stop button. does nothing right now.
git-svn-id: svn://10.0.0.236/trunk@64946 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 19:58:09 +00:00
karnaze%netscape.com
14a994b21d new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@64945 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 19:17:28 +00:00
sspitzer%netscape.com
4d40b34c52 add Get/SetLocalFoldersServer and use it. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@64944 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 19:11:16 +00:00
jst%netscape.com
58c288a59c Fixing Win build bustage.
git-svn-id: svn://10.0.0.236/trunk@64943 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 18:36:26 +00:00
jst%netscape.com
c76b431214 Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now.
git-svn-id: svn://10.0.0.236/trunk@64942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 17:46:30 +00:00
sspitzer%netscape.com
2861e4764c use nsIComponentManager.h instead of nsComponetManagerUtils.h directly.
git-svn-id: svn://10.0.0.236/trunk@64941 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 17:20:50 +00:00
sspitzer%netscape.com
2ee859bf14 add GetLocalFoldersServer() for bienvenu, and use it in the account wizard.
also, stub out news filter migration calls in the messenger migrator code.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@64940 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 16:52:29 +00:00
colin%theblakes.com
5dd973b68d Put flags before operands in HOST_CC. Add showhost target for debugging. r=cls
git-svn-id: svn://10.0.0.236/trunk@64939 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 16:15:42 +00:00
Jerry.Kirk%Nexwarecorp.com
e2acfbe744 Remove local copy of nsIRenderingContextImpl.h and inherit from
gfx/public/nsRenderingContextImpl.h like everyone else.
Photon Only.


git-svn-id: svn://10.0.0.236/trunk@64938 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 14:42:15 +00:00
jst%netscape.com
3efeaf17d3 Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame.
git-svn-id: svn://10.0.0.236/trunk@64937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 14:04:19 +00:00
locka%iol.ie
26c301f9e2 Replaced some more nsIWebShell references.
Changed browser to call LoadURI on nsIWebNavigation instead of the old webshell LoadURL method


git-svn-id: svn://10.0.0.236/trunk@64936 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 13:58:36 +00:00
locka%iol.ie
c9d08965bc Replaced FindNamedBrowser method with FindNamedBrowserItem
git-svn-id: svn://10.0.0.236/trunk@64935 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 13:57:25 +00:00
jst%netscape.com
d7813a8ad1 Reorder member initialzers to fix fompiler wirknings.
git-svn-id: svn://10.0.0.236/trunk@64934 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 13:54:45 +00:00
jst%netscape.com
ea8acd1a55 Fixing compiler warnings and possible UMR's.
git-svn-id: svn://10.0.0.236/trunk@64933 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 13:50:36 +00:00
waterson%netscape.com
1c1a216430 Fix nsCOMPtr bustage on Linux. NOT YET PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@64932 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 09:22:50 +00:00
scc%netscape.com
5c300ab8b2 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64931 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 09:15:46 +00:00
waterson%netscape.com
140b94ba96 Fix memory leaks, problems with incrmental update. NOT YET IN THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@64930 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 09:11:00 +00:00
scc%netscape.com
f969456203 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64929 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 09:10:15 +00:00
scc%netscape.com
cce0b5ba37 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64928 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 08:56:00 +00:00
scc%netscape.com
3736f9b742 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64927 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 08:34:55 +00:00
scc%netscape.com
6dd035308a making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64926 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 08:22:56 +00:00
mwelch%netscape.com
37e5c4968e Removed trailing tab for ppc platform def
git-svn-id: svn://10.0.0.236/trunk@64925 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 08:05:44 +00:00
cls%seawood.org
20a69b837a Makes the new DLL_SUFFIX scheme work for --disable-shared, OpenVMS & OS/2.
git-svn-id: svn://10.0.0.236/trunk@64924 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 07:46:23 +00:00
cls%seawood.org
4b879b15dd Adding a script to print out which of a given list of files do not end with a newline. Source files that do not end with a newline break at least the HP-UX compiler. Adding newlines to all of the source files found at this point.
git-svn-id: svn://10.0.0.236/trunk@64923 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 07:17:25 +00:00
tbogard%aol.net
a9a5cd5389 First checkin of new files for the content listener in the webBrowser.
git-svn-id: svn://10.0.0.236/trunk@64922 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 07:05:39 +00:00
mjudge%netscape.com
2fd774249a selecting generated content works now. subtree iterator and all. incredible... added new private method to nsTextFrame to factor out some things on getting correct offsets from generated frames. its a no-op almost for non generated frames
git-svn-id: svn://10.0.0.236/trunk@64921 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 05:05:31 +00:00
waterson%netscape.com
8c41960215 Fix performance problem with KeySet, removing content from a container. NOT YET IN THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@64920 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 01:55:46 +00:00
tbogard%aol.net
424cc3748a My webshell, your diet is working, you've lost some more weight..... Removed one of the LoadURL calls and combined it with the other. Removed the localIP address parameter as it is not used and is not the way we will specify binding. Removed ProgressLoadURL as it is no longer needed (the rest of nsIWebShellContainer will go away when we finish landing the nsIWebProgressListener interfaces.) Removed CaptureHistoryState and GetHistoryState. Prompter is now retrieved through the correct path, up the treeOwner.
git-svn-id: svn://10.0.0.236/trunk@64919 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 01:19:27 +00:00
tbogard%aol.net
b902eb3de4 Removed ProgressLoadURL as it is no longer needed (the rest of nsIWebShellContainer will go away when we finish landing the nsIWebProgressListener interfaces.) Removed CaptureHistoryState, GetHistoryState and SetHistoryState as they shouldn't be called from the outside.
git-svn-id: svn://10.0.0.236/trunk@64918 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 01:19:26 +00:00
bruce%cybersight.com
7ca4105aa9 Re-order constructor stuff to remove warnings.
git-svn-id: svn://10.0.0.236/trunk@64917 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 00:59:38 +00:00
jim_nance%yahoo.com
5cf59a3a32 Fixed possible uninitialized return value
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64916 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 00:53:21 +00:00
tbogard%aol.net
426a077395 Changed the session history to not rely on the webShell to capture the state. It can call through to presShell on it's own.
git-svn-id: svn://10.0.0.236/trunk@64915 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 00:22:32 +00:00
svn%xmlterm.org
3b77e03337 xmlterm changes only;
Made changes to lineterm, especially the PTY code, to get it to compile on
FreeBSD (bug 32923). Now it does compile and run on FreeBSD. There still a few
glitches though; PTY resizing fails in FreeBSD, for example.


git-svn-id: svn://10.0.0.236/trunk@64914 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:42:18 +00:00
bryner%uiuc.edu
a2f83e6dd1 Turning my changes back on, since they didn't cause the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64913 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:39:53 +00:00
scc%netscape.com
b939060eac making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64912 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:29:51 +00:00
tbogard%aol.net
1fc8b4694a Removed the unused mViewSource member. Fixed ::InternalLoad to call ::LoadURI instead of LoadURL since destroying and then re-creating the uri is pointless when it's passed in for us. Not to mention if the person calling this load had actually setup listeners on this uri then this information would be lost (which is actually causing bug 34167).
git-svn-id: svn://10.0.0.236/trunk@64911 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:28:31 +00:00
scc%netscape.com
35108e828a making string conversions explicit; fixing some |nsCOMPtr| usages
git-svn-id: svn://10.0.0.236/trunk@64910 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:25:15 +00:00
scc%netscape.com
c8d8d3f308 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64909 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:52:50 +00:00
scc%netscape.com
3223bd517e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64908 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:45:09 +00:00
rods%netscape.com
593123a4e8 Initial checkin of SVG prototype code for Dean Jackson (ifdef'ed)
git-svn-id: svn://10.0.0.236/trunk@64907 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:31:45 +00:00
scc%netscape.com
30c94c1d11 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64906 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:31:00 +00:00
scc%netscape.com
15e1919c91 not sure if this is the _best_ way to solve the problem, but I added a c-string version of |NS_NewStringInputStream|, which can't use overloading since it's |extern "C"|, so I named it |NS_NewCStringInputStream|.
git-svn-id: svn://10.0.0.236/trunk@64905 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:27:03 +00:00
rods%netscape.com
196674549e Initial checkin of SVG prototype code for Dean Jackson (if def'ed)
git-svn-id: svn://10.0.0.236/trunk@64904 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:26:38 +00:00
danm%netscape.com
d44d354050 implement alwaysRaised,alwaysLowered,z-lock window.open feature flags
git-svn-id: svn://10.0.0.236/trunk@64903 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:17:48 +00:00
danm%netscape.com
b141a515b9 constrain attempts to change z-level
git-svn-id: svn://10.0.0.236/trunk@64902 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:16:43 +00:00
danm%netscape.com
0ef87b8b51 sync with nsWebShellWindow.h 1.291
git-svn-id: svn://10.0.0.236/trunk@64901 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:15:07 +00:00
danm%netscape.com
d72876c011 adding events to constrain z-level
git-svn-id: svn://10.0.0.236/trunk@64900 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:13:46 +00:00
danm%netscape.com
5923e169e1 add PlaceBehind (other widget) method
git-svn-id: svn://10.0.0.236/trunk@64899 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:10:22 +00:00
danm%netscape.com
746e6621ac add z-level GUI event
git-svn-id: svn://10.0.0.236/trunk@64898 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:08:47 +00:00
danm%netscape.com
e6181817d5 now additionally keeps track of windows in z-order
git-svn-id: svn://10.0.0.236/trunk@64897 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:07:41 +00:00
danm%netscape.com
50fc8052cd add z-ordering attribute
git-svn-id: svn://10.0.0.236/trunk@64896 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:03:28 +00:00
danm%netscape.com
4a4edbf868 add alwaysraised/lowered chrome flags
git-svn-id: svn://10.0.0.236/trunk@64895 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:02:18 +00:00
blizzard%redhat.com
7f0102c5a9 back out pavlov's checkin since it was causing gtk warnings and possibly causing an orange tree
git-svn-id: svn://10.0.0.236/trunk@64894 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 21:26:24 +00:00
bryner%uiuc.edu
a610c0fc3a #if 0 this section of code to see if it's causing the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64893 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:58:39 +00:00
pavlov%netscape.com
f511f71c84 fix a gc leak
git-svn-id: svn://10.0.0.236/trunk@64892 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:11:28 +00:00
bryner%uiuc.edu
45556e0036 This fixes bug 31204 (mousewheel scrolling with pointer over a textfield),
by hooking up the parent document for the editor.  r=jst@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@64891 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:09:54 +00:00
blizzard%redhat.com
8a643c4e4d checkin patches to implement nsILocalFile::GetDiskSpaceAvailable from Jason Eager and nsIFile::GetParent from pavlov. r=pavlov,blizzard,dougt. a=dougt
git-svn-id: svn://10.0.0.236/trunk@64890 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:07:14 +00:00
troy%netscape.com
eda0fd14bb b=25290 Changed ConstructFrameByTag() to treat FORM frames as floater
containing blocks


git-svn-id: svn://10.0.0.236/trunk@64889 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 18:47:09 +00:00
jefft%netscape.com
76389690c3 prevent deleting Inbox and Trash folder; r=scottip
git-svn-id: svn://10.0.0.236/trunk@64888 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 17:47:21 +00:00
chuang%netscape.com
988996800d bug 32285 - [FEATURE]Add mailing list backend to address book, r=putterman
git-svn-id: svn://10.0.0.236/trunk@64887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 17:34:39 +00:00
bienvenu%netscape.com
71299abd03 mork performance improvements by davidmc, r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@64886 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 17:07:38 +00:00
locka%iol.ie
5875ceaabd Fixed problem with browser opening as a popup and not a control.
Removed some webshell references


git-svn-id: svn://10.0.0.236/trunk@64885 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 16:30:43 +00:00
valeski%netscape.com
05ab78a3fb ensuring that we're always firing this callback to an event queue. we don't want to directly callback the caller recurively this is an async call
git-svn-id: svn://10.0.0.236/trunk@64884 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 14:57:47 +00:00
rods%netscape.com
3bc8d656a4 Initial checkin of SVG prototype code for Dean Jackson (not in build)
git-svn-id: svn://10.0.0.236/trunk@64883 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 14:48:41 +00:00
rods%netscape.com
f919f511b1 Initial checkin of SVG prototype code for Dean Jackson (not in build)
git-svn-id: svn://10.0.0.236/trunk@64882 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 14:38:51 +00:00
jst%netscape.com
2b2767bff4 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far.
git-svn-id: svn://10.0.0.236/trunk@64881 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 13:31:23 +00:00
jst%netscape.com
89a4c78799 Changing the DOM exceptions thrown from methods on data nodes, fixes bug #16605.
git-svn-id: svn://10.0.0.236/trunk@64880 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 12:55:53 +00:00
jst%netscape.com
3fb4d7189f Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606.
git-svn-id: svn://10.0.0.236/trunk@64879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 12:36:16 +00:00
hyatt%netscape.com
887b3f76e7 Adding assertions to discover when the script object isn't being
properly cleared out.


git-svn-id: svn://10.0.0.236/trunk@64878 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 11:17:28 +00:00
cls%seawood.org
9cd210b4a2 OS/2 specific Makefile changes. Bug #34106 a=leaf
git-svn-id: svn://10.0.0.236/trunk@64877 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 10:37:01 +00:00
rjc%netscape.com
bd320b90c2 Small sorting changes on search results.
git-svn-id: svn://10.0.0.236/trunk@64876 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 10:23:31 +00:00
cls%seawood.org
ab79fc174b Non-empty sourcefiles must end with a newline ... or so says the HP compiler.
git-svn-id: svn://10.0.0.236/trunk@64875 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 10:23:25 +00:00
cls%seawood.org
4f597a9d40 Set SHORT_LIBNAME in cases that library name will exceed 8 chars for OS/2. Bug #34106 a=leaf
git-svn-id: svn://10.0.0.236/trunk@64874 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 10:18:48 +00:00
sspitzer%netscape.com
e282f90023 ignore generated makefiles.
git-svn-id: svn://10.0.0.236/trunk@64873 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 10:08:39 +00:00
cls%seawood.org
88149a19f2 Removed unused WINNT ifdefs from config.mk
git-svn-id: svn://10.0.0.236/trunk@64872 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 10:07:45 +00:00
sspitzer%netscape.com
6a7ee95929 fix for #34182. r=cls
git-svn-id: svn://10.0.0.236/trunk@64871 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 10:04:45 +00:00
despotdaemon%netscape.com
999c9d9f91 Pseudo-automatic update of changes made by peter.vanderbeken@pandora.be.
git-svn-id: svn://10.0.0.236/trunk@64870 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 10:02:10 +00:00
rjc%netscape.com
c11ace71a6 Get hard-coded beta1 search URLs out of the tip.
git-svn-id: svn://10.0.0.236/trunk@64869 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 09:37:27 +00:00
sspitzer%netscape.com
0d509a8d53 fix a bunch of bugs, including #31079 and #14435. when setting the local path for a server, or the newsrc file for
a news server, make sure the folder or file is unique.
use the hostname as part of the suggestion when creating the directory for the server.

r=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@64868 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 09:37:24 +00:00
andreas.otte%primus-online.de
a0b73298bf This time for real: fix part of bug 32997, file URLs that include a hostname don't work, r=valeski@netscape.com
Previous checkin was a fix for bug 31854, [4.xP] Unable to open www.foo.com:/some/dir (note colon), r=valeski@netscape.com, sorry for the mixup.


git-svn-id: svn://10.0.0.236/trunk@64867 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 09:03:21 +00:00
rjc%netscape.com
6b47c4a03b Small text change.
git-svn-id: svn://10.0.0.236/trunk@64866 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 09:00:41 +00:00
andreas.otte%primus-online.de
93d77680da fix part of bug 32997, file URLs that include a hostname don't work, r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64865 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:51:17 +00:00
rjc%netscape.com
d8d4ecf9d9 Internally, force all "shortcuts" to be lowercase (due to RDF APIs being case-significant). When looking for a shortcut match, first lowercase it, then look through graph... this allows for a case-insignificant match.
git-svn-id: svn://10.0.0.236/trunk@64864 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:48:29 +00:00
rjc%netscape.com
3d04a873f2 Make bookmark property dialog skinnable.
git-svn-id: svn://10.0.0.236/trunk@64863 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:46:14 +00:00
rjc%netscape.com
ac7a031d96 Add new bm-props.css file into builds.
git-svn-id: svn://10.0.0.236/trunk@64862 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:45:10 +00:00
rjc%netscape.com
0e827a82cd Add new bookmark property window CSS.
git-svn-id: svn://10.0.0.236/trunk@64861 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:44:31 +00:00
cls%seawood.org
e3c2b7d955 Update comments and add tweak to OS/2 rule for bug #31845. a=leaf
git-svn-id: svn://10.0.0.236/trunk@64860 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:37:30 +00:00
racham%netscape.com
a166423ec2 Fixing bug 15787. Associating exit event with close icon in the upper right corner of createProfileWizard window. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@64859 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:36:00 +00:00
cls%seawood.org
0220b2d70f HP-UX's compiler doesn't like calling delete on a void*. Use PR_Malloc & PR_Free instead. Bug #34040 r=jdunn,evaughan a=leaf
git-svn-id: svn://10.0.0.236/trunk@64858 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:35:40 +00:00
ruslan%netscape.com
ce870d2f2c Fix a small memory leak in OnStopRequest introduced by earlier checkins
git-svn-id: svn://10.0.0.236/trunk@64857 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:13:48 +00:00
ruslan%netscape.com
c4871b3968 Fix potential crasher when we hit max-conections and wait (resulted from
quick and dirty mac-bustage fix - it introduced erroneous extra ns_release).


git-svn-id: svn://10.0.0.236/trunk@64856 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:04:06 +00:00
morse%netscape.com
8742a6e010 minor wording change
git-svn-id: svn://10.0.0.236/trunk@64855 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:00:51 +00:00
ruslan%netscape.com
9d3fb8c909 Fix MAC bustage - quick and dirty.
git-svn-id: svn://10.0.0.236/trunk@64854 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 06:50:56 +00:00
sspitzer%netscape.com
be7e789ad4 fix warning. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@64853 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 06:29:15 +00:00
sspitzer%netscape.com
3bcd472ddd fix warnings. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@64852 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 06:25:29 +00:00
ruslan%netscape.com
9b3848e2ca Fix linux build bustage
git-svn-id: svn://10.0.0.236/trunk@64851 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 05:59:27 +00:00
ruslan%netscape.com
2f042e4fc1 Landing first cut of http pipelining (2487). Don't turn it on yet. Also fix
sockettransport leakage (33929). In case of major bustage - pipelining_reorg_point
is the tag before the check in.


git-svn-id: svn://10.0.0.236/trunk@64849 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 05:19:33 +00:00
sspitzer%netscape.com
44278ce90b removing the nsISubscribeDialog* interfaces, they aren't being used.
change for the new subscribe dialog, which isn't turned on yet.
r=bienvenu, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@64848 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 04:23:53 +00:00
brendan%mozilla.org
196aa16c44 Don't forget to drop property in getter/setter case (34069, r=jband,a=leaf).
git-svn-id: svn://10.0.0.236/trunk@64847 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 04:23:04 +00:00
blizzard%redhat.com
a65a5df19f more work on the embedding widget. not part of the build. a=leaf
git-svn-id: svn://10.0.0.236/trunk@64846 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 04:21:40 +00:00
sspitzer%netscape.com
06451fcd76 return NS_OK, but alert when CloseFilterList() is called. r=bienvenu, a=leaf.
git-svn-id: svn://10.0.0.236/trunk@64845 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 04:17:25 +00:00
sspitzer%netscape.com
17fb4d2d0b start of filter migration work. r=bienvenu, a=leaf. not turned on yet for anyone
but david b. and me.  newsgroup filter migration not working yet.


git-svn-id: svn://10.0.0.236/trunk@64844 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 04:16:32 +00:00
sspitzer%netscape.com
0fb3667b56 added files: mozilla/mailnews/base/src/nsSubscribeDataSource.cpp
git-svn-id: svn://10.0.0.236/trunk@64843 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 04:13:42 +00:00
beard%netscape.com
052c4a9c0e fix array leaks. r=bruce@cybersight.com,a=leaf
git-svn-id: svn://10.0.0.236/trunk@64842 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 03:05:56 +00:00
rogerl%netscape.com
0c6fc8328e For statements.
git-svn-id: svn://10.0.0.236/trunk@64841 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 02:53:16 +00:00
sspitzer%netscape.com
485de8da7a put #endif at the end of the file. add stuff for SubscribeDataSource. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@64840 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 02:05:28 +00:00
sspitzer%netscape.com
0df8bbd925 adding the subscribe datasource the build for windows.
git-svn-id: svn://10.0.0.236/trunk@64839 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:58:56 +00:00
sspitzer%netscape.com
30df392de1 adding the subscribe datasource to the build for unix.
git-svn-id: svn://10.0.0.236/trunk@64838 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:58:00 +00:00
sspitzer%netscape.com
0467a7e9ad more changes for the new subscribe dialog. not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@64837 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:56:16 +00:00
sspitzer%netscape.com
8ad0a48fa1 not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@64836 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:53:29 +00:00
waterson%netscape.com
a4018be161 Check in new and improved rule matching for XUL templates. NOT YET IN THE BUILD. a=leaf
git-svn-id: svn://10.0.0.236/trunk@64835 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:38:55 +00:00
rogerl%netscape.com
d458c055bb Added do & switch statements, more hacking at the code state thing.
git-svn-id: svn://10.0.0.236/trunk@64834 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:30:32 +00:00
rpallath%eng.sun.com
076eb41487 changed == to !=
git-svn-id: svn://10.0.0.236/trunk@64833 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:29:59 +00:00
varada%netscape.com
67b82b7ffa fix for bug #33933 - changing file path in cck.che
git-svn-id: svn://10.0.0.236/trunk@64832 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:28:39 +00:00
varada%netscape.com
384adca3bb fix for bug #33933 - changing file path in default.che
git-svn-id: svn://10.0.0.236/trunk@64831 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:28:00 +00:00
edburns%acm.org
5345939064 Adding this line to the top of the run() method in
NativeEventThread seems to fix the hanging problem.

    this.setPriority(Thread.MIN_PRIORITY);


Looks like it was starvation.


git-svn-id: svn://10.0.0.236/trunk@64830 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 01:17:33 +00:00
mscott%netscape.com
2a9340e90c add the user agent header back in under a pref. set mailnews.headers.showUserAgent to true in your prefs
if you want to see the user agent string.


git-svn-id: svn://10.0.0.236/trunk@64829 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:40:53 +00:00
nisheeth%netscape.com
dea3118b7e Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches.
git-svn-id: svn://10.0.0.236/trunk@64828 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:15 +00:00
scc%netscape.com
28db414fa4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +00:00
scc%netscape.com
6501ffa8c2 make string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64826 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:36:50 +00:00
rpallath%eng.sun.com
880ae9f49a Updated classPATH in mozilla.bat nad mozilla.csh
git-svn-id: svn://10.0.0.236/trunk@64825 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:34:48 +00:00
jband%netscape.com
cb6bfbdb6e hold an extra ref on mContext while we are calling GC. a=leaf to checkin while tree is closed
git-svn-id: svn://10.0.0.236/trunk@64824 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:33:10 +00:00
scc%netscape.com
5071419800 turn on source browser in debug build; moved camelot added files into their right spots
git-svn-id: svn://10.0.0.236/trunk@64823 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:32:53 +00:00
nisheeth%netscape.com
82fa780fcb Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches.
git-svn-id: svn://10.0.0.236/trunk@64822 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:31:13 +00:00
robodan%netscape.com
7e4bf4565a DNS problem didnt actually exist
git-svn-id: svn://10.0.0.236/trunk@64821 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:30:18 +00:00
valeski%netscape.com
b35bf77cea preperation for new string api changes. We still have the potential for data loss here if pushbackbuffer contains double bytes, but we're better off then the old memcpy
git-svn-id: svn://10.0.0.236/trunk@64820 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:29:51 +00:00
tbogard%aol.net
e85dbd5313 Removed all the LoadURL methods from the webshell API. Added a new API to allow loading for the old session history. This is needed until the new session history is online.
git-svn-id: svn://10.0.0.236/trunk@64819 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:29:36 +00:00
tbogard%aol.net
9cf49ff354 nsIWebShell now has a new method for this last remaining piece of code that needs to call the loadurl. Converted the load to use that call.
git-svn-id: svn://10.0.0.236/trunk@64818 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:29:28 +00:00
robodan%netscape.com
885da3fc9f add portable form of stone.fm
git-svn-id: svn://10.0.0.236/trunk@64817 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:27:35 +00:00
tbogard%aol.net
6eda3aac98 Use the docShell APIs to do the Load rather than nsIWebShell methods.
git-svn-id: svn://10.0.0.236/trunk@64816 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:26:21 +00:00
scc%netscape.com
4bcca5a554 Unified some signatures of |AppendWithConversion|
git-svn-id: svn://10.0.0.236/trunk@64815 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:24:39 +00:00
scc%netscape.com
1030b5cbc8 Had to add another signature of |AppendWithConversion|
git-svn-id: svn://10.0.0.236/trunk@64814 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:24:32 +00:00
rickg%netscape.com
c056be4201 removed unused includes; fixed addref bug; r=karnaze
git-svn-id: svn://10.0.0.236/trunk@64813 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:23:24 +00:00
mscott%netscape.com
2fc95d08af Add mailnews.headers.showUserAgent pref which is a hidden pref we can use to show
the user agent string in the message pane.


git-svn-id: svn://10.0.0.236/trunk@64812 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:20:17 +00:00
nisheeth%netscape.com
e49cdf0a25 r=troy. Fix for bug 33422. The display style is set to block level for document element frames. The style was defaulting to inline for cases where an XML document did not set a block level display style on the root element.
git-svn-id: svn://10.0.0.236/trunk@64811 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:18:21 +00:00
cmanske%netscape.com
1e71ac0f5c Improved pavlov's changes to open location dialog. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@64810 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:16:39 +00:00
valeski%netscape.com
65d7928e21 ditching old string api in preperation for new string stuff
git-svn-id: svn://10.0.0.236/trunk@64809 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:14:31 +00:00
nisheeth%netscape.com
1de20470ea r=troy. Fix for bugs 8131, 13325.
- We no longer display alternate content for broken images inside image
- We only display the image loading icon during the initial load of an image not if its src attribute is changed via the DOM.
- In AttributeChanged(), se don't call ContentChanged() on the document to reflow the image frame but call the parent frame's ReflowDirtyChild() method instead.


git-svn-id: svn://10.0.0.236/trunk@64808 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:13:51 +00:00
rpallath%eng.sun.com
b7957d6bfa Removing DOMAccessorImpl as it is no longer valid.
git-svn-id: svn://10.0.0.236/trunk@64807 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:07:02 +00:00
harishd%netscape.com
477c951a51 Fix for 29048, 28085 - MLKs..
r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@64806 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:05:44 +00:00
akkana%netscape.com
a66b5d430f 28598: Do dom linebreak conversion on the string before inserting it in the editor.
git-svn-id: svn://10.0.0.236/trunk@64805 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:04:46 +00:00
rpallath%eng.sun.com
5806b724a1 Added DOMAccessor.java (insted of DOMAccessorImpl)
Added redirect.html


git-svn-id: svn://10.0.0.236/trunk@64804 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:04:15 +00:00
robodan%netscape.com
0dd3a03320 make default build mode be "release"
git-svn-id: svn://10.0.0.236/trunk@64803 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 23:50:41 +00:00
evaughan%netscape.com
c3b9bc7f83 Uninitialized memory fix.
-r scc


git-svn-id: svn://10.0.0.236/trunk@64801 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 22:41:18 +00:00
wtc%netscape.com
9ca65bd604 Bugzilla bug #34048: set the fragment names of the DLLs. Thanks to
Simon Fraser <sfraser@netscape.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@64799 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 22:21:07 +00:00
beard%netscape.com
5cda370a28 fix for bug #34094: turned on USE_TLS_FOR_TOOLKIT, so only 1 per thread will be used, changed nsAppShell::Create(int* argc, char ** argv) to use NS_GetCurrentToolkit(). This is a total blocker for Mac. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@64798 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 21:43:34 +00:00
relyea%netscape.com
04d53528c9 Remove modutil until we can fix a build problem.
git-svn-id: svn://10.0.0.236/trunk@64797 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:59:58 +00:00
relyea%netscape.com
32de04bb9c Adjust jzlib.h acquired for zlib.h to it builds in the .jar file.
Add define in manistet to make it work.


git-svn-id: svn://10.0.0.236/trunk@64796 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:56:10 +00:00
relyea%netscape.com
1eb03cf851 Source doesn't setup DIST, it sets up SOURCE!
git-svn-id: svn://10.0.0.236/trunk@64795 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:53:47 +00:00
relyea%netscape.com
0e647f3880 remove an incorrectly checked in file
git-svn-id: svn://10.0.0.236/trunk@64794 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:50:44 +00:00
relyea%netscape.com
b287229fe6 Create the Security link correctly.
git-svn-id: svn://10.0.0.236/trunk@64793 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:48:55 +00:00
varada%netscape.com
c643070c5c fix for bug #34089 - customizations werent makeing it in because there were spaces in the directory name - fixed it by appending the quotes before and after the directory name
git-svn-id: svn://10.0.0.236/trunk@64792 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:47:46 +00:00
valeski%netscape.com
412c3ec033 33935. r=dougt. I built on all three platforms. I smoketested win and linux, but mac is hanging after profile mgr so I can't verify it. When the CSS loader would try and load a non-existant local css file, we would crash. Now we post the OnComplete() callback asynchronously to the event queue so the CSS loader isn't entered recursively, and life is good again
git-svn-id: svn://10.0.0.236/trunk@64790 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:39:16 +00:00
despotdaemon%netscape.com
b2d3d1c5a8 Pseudo-automatic update of changes made by mcgreer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@64789 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:23:56 +00:00
relyea%netscape.com
a4d4d45374 Initial NSS Open Source checkin
git-svn-id: svn://10.0.0.236/trunk@64788 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:13:40 +00:00
despotdaemon%netscape.com
b493f9d5ae Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@64787 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:12:44 +00:00
sdv%sparc.spb.su
6ff00eda55 removed org/mozilla/dom/tests from JDIR
git-svn-id: svn://10.0.0.236/trunk@64786 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 19:22:48 +00:00
robodan%netscape.com
0a1996f68b split off old ChangeLog stuff
git-svn-id: svn://10.0.0.236/trunk@64785 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 19:20:09 +00:00
relyea%netscape.com
0fd790f48b Initial NSS Open Source Checkin
git-svn-id: svn://10.0.0.236/trunk@64784 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 19:16:26 +00:00
robodan%netscape.com
2cb7576d21 Added <includeOnce file>
git-svn-id: svn://10.0.0.236/trunk@64783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 19:16:09 +00:00
relyea%netscape.com
2810ea3b94 Initial NSS Open source checkin
git-svn-id: svn://10.0.0.236/trunk@64782 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 19:14:40 +00:00
waterson%netscape.com
3236ee9cba Bug 34061. Fix uninitialized memory problems when called from nsXULDocument::AddSubtreeToDocument().
git-svn-id: svn://10.0.0.236/trunk@64781 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 19:01:56 +00:00
dmose%mozilla.org
1ca70caa1a adding remaining crypto-sensitive checkin dirs to send mail to mozilla-crypto-checkins
git-svn-id: svn://10.0.0.236/trunk@64780 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 19:00:27 +00:00
relyea%netscape.com
7e525a51a5 Initial checkin of the NSS build environment for the open source release
git-svn-id: svn://10.0.0.236/trunk@64779 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 18:56:07 +00:00
edburns%acm.org
3f3dd34f18 Thanks to Andi Eades, and Steffen Grarup for finding and fixing this.
Basically, we were storing a local jobject ref and using it on
 another thread without calling NewGlobalRef.

The fix is below:

cvs diff WindowControlImpl.cpp NativeEventThread.cpp (in directory D:\Projects\mozilla\java\webclient\src_moz\)
Index: WindowControlImpl.cpp
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/src_moz/WindowControlImpl.cpp,v
retrieving revision 1.5
diff -r1.5 WindowControlImpl.cpp
131c131,134
<     initContext->nativeEventThread = nsnull;
---
>     if (nsnull != initContext->nativeEventThread) {
>         ::util_DeleteGlobalRef(env, initContext->nativeEventThread);
>         initContext->nativeEventThread = nsnull;
>     }
Index: NativeEventThread.cpp
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/src_moz/NativeEventThread.cpp,v
retrieving revision 1.7
diff -r1.7 NativeEventThread.cpp
213c213,215
<         initContext->nativeEventThread = obj; // VERY IMPORTANT!!
---
>         initContext->nativeEventThread =
>             ::util_NewGlobalRef(env, obj); // VERY IMPORTANT!!
>

*****CVS exited normally with code 1*****


git-svn-id: svn://10.0.0.236/trunk@64778 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 17:09:00 +00:00
rods%netscape.com
6a7dbb2964 backing out my changes because of XUL
git-svn-id: svn://10.0.0.236/trunk@64777 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:50:56 +00:00
rods%netscape.com
a4235fc535 checkbox and radio now use content-box instead of border-box this makes it
more intuitive to add and resize the borders.
b=32102


git-svn-id: svn://10.0.0.236/trunk@64776 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:43:06 +00:00
morse%netscape.com
d97320a28a add log-out ability to password manager
git-svn-id: svn://10.0.0.236/trunk@64775 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:41:04 +00:00
jefft%netscape.com
d04bdb5a8c fixed bug 13710 - compact folder for pop3; r=scottip
git-svn-id: svn://10.0.0.236/trunk@64774 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:28:28 +00:00
brade%netscape.com
0fff9a26a5 add strings for localization of Edit Frame and Edit Frameset
git-svn-id: svn://10.0.0.236/trunk@64773 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:16:47 +00:00
brade%netscape.com
db941228eb add entities for localization of "recent files"
git-svn-id: svn://10.0.0.236/trunk@64772 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:15:19 +00:00
brade%netscape.com
7930279120 add doctype to new editor pages
git-svn-id: svn://10.0.0.236/trunk@64771 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 13:59:14 +00:00
pavlov%netscape.com
603824b870 update some comments
git-svn-id: svn://10.0.0.236/trunk@64770 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 13:49:15 +00:00
pavlov%netscape.com
a9dc72550c use weak refs for the rollup widget instead of doing it the way i was before which was suboptimal
git-svn-id: svn://10.0.0.236/trunk@64769 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 13:44:44 +00:00
pavlov%netscape.com
b31fe7fd4c fix a circular reference problem
git-svn-id: svn://10.0.0.236/trunk@64768 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 12:48:41 +00:00
cls%seawood.org
a6e7d23be9 Another DLL_SUFFIX change hidden by not clobbering.
git-svn-id: svn://10.0.0.236/trunk@64767 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 12:05:29 +00:00
cls%seawood.org
290775402d Oops, missed a DLL_SUFFIX that didn't show up in a depend build.
git-svn-id: svn://10.0.0.236/trunk@64766 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 12:00:41 +00:00
mccabe%netscape.com
0ed38a8fd3 Error reporting mechanisms for nsDocShell (xul js and content js) and mosJSComponentLoader (JS components) now pipe error objects to the JavaScript console.
git-svn-id: svn://10.0.0.236/trunk@64765 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 11:19:51 +00:00
cls%seawood.org
47bd6dc3cc Please use PR_TRUE & PR_FALSE. Not all C++ compilers support the keywords true & false.
git-svn-id: svn://10.0.0.236/trunk@64763 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 11:09:28 +00:00
mccabe%netscape.com
50cc6323f5 Point to the JS Console page from the UI; from tasksOverlay, for now.
Tweak js console javascript, with many added notes

add 'categories I know about so far' to nsIScriptError.idl, as some attempt at documentation.


git-svn-id: svn://10.0.0.236/trunk@64762 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:51:13 +00:00
cls%seawood.org
ec1ce7b790 Moved setting of platform specific DLL_SUFFIX to configure.
Removed old unused WINNT ifdefs from rules.mk.


git-svn-id: svn://10.0.0.236/trunk@64761 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:49:39 +00:00
rickg%netscape.com
2e3ff29319 fixed silly string usage error
git-svn-id: svn://10.0.0.236/trunk@64760 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:45:55 +00:00
cls%seawood.org
254184e2ba Slightly munged the os/2 patch. Add else clause before something unknown breaks.
git-svn-id: svn://10.0.0.236/trunk@64759 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:38:58 +00:00
pavlov%netscape.com
afafa97e7c quiet down the unix filepicker
git-svn-id: svn://10.0.0.236/trunk@64758 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:37:12 +00:00
jband%netscape.com
dfaa91c993 renaming 'readonly' to 'read_only' because it turns out that 'readonly' is a reserved word for some compilers (e.g. on OpenVMS) and they break.
git-svn-id: svn://10.0.0.236/trunk@64757 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:34:10 +00:00
jband%netscape.com
1e8edc9e93 fix a side effect of the fix to bug 32485. It turns out it is better to leak some native objects while shutting down then to fire off Release calls on those wrapped native objects and watch the browser crash
git-svn-id: svn://10.0.0.236/trunk@64756 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:31:00 +00:00
pavlov%netscape.com
ab7b683d3c use nsIFilePicker instead of nsIFileSpecWithUI
git-svn-id: svn://10.0.0.236/trunk@64755 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:27:17 +00:00
hyatt%netscape.com
143417f3b2 And on a farm there was a big honking leak, e-i-e-io. With an XBL binding here and a XUL element there...
git-svn-id: svn://10.0.0.236/trunk@64754 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:27:12 +00:00
hyatt%netscape.com
9dfc5f5d08 Fumbling around trying to fix 800K leak.
git-svn-id: svn://10.0.0.236/trunk@64753 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:26:25 +00:00
kvisco%ziplink.net
e9424b90e8 latest changes
git-svn-id: svn://10.0.0.236/trunk@64752 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:21:34 +00:00
rickg%netscape.com
7f309e7c52 removed references to nsString2
git-svn-id: svn://10.0.0.236/trunk@64751 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:19:31 +00:00
kvisco%ziplink.net
51782e1a8e added a test to check for proper result type conversion
git-svn-id: svn://10.0.0.236/trunk@64750 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:16:38 +00:00
rickg%netscape.com
ea24edd773 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64749 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:13:22 +00:00
rickg%netscape.com
c4e05266ea fixed include problem
git-svn-id: svn://10.0.0.236/trunk@64748 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:08:49 +00:00
rickg%netscape.com
5ab6436c9b removed references to nsString2
git-svn-id: svn://10.0.0.236/trunk@64747 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:05:30 +00:00
pierre%netscape.com
57f52259cf 17309: set the default timeout in the previous checkin to 2 minutes
git-svn-id: svn://10.0.0.236/trunk@64746 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:04:48 +00:00
pavlov%netscape.com
84ae03bdfd fix ref problem with gc's from the gc cache. fixes bug 32120
git-svn-id: svn://10.0.0.236/trunk@64745 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:55:47 +00:00
alecf%netscape.com
b9e08acc79 registering the atom service during XPCOM initialization
r=dp


git-svn-id: svn://10.0.0.236/trunk@64744 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:50:00 +00:00
cls%seawood.org
58e5f669c0 Remove --enable-implicit-archive option and rule sets as they still have dependency problems and are not being worked on. Bug #15241
git-svn-id: svn://10.0.0.236/trunk@64743 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:37:14 +00:00
rickg%netscape.com
08626d4b1c removed references to nsString2
git-svn-id: svn://10.0.0.236/trunk@64742 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:34:43 +00:00
alecf%netscape.com
3b69969e96 added files: mozilla/xpcom/ds/nsAtomService.cpp
git-svn-id: svn://10.0.0.236/trunk@64741 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:31:12 +00:00
alecf%netscape.com
164f09fab2 added files: mozilla/xpcom/ds/nsIAtomService.idl
git-svn-id: svn://10.0.0.236/trunk@64740 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:27:04 +00:00
tbogard%aol.net
8f256d3ee5 Changed nsPIDOMWindow::GetXPConnectObject to GetObjectProperty and the same change to Set.
git-svn-id: svn://10.0.0.236/trunk@64739 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:26:02 +00:00
rickg%netscape.com
9ff7db4425 wip for nsString classes; not part of build
git-svn-id: svn://10.0.0.236/trunk@64738 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:24:08 +00:00
alecf%netscape.com
a87cea3989 add the atom service to the build
r=dp


git-svn-id: svn://10.0.0.236/trunk@64737 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:19:17 +00:00
hyatt%netscape.com
6cad81b3f0 Fixing 700K memory leak.
git-svn-id: svn://10.0.0.236/trunk@64736 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:13:42 +00:00
rickg%netscape.com
4965377084 removed nsString2 reference
git-svn-id: svn://10.0.0.236/trunk@64735 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:12:35 +00:00
ramiro%fateware.com
593d258bf6 Changed the signature GtkMozEmbedChrome::FindNamedBrowserItem() for the l+g
embedding changes.  nsIDocShellTreeItem vs. nsIWebBrowser.


git-svn-id: svn://10.0.0.236/trunk@64734 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:09:45 +00:00
rickg%netscape.com
380980092a changed reference from nsString2 to nsString
git-svn-id: svn://10.0.0.236/trunk@64733 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:08:17 +00:00
rickg%netscape.com
b395f97fc0 updated includes to access nsCRT
git-svn-id: svn://10.0.0.236/trunk@64732 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:04:29 +00:00
cls%seawood.org
ccb881473c Oops. Forgot a CROSS_COMPILE ifdef.
git-svn-id: svn://10.0.0.236/trunk@64731 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 08:00:08 +00:00
alecf%netscape.com
c3d3879f93 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@64730 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:55:08 +00:00
danm%netscape.com
8d84070f07 adding nsGeneratedIterator for mjudge
git-svn-id: svn://10.0.0.236/trunk@64729 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:36:08 +00:00
tbogard%aol.net
705b5f1fcc When height or width are specified in window.open we now properly apply it to the content area and not to the outer window's size. Fixes #32663.
git-svn-id: svn://10.0.0.236/trunk@64728 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:34:32 +00:00
evaughan%netscape.com
d216ca01e9 Yet another missing file.
git-svn-id: svn://10.0.0.236/trunk@64727 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:32:35 +00:00
evaughan%netscape.com
02db68a418 2 more
git-svn-id: svn://10.0.0.236/trunk@64726 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:28:48 +00:00
scc%netscape.com
5dd09e2ded incremental changes. these files are not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@64725 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:28:38 +00:00
scc%netscape.com
4108d844a4 more work bringing |ns[C]String| into line with the new implementations. Again, this is no change when |NEW_STRING_APIS| is not defined.
git-svn-id: svn://10.0.0.236/trunk@64724 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:26:13 +00:00
mjudge%netscape.com
d50c11711c changed alot here having to do with get position. made it much faster for non-slow frames. (slow=char spacing ect) also removed some code to make the ::GetWidth call factored out so I can reuse it. selection now has a DrawSelectionIterator that spits out the next series of chars and their color ect when drawing selection. this allows us to combine many different types of selection. This also means that XOR is not used here any more. we will hook up selection colors to style shortly in the next week.
git-svn-id: svn://10.0.0.236/trunk@64723 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:26:07 +00:00
racham%netscape.com
ceeda72692 Fixing bug 15787. Close the app on clicking x in the upper right corner of profilemanager window. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@64722 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:26:01 +00:00
mjudge%netscape.com
30a7d8a091 changing troys generated content SUB iterator with changes that he sent me personally. these will allow us to have iterators over generated tables or just plain before or after nodes.
git-svn-id: svn://10.0.0.236/trunk@64721 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:22:38 +00:00
evaughan%netscape.com
868ea2e09e Forgot file.
git-svn-id: svn://10.0.0.236/trunk@64720 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:20:50 +00:00
cls%seawood.org
36f0033393 Fix cross-compiling rules so that we can build both the host & target version of our "internal" build tools.
Added .ho suffix for host objects.
Added rules for HOST_PROGRAM, HOST_LIBRARY & HOST_SIMPLE_PROGRAMS.
When cross-compiling, use the host_ versions of nsinstall, xpidl & xpidl_link and install host targets under $(DIST)/host .
Bug #11890


git-svn-id: svn://10.0.0.236/trunk@64719 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:18:52 +00:00
mjudge%netscape.com
1879d9f615 adding in new cids and new factories for nsgeneratedcontent and nsgeneratedsubtree iterators
git-svn-id: svn://10.0.0.236/trunk@64718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:18:45 +00:00
mjudge%netscape.com
d068ec5d0f moving nsGeneratedContent stuff to new file nsGeneratedIterator. adding new bitflags for selection types for nsSelection
git-svn-id: svn://10.0.0.236/trunk@64717 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:17:22 +00:00
mjudge%netscape.com
e0a2a09284 adding in nsGeneratedContent as new file
git-svn-id: svn://10.0.0.236/trunk@64716 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:15:13 +00:00
mjudge%netscape.com
6384655e67 changing bitflags for selection types. well they are bitflags now
git-svn-id: svn://10.0.0.236/trunk@64715 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:14:39 +00:00
mjudge%netscape.com
195c000691 adding in new init methods for the new nsGeneratedContentIterator!
git-svn-id: svn://10.0.0.236/trunk@64714 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:14:02 +00:00
cls%seawood.org
553a03fc5b Added HOST_LIBIDL_CONFIG to build. Bug #11890
git-svn-id: svn://10.0.0.236/trunk@64713 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:12:39 +00:00
kvisco%ziplink.net
16b7206ca6 updated to support changes to String.h/cpp
git-svn-id: svn://10.0.0.236/trunk@64712 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:11:29 +00:00
kvisco%ziplink.net
9e1dd1c416 Fixed a memory leak when using the Translate function,
also made change to use the String::toUnicode method instead
of String::toCharArray


git-svn-id: svn://10.0.0.236/trunk@64711 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:10:12 +00:00
kvisco%ziplink.net
dcce675e30 changed the AttributeValueTemplate parsing to be unicode safe
git-svn-id: svn://10.0.0.236/trunk@64710 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:44 +00:00
attinasi%netscape.com
9657bf7bed Implemented Style Size Dump. r=rickg b=26565
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00
kvisco%ziplink.net
1b21bd2ac6 updated to support changes in String.cpp
git-svn-id: svn://10.0.0.236/trunk@64708 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:07:24 +00:00
evaughan%netscape.com
82b44e2844 box skinnablility changes.
-r Hyatt


git-svn-id: svn://10.0.0.236/trunk@64707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:02:06 +00:00
tbogard%aol.net
25d2d618a0 Removed the nsIDOMWindow::GetXPConnectObject, AddXPConnectObject, and RemoveXPConnectObject methods. This feature can be done through properties or through nsPIDOMWindow::GetXPConnectObject.
git-svn-id: svn://10.0.0.236/trunk@64706 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 06:59:30 +00:00
racham%netscape.com
6eb1699550 Remove activation cookie after it is processed, bug 32506. Fix memory leak, bug 31878. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@64705 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 06:34:40 +00:00
racham%netscape.com
ff2cf9bcbd Adding interface to remove activation cookie after it is processed. Bug 32506.r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@64704 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 06:34:27 +00:00
mccabe%netscape.com
8a6fd6ef23 Fix solaris bustage -
Add (nsISupports *) cast to nsSupportsArray::RemoveElement call, to remove overloading ambiguity detected on Solaris


git-svn-id: svn://10.0.0.236/trunk@64703 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 06:29:34 +00:00
putterman%netscape.com
a33c7d3cde r=mscott. Sort by order received remembered per folder and turn on the menuitem
by removing '.'


git-svn-id: svn://10.0.0.236/trunk@64702 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:58:37 +00:00
beard%netscape.com
5cdf9d85ab fixing a broken header.
git-svn-id: svn://10.0.0.236/trunk@64701 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:47:42 +00:00
troy%netscape.com
b3c08e51a2 Fix for divide by zero I accidently introduced
git-svn-id: svn://10.0.0.236/trunk@64700 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:40:35 +00:00
troy%netscape.com
f8ad64e11a Fix non Win32 compiler bustage
git-svn-id: svn://10.0.0.236/trunk@64699 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:10:36 +00:00
troy%netscape.com
531ec45b9f Changed text measurement code to use the new rendering context function
that measures chunks or words. Because that function is only implemented
on Win32 the code is #ifdef _WIN32


git-svn-id: svn://10.0.0.236/trunk@64698 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:27:43 +00:00
mccabe%netscape.com
83781a93c1 Add JS Console components to the unix and windows build systems.
git-svn-id: svn://10.0.0.236/trunk@64697 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:20:00 +00:00
pavlov%netscape.com
7fc41c3abd few more changes
git-svn-id: svn://10.0.0.236/trunk@64696 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:19:59 +00:00
cmanske%netscape.com
1d0728c1b0 Show/hide paragraph marks (b=22181) and cleaned up style sheet code. 3-D shading fixed for HLine props (b=26841). Toolbar button spaces (b=12514). New color picker button and other conversions to new XUL widgets in dialogs. Optimizations in table editing. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@64695 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:18:29 +00:00
mccabe%netscape.com
9a59620ca9 Rename progids to foo.bar.1 format; change console.js to take advantage of nsIScriptError messages when it gets them.
git-svn-id: svn://10.0.0.236/trunk@64694 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:17:54 +00:00
svn%xmlterm.org
caa7e6ebfb xmlterm changes only;
Removed all wchar dependence by recoding the primitive Unicode string
functions used by lineterm. (FreeBSD doesn't have a wchar implementation!)


git-svn-id: svn://10.0.0.236/trunk@64693 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:14:39 +00:00
tbogard%aol.net
0025ce45a8 Implemented EnsureWebProgressListener(). You can now call GetInterface on the docshell to get to a nsIWebProgressListener interface.
git-svn-id: svn://10.0.0.236/trunk@64692 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:11:29 +00:00
troy%netscape.com
46036dc8cc Increase the size of the underlying arenas from 2K to 4K. After looking
at a veriety of pages that seems to be a better choice


git-svn-id: svn://10.0.0.236/trunk@64691 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:11:28 +00:00
morse%netscape.com
178fb0de98 fix bug 26760, download wallet tables only if they've changed
git-svn-id: svn://10.0.0.236/trunk@64690 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:04:25 +00:00
waterson%netscape.com
3e62fee14f Bug 26402. Compile event handlers when content is inserted into the document. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@64689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:03:25 +00:00
pavlov%netscape.com
f25fdd7b3c few minor changes here and there
git-svn-id: svn://10.0.0.236/trunk@64688 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:01:02 +00:00
leaf%mozilla.org
d91b1e3ac4 Automated update
git-svn-id: svn://10.0.0.236/trunk@64687 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:00:43 +00:00
blizzard%redhat.com
b35bdc5ae8 remove the old webshell based gtk embedding widget from the build. also, add the new gtk embedding widget makefiles to allmakefiles.sh. r=leaf
git-svn-id: svn://10.0.0.236/trunk@64686 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 03:58:02 +00:00
pavlov%netscape.com
b091130c64 use nsIFilePicker instead of nsIFileSpecWithUI
git-svn-id: svn://10.0.0.236/trunk@64685 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 03:55:41 +00:00
waterson%netscape.com
2ddf9ae15f Fix off-by-one error that could occur if you try to inspect an RDF container during renumbering.
git-svn-id: svn://10.0.0.236/trunk@64684 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 03:52:55 +00:00
tbogard%aol.net
9a8f7b8644 Changed the nsIXULBrowserWindow to distinguish between JS status and it's own status. Fixed bugs where pages that set the window.status wouldn't actually end up showing up correctly. Now status has a priority scheme where different status versus links etc take priority. Use the new interfaces on nsPIDOMWindow to get to the properties hanging off the js window object instead of the old separate list.
git-svn-id: svn://10.0.0.236/trunk@64683 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 03:36:26 +00:00
troy%netscape.com
5fba946e7c Added new GetWidth() function that takes as additional arguments an
array of break points and an available width and then returns how many
characters fit in the available width. This allows the text frame code
to measure in chunks instead of just a single word at a time


git-svn-id: svn://10.0.0.236/trunk@64682 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 03:34:05 +00:00
tbogard%aol.net
e6a3bc342c Removed GetDocShell from nsPIDOMWindow as it can be retrieved using nsIScriptGlobalObject. Added SetXPConnectObject and GetXPConnectObject which hooks up or retrieves an xpconnect object to a property on the dom window. Removed some old XXXEMBEDDING comments as they were wrong. The old methods on nsIDOMWindow for adding and getting an object now call through to the property code. Those methods will soon be removed.
git-svn-id: svn://10.0.0.236/trunk@64681 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 03:33:49 +00:00
hyatt%netscape.com
a1c33ed26b making inheritance work properly in XBL.
git-svn-id: svn://10.0.0.236/trunk@64680 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 03:13:43 +00:00
jband%netscape.com
51d374a343 use JS_LookupProperty to find the Components object in the JS scope because the OBJ_GET_PROPERTY call we had been using can fail for security reasons. travis needs this to fix bug 33489. r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@64679 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:47:46 +00:00
brendan%mozilla.org
2d4b8815ea Allow anonymous function compilation via JS_Compile*Function (33840, r=shaver,jband).
git-svn-id: svn://10.0.0.236/trunk@64678 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:47:15 +00:00
tbogard%aol.net
9bb73dba24 The OverLink handler no longer caches the current over and target link to ensure we aren't called for the same link more than once. The lower level is assuring we aren't execpt in on case where a popup is up and then you move over links. This is a small case. Since string copies were actually showing up on some profiles I'm removing this caching of the string for some small amount of performance and bloat benefit as well as code cleanup.
git-svn-id: svn://10.0.0.236/trunk@64677 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:47:04 +00:00
sfraser%netscape.com
9665371027 Add nsEditorParserObserver.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@64676 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:36:10 +00:00
rhp%netscape.com
97740dbb7d Finalizing the addbook: calls for printing - r: chuang
git-svn-id: svn://10.0.0.236/trunk@64675 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:21:53 +00:00
beard%netscape.com
356d973a7e preemptive bustage fix.
git-svn-id: svn://10.0.0.236/trunk@64674 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:17:04 +00:00
alecf%netscape.com
62963fe29e reflect "defaultness" of the server into RDF
git-svn-id: svn://10.0.0.236/trunk@64673 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:16:21 +00:00
sfraser%netscape.com
b72b710d09 Some minor UI tweaks for the status bar. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@64672 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:15:40 +00:00
sfraser%netscape.com
81c26cdf28 Work in progress for bug 14599 -- handle loading frameset docs. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@64671 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:13:00 +00:00
beard%netscape.com
36cdeebf6b landing xpfe/components/console build. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@64670 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:10:14 +00:00
beard%netscape.com
32907a7a09 initial check-in.
git-svn-id: svn://10.0.0.236/trunk@64669 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:03:19 +00:00
mccabe%netscape.com
27954fa89e Not part of the build. IDL manifest for soon-to-be-landed mac project for js console.
git-svn-id: svn://10.0.0.236/trunk@64668 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:59:50 +00:00
sfraser%netscape.com
a2e9a5664d Some minor UI tweaks for the status bar. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@64667 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:59:45 +00:00
sfraser%netscape.com
71306fc976 Added nsEditorParserObserver.cpp
git-svn-id: svn://10.0.0.236/trunk@64666 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:59:00 +00:00
attinasi%netscape.com
f4da5629ff Implemented a timer for loading CSS style sheets to allow content to be displayed if the sheet is taking too long to load. b=17309 r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@64665 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:57:54 +00:00
sfraser%netscape.com
241fb296d5 Work in progress for frameset detection, bug 14599. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@64664 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:57:28 +00:00
bienvenu%netscape.com
8f069fdce5 fix problem loading folders for putterman
git-svn-id: svn://10.0.0.236/trunk@64663 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:56:12 +00:00
rogerl%netscape.com
77dc750c7e Changes to CodeState thing, still not happy with this - RTTI would be
better?


git-svn-id: svn://10.0.0.236/trunk@64662 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:54:28 +00:00
sdv%sparc.spb.su
15f3f66bf1 moved applet tests to tests/src/applets
git-svn-id: svn://10.0.0.236/trunk@64661 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:42:34 +00:00
cls%seawood.org
0a07a49c74 Common makefile changes for OS/2. Bug #31845
git-svn-id: svn://10.0.0.236/trunk@64660 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:24:48 +00:00
sdv%sparc.spb.su
0c747623b7 keeping track with Java DOM changes
r=idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@64659 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:22:00 +00:00
tbogard%aol.net
2a1fee6505 Slight re-ordering of the destruction of the children. First we kill the content viewer then release our children.
git-svn-id: svn://10.0.0.236/trunk@64658 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:19:28 +00:00
rjc%netscape.com
bc428500e6 Need to link search service against timers (on Windows).
git-svn-id: svn://10.0.0.236/trunk@64657 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:08:18 +00:00
rjc%netscape.com
f6bdb3ea4b Preparation for update/updateCheckDays support. Also, when creating a nsIChannel to get the HTML, set the VALIDATE_NEVER option so that, if data is in the cache, we'll just use it, don't bother checking the server.
git-svn-id: svn://10.0.0.236/trunk@64656 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:01:32 +00:00
rjc%netscape.com
ac6ae048b2 When using bookmark timers, set channel load attributes to always validate.
git-svn-id: svn://10.0.0.236/trunk@64655 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:58:02 +00:00
beard%netscape.com
38ff25536e making icodegenerator work on Linux
git-svn-id: svn://10.0.0.236/trunk@64654 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:42:25 +00:00
jst%netscape.com
fe11dafadf Add null ptr checks to avoid crashing, this fixes #30372. r=av@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64653 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:31:44 +00:00
mstoltz%netscape.com
e23c3f29bf Fixed bug 30915 using nsAggregatePrincipal. r=norris
git-svn-id: svn://10.0.0.236/trunk@64652 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:31:18 +00:00
rjc%netscape.com
edb5dcfa1e Small bookmark timer fix (I believe this was broken a while ago when repeating timers were implemented.)
git-svn-id: svn://10.0.0.236/trunk@64651 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:26:15 +00:00
tbogard%aol.net
1ff1b067d3 Rely on the docshell for the implementation of destroy.
git-svn-id: svn://10.0.0.236/trunk@64650 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:15:55 +00:00
pavlov%netscape.com
aad71c84f5 fix for bug 31856 patch from stric@ing.umu.se
git-svn-id: svn://10.0.0.236/trunk@64649 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:15:18 +00:00
tbogard%aol.net
290093a2de Fully implement nsDocShell::Destroy() so that webShell can rely on it for it's implementation.
git-svn-id: svn://10.0.0.236/trunk@64648 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:15:17 +00:00
sdv%sparc.spb.su
9426cce0cc added DOMAccessor.java patch
git-svn-id: svn://10.0.0.236/trunk@64647 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:11:36 +00:00
beard%netscape.com
b555ccd196 added icodegenerator.cpp
git-svn-id: svn://10.0.0.236/trunk@64646 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:09:24 +00:00
dmose%mozilla.org
2d5bcbdec0 Fixed perl warning which occurs if $ENV{"CONTENT_TYPE"} is not set.
git-svn-id: svn://10.0.0.236/trunk@64645 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 23:56:36 +00:00
sdv%sparc.spb.su
d77fde69c8 A major update:
- reduces a number of c++<--> java calls
- added NULL checks
- made DOMAccessor to be secure
- added util and tests packages
- wrote test applets
- updated README


git-svn-id: svn://10.0.0.236/trunk@64644 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 23:52:19 +00:00
sspitzer%netscape.com
0d36ff250b fix for #33968. r=mscott. only open a new three pane when double clicking on a folder or newsgroups.
don't do it when double clicking on a server.


git-svn-id: svn://10.0.0.236/trunk@64643 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 23:42:15 +00:00
jfrancis%netscape.com
63fedba1ab fixing windows bustage
git-svn-id: svn://10.0.0.236/trunk@64642 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 23:39:26 +00:00
bienvenu%netscape.com
439adf6c1c more work on imap delete model, r=putterman 16805
git-svn-id: svn://10.0.0.236/trunk@64641 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 23:08:53 +00:00
ruslan%netscape.com
f802a01651 Fix solaris build bustage, r=gordon
git-svn-id: svn://10.0.0.236/trunk@64640 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 23:07:04 +00:00
akkana%netscape.com
d6e3267595 Oops, fix a couple of build problems
git-svn-id: svn://10.0.0.236/trunk@64639 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 23:02:31 +00:00
akkana%netscape.com
ed807e304b Oops, fix a couple of build errors.
git-svn-id: svn://10.0.0.236/trunk@64638 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:58:49 +00:00
jfrancis%netscape.com
d806359a89 cleanup and small bug fixes
git-svn-id: svn://10.0.0.236/trunk@64637 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:57:19 +00:00
scc%netscape.com
bdfaeac28d incremental changes. We're getting closer. These files are not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@64636 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:53:41 +00:00
scc%netscape.com
9121343202 adjustments to the string interfaces that should have no effect in the non-|NEW_STRING_APIS| case (yes, I built all changes to verify)
git-svn-id: svn://10.0.0.236/trunk@64635 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:51:51 +00:00
alecf%netscape.com
4fc472e38d consolidate nsIMsgMailSession and nsIFolderListener by simply making nsMsgMailSession implement nsIFolderListener instead of having it's own API. r=scottip
git-svn-id: svn://10.0.0.236/trunk@64634 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:50:54 +00:00
akkana%netscape.com
2bffc574a8 28598: map \r and \r\n to \n in form textarea submissions
git-svn-id: svn://10.0.0.236/trunk@64633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:49:59 +00:00
law%netscape.com
19bfbc11be New test to do I/O on multiple threads; not built yet
git-svn-id: svn://10.0.0.236/trunk@64632 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:49:36 +00:00
nhotta%netscape.com
1bcc9f1cad Changed to use correct content type for conversion to avoid unnecessary entity creation, bug 33455, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@64631 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:45:05 +00:00
akkana%netscape.com
83da5706a4 24514, 33417: Make nsLookAndFeel pref'able instead of hardwired.
git-svn-id: svn://10.0.0.236/trunk@64630 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:42:40 +00:00
pnunn%netscape.com
03156a9c6b bug#33452, line 476, remove extraneous frame notification. r: troy, tested on NT, linux
bug332697, line 1563, Use net context of last image req for reconnect. r: neeti, tested on NT, linux.
	pnunn.


git-svn-id: svn://10.0.0.236/trunk@64629 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:39:53 +00:00
akkana%netscape.com
71ae99a0fc Add nsXPLookAndFeel class.
git-svn-id: svn://10.0.0.236/trunk@64628 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:39:50 +00:00
putterman%netscape.com
a389dd1b28 r=bienvenu. Clear new flags when switching folders or when getting messages. Sort by Order Received.
fix 33745 where Save As dialog wasn't coming up for saving messages.


git-svn-id: svn://10.0.0.236/trunk@64627 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:38:45 +00:00
tbogard%aol.net
4bf1724534 nsIDocShell::LoadURI now takes a nsIDocShellLoadInfo parameter to do fancier loads which include replacing current history slots and passing in a referrer. In the future more things may be set on the nsIDocShellLoadInfo interface. This allows us to not have to add a new parameter for every new type of load info that might be needed in different loads.
git-svn-id: svn://10.0.0.236/trunk@64626 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:38:32 +00:00
nhotta%netscape.com
df5a182ba2 No charset conversion when the body is empty, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@64625 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:37:59 +00:00
jband%netscape.com
a131e83391 fix a search-and-replace mistake that was hiding in an #ifdef
git-svn-id: svn://10.0.0.236/trunk@64624 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:37:29 +00:00
jst%netscape.com
0bc922f9e2 Fixing bug #32839, HTMLButtonElement.type now returns the correct value.
git-svn-id: svn://10.0.0.236/trunk@64623 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:37:12 +00:00
akkana%netscape.com
c44be54c7c Let the user look-and-feel paramaters with prefs, bugs 24514 and 33417
git-svn-id: svn://10.0.0.236/trunk@64622 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:32:18 +00:00
akkana%netscape.com
671b9401c8 33785: Fix PasteAsCitedQuotation. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@64621 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:26:06 +00:00
ruslan%netscape.com
9c86df8e6f Add a few new prefs for the future pipelining landing
git-svn-id: svn://10.0.0.236/trunk@64620 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:25:20 +00:00
ruslan%netscape.com
1235f885db Preparing for pipelining landing: keep the list of server capabilities now.
Make prefs reader more intelligent. Don't cache pages with security info
for now to let daugh to get through his bugs; Make proxy.keep-alive/
proxy.pipelining to be prefs as well; p/r=warren


git-svn-id: svn://10.0.0.236/trunk@64619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:24:29 +00:00
valeski%netscape.com
a2c2b14947 29858. special case a */* content type returned from the server. we want to treat it as unknown and ask the user what to do.
git-svn-id: svn://10.0.0.236/trunk@64618 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:24:07 +00:00
gordon%netscape.com
f032a5b556 Fix for bug 33569 "MLK: nsDNSLookup::InitiateLookup()". Added a missing nsAllocator::Free(). r = saari.
git-svn-id: svn://10.0.0.236/trunk@64617 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:22:47 +00:00
tomk%mitre.org
2e98926eda Changed toChar to toCharArray in String and MozillaString. Also provided is a
version of the function which creates its own char* buffer.  These classes are
part of TransforMIIX and are not part of the automatic build process for the
rest of Mozilla.


git-svn-id: svn://10.0.0.236/trunk@64616 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 20:47:34 +00:00
petitta%netscape.com
e8097c0551 Added CCKTool\CCKHelp folder
git-svn-id: svn://10.0.0.236/trunk@64615 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 18:55:53 +00:00
harishd%netscape.com
2ec5e45cca Backing out a change to make the regression test happy.
wonder why it is failing in the first place. My guess is that...
something wrong with the test itself.


git-svn-id: svn://10.0.0.236/trunk@64614 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 17:13:22 +00:00
dcone%netscape.com
4982edfcd1 Use the nsRenderingContextImpl as the Base Class for nsRenderingContextImpl.
git-svn-id: svn://10.0.0.236/trunk@64613 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 15:13:12 +00:00
dcone%netscape.com
cde1e44df3 Put nsRenderingContextImpl.cpp into the build.
git-svn-id: svn://10.0.0.236/trunk@64612 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 15:11:01 +00:00
dcone%netscape.com
9fd2e58c01 Put nsRenderingContextImpl in Manifest.
git-svn-id: svn://10.0.0.236/trunk@64611 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 15:09:03 +00:00
bienvenu%netscape.com
9987c63820 work on imap delete model, r=jefft,putterman 16805
git-svn-id: svn://10.0.0.236/trunk@64610 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 15:04:28 +00:00
dcone%netscape.com
70f349f35e Added some methods for Tiling backgrounds.
git-svn-id: svn://10.0.0.236/trunk@64609 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 15:01:41 +00:00
dcone%netscape.com
8767c1ac68 Added some methods for tiling.
git-svn-id: svn://10.0.0.236/trunk@64608 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 15:00:45 +00:00
alecf%netscape.com
b08c6d0a0b rearrange checkboxes to match spec
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@64607 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 14:59:44 +00:00
alecf%netscape.com
c8c3921feb add smtp dtds to unix build r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@64606 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 14:58:59 +00:00
alecf%netscape.com
8cfadad239 further tweaks to smtp server editor
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@64605 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 14:58:36 +00:00
alecf%netscape.com
e59db2de6f add advanced button and smtp server list to build
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@64604 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 14:57:37 +00:00
alecf%netscape.com
c61f63acb7 add string for servers marked as "default" (not used yet)
git-svn-id: svn://10.0.0.236/trunk@64603 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 14:56:30 +00:00
alecf%netscape.com
aec4fed2a5 add smtp strings (not part of build) and add one "Advanced" string to the smtp server panel
git-svn-id: svn://10.0.0.236/trunk@64602 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 14:54:53 +00:00
tbogard%aol.net
e00bf6eecd Added a CreateLoadInfo to nsIDocShell to facilitate creating a loadInfo object without having to go through xpcom. This also allows the docshell to do any setup it may need to do.
git-svn-id: svn://10.0.0.236/trunk@64601 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 12:52:02 +00:00
tbogard%aol.net
4990287698 added files: mozilla/docshell/base/nsDocShellLoadInfo.cpp
git-svn-id: svn://10.0.0.236/trunk@64600 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 12:39:47 +00:00
tbogard%aol.net
00c6261b3a Finished implementing nsDocShellLoadInfo and hooked up to the build.
git-svn-id: svn://10.0.0.236/trunk@64599 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 12:38:18 +00:00
tbogard%aol.net
1512a0e91f First checkin of the docShellLoadInfo objects.
git-svn-id: svn://10.0.0.236/trunk@64598 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 12:32:18 +00:00
tbogard%aol.net
c4350e7355 added files: mozilla/docshell/base/nsIDocShellLoadInfo.idl
git-svn-id: svn://10.0.0.236/trunk@64597 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 12:31:21 +00:00
tbogard%aol.net
f9caa1c7a4 Adding nsIDocShellLoadInfo.idl to the make system.
git-svn-id: svn://10.0.0.236/trunk@64596 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 12:29:51 +00:00
tbogard%aol.net
a39fe52631 Adding the new docShellLoadInfo interface that will be used for starting loads.
git-svn-id: svn://10.0.0.236/trunk@64595 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 12:29:11 +00:00
ben%netscape.com
09a0834c9f open location tweaks
git-svn-id: svn://10.0.0.236/trunk@64594 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 12:00:43 +00:00
sgehani%netscape.com
fc606df338 Fix libjar runtime bustage on the Mac.
b = 33656


git-svn-id: svn://10.0.0.236/trunk@64593 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 09:52:32 +00:00
mccabe%netscape.com
67d914af33 Switch from nsIScriptErrorLogger approach - having the Console Service support multiple factory interfaces for different kinds of console methods - to having a separate script error class. Per discussion with jband.
Add a few #ifndef __nsidefineforthisfile__ guards to .h files.


git-svn-id: svn://10.0.0.236/trunk@64592 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 09:40:11 +00:00
warren%netscape.com
da349eb24e Bug 28269. jar file cache should open local files in place
git-svn-id: svn://10.0.0.236/trunk@64591 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 08:13:50 +00:00
warren%netscape.com
abaea32d2a Fixed sig of LoadEntry
git-svn-id: svn://10.0.0.236/trunk@64590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 08:09:45 +00:00
tbogard%aol.net
448dc8d3b8 Don't get the referrer spec when the referrer is null.
git-svn-id: svn://10.0.0.236/trunk@64589 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 08:07:18 +00:00
ben%netscape.com
b91c72b179 some new widget styles, XBL API conversion for XUL widgets, remove evil style rules to regain menu performance
git-svn-id: svn://10.0.0.236/trunk@64588 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:53:42 +00:00
ben%netscape.com
ac1dc924b2 updated test page for new widget styles
git-svn-id: svn://10.0.0.236/trunk@64587 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:52:15 +00:00
warren%netscape.com
fe40326e73 Fixing bugs in jar input streams for jar: protocol.
git-svn-id: svn://10.0.0.236/trunk@64584 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:41:37 +00:00
warren%netscape.com
e8a3ec30ae Making jar: protocol work in general, and OpenInputStream in particular.
git-svn-id: svn://10.0.0.236/trunk@64583 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:39:31 +00:00
attinasi%netscape.com
094bb4201d Fixed warning from Mac compiler: no prototype for local static function.
git-svn-id: svn://10.0.0.236/trunk@64582 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:20:16 +00:00
jband%netscape.com
470b35688a Expose method for getting a 'safe' JSContext appropriate for use on the current thread. This will help travis fix bug 33489. r=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@64581 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:06:10 +00:00
alecf%netscape.com
5826b2db26 first cut at multiple-SMTP server editor
not part of build yet


git-svn-id: svn://10.0.0.236/trunk@64580 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 06:54:42 +00:00
attinasi%netscape.com
fcb3f69499 Background color for border style -moz-bg-inset and -moz-bg-outset is now obtained from the HTML element instead of nearest ancestor with non-transparent bgcolor (only in Quirks Mode). r=rods b=8524
git-svn-id: svn://10.0.0.236/trunk@64577 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 06:27:32 +00:00
cls%seawood.org
1310ecaa40 Remember to use PR_TRUE & PR_FALSE instead of true & false for c++ compilers that don't have true & false defined. Like AIX's.
git-svn-id: svn://10.0.0.236/trunk@64576 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 05:58:27 +00:00
pavlov%netscape.com
e43fbae023 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@64575 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 05:23:20 +00:00
sfraser%netscape.com
25404ad9b7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@64574 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 05:19:01 +00:00
dmose%mozilla.org
4e158777c5 Whoops. Last checkin had a typo.o
git-svn-id: svn://10.0.0.236/trunk@64573 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 05:17:55 +00:00
dmose%mozilla.org
25274a9302 eliminated perl warning if $::FORM{'root'} is not defined.
git-svn-id: svn://10.0.0.236/trunk@64572 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 05:16:15 +00:00
tbogard%aol.net
5de11a30e0 the RefreshURI code now talks in terms of nsIURI instead of strings. Removed unused member variable mScrollPref. Cleaned refreshData up to follow xpcom rules better and to deal with nsIURI instead of strings. It also now talks in terms of docshells instead of webshells.
git-svn-id: svn://10.0.0.236/trunk@64570 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 05:02:28 +00:00
tbogard%aol.net
3c612b4436 Changed CheckURL to return a nsIURI for the referrer instead of a nsString. SetURL now calls nsIDocShell to do it's load instead of nsIWebShell.
git-svn-id: svn://10.0.0.236/trunk@64568 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 04:55:38 +00:00
neeti%netscape.com
ba594f9c4e bug 12423,Read user.js on startup after prefs.js is read.r=alecf
git-svn-id: svn://10.0.0.236/trunk@64567 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 04:25:07 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
ben%netscape.com
cc58507fe6 removing invalid binding link to avoid crash
git-svn-id: svn://10.0.0.236/trunk@64565 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:19:08 +00:00
hyatt%netscape.com
8eb1df7e77 Adding error reporting to XBL.
git-svn-id: svn://10.0.0.236/trunk@64564 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:18:44 +00:00
cls%seawood.org
6b5a045d56 Updating config.guess & config.sub to latest GNU versions. Bug #22599, r=wtc
git-svn-id: svn://10.0.0.236/trunk@64563 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:12:16 +00:00
dveditz%netscape.com
0ffddbc6fc resurrecting VC5.0 build
git-svn-id: svn://10.0.0.236/trunk@64562 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 02:49:10 +00:00
cls%seawood.org
ee80602d45 Updating config.guess & config.sub to latest GNU versions. Bug #22599, r=wtc
git-svn-id: svn://10.0.0.236/trunk@64561 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 02:48:00 +00:00
tbogard%aol.net
251b36cc48 nsWebBrowserChrome is now a nsIWebProgressListener. The location bar is now updated in response to nsIWebProgressListener instead of nsIWebShellContainer::BegineLoadURL.
git-svn-id: svn://10.0.0.236/trunk@64560 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 02:28:59 +00:00
tbogard%aol.net
d6189207fb OnLoadingSite now takes a channel instead of a uri. Also we now don't set the currentURI or the referrer during a normal load in DoLoadURL. We make sure to do it after the content has been targetted which is when DoContent is called.
git-svn-id: svn://10.0.0.236/trunk@64559 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 02:24:18 +00:00
tbogard%aol.net
bb2ee1727c OnLoadingSite now takes a nsIChannel instead of a nsIURI. This allows us to get information out of the channel we may need such as the referrer. We now make sure we set the referrer during OnLoadingSite. Fixed a bug where the nsIWebProgressListener was getting found on the treeOwner even for frames. This was causing the the treeOwner to get notified of all actions happening in the children. Now we make sure to only set the listener for the top level frame.
git-svn-id: svn://10.0.0.236/trunk@64558 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 02:24:17 +00:00
akkana%netscape.com
a1488fd260 Part of Paste as Quotation fix; remove a comment. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@64557 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 02:20:09 +00:00
tbogard%aol.net
26ea6b204e Adding the attribute referrer so that you can get the referrer from the channel once you have previously set it.
git-svn-id: svn://10.0.0.236/trunk@64556 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 02:18:52 +00:00
rjc%netscape.com
6f3d9686ff Fix bug # 33546: drag&drop positioning.
git-svn-id: svn://10.0.0.236/trunk@64555 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:47:29 +00:00
saari%netscape.com
b50522bf09 Fixing MacOS native menu leak
git-svn-id: svn://10.0.0.236/trunk@64554 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:47:20 +00:00
nisheeth%netscape.com
9c91417984 r=pollmann. Fix for bug 29395. XML error messages now show up in the content area for XML, RDF, and XUL files. Earlier, they would only show up for XML files.
- Generate tokens in the expat tokenizer to display an XML error message.
- Process those tokens in the XML DTD
- Add a SetStringValue() method to CToken that accepts an nsString parameter.
- Removed code in the XML content sink's NotifyError() method to create error message content.


git-svn-id: svn://10.0.0.236/trunk@64553 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:41:48 +00:00
gayatrib%netscape.com
bf8e3142a7 using nsIRegistry instead of the RDF datasource to read values from mozRegistry--bug 15264. work done by dveditz.
git-svn-id: svn://10.0.0.236/trunk@64552 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:38:37 +00:00
gayatrib%netscape.com
4f35badc67 Fixing all the callers of profile manager to use it's new i18n friendly interface. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@64551 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:35:15 +00:00
gayatrib%netscape.com
d89b7859be Making profile manager i18n friendly (bugs 23153, 15264), better memory management and fixing leaks(bugs 29574, 28818, 25609, 28979), fix for bug 31409, fixing all indentation problems introduced by vc++ editor. r=dveditz,racham
git-svn-id: svn://10.0.0.236/trunk@64550 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:32:39 +00:00
rhp%netscape.com
e7da8565d8 Fixes view source problem for mail messages - Fix for Bug #30818 - r: rickg
git-svn-id: svn://10.0.0.236/trunk@64549 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:30:07 +00:00
gayatrib%netscape.com
4c6d515e62 changing interface to be i18n friendly r=dveditzle.idl
git-svn-id: svn://10.0.0.236/trunk@64548 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:30:03 +00:00
akkana%netscape.com
0d094d0e94 Fix Paste as Quotation in the editor and mail compose menus. r=cmanske, mail stuff r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@64547 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:26:25 +00:00
rbs%maths.uq.edu.au
efaad5f6b7 [NOT PART OF THE DEFAULT BUILD] One-byte string, use nsCString instead of nsString to avoid problems.
git-svn-id: svn://10.0.0.236/trunk@64546 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:25:45 +00:00
saari%netscape.com
44c94e182e Implement the ability to remove top level menus on MacOS, essentially just reflecting removal of a content node. r=pink
git-svn-id: svn://10.0.0.236/trunk@64545 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:25:03 +00:00
akkana%netscape.com
7b657af921 33705: obey middlemouse.paste pref in the editor
git-svn-id: svn://10.0.0.236/trunk@64544 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:23:47 +00:00
pollmann%netscape.com
9ffde740e5 Adding regression tests for recent bug fixes. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@64542 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:12:00 +00:00
harishd%netscape.com
86c2cbdff0 Fix for 22786 - sink side fix for HTML attributes
git-svn-id: svn://10.0.0.236/trunk@64541 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:07:02 +00:00
harishd%netscape.com
6b7daa5a4d Fix for
29048 - MLK in PushStyles()

22786 - Accounting for HTML attributes  --- r=attinasi and nisheeth ---

26652 - Nav. Compatibility - Handling </SCRIPT> on a document.write
28085 - Fix for Entry stack leak
32527 - Marking sure that the DidBuildModel() is called on a XML error

Improved performance in consuming SCRIPT content.

r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@64540 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:06:49 +00:00
wtc%netscape.com
dc9b7ae8e6 Bugzilla bug #27175: define the new functions PR_FindFunctionSymbol
and PR_FindFunctionSymbolAndLibrary in terms of the old functions
PR_FindSymbol and PR_FindSymbolAndLibrary, to minimize the risk of
the new code breaking the build.


git-svn-id: svn://10.0.0.236/trunk@64539 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:05:01 +00:00
pollmann%netscape.com
541d556187 Bug 33699: Allow whitespace in frameset rows and cols spec '*' r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@64538 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:03:02 +00:00
valeski%netscape.com
8618f140da 29754. fixed a couple warnings, removed FTP dependence on xul window for prompting, and started using the nsIPrompt interface.
git-svn-id: svn://10.0.0.236/trunk@64537 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:00:29 +00:00
dveditz%netscape.com
27794c5374 resurrecting VC5.0 build by disabling multiple monitor code when _MSC_VER is less than 1200
git-svn-id: svn://10.0.0.236/trunk@64536 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:00:28 +00:00
wtc%netscape.com
d217b7e240 Bugzilla bug #27175: Changed the PRFuncPtr type to void (*)(), to be
consistent with the type of the 'fp' field of PRStaticLinkTable.


git-svn-id: svn://10.0.0.236/trunk@64535 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:54:33 +00:00
waqar%netscape.com
6657a7972c r=dcone@netscape.com
d=Cross platform addition to the Rendering context.


git-svn-id: svn://10.0.0.236/trunk@64534 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:50:05 +00:00
jfrancis%netscape.com
d9eab83605 stop leaking typeinstate items
git-svn-id: svn://10.0.0.236/trunk@64533 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:34:26 +00:00
rjc%netscape.com
185fec17e1 Small tweak for GetFolderViaHint()
git-svn-id: svn://10.0.0.236/trunk@64532 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:26:30 +00:00
pollmann%netscape.com
5cbdfaa09f Bug 33699: Allow whitespace in frameset rows and cols spec '*' r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@64531 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:19:13 +00:00
dougt%netscape.com
05fb7de17c Adding psm-glue.js preferences files to the packages. bug 31167.
git-svn-id: svn://10.0.0.236/trunk@64530 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:18:46 +00:00
dougt%netscape.com
88909b3421 adding psm-glue.js to the export list. bug 31167. r=valeski@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@64529 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:15:40 +00:00
jband%netscape.com
cc6733685e fix for bug 32485. Mark wrappednatives when xpconnect shuts down to avoid bad things happening when JS collects the JSObject part of the wrapper. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@64528 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:09:15 +00:00
pinkerton%netscape.com
93463865a4 darn that .get(). build bustage fixed.
git-svn-id: svn://10.0.0.236/trunk@64527 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:06:07 +00:00
dougt%netscape.com
e8f2cbe207 Fix for 25912. Making the security advisor in the Task menu not display any
information about the current page.


git-svn-id: svn://10.0.0.236/trunk@64526 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:00:05 +00:00
av%netscape.com
0d53c393d3 Fix for 33536, r=serge
git-svn-id: svn://10.0.0.236/trunk@64525 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:58:42 +00:00
rhp%netscape.com
ac21ccca71 Fixes for header display in printing and mime structure problems - Bug #: 33565 - r: jefft
git-svn-id: svn://10.0.0.236/trunk@64524 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:58:32 +00:00
sfraser%netscape.com
77b9d33c13 Fix for bug 33742 -- call EventAvail instead of OSEventAvail, and look for udpate events. r=beard
git-svn-id: svn://10.0.0.236/trunk@64523 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:56:30 +00:00
mccabe%netscape.com
db6a811671 Not currently built!
Add nsScriptError, and make nsConsoleService implement nsIScriptErrorLogger for logging script errors.  I do it this way to leave open the possibility of e.g. an nsIXMLErrorLogger interface later on.


git-svn-id: svn://10.0.0.236/trunk@64522 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:47:28 +00:00
rogerl%netscape.com
a29f56a5bb Bug #32677, fix for optimizer reducing expression incorrectly for Math.pow
edge cases.


git-svn-id: svn://10.0.0.236/trunk@64521 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:46:08 +00:00
rogerl%netscape.com
4b50f30017 Bug #32677, r=rginda bugs in Win32 optimized version for edge cases in
Math.exp and Math.pow
Bug #32937, r=rginda, implement missing toLocaleString


git-svn-id: svn://10.0.0.236/trunk@64520 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:45:07 +00:00
ben%netscape.com
a707997e34 fix typo
git-svn-id: svn://10.0.0.236/trunk@64519 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:42:39 +00:00
pavlov%netscape.com
b3a210cd1e remove some tests that are no longer valid
git-svn-id: svn://10.0.0.236/trunk@64518 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:42:08 +00:00
ben%netscape.com
2332ba7a91 fixing kbd navigation problem in menus (accidentally checked in a little too much last night ;)
git-svn-id: svn://10.0.0.236/trunk@64517 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:39:51 +00:00
bienvenu%netscape.com
deb0520a71 fix mac compile problems
git-svn-id: svn://10.0.0.236/trunk@64516 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:26:21 +00:00
sspitzer%netscape.com
9ca0720055 make nsConverterModule threadsafe. bug #33794.
git-svn-id: svn://10.0.0.236/trunk@64515 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:23:19 +00:00
robodan%netscape.com
695ea2077f Final? install/setup clean ups
git-svn-id: svn://10.0.0.236/trunk@64514 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:22:57 +00:00
pinkerton%netscape.com
894ae89aa2 made drag feedback better for containers and sorted lists. bugs 9657, 20124, 31814
git-svn-id: svn://10.0.0.236/trunk@64513 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:22:08 +00:00
bienvenu%netscape.com
725b4a1c83 more work on MPOD r=jefft 32767
git-svn-id: svn://10.0.0.236/trunk@64512 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:21:37 +00:00
pinkerton%netscape.com
3d6427d106 allowing drag feedback on sorted trees.
git-svn-id: svn://10.0.0.236/trunk@64511 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:21:01 +00:00
bienvenu%netscape.com
15855ecd78 fix crash with aol envelope 33519 r=jefft
git-svn-id: svn://10.0.0.236/trunk@64510 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:19:36 +00:00
nhotta%netscape.com
df17efc436 Fixed wrong inputs for charset converter Finish() call, bug 33588, r=cata.
git-svn-id: svn://10.0.0.236/trunk@64509 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:16:55 +00:00
rbs%maths.uq.edu.au
a176eb3324 [NOT PART OF THE DEFAULT BUILD] I forgot this file in my previous check-in. Fix compilation problems on Linux. The code now compiles there as well.
git-svn-id: svn://10.0.0.236/trunk@64508 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:15:07 +00:00
valeski%netscape.com
8cf4b7ea11 updating the stream converter tests. registration now happens in nsConvFactories.cpp
git-svn-id: svn://10.0.0.236/trunk@64507 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 23:14:52 +00:00
varada%netscape.com
7502c4df95 fix for bug #32124 -making the default application launch bmps
git-svn-id: svn://10.0.0.236/trunk@64506 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 22:15:47 +00:00
dmose%mozilla.org
51afbba55f Fixed a security hole: .cvspass was in the webtree, and thus readable via the server.
git-svn-id: svn://10.0.0.236/trunk@64505 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 22:15:15 +00:00
wtc%netscape.com
8bb729bd1c Bugzilla bug #31437: the ERANGE error handling code also needs to be
added to pt_send_cont.


git-svn-id: svn://10.0.0.236/trunk@64504 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 21:57:01 +00:00
wtc%netscape.com
3f0cdbdcbb Bugzilla bug #31437: this goto statement inside the while loop can be
replaced by a continue statement.


git-svn-id: svn://10.0.0.236/trunk@64503 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 21:47:08 +00:00
rhp%netscape.com
b0d0ec7a17 fixing screwup
git-svn-id: svn://10.0.0.236/trunk@64502 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 21:01:02 +00:00
dmose%mozilla.org
27d330959e Update brendan's mailto link to point to brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@64501 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 20:54:42 +00:00
rhp%netscape.com
e7dce0c508 Fix for not identifying particular MIME messages - Bug #: 33565 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@64500 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 20:51:11 +00:00
dmose%mozilla.org
738d43e66b Fixing a warning which happened if $ENV{'HTTP_USER_AGENT'} wasn't defined.
git-svn-id: svn://10.0.0.236/trunk@64499 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 20:10:26 +00:00
rogerl%netscape.com
8976584059 Test driver for icg in main, just a temporary thing
git-svn-id: svn://10.0.0.236/trunk@64498 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 19:24:07 +00:00
rogerl%netscape.com
13ce8fb99d First hack at some icode generation.
git-svn-id: svn://10.0.0.236/trunk@64497 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 19:19:23 +00:00
robodan%netscape.com
b79ac32224 rename general.wld to general.wld.in to avoid wiping out users configuration on reinstall
git-svn-id: svn://10.0.0.236/trunk@64496 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 17:35:00 +00:00
robinf%netscape.com
1f9c94c11d hooking up to help files; fixing bug 10810
git-svn-id: svn://10.0.0.236/trunk@64495 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 17:26:52 +00:00
svn%xmlterm.org
f2724e95d2 xmlterm changes only;
Changed Makefile so that xmlterm compiles only on Linux and Solaris.
On other platforms, compilation is skipped even if the extension is enabled.
(People have been trying to compile xmlterm on Neutrino and FreeBSD and
 reporting bustage.)


git-svn-id: svn://10.0.0.236/trunk@64494 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 15:56:17 +00:00
dcone%netscape.com
9b2c2135fe Added nsRenderingContextImpl to Mozilla.. Windows now uses this Implementation..
other platforms to follow.  r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@64493 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 15:53:29 +00:00
dcone%netscape.com
31bdbeab96 Added a new class.. which will be a cross platform implementation for the
RenderingContext.  r = kmmclusk


git-svn-id: svn://10.0.0.236/trunk@64492 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 15:49:25 +00:00
jfrancis%netscape.com
74811a7572 re-enable password field code
git-svn-id: svn://10.0.0.236/trunk@64491 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 14:04:26 +00:00
jfrancis%netscape.com
97c011ae42 turning back on password field handling in editor
git-svn-id: svn://10.0.0.236/trunk@64490 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 13:45:08 +00:00
jfrancis%netscape.com
973e5a251c making editor hip to inline style changes on collapsed selections. plus lots of removal of unused code.
git-svn-id: svn://10.0.0.236/trunk@64489 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 12:53:23 +00:00
tbogard%aol.net
787897e5b2 Provided implementation for the nsIWebProgressListener interface.
git-svn-id: svn://10.0.0.236/trunk@64488 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:32:45 +00:00
tbogard%aol.net
d3ef2b9960 nsWebBrowserChrome is no longer a treeOwner. Fixed a bug in the overLink code when the chrome is completely hidden (toolbar, status etc.)
git-svn-id: svn://10.0.0.236/trunk@64487 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:32:44 +00:00
tbogard%aol.net
b4a38897e0 Now properly enable retrieving the nsIWebProgressListener interface from the owning treeOwner. Added firing methods for all the methods in nsIWebProgressListener. onLocationChange is currently the only one that is validly firing however.
git-svn-id: svn://10.0.0.236/trunk@64486 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:29:58 +00:00
tbogard%aol.net
5577a28b2e nsIBrowserWindow::GoTo no longer takes the command parameter. Converted calls to nsIWebShell for loading an URL to use nsIWebNavigation interface instead.
git-svn-id: svn://10.0.0.236/trunk@64485 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:27:08 +00:00
tbogard%aol.net
bcf4a41883 nsIBrowserWindow::GoTo no longer takes the command parameter.
git-svn-id: svn://10.0.0.236/trunk@64484 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:23:34 +00:00
tbogard%aol.net
291ad0fe8f Use the nsIWebNavigation to load URIs instead of the nsIWebShell interface.
git-svn-id: svn://10.0.0.236/trunk@64483 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:20:29 +00:00
tbogard%aol.net
60225e4407 Changed the URI loading to use the nsIWebNavigation interface.
git-svn-id: svn://10.0.0.236/trunk@64482 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:16:58 +00:00
tbogard%aol.net
5fdaece541 Updated the documentation to clearly state the parameters of OnChildProgressChange.
git-svn-id: svn://10.0.0.236/trunk@64481 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:14:59 +00:00
tbogard%aol.net
18b12cc9a6 Renamed the parameters to be *Child* instead of *Self* to be better in sync with the function name OnChildProgressChange().
git-svn-id: svn://10.0.0.236/trunk@64480 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:11:36 +00:00
alecf%netscape.com
b2d837f227 further fix prefs saving problem by not recording error when ANY prefs file failes to open, just when evaluation fails
git-svn-id: svn://10.0.0.236/trunk@64479 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 10:07:39 +00:00
alecf%netscape.com
60d7fc3d9e remove unnecessary nsIPref.idl dependancies
git-svn-id: svn://10.0.0.236/trunk@64478 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 09:50:07 +00:00
alecf%netscape.com
44574040c9 remove bogus nsIPref dependancies
git-svn-id: svn://10.0.0.236/trunk@64477 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 09:49:24 +00:00
alecf%netscape.com
b04c14f231 add local nsIPref.h dependancy to remove global one
git-svn-id: svn://10.0.0.236/trunk@64476 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 09:48:41 +00:00
alecf%netscape.com
2868141ead reduce dependancies on nsIPref.h
git-svn-id: svn://10.0.0.236/trunk@64475 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 09:46:39 +00:00
alecf%netscape.com
c7a509b4c4 fix some nsIPref dependancies
git-svn-id: svn://10.0.0.236/trunk@64474 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 09:41:04 +00:00
rjc%netscape.com
6d627b17a9 Add support for "Set as New Internet Search Folder" context menu command... which means, you can set a bookmark folder to use when bookmarking search queries.
git-svn-id: svn://10.0.0.236/trunk@64473 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 09:25:33 +00:00
kvisco%ziplink.net
aff3c99799 added Olivier's fix, as well as removed some debug code
git-svn-id: svn://10.0.0.236/trunk@64472 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 08:56:07 +00:00
rbs%maths.uq.edu.au
3d6d5f033b [NOT PART OF THE DEFAULT BUILD] Fix compilation problems on Linux. The code now compiles there as well.
git-svn-id: svn://10.0.0.236/trunk@64471 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 08:39:50 +00:00
rjc%netscape.com
b23fb9306f Strip out any bogus CRs or LFs from HREFs. (Yes, some silly search engines do this... we won't mention names, to protect the guilty.)
git-svn-id: svn://10.0.0.236/trunk@64470 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 08:24:28 +00:00
scc%netscape.com
3c41ffc527 Fixed timer code for Mac (PR_Now wasn't doing the trick). Now using |nsInt64| instead of implementing my own |operator-()|
git-svn-id: svn://10.0.0.236/trunk@64469 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 08:14:09 +00:00
scc%netscape.com
890d5950d9 added "nsFragmentedString.h"
git-svn-id: svn://10.0.0.236/trunk@64468 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 08:12:54 +00:00
scc%netscape.com
9d70b8a44f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@64467 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 08:11:59 +00:00
saari%netscape.com
b7bb577606 Undoing Pav's early M15 Mac focus regression
git-svn-id: svn://10.0.0.236/trunk@64466 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 07:20:12 +00:00
pierre%netscape.com
2d05e32546 #33557 (background-color: inherit on html:input type="text" only appears to check for background color on parent node). MapDeclarationColorInto() should inherit the parent's color on "background: transparent".
git-svn-id: svn://10.0.0.236/trunk@64465 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:55:15 +00:00
warren%netscape.com
8520b97d7e Removed extra number of open transports test.
git-svn-id: svn://10.0.0.236/trunk@64464 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:44:10 +00:00
warren%netscape.com
0fd8fbeb74 Better fix for SetOriginalURI nsCOMPtr problem.
git-svn-id: svn://10.0.0.236/trunk@64463 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:43:04 +00:00
warren%netscape.com
673510a73f Attempted to fix linux bustage due to necko change.
git-svn-id: svn://10.0.0.236/trunk@64462 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:42:27 +00:00
tbogard%aol.net
f88ca076d9 Make sure to dump the xpConnectObjectHash when we load a new document. Use the new docShell API for loading a URI rather than the old nsIWebShell code. Since this takes a uri, this also allows us to avoid creating and destructing a uri/ a character spec. We can now just pass the URI to be loaded.
git-svn-id: svn://10.0.0.236/trunk@64461 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:16:16 +00:00
tbogard%aol.net
264c89e73a A docshell is now passed in. Use the nsIWebNavigation for loading an URL rather than nsIWebShell::LoadURL.
git-svn-id: svn://10.0.0.236/trunk@64460 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:13:07 +00:00
tbogard%aol.net
c79eb9dae7 Set the command using the enumerated type rather than the string type.
git-svn-id: svn://10.0.0.236/trunk@64459 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:10:04 +00:00
tbogard%aol.net
0359cc1b34 added files: mozilla/docshell/base/nsDSWebProgressListener.cpp
git-svn-id: svn://10.0.0.236/trunk@64458 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:04:13 +00:00
tbogard%aol.net
1626e788a5 Adding nsWebProgressListener to the build.
git-svn-id: svn://10.0.0.236/trunk@64457 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 05:58:24 +00:00
warren%netscape.com
cb68b6fd52 Fixed linux nsCOMPtr bustage.
git-svn-id: svn://10.0.0.236/trunk@64456 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 05:40:47 +00:00
tbogard%aol.net
b3395d9245 Do the GetDocShell using the nsIScriptGlobalObject interface instead of the nsPIDOMWindow interface.
git-svn-id: svn://10.0.0.236/trunk@64455 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 05:39:04 +00:00
tbogard%aol.net
ef3f9e1172 First checkin of this class. This will be the home of the webProgressListener for the uriloader loads.
git-svn-id: svn://10.0.0.236/trunk@64454 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 05:33:09 +00:00
warren%netscape.com
8cff64e186 Removing resource: protocol from build -- obsolete.
git-svn-id: svn://10.0.0.236/trunk@64453 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 05:26:40 +00:00
warren%netscape.com
bb20bd58fe Added prio.h for linux.
git-svn-id: svn://10.0.0.236/trunk@64452 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 04:46:19 +00:00
warren%netscape.com
ea4fe0d132 Fixed nsCOMPtr problem in ?: statement.
git-svn-id: svn://10.0.0.236/trunk@64451 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 04:38:38 +00:00
warren%netscape.com
ed644eb8a2 Fixed 0 => LL_ZERO problem.
git-svn-id: svn://10.0.0.236/trunk@64450 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 04:30:01 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
ruslan%netscape.com
2515e56733 Fix 33688. When both - chunked and compressed response comes in converters
were pushed in the wrong order.


git-svn-id: svn://10.0.0.236/trunk@64448 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:35:14 +00:00
ben%netscape.com
6c1cd07151 changes to accomodate global.css change
git-svn-id: svn://10.0.0.236/trunk@64447 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:25:58 +00:00
ben%netscape.com
84e8f15be8 widget test page
git-svn-id: svn://10.0.0.236/trunk@64446 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:22:07 +00:00
ben%netscape.com
0651d74925 new widget styles
git-svn-id: svn://10.0.0.236/trunk@64445 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:21:13 +00:00
ruslan%netscape.com
de62055466 Make converters implement threadsafe_isupports
git-svn-id: svn://10.0.0.236/trunk@64444 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:19:14 +00:00
beard%netscape.com
8b4df32034 changes to build as MPW tools. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@64443 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:14:02 +00:00
jj%netscape.com
86c4d6b330 fix for #33495: stop packaging 'NSPR Logging' with the installer.
git-svn-id: svn://10.0.0.236/trunk@64442 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:04:01 +00:00
rjc%netscape.com
cba57d37f8 Fix bug # 33678: require a valid URL when adding a new URL. Also, ensure that IsBookmarked() works for all URIs (not just bookmarks, but folders too) so that when looking for a folder by type, we can use IsBookmarked() to verify that the folder actually exists in the bookmarks hierarchy chain.
git-svn-id: svn://10.0.0.236/trunk@64441 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:58:45 +00:00
ruslan%netscape.com
dbea44a297 Fix 33631 - crash when 304 is received but there's no entry in the cache.
git-svn-id: svn://10.0.0.236/trunk@64440 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:35:00 +00:00
despotdaemon%netscape.com
b2514605b7 Pseudo-automatic update of changes made by jgaunt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@64439 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:31:23 +00:00
hyatt%netscape.com
42402c151f j++. j++. Not i++. j++. Sigh. k++? z++? NO! j++! Pick up the clue phone, hyatt.
It's ringing.


git-svn-id: svn://10.0.0.236/trunk@64438 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:26:46 +00:00
wtc%netscape.com
85ad9a0cc3 Bugzilla bug #33652: align PRNetAddr on 8-byte boundaries.
Modified files: prsocket.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@64437 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:24:39 +00:00
sfraser%netscape.com
b9c68f8752 Another teeny fix. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@64436 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:14:16 +00:00
beard%netscape.com
1a5577bf45 configuration file for MRJPlugin (GC) target.
git-svn-id: svn://10.0.0.236/trunk@64435 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:14:03 +00:00
beard%netscape.com
a4a77f537b added MRJPlugin (GC) target, for working with GC leak detector.
git-svn-id: svn://10.0.0.236/trunk@64434 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:13:22 +00:00
robodan%netscape.com
a7340e4130 More packaging clean ups
git-svn-id: svn://10.0.0.236/trunk@64433 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:07:05 +00:00
sfraser%netscape.com
f4bb8917e9 Comment out a call to GetFilterListArray(), which is not defined. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@64432 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:03:30 +00:00
rhp%netscape.com
e55ca3af54 Fix for interpreting plain text sig's when doing HTML compose - Bug #: 33423 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@64431 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:57:14 +00:00
pavlov%netscape.com
d61c9d808b add filepicker to the widget factory
git-svn-id: svn://10.0.0.236/trunk@64430 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:46:28 +00:00
pavlov%netscape.com
602be1d796 file picker changes
git-svn-id: svn://10.0.0.236/trunk@64429 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:42:45 +00:00
rjc%netscape.com
440fb513a8 Fix bug # 33664: UMR in bookmarks.
git-svn-id: svn://10.0.0.236/trunk@64428 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:41:45 +00:00
pavlov%netscape.com
a2f47085d8 fix for bug 33670
git-svn-id: svn://10.0.0.236/trunk@64427 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:35:24 +00:00
sfraser%netscape.com
18005aa7d3 Added nsFilePicker for Pavlov. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@64426 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:34:55 +00:00
dmose%mozilla.org
3bfe97f6ae removing ShowCCList from globals.pl, as it is no longer used
git-svn-id: svn://10.0.0.236/trunk@64425 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:34:00 +00:00
sfraser%netscape.com
9bae32d0af Fix up nsFilePicker for Pavlov. Again. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@64424 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:33:15 +00:00
troy%netscape.com
d21edf21ce Added GetAveCharWidth() function
git-svn-id: svn://10.0.0.236/trunk@64423 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:26:08 +00:00
hyatt%netscape.com
a32d0559d9 Checking in method and property support.
git-svn-id: svn://10.0.0.236/trunk@64422 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:24:35 +00:00
shaver%mozilla.org
2c1fd05055 fix leak of nsAppShellService (#29907, r=warren)
git-svn-id: svn://10.0.0.236/trunk@64421 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:21:23 +00:00
hyatt%netscape.com
81bbe05843 Enhancements to nsIScriptcontext. r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@64420 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:18:21 +00:00
hyatt%netscape.com
84a8489317 Fixing radio element crasher. Duh.
git-svn-id: svn://10.0.0.236/trunk@64419 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:17:24 +00:00
alecf%netscape.com
de0f969f17 fix my stupid redness
git-svn-id: svn://10.0.0.236/trunk@64418 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:09:56 +00:00
sdv%sparc.spb.su
0280522e44 removed java files which were placed
to classes dir


git-svn-id: svn://10.0.0.236/trunk@64417 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:07:03 +00:00
sfraser%netscape.com
e8c541445e Fix for 26924 -- don't needlessly load the editor dll on shutdown. r=buster.
git-svn-id: svn://10.0.0.236/trunk@64416 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:02:34 +00:00
bienvenu%netscape.com
a25660a875 get downloading of imap attachments working, r=alecf 32767
git-svn-id: svn://10.0.0.236/trunk@64414 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:58:21 +00:00
beard%netscape.com
c73945b6db bug #33219: blendRect was incorrect, damageRect is sufficient. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@64413 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:58:11 +00:00
scc%netscape.com
78e72763c3 rename |string_copy| and |string_copy_backward| to |copy_string| and |copy_string_backward|
git-svn-id: svn://10.0.0.236/trunk@64412 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:54:12 +00:00
sdv%sparc.spb.su
068dca75e0 put module sources to a single dir
updated makefiles


git-svn-id: svn://10.0.0.236/trunk@64411 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:43:54 +00:00
sdv%sparc.spb.su
aaa4ececa4 put classes to a single dir
updated makefiles


git-svn-id: svn://10.0.0.236/trunk@64410 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:41:22 +00:00
alecf%netscape.com
bdf03fd66e fix regression #33625 - back out removal of Exists() for now (eventually there will be a better fix here)
git-svn-id: svn://10.0.0.236/trunk@64409 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:39:47 +00:00
dmose%mozilla.org
d77f1e218b adding a 'can confirm' radiobutton to 'reassign by component'
git-svn-id: svn://10.0.0.236/trunk@64408 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:34:56 +00:00
jst%netscape.com
66be28aee8 Fix for bug #32853, we now support setting the 'for' attribute with the name 'htmlFor'.
git-svn-id: svn://10.0.0.236/trunk@64407 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:19:00 +00:00
wtc%netscape.com
09b18f8def Bugsplat bug #67751: Renamed _PR_UnblockWaiters to _PR_UnblockLockWaiter
and changed the return type to void.  Fixed a bug in the code that skips
over a suspended thread.
Modified files: primpl.h, prulock.c, pruthr.c


git-svn-id: svn://10.0.0.236/trunk@64406 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:17:59 +00:00
waterson%netscape.com
42abec875e Fix access restrictions that were causing VC++'s brain to fizzle when compiled with NEW_STRING_APIS. r=scc
git-svn-id: svn://10.0.0.236/trunk@64405 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:13:46 +00:00
scc%netscape.com
afd60f21c4 finer grain control of which current string assignments are still available after |NEW_STRING_APIS|. Added |AssignWithConversion| signatures. Made appropriate current |Assign|s be synonyms.
git-svn-id: svn://10.0.0.236/trunk@64404 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:06:31 +00:00
ruslan%netscape.com
3a62701ffd Misc code cleanup. Also apply another keep-alive proxy patch from
Tomi.Leppikangas@oulu.fi


git-svn-id: svn://10.0.0.236/trunk@64403 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:04:27 +00:00
jst%netscape.com
ccdce1534d Replace internal HTML Doctype API with the DOM DocumentType API, HTML documents now get a DOM DocumentType if the file contains one and the DOM DocumentType is ouput if/when the document is saved. This fixes bug #25020.
git-svn-id: svn://10.0.0.236/trunk@64402 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 23:25:26 +00:00
varada%netscape.com
51b42e7d7f fix for bug #32124 making the default application open the file depending on the extension
git-svn-id: svn://10.0.0.236/trunk@64401 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 23:19:12 +00:00
dmose%mozilla.org
24aab1927c fix another warning
git-svn-id: svn://10.0.0.236/trunk@64400 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 23:18:45 +00:00
morse%netscape.com
f3be45d7c8 fix bug 33545, button too wide + typo on button
git-svn-id: svn://10.0.0.236/trunk@64399 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:54:11 +00:00
varada%netscape.com
761d3a57a7 changing the look of progress bar bug #32115
git-svn-id: svn://10.0.0.236/trunk@64398 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:47:59 +00:00
ruslan%netscape.com
7caf9f55c0 Fix 33259. Make a maximum number of http connections configurable - network.http.max-connections=8 (current default)
git-svn-id: svn://10.0.0.236/trunk@64397 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:47:57 +00:00
ruslan%netscape.com
6ad0f36df3 Adding a new preference for maximum number of http connections: network.http.max-connections=8 (current default)
git-svn-id: svn://10.0.0.236/trunk@64396 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:42:24 +00:00
scc%netscape.com
eb5fcb11da Adding some macros that allow me to start using literal strings
git-svn-id: svn://10.0.0.236/trunk@64395 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:37:51 +00:00
sspitzer%netscape.com
59cdd44e91 fix crasher in #33615. uninitialized variables. clicking on a news url
would crash.  r=alecf


git-svn-id: svn://10.0.0.236/trunk@64394 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:32:06 +00:00
rbs%maths.uq.edu.au
d38f04a0de [NOT PART OF THE DEFAULT BUILD] Disable some radars that were there for debug purposes
git-svn-id: svn://10.0.0.236/trunk@64393 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:31:43 +00:00
varada%netscape.com
26fe6d94ef fix for bug#32111 - getting the file size for a bitmap and comparing with 302 kb
git-svn-id: svn://10.0.0.236/trunk@64392 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:27:48 +00:00
ruslan%netscape.com
4734820f5e Turning http 1.1 support by default. This may cause leaks to go up slightly
(due to the fact that the idle transports are not always released correctly;
that was always the case, but now it might get exagerrated. Comment out
network.http.version=1.1 and network.http.accept-encoding in case of problems
(it'll return everything back).


git-svn-id: svn://10.0.0.236/trunk@64391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:14:43 +00:00
rbs%maths.uq.edu.au
d990870f92 [NOT PART OF THE DEFAULT BUILD] Change some declarations to please other compilers
git-svn-id: svn://10.0.0.236/trunk@64390 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 22:00:28 +00:00
ashuk%eng.sun.com
035dbecc72 a=ashuk
Made changes to the solaris makefile to include jni_util_export - for webclient-uno stuff

_Ashu


git-svn-id: svn://10.0.0.236/trunk@64389 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 21:36:04 +00:00
dmose%mozilla.org
07466e427f get rid of perl warning
git-svn-id: svn://10.0.0.236/trunk@64388 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 21:33:54 +00:00
dmose%mozilla.org
676b495b3b allow users to watch the bugs of other users
git-svn-id: svn://10.0.0.236/trunk@64387 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 21:31:24 +00:00
varada%netscape.com
876070e49a tidying up cck.che and help in imgdlg.cpp
git-svn-id: svn://10.0.0.236/trunk@64386 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 21:25:40 +00:00
sspitzer%netscape.com
7cd1814ce1 fix for bug #33596. assertion when a message has no subject. r=alecf
git-svn-id: svn://10.0.0.236/trunk@64385 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 21:20:48 +00:00
sspitzer%netscape.com
2ff21cbb92 only I should see my debugging printf.
git-svn-id: svn://10.0.0.236/trunk@64384 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 21:17:57 +00:00
varada%netscape.com
cc0fbd5701 fix for bug #22948 -making changes in the default and myisp cck.che files
git-svn-id: svn://10.0.0.236/trunk@64383 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 21:01:18 +00:00
varada%netscape.com
7856afc5f5 Fix for bug#22948- the line has been moved from the comp desc to the comp file path
git-svn-id: svn://10.0.0.236/trunk@64382 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 20:59:19 +00:00
varada%netscape.com
871d6e1256 fixing the check for disk space
git-svn-id: svn://10.0.0.236/trunk@64381 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 19:58:24 +00:00
varada%netscape.com
0bb09d180a fix for bug #22256 - installer will catch the empty caption for the rshell and populate it with Netscape client customization kit
git-svn-id: svn://10.0.0.236/trunk@64380 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 19:57:57 +00:00
varada%netscape.com
be298cb559 fix for bug #22284 -creating a new GlobalText type to handle static text that can be obtained from global variables
git-svn-id: svn://10.0.0.236/trunk@64379 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 19:48:46 +00:00
varada%netscape.com
a78233e404 changing the icon
git-svn-id: svn://10.0.0.236/trunk@64378 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 19:47:51 +00:00
ruslan%netscape.com
48114694b9 Fix 23263 - mem cache assert on shutdown.
git-svn-id: svn://10.0.0.236/trunk@64377 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 19:41:59 +00:00
brade%netscape.com
f07797ff89 File Removed.
git-svn-id: svn://10.0.0.236/trunk@64376 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 15:35:12 +00:00
rods%netscape.com
9a12fbc335 Few warning cleanups
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144


git-svn-id: svn://10.0.0.236/trunk@64375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 15:11:16 +00:00
brade%netscape.com
d7c1521b25 made some progress reorganizing code when setting defaults for new documents; should now add charset if pref is set
git-svn-id: svn://10.0.0.236/trunk@64374 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 14:59:13 +00:00
dcone%netscape.com
33ba51e66e Fixed the masks for the Images.. cleaned up some routines.
r=mmclusky


git-svn-id: svn://10.0.0.236/trunk@64373 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 14:41:21 +00:00
rods%netscape.com
597564d30d When focus doesn't work correctly, and the Combobox gets deleted while the
dropdown is down it can crash. This makes sure the dropdown is rolled up and
unregistered with the rollup listener
b=33149


git-svn-id: svn://10.0.0.236/trunk@64372 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 14:29:15 +00:00
dougt%netscape.com
d2bed3f2e6 Adding psm-glue preferences javascript. These are the prefs that we should
have defaults for.


git-svn-id: svn://10.0.0.236/trunk@64371 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 12:24:17 +00:00
dougt%netscape.com
97a92e9654 adding comment out update notfication targets.
git-svn-id: svn://10.0.0.236/trunk@64370 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 12:06:59 +00:00
dougt%netscape.com
8bfb1b0ea5 adding commented out xpidl target for update notification.
git-svn-id: svn://10.0.0.236/trunk@64369 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 12:06:19 +00:00
dougt%netscape.com
8fec628485 adding update notification to xpinstall. It is currently ifdef off.
git-svn-id: svn://10.0.0.236/trunk@64368 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 12:05:20 +00:00
dougt%netscape.com
1b6165e728 adding nsUpdateNotification to tree.
not part of build.


git-svn-id: svn://10.0.0.236/trunk@64367 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 11:53:50 +00:00
dougt%netscape.com
cd1b5f482d Adding updateNotification bits.
not part of build.


git-svn-id: svn://10.0.0.236/trunk@64366 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 11:52:11 +00:00
dougt%netscape.com
c62cab3c1c Adding nsIUpdateNotification.idl
git-svn-id: svn://10.0.0.236/trunk@64365 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 11:50:12 +00:00
dougt%netscape.com
046d1b3137 Adding PostToInsecure text.
git-svn-id: svn://10.0.0.236/trunk@64364 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 11:47:31 +00:00
dougt%netscape.com
1e4b7780ae parital fix for 31167. Allowing http response header security attribute
to come from preferences. r=valeski@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64363 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 11:45:25 +00:00
dougt%netscape.com
8c7386c26d removing checks for null before calling delete(). I do not know what I was
thinking.  davidm pointed this out.


git-svn-id: svn://10.0.0.236/trunk@64362 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 11:39:06 +00:00
dougt%netscape.com
b44345d776 making bool of AlertCheck be a inout param. this was suggested by morse@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64361 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 11:37:12 +00:00
rbs%maths.uq.edu.au
cfb7aadd23 [NOT PART OF THE DEFAULT BUILD] Removing leftover debug flags that crept in the previous suprise commit
git-svn-id: svn://10.0.0.236/trunk@64360 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 10:32:09 +00:00
rbs%maths.uq.edu.au
f75212ebd7 Removing files not needed
git-svn-id: svn://10.0.0.236/trunk@64359 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 10:20:55 +00:00
rbs%maths.uq.edu.au
c723f12fae Remove the file
git-svn-id: svn://10.0.0.236/trunk@64358 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 10:17:44 +00:00
rbs%maths.uq.edu.au
7970da0074 [NOT PART OF THE DEFAULT BUILD] First checkin
git-svn-id: svn://10.0.0.236/trunk@64357 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 10:15:19 +00:00
rbs%maths.uq.edu.au
b12270f7a4 [NOT PART OF THE DEFAULT BUILD] Update of the CSS declarations
git-svn-id: svn://10.0.0.236/trunk@64356 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:55:59 +00:00
tbogard%aol.net
8ecb08198f FindNamedBrowser is now FindNamedBrowserItem and deals with nsIDocShellTreeItems instead of nsIWebBrowser.
git-svn-id: svn://10.0.0.236/trunk@64355 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:54:25 +00:00
rbs%maths.uq.edu.au
1ee6b0f859 [NOT PART OF THE DEFAULT BUILD] First checkin
git-svn-id: svn://10.0.0.236/trunk@64354 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:50:56 +00:00
rbs%maths.uq.edu.au
dbdf46bac0 'cvs commit' caught me by suprise in my previous checkin. The log should read: re-implementation of the nsMathMLChar to do glyph searching and switching, and remaining of Part II of Shyjan's TeX rendering rules
git-svn-id: svn://10.0.0.236/trunk@64353 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:49:13 +00:00
tbogard%aol.net
03e0833c46 In the implementation of FindItemWithName, make sure to pass the tree owner the docShell knows about and not another higher level requestor.
git-svn-id: svn://10.0.0.236/trunk@64352 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:40:14 +00:00
rbs%maths.uq.edu.au
808cd0c5e8 Remove nsMathMLmnFrame
git-svn-id: svn://10.0.0.236/trunk@64351 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:38:24 +00:00
rbs%maths.uq.edu.au
2a99fa3eec [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD]. Update a MathML hook for <mtable>
git-svn-id: svn://10.0.0.236/trunk@64350 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:32:54 +00:00
tbogard%aol.net
6b7b9e9d5f Changed the FindNamedBrowser to be FindNamedBrowserItem. This is important because it's possible that a frame needs to be returned, not just a toplevel browser object. So we need to be able to return a destination frame from this call. So now the API talks in terms of a frame.
git-svn-id: svn://10.0.0.236/trunk@64349 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:24:12 +00:00
tbogard%aol.net
fb183a84d6 Changed the nsIWebBrowserChrome::FindNamedBrowser to be nsIWebBrowserChrome::FindNamedBrowserItem. This is important because it's possible that a frame needs to be returned, not just a toplevel browser object. So we need to be able to return a destination frame from this call. So now the API talks in terms of a frame.
git-svn-id: svn://10.0.0.236/trunk@64348 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:24:01 +00:00
waterson%netscape.com
cd029f1060 Ok, VC6 doesn't really HAVE_AMBIGUITY_RESOLVING_CPP_USING.
git-svn-id: svn://10.0.0.236/trunk@64347 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 08:39:34 +00:00
sspitzer%netscape.com
aa852d9d5f fix from dunna001@bama.ua.edu for bug #33555. r=sspitzer
check all the args for -h and -v, and handle them immediately.


git-svn-id: svn://10.0.0.236/trunk@64346 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 08:20:38 +00:00
sspitzer%netscape.com
acc0a4c42f more thrashing, sorry about this.
git-svn-id: svn://10.0.0.236/trunk@64345 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:50:41 +00:00
sspitzer%netscape.com
d869a608e3 whoops, fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@64344 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:47:51 +00:00
waterson%netscape.com
b6263abcb2 Oops. Windows should HAVE_CPP_NAMESPACE_STD.
git-svn-id: svn://10.0.0.236/trunk@64343 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:44:26 +00:00
sspitzer%netscape.com
715a290cf3 HandleLine() should be defined as virtual, as we are overriding it.
some more stuff for real subscribe, only for windows right now.
general clean up.


git-svn-id: svn://10.0.0.236/trunk@64342 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:44:24 +00:00
tbogard%aol.net
333578da67 Make sure the embedding control is properly setting itself as the tree owner. This should fix the current assertion when running viewer.
git-svn-id: svn://10.0.0.236/trunk@64341 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:40:10 +00:00
sspitzer%netscape.com
d5311703a3 ignore generated makefile.
git-svn-id: svn://10.0.0.236/trunk@64340 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:27:55 +00:00
sspitzer%netscape.com
511fc11d18 move all the verify account stuff into a central place, and call
it when opening messenger, message compose and addressbook.  bug #33558
fix some debugging printfs.  add some new files to the build for the new subscribe dialog.
(not turned on yet.)  general cleanup.


git-svn-id: svn://10.0.0.236/trunk@64339 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:26:41 +00:00
rhp%netscape.com
0dfbf00520 Changing the default value of using quoted printable in mail message bodies - Bug #29210
git-svn-id: svn://10.0.0.236/trunk@64338 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:21:13 +00:00
alecf%netscape.com
e245c83e46 start firing notifications when the default server changes
r=scottip


git-svn-id: svn://10.0.0.236/trunk@64337 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:16:04 +00:00
leaf%mozilla.org
241ac44a44 Automated update
git-svn-id: svn://10.0.0.236/trunk@64336 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:15:27 +00:00
alecf%netscape.com
528c81f34d missed a JS listener implementation (thanks putterman)
git-svn-id: svn://10.0.0.236/trunk@64335 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:09:53 +00:00
waterson%netscape.com
31ff53e050 Beef up autoconf tests to differentiate 'ambiguity resolving' and 'access changing' support of the 'using' keyword. Add a test to see if the 'std' namespace is used on the platform. r=scc
git-svn-id: svn://10.0.0.236/trunk@64334 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 07:01:37 +00:00
alecf%netscape.com
1a4bf1168e forgot to check these in with my previous checkin
git-svn-id: svn://10.0.0.236/trunk@64333 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:59:39 +00:00
alecf%netscape.com
f414ec2caa back out my change until I can build this on windows again
git-svn-id: svn://10.0.0.236/trunk@64332 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:39:14 +00:00
jband%netscape.com
25d93ece07 adding new files - not part of build
git-svn-id: svn://10.0.0.236/trunk@64331 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:14:51 +00:00
sdv%sparc.spb.su
f099924118 updated makefiles
git-svn-id: svn://10.0.0.236/trunk@64330 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:11:02 +00:00
jband%netscape.com
97ad980ef8 adding new file - not part of build
git-svn-id: svn://10.0.0.236/trunk@64329 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:10:05 +00:00
jdunn%netscape.com
b20ae88f6e just adding a newline at the end for hpux
git-svn-id: svn://10.0.0.236/trunk@64328 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:06:01 +00:00
jband%netscape.com
de356b636c if people are going to insert four space tabs then let's set the Mode line's tab-width correctly
git-svn-id: svn://10.0.0.236/trunk@64327 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:01:05 +00:00
alecf%netscape.com
49e10d72c2 - add generic interface to access mail filter lists in both servers and folders. in the base class, folders just forward to their root server.
- expose event notifications through nsIFolder so that non-folders can trigger notifications on individual folders
- add generic OnItemEvent to nsIFolderListener, and implement in base classes


git-svn-id: svn://10.0.0.236/trunk@64326 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:58:05 +00:00
sdv%sparc.spb.su
904f0a8db8 keeping track with mozilla interface changes
git-svn-id: svn://10.0.0.236/trunk@64325 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:55:38 +00:00
sspitzer%netscape.com
173658e319 fix a typo in the comment.
git-svn-id: svn://10.0.0.236/trunk@64324 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:53:57 +00:00
alecf%netscape.com
e2a6213ae5 clean up the original prefapi.c
- make lots of functions static that aren't called from outside libpref
- remove dead code
r=neeti


git-svn-id: svn://10.0.0.236/trunk@64323 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:52:52 +00:00
alecf%netscape.com
cfd3e66915 trim down nsIPref and begin to cleanup nsIPref
- remove extra calls to nsFileSpec::Exists()
- get rid of PREF_SUPPORT_OLD_PATH_STRINGS
- don't expose nearly so much from the nsIPref interface
r=neeti


git-svn-id: svn://10.0.0.236/trunk@64322 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:50:47 +00:00
rjc%netscape.com
59ed3f2c44 Bug # 26334: Small fixes for search datasets.
git-svn-id: svn://10.0.0.236/trunk@64320 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:16:43 +00:00
sspitzer%netscape.com
1b0240050c not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@64319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:09:26 +00:00
sspitzer%netscape.com
5b54e5e88e not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@64318 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:03:25 +00:00
norris%netscape.com
eac4ea696c Fix bug 7264 All JavaScript running with correct principals
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@64317 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:59:46 +00:00
jband%netscape.com
cdc534310e Prepare for semantic change to nsIInterfaceInfo::GetParent (will set out param to null if no parent rather than return an nsresult error).
git-svn-id: svn://10.0.0.236/trunk@64316 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:57:35 +00:00
jband%netscape.com
8f52b49032 Landing changes that have been banging around in my tree... - Add #ifdef'd out support for profiling. - Add support for calling the JS gc root dumper. - Add unified #define for dumping shutdown info". Remove redundant define in makefile.win. - Prepare for semantic change to nsIInterfaceInfo::GetParent if there is no parent (return null rather than an error code).
git-svn-id: svn://10.0.0.236/trunk@64315 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:54:34 +00:00
bruce%cybersight.com
4a23ffb7c0 Reverting a checkin from slamm last Friday that broke builds done with gcc 2.7.2.3 triggering what appears to be a compiler bug resulting in undefined symbols. I sent mail to slamm letting him know as well.
git-svn-id: svn://10.0.0.236/trunk@64314 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:53:54 +00:00
dougt%netscape.com
43b5d4b7db Fix for 33529. We were using mControl before it was initialed. Now, when
PassPrefs() is called before the control connection is established, we
simply return ok.


git-svn-id: svn://10.0.0.236/trunk@64313 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:52:44 +00:00
dougt%netscape.com
b3153b26eb Fix to improve the dialog title.
git-svn-id: svn://10.0.0.236/trunk@64312 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:50:48 +00:00
rjc%netscape.com
c64e11a0a9 Small fix for "skipLocalFlag" usage, and ignore case of "category"/"result" strings when checking for them.
git-svn-id: svn://10.0.0.236/trunk@64311 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:49:20 +00:00
jband%netscape.com
808504b58c allow for later use of xpconnect\tools
git-svn-id: svn://10.0.0.236/trunk@64310 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:46:21 +00:00
jband%netscape.com
cf3dc1bb47 general cleanup
git-svn-id: svn://10.0.0.236/trunk@64309 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:45:12 +00:00
jdunn%netscape.com
d65a4b7c2e adding -lmozjs to the link line (nsPSMUICallbacks.cpp forces the dependency)
also cleaned up the various other libs.

r= nobody... I sent a couple of emails out last week to all involved, heard nothing.
then posted on netscape.public.mozilla.unix.  Sorry wasn't sure what else I could do


git-svn-id: svn://10.0.0.236/trunk@64308 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:39:11 +00:00
sgehani%netscape.com
b99e4be772 Fixing nsIFile::SetLastModificationDate on Win32.
b = 12368
r = dbragg


git-svn-id: svn://10.0.0.236/trunk@64307 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:39:02 +00:00
sgehani%netscape.com
f6fec96c61 Restoring file dates at install time.
b = 5107
r = dbragg


git-svn-id: svn://10.0.0.236/trunk@64306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:38:06 +00:00
jbetak%netscape.com
b992d245b2 r=pollmann fixed 29062 file upload does not work if file path contains character encoded different than the docuemnt charset
git-svn-id: svn://10.0.0.236/trunk@64305 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:32:38 +00:00
beard%netscape.com
00b4ace39f added targets for MPW tool (not part of default build)
git-svn-id: svn://10.0.0.236/trunk@64304 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:29:34 +00:00
beard%netscape.com
7d7ff306c9 prefix file for MPW tools
git-svn-id: svn://10.0.0.236/trunk@64303 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:27:15 +00:00
mccabe%netscape.com
8db2d22f8c NOT BUILT YET -
Make getMessageArray return an empty array (rather than null) when there are no mmessages, and change console.js to expect this (but check against null anyway.)


git-svn-id: svn://10.0.0.236/trunk@64302 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:21:45 +00:00
akkana%netscape.com
7d4548b287 Fix from gordon to fix shrike bustage
git-svn-id: svn://10.0.0.236/trunk@64301 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 02:56:26 +00:00
varada%netscape.com
d4fe2c881e fix for bug #32294 - the animated logo url is obtained from the chrome if http:// is missing - therefore the installer checks for it and if missing inserts it
git-svn-id: svn://10.0.0.236/trunk@64300 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 02:26:25 +00:00
sdv%sparc.spb.su
6ead812d57 added new methods from the recent w3c
java binding


git-svn-id: svn://10.0.0.236/trunk@64299 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 02:11:13 +00:00
risto%netscape.com
6d1c6d1bbb *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@64298 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 02:10:58 +00:00
risto%netscape.com
ffcbfd29ed Just a test
git-svn-id: svn://10.0.0.236/trunk@64297 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 02:10:29 +00:00
root
529f1a6e89 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@64296 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 01:58:29 +00:00
jdunn%netscape.com
776778a4e9 fixing build bustage
a= ducarroz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64295 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 01:38:40 +00:00
robodan%netscape.com
3bf2906008 more package cleaning
git-svn-id: svn://10.0.0.236/trunk@64294 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 01:35:11 +00:00
robodan%netscape.com
1d7b7cc35f Clean up multi-os packaging
git-svn-id: svn://10.0.0.236/trunk@64292 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 01:22:46 +00:00
rickg%netscape.com
dfec82a91e add null ptr check to stop crash seen in talkback
git-svn-id: svn://10.0.0.236/trunk@64291 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 01:08:36 +00:00
av%netscape.com
f185064ad5 Fix for 33447, r=serge
git-svn-id: svn://10.0.0.236/trunk@64290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 01:01:49 +00:00
robinf%netscape.com
f016ee02dd removing references to Communicator and Netscape 2000; updating name to Netscape 6; fixing bug 33096
git-svn-id: svn://10.0.0.236/trunk@64289 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:59:34 +00:00
root
496a86a52e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@64288 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:59:25 +00:00
danm%netscape.com
45b13b6cd8 reenabling disabling of modal window's parent, inexplicably removed in rev 1.21. bugs 30633, 33129
git-svn-id: svn://10.0.0.236/trunk@64287 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:53:43 +00:00
tbogard%aol.net
3dd4db16f3 nsISHEntry's attribute uri became URI to become more consistent with other places it exists.
git-svn-id: svn://10.0.0.236/trunk@64286 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:48:02 +00:00
varada%netscape.com
5ec0842b15 fix for bug#10810 - Help button can now point to local as well as online files - The local file can also be a relative file by using the Root variable for the CCKTool directory
git-svn-id: svn://10.0.0.236/trunk@64285 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:47:40 +00:00
leaf%mozilla.org
0d31dfb055 Automated update
git-svn-id: svn://10.0.0.236/trunk@64283 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:45:21 +00:00
hyatt%netscape.com
20928e2f2f Fix for 33526
git-svn-id: svn://10.0.0.236/trunk@64282 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:41:33 +00:00
nhotta%netscape.com
d1b0fc8671 Changed NS_ERROR_UENC_NOMAPPING to non serious error and return it to clients of nsISaveAsCharset, r=cata.
git-svn-id: svn://10.0.0.236/trunk@64281 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:36:41 +00:00
waterson%netscape.com
31ac27e4b3 Reverting my changes: I think I may have broken nsCOMPtr comparison with this...
git-svn-id: svn://10.0.0.236/trunk@64280 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:36:39 +00:00
akkana%netscape.com
6d64e80bcf 28317: pasting beyond textarea's visible bounds should scroll. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@64279 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:34:26 +00:00
akkana%netscape.com
a540f3abb5 25660: don't copy JS comments onto plaintext clipboard. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@64278 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:33:50 +00:00
leaf%mozilla.org
6e76a83ac1 Automated update
git-svn-id: svn://10.0.0.236/trunk@64277 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:30:38 +00:00
waterson%netscape.com
f1373f1125 Make HAVE_CPP_USING test even trickier to force it to break on gcc-2.7.2.3, which really *doesn't* support |using|. r=scc
git-svn-id: svn://10.0.0.236/trunk@64276 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:24:17 +00:00
tbogard%aol.net
6b0fd5931e Added the concept of a replaceable entry. This is an entry which when a new item is added will get overwritten rather than adding the entry to the end of the list.
git-svn-id: svn://10.0.0.236/trunk@64275 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:19:05 +00:00
nisheeth%netscape.com
3b02feee33 r=pollmann. Fix for bug 17643.
- Rewrote GetQuotedAttributeValue() so that it handles whitespace and attribute names inside attribute values.
- The xml stylesheet PI now only needs a href attribute to work right.  Other attributes like title, media, alternate, default to null.  The type attribute defaults to "text/css".


git-svn-id: svn://10.0.0.236/trunk@64274 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:18:13 +00:00
dougt%netscape.com
88e6415d9d removing xpinstall/notifier from build path.
git-svn-id: svn://10.0.0.236/trunk@64273 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:17:22 +00:00
dougt%netscape.com
2b4c6ba14b Fixing 24891. Minor default pref changes.
git-svn-id: svn://10.0.0.236/trunk@64272 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:16:01 +00:00
akkana%netscape.com
418dacce26 9266: Disable JS in the editor (and allow for disabling it anywhere). r=brendan,jband,norris,sfraser
git-svn-id: svn://10.0.0.236/trunk@64271 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:15:56 +00:00
akkana%netscape.com
5a1992b769 Fix an entity bug for Naoki: Japanese entities weren't being correctly
pasted.  This also fixes the symptoms, but not the underlying cause,
of the html mail nbsp bug.  r=nhotta


git-svn-id: svn://10.0.0.236/trunk@64270 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:10:44 +00:00
rickg%netscape.com
7b539e04c1 2x perf. improvement StripChar(); r=rods
git-svn-id: svn://10.0.0.236/trunk@64269 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:02:41 +00:00
rickg%netscape.com
825b7a047e fixed bug33466
git-svn-id: svn://10.0.0.236/trunk@64268 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:00:39 +00:00
varada%netscape.com
5bb50d6aef fix for bug #23013
git-svn-id: svn://10.0.0.236/trunk@64267 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 23:49:16 +00:00
varada%netscape.com
f0adddf504 fix for bug #32936
git-svn-id: svn://10.0.0.236/trunk@64265 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 23:35:39 +00:00
locka%iol.ie
af7648689a Added impl of new interface method
git-svn-id: svn://10.0.0.236/trunk@64264 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 23:18:44 +00:00
varada%netscape.com
7ddcbc84f8 fix for bug #33103 - changing default homepage to home.netscape.com
git-svn-id: svn://10.0.0.236/trunk@64263 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 23:16:38 +00:00
gordon%netscape.com
0b93ab7cbc Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@64262 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 23:16:13 +00:00
dcone%netscape.com
f61263f8d5 Re-numbered some menu Items that were broken. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@64261 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:40:50 +00:00
robinf%netscape.com
6e6e6ca4b3 replacing with current read me
git-svn-id: svn://10.0.0.236/trunk@64260 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:40:05 +00:00
kvisco%ziplink.net
b780374eb1 enumerated changes
git-svn-id: svn://10.0.0.236/trunk@64259 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:39:04 +00:00
kvisco%ziplink.net
4b1e140f04 Fixed "dot" bug with CNAME reported by Nathan Pride
git-svn-id: svn://10.0.0.236/trunk@64258 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:32:20 +00:00
jdunn%netscape.com
1a03b8495a Fix HPUX 10.20 Bustage
Pass a 'define' to NS_DEFINE_STATIC_IID_ACCESSOR and not a const.
r= erik@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64257 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:26:23 +00:00
jband%netscape.com
c80ddcea50 Win32 only makefile changes to get mccabe's JS console code to compile. Not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@64256 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:24:33 +00:00
rods%netscape.com
df81ce875a Added reflow of text frame for when the size is being set via style
b=33402


git-svn-id: svn://10.0.0.236/trunk@64255 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:20:06 +00:00
gordon%netscape.com
4ca8ffb4a0 Landing DNS_CANCEL_BRANCH. Enable canceling of dns lookup requests, and underlying structure for possible DNS cache. Original changes by warren, gordon. r = gagan.
git-svn-id: svn://10.0.0.236/trunk@64254 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:19:18 +00:00
varada%netscape.com
70eb75cdf7 fix for bug #27030
git-svn-id: svn://10.0.0.236/trunk@64253 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:18:11 +00:00
gordon%netscape.com
03382a69d3 Landing DNS_CANCEL_BRANCH. Added code to make Offline(PR_FALSE) initialize nsSocketTransportService and nsDNSService. Original changes by warren, r=gagan.
git-svn-id: svn://10.0.0.236/trunk@64252 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:17:48 +00:00
gordon%netscape.com
c8c8c84081 Landing DNS_CANCEL_BRANCH. Moving Init() method to interface.
git-svn-id: svn://10.0.0.236/trunk@64251 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:16:20 +00:00
gordon%netscape.com
4e6ca763db Landing DNS_CANCEL_BRANCH. Changing locks to monitors in nsSocketTransport. Original changes by warren, r=gagan.
git-svn-id: svn://10.0.0.236/trunk@64250 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:15:38 +00:00
scc%netscape.com
50e2ee0edc fixing an off-by-one bug, and the associated problem when |mCapacity| and |mLength| are both |0|. r=waterson
git-svn-id: svn://10.0.0.236/trunk@64249 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:13:41 +00:00
varada%netscape.com
3a2272eeab removing licensefile from cck.che
git-svn-id: svn://10.0.0.236/trunk@64248 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:12:52 +00:00
rods%netscape.com
25cb4be46b Added space manaer flag to the creation of Labels.
b=33200
Reworked how and when the prefs are accessed for getting the Gfx Scrollbar prefs
they are got only once and then are cached. Potential preformance issue.


git-svn-id: svn://10.0.0.236/trunk@64247 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:12:42 +00:00
rods%netscape.com
d014dde2e9 Added extra parameter for flags for setting space manager
also setting the internal area frame to use a space manager when necessary
b=33200
Added asserts in LabelHack method to catch problem in Reflow
Correctly set the avilable size to reflow available size instead of mComputedSize
This caused the content to leak out.
b=29276


git-svn-id: svn://10.0.0.236/trunk@64246 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:12:19 +00:00
rods%netscape.com
e5bece7999 Added extra parameter to NS_NewLabelFrame for setting the space manager bit
b=33200


git-svn-id: svn://10.0.0.236/trunk@64245 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:12:16 +00:00
varada%netscape.com
8b87450c15 removing licensefile from default configs cck.che
git-svn-id: svn://10.0.0.236/trunk@64244 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:11:50 +00:00
pnunn%netscape.com
8f13530af7 bug#33452: r:troy. tested on linux, NT.
fix so frame_complete notifications only occur with animated images.
		  Single frame images only get image_complete notifications.
		  pnunn.


git-svn-id: svn://10.0.0.236/trunk@64243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:08:15 +00:00
sgehani%netscape.com
2415a388e9 Implemented nsIFile::SetLastModificationDate on the Mac.
b = 12368
r = dbragg


git-svn-id: svn://10.0.0.236/trunk@64242 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:05:54 +00:00
varada%netscape.com
f7d8867614 fixes for bug #31410 #31414 #31416 changes to values in cck.che in myisp
git-svn-id: svn://10.0.0.236/trunk@64241 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:05:33 +00:00
pnunn%netscape.com
18c527db8b bug#32320: r:neeti, fix memleak of png structs. tested on linux,NT
bug#33452: r:troy,  fix so frame_complete notifications only occur on animated images.
		        on single frame images, only give image_complete notifications.
		    tested on linux, NT.
pnunn


git-svn-id: svn://10.0.0.236/trunk@64240 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:04:57 +00:00
sgehani%netscape.com
a8ccfeed71 Fixing nsIFile::SetLastModificationDate for Unix.
b = 12368
r = ssu


git-svn-id: svn://10.0.0.236/trunk@64239 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:04:46 +00:00
kmcclusk%netscape.com
1bdb9de7c9 Added MOZ_PERF timer code to viewmanager to time rendering b=29308 r=attanasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64238 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 22:00:19 +00:00
varada%netscape.com
920378fb5c removing radiogroup from cck.che values
git-svn-id: svn://10.0.0.236/trunk@64237 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 21:36:20 +00:00
varada%netscape.com
d8e6e4adad fix for bug#31201 - including a vertical scroll bar to scroll for more than 10 configurations - at present the configs are there but we can see them only when we use the arrow to go down
git-svn-id: svn://10.0.0.236/trunk@64236 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 21:34:55 +00:00
edburns%acm.org
30a4816649 I really meant to check in this one.
git-svn-id: svn://10.0.0.236/trunk@64235 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 20:28:21 +00:00
rods%netscape.com
ae53f26d09 removed var decl to remove warning
git-svn-id: svn://10.0.0.236/trunk@64234 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 15:48:20 +00:00
svn%xmlterm.org
e1b7ac4778 xmlterm changes only;
Changed call to LoadURI in response to DocShell changes.


git-svn-id: svn://10.0.0.236/trunk@64233 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 15:40:12 +00:00
jst%netscape.com
9137d08f83 Backing out scc's last checking to this file, it causes linux builds to dump core on startup. a=leaf
git-svn-id: svn://10.0.0.236/trunk@64232 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 15:10:12 +00:00
hyatt%netscape.com
e942080024 Fixing menu accelerators.
git-svn-id: svn://10.0.0.236/trunk@64231 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 12:00:45 +00:00
kvisco%ziplink.net
42dd74faac added latest changes
git-svn-id: svn://10.0.0.236/trunk@64230 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 09:21:10 +00:00
scc%netscape.com
7e7ce110f6 updating to reflect work done and desired
git-svn-id: svn://10.0.0.236/trunk@64229 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 09:07:39 +00:00
scc%netscape.com
b6347939dc traded in |copy_chunky_backward| for |string_copy_backward| and moved it to "nsAReadableString.h" along with the |string_copy|s. Added tests for |SetLength|, which would have caught the problem in |nsString| I fixed earlier, and one for |Insert| that exposed the trouble in |copy_chunky_backward|.
git-svn-id: svn://10.0.0.236/trunk@64228 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 09:06:37 +00:00
rhp%netscape.com
3d40328ce3 Fix for Solaris 5.6 bustage
git-svn-id: svn://10.0.0.236/trunk@64227 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 08:45:31 +00:00
sspitzer%netscape.com
8f477e107c Checking in project changes for addbook: support
git-svn-id: svn://10.0.0.236/trunk@64226 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 08:19:58 +00:00
rhp%netscape.com
dd95483fa9 Adding addbook: URL support
git-svn-id: svn://10.0.0.236/trunk@64225 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 08:18:10 +00:00
scc%netscape.com
67117f4462 fixing an off-by-one bug
git-svn-id: svn://10.0.0.236/trunk@64224 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 07:46:02 +00:00
rhp%netscape.com
6091757cc9 Updating code that is NOT PART OF THE BUILD!
git-svn-id: svn://10.0.0.236/trunk@64223 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 07:37:42 +00:00
kvisco%ziplink.net
158ecd8ad0 added Marina Mechtcheriakova
git-svn-id: svn://10.0.0.236/trunk@64222 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 07:34:16 +00:00
rhp%netscape.com
15c00476d8 Just updating this file - NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@64221 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 07:32:08 +00:00
kvisco%ziplink.net
9122a0e601 fixed unicode issues (Marina Mechtcheriakova)
git-svn-id: svn://10.0.0.236/trunk@64220 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 07:30:18 +00:00
beard%netscape.com
e4043dfa1f Imports MRJPlugin.xml into MRJPlugin.mcp.
git-svn-id: svn://10.0.0.236/trunk@64219 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 07:14:43 +00:00
kvisco%ziplink.net
470f565fca added Peter Van der Beken's changes for integration with Mozilla
git-svn-id: svn://10.0.0.236/trunk@64218 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 07:12:10 +00:00
rhp%netscape.com
faab68f22f Adding new files to tree - NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@64217 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 07:02:07 +00:00
beard%netscape.com
e3e35db9fb CWPro5 XML importable project file. Assumes all MRJ interfaces included in "{Compiler}MacOS Support". This is true if you use Universal Interfaces 3.3, plus add StdCLib from the MPW interfaces.
git-svn-id: svn://10.0.0.236/trunk@64216 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 06:55:12 +00:00
rickg%netscape.com
3e33e68483 removed calls to deprecated string API's
git-svn-id: svn://10.0.0.236/trunk@64215 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 06:48:32 +00:00
rickg%netscape.com
a294cc1e69 removed direct access to nsString members
git-svn-id: svn://10.0.0.236/trunk@64214 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 06:28:47 +00:00
erik%netscape.com
d3c89cc900 lang group table has been added to proper location under mozilla/intl;
removing the redundant table here; minor change; r=none


git-svn-id: svn://10.0.0.236/trunk@64213 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 04:55:35 +00:00
erik%netscape.com
5890e4382e lang group table has been moved to proper place under mozilla/intl;
switching calls to that API; minor change; r=none


git-svn-id: svn://10.0.0.236/trunk@64212 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 04:51:12 +00:00
erik%netscape.com
0ce9282c91 part of fix for bug 6588; added x-user-defined charset to lang group table;
r=none


git-svn-id: svn://10.0.0.236/trunk@64211 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 04:47:42 +00:00
tbogard%aol.net
1af8daed16 Removed the command member from the nsIWebShellServices inteface as it is no longer needed. InternalLoad now has implementation that works in cases other than just the session history loading.
git-svn-id: svn://10.0.0.236/trunk@64210 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 02:35:05 +00:00
tbogard%aol.net
94326902b5 Removed the command member as it is no longer needed.
git-svn-id: svn://10.0.0.236/trunk@64209 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 02:34:51 +00:00
rbs%maths.uq.edu.au
8c5a276242 [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD]. Catch up with recent changes that break the MathML-enabled compilation
git-svn-id: svn://10.0.0.236/trunk@64208 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 02:12:35 +00:00
scc%netscape.com
8126a709e4 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64207 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 01:11:01 +00:00
rickg%netscape.com
ca7d9cc33f switched to use proper nsString APIs
git-svn-id: svn://10.0.0.236/trunk@64206 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 01:05:00 +00:00
rbs%maths.uq.edu.au
d31a9791a1 [#ifdef MOZ_MATHML - NOT PART OF THE DEFAULT BUILD]. Add hook for the Linux's build of the ucvmath module --for Mathematical charsets (symbols for MathML/scientific documents) r:cata@nestcape.com. Paul Gartside <Paul.Gartside@netscape.net> reported that ucmath compiled fine on Linux.
git-svn-id: svn://10.0.0.236/trunk@64205 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 00:16:50 +00:00
rbs%maths.uq.edu.au
15866b1a89 [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD] Rename x-cm-cmex to x-t1-cmex, and x-cm-cmsy to x-t1-cmsy, in accordance with the nomenclature in the ucvmath module
git-svn-id: svn://10.0.0.236/trunk@64204 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 00:10:29 +00:00
morse%netscape.com
7d4a259df8 clean up wording on wallet functions
git-svn-id: svn://10.0.0.236/trunk@64203 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 00:02:53 +00:00
morse%netscape.com
21b898d10b remove a temporary statement
git-svn-id: svn://10.0.0.236/trunk@64202 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:56:59 +00:00
bienvenu%netscape.com
51e47874c2 fix deref of uninitialized ptr
git-svn-id: svn://10.0.0.236/trunk@64201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:56:42 +00:00
morse%netscape.com
4d5993fe17 implement a better test for determining foreign images
git-svn-id: svn://10.0.0.236/trunk@64199 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:36:03 +00:00
rickg%netscape.com
7840169464 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64198 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:30:52 +00:00
rickg%netscape.com
98844f1be8 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64197 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:22:29 +00:00
rickg%netscape.com
ca29e7ca98 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64196 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:17:01 +00:00
rickg%netscape.com
5ac964af00 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64195 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:06:01 +00:00
erik%netscape.com
2b02b39ceb bug 28968; added default fonts for Unicode under Unix; r=none
git-svn-id: svn://10.0.0.236/trunk@64194 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 22:36:13 +00:00
morse%netscape.com
ba50b1c89a Create image-manager and form-manager submenus
git-svn-id: svn://10.0.0.236/trunk@64193 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 21:34:49 +00:00
morse%netscape.com
786e4dd0b1 Create image-manager and form-menu submenus
git-svn-id: svn://10.0.0.236/trunk@64192 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 21:33:05 +00:00
morse%netscape.com
cb05e352b7 Implemented ability to start up cookie viewer in the image tab
git-svn-id: svn://10.0.0.236/trunk@64191 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 21:18:15 +00:00
morse%netscape.com
cfa7687b61 Implement API to add a permission
git-svn-id: svn://10.0.0.236/trunk@64190 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 20:26:15 +00:00
despotdaemon%netscape.com
b7349481be Pseudo-automatic update of changes made by srinivas@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@64189 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 18:07:58 +00:00
locka%iol.ie
31fc60ce77 Fixed plugin to match only against *.ocx and *.dll files
git-svn-id: svn://10.0.0.236/trunk@64188 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 15:06:32 +00:00
locka%iol.ie
9a1bc91b7b Fixed up CBrowse to work from its new home
git-svn-id: svn://10.0.0.236/trunk@64187 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 15:05:05 +00:00
locka%iol.ie
5ed31407d0 First cut at a working control after the move to the new APIs. It works but the content appears in a popup window for some reason
git-svn-id: svn://10.0.0.236/trunk@64186 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 15:01:44 +00:00
scc%netscape.com
aaad72e62b small changes for clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64185 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 14:37:30 +00:00
scc%netscape.com
3f1ae69363 small changes to clients of converting string APIs
git-svn-id: svn://10.0.0.236/trunk@64184 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 14:15:49 +00:00
scc%netscape.com
6a8510cacd small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64183 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 13:56:23 +00:00
scc%netscape.com
e9805c93b9 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64182 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 13:44:07 +00:00
scc%netscape.com
8d5b613eae small changes to clients of string converting routines
git-svn-id: svn://10.0.0.236/trunk@64181 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 13:32:12 +00:00
scc%netscape.com
3274ebedee small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64180 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 12:51:42 +00:00
scc%netscape.com
d76066a87d small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64179 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 12:43:56 +00:00
scc%netscape.com
cc097bbbeb small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64178 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 12:25:21 +00:00
scc%netscape.com
5e3dd51c10 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64177 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 12:14:14 +00:00
scc%netscape.com
c49195ca12 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 12:05:32 +00:00
scc%netscape.com
60839ca9f0 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64175 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:48:10 +00:00
scc%netscape.com
99d2180703 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64174 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:39:08 +00:00
scc%netscape.com
96ed7ccb65 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64173 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:02:30 +00:00
scc%netscape.com
6acfd0d21a small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64172 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:52:00 +00:00
alecf%netscape.com
53a0d10ada export utility file for filter datasource
git-svn-id: svn://10.0.0.236/trunk@64171 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:36:08 +00:00
alecf%netscape.com
de4749ed2d filter datasource WIP - derive from base nsMsgRDFDataSource class, start using the RDF delegate system to attach filters to mail folders
not part of build


git-svn-id: svn://10.0.0.236/trunk@64170 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:33:25 +00:00
scc%netscape.com
b49d4807c2 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64169 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:23:40 +00:00
scc%netscape.com
c342abbc24 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64168 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:18:25 +00:00
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
rickg%netscape.com
f9eaf3c60a removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64166 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 09:27:29 +00:00
rjc%netscape.com
5b5a7fceed Clean up: functions which return booleans should not return nsresults.
git-svn-id: svn://10.0.0.236/trunk@64165 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 09:16:58 +00:00
rickg%netscape.com
bf59314603 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64164 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 09:13:32 +00:00
scc%netscape.com
3556911209 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64163 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 09:07:50 +00:00
rjc%netscape.com
ab12b7120b Fix a simple signed/unsigned warning, as well as a bad return.
git-svn-id: svn://10.0.0.236/trunk@64162 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 09:07:16 +00:00
rjc%netscape.com
880554ca4a Add support for "Dates" as per search spec.
git-svn-id: svn://10.0.0.236/trunk@64161 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 08:51:34 +00:00
scc%netscape.com
61439bc35d small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64160 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 08:50:15 +00:00
scc%netscape.com
9f7baabe03 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64159 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 08:43:22 +00:00
scc%netscape.com
89936f90c1 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64158 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 08:26:12 +00:00
scc%netscape.com
70d7d30f1f small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64157 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 08:19:48 +00:00
scc%netscape.com
3f67e90cfa small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64156 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 08:05:46 +00:00
rickg%netscape.com
8927ab3543 removing references to nsString internals
git-svn-id: svn://10.0.0.236/trunk@64155 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 07:55:46 +00:00
rjc%netscape.com
1d49a46490 Fix simple signed/unsigned comparison warning.
git-svn-id: svn://10.0.0.236/trunk@64154 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 06:38:46 +00:00
rjc%netscape.com
bc0bb540b2 Fix simple signed/unsigned comparison warning.
git-svn-id: svn://10.0.0.236/trunk@64153 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 06:29:44 +00:00
rjc%netscape.com
96ebf59e98 Check for any existing search filters before enabling "Clear Filter" command.
git-svn-id: svn://10.0.0.236/trunk@64152 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 06:11:52 +00:00
rjc%netscape.com
8b8a3d10d9 Remove errant <rule>
git-svn-id: svn://10.0.0.236/trunk@64151 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 05:47:18 +00:00
rjc%netscape.com
45f0d7e16b Add "category" and "result" icons into Unix builds.
git-svn-id: svn://10.0.0.236/trunk@64150 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 05:41:10 +00:00
rjc%netscape.com
13685c4207 Add support for multiple <interpret> tags, and new icons for "category" and "result" node types.
git-svn-id: svn://10.0.0.236/trunk@64149 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 05:33:07 +00:00
rjc%netscape.com
df2ab252df New search images.
git-svn-id: svn://10.0.0.236/trunk@64148 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 05:30:56 +00:00
tbogard%aol.net
9263333b38 Removed the cookie from AddWebBrowserListener and RemoveWebBrowserListener because frankly that parameter was dumb. :) Updated the implementation of nsIWebProgressListener to reflect changes in the API (removal of the cookie there too). Removed the UpdateListeners function as that will no longer be needed.
git-svn-id: svn://10.0.0.236/trunk@64147 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 04:52:16 +00:00
tbogard%aol.net
4539b31777 Provided implementation for Add and RemoveProgressListener.
git-svn-id: svn://10.0.0.236/trunk@64146 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 04:52:06 +00:00
tbogard%aol.net
5bda0c3c44 Removed the cookie from AddProgressListener and RemoveProgressListener because frankly that parameter was dumb. :)
git-svn-id: svn://10.0.0.236/trunk@64145 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 04:51:38 +00:00
rickg%netscape.com
f4565bc7e0 leak removal; r=harishd
git-svn-id: svn://10.0.0.236/trunk@64144 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 04:45:45 +00:00
rickg%netscape.com
4b378b8424 margin and color tweaks to viewsource stylesheet
git-svn-id: svn://10.0.0.236/trunk@64143 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 04:34:41 +00:00
scc%netscape.com
c69f7c3a79 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64142 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 02:12:47 +00:00
scc%netscape.com
d636483ce1 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64141 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 02:06:10 +00:00
scc%netscape.com
4d1a22a0cd small changes to clients using string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64140 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 01:40:41 +00:00
scc%netscape.com
0a8fabd24d small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64139 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 01:35:54 +00:00
scc%netscape.com
7bb1f6a366 small changes to clients of string conversion APIs
git-svn-id: svn://10.0.0.236/trunk@64138 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 01:19:41 +00:00
bryner%uiuc.edu
ad5a4b8c26 Need to make sure of two things before handling the mousewheel message:
- There must be a window under the pointer
- It must be one of our windows

This fixes bug 33181.  r=valeski.


git-svn-id: svn://10.0.0.236/trunk@64136 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 01:02:31 +00:00
sford3%swbell.net
d88c9cb7b5 Fixing 32550, renaming Ok to Save in the sidebar
git-svn-id: svn://10.0.0.236/trunk@64135 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 01:00:48 +00:00
morse%netscape.com
6787f30517 fix bug 33317, memory leak
git-svn-id: svn://10.0.0.236/trunk@64133 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 22:23:09 +00:00
pierre%netscape.com
fa79d48cb8 Bugs 18218. 'display:inline-table' should not be recognized by the CSS parser.
git-svn-id: svn://10.0.0.236/trunk@64131 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 21:26:14 +00:00
alecf%netscape.com
dce3701681 start filter datasource (not part of build)
git-svn-id: svn://10.0.0.236/trunk@64130 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 21:15:08 +00:00
alecf%netscape.com
e9729d5fa7 fix for #33310 - weakref leaks
r=bruce
thanks to beard for finding this broken pattern


git-svn-id: svn://10.0.0.236/trunk@64129 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 20:41:26 +00:00
pierre%netscape.com
caa82bfddf #3371. Added support for the Appearance Manager in the css2/css3 system fonts.
git-svn-id: svn://10.0.0.236/trunk@64128 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 19:44:00 +00:00
pierre%netscape.com
277d41c869 #3371. Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed.
git-svn-id: svn://10.0.0.236/trunk@64127 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 18:54:36 +00:00
pierre%netscape.com
9e996f56c1 Updated font names for cursive and fantasy to OS9 defaults (the previous ones were not even in OS8.6).
git-svn-id: svn://10.0.0.236/trunk@64126 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 18:48:25 +00:00
rhp%netscape.com
7c205e89a6 Added sanity check for MLK - Bug #33308
git-svn-id: svn://10.0.0.236/trunk@64125 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 18:22:33 +00:00
rhp%netscape.com
c789b01482 Small fixes for memory leaks - Bugs: 33158 33161
git-svn-id: svn://10.0.0.236/trunk@64124 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 17:56:37 +00:00
pierre%netscape.com
bbde074e9c Related to #18136. Enable the IE-compatible font size table in strict mode. It required to pass the nsFontSizeType to FindNextSmaller/LargerFontSize.
git-svn-id: svn://10.0.0.236/trunk@64123 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 13:48:50 +00:00
andreas.otte%primus-online.de
28fb4a4098 fix first part of bug 29341, fix nsStdURL GetFile/SetFile, r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64122 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 10:26:10 +00:00
andreas.otte%primus-online.de
9e41c72286 fix bug 31089, Oakland Tribute crashes in HTMLContentSink::AddLeaf, r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64121 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 10:23:20 +00:00
rjc%netscape.com
140c7e5320 Use .get() when comparing native ptr and nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@64120 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 09:52:48 +00:00
rjc%netscape.com
a96aa7635a Add support for "Set New Bookmark Folder" and "Set Personal Toolbar Folder" context menu commands.
git-svn-id: svn://10.0.0.236/trunk@64119 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 09:25:18 +00:00
dp%netscape.com
a1699313df Enabling XPCOM_BREAK_ON_LOAD to break in the debugger for linux &&
i386. r=waterson,pavlov


git-svn-id: svn://10.0.0.236/trunk@64118 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 08:54:22 +00:00
dp%netscape.com
b9d64fd014 Removing xpcom dependency on prefs by eliminating enabling refcount
logging from prefs.


git-svn-id: svn://10.0.0.236/trunk@64117 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 08:35:35 +00:00
dp%netscape.com
d0279f6448 Removing using prefs to control xpcom logging.
git-svn-id: svn://10.0.0.236/trunk@64116 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 08:28:13 +00:00
cls%seawood.org
94d9ca04a4 AIX needs to link against ZLIB_LIBS to resolve all symbols in libconverters.so
git-svn-id: svn://10.0.0.236/trunk@64115 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 08:01:16 +00:00
cls%seawood.org
1074533a29 Some compilers (HP-UX) don't like it when the file doesn't end in a newline.
git-svn-id: svn://10.0.0.236/trunk@64114 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 07:58:28 +00:00
scc%netscape.com
1b65483f3d Trying to fix for Solaris
git-svn-id: svn://10.0.0.236/trunk@64113 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 07:55:07 +00:00
modgock%eng.sun.com
8e9a8c614c Updated version strings for plugin's get info panel to reflect beta version; checking in old mcp weak import changes from last weeks discussions on 13848.
git-svn-id: svn://10.0.0.236/trunk@64112 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 07:16:25 +00:00
morse%netscape.com
49ce8b7af6 fix bug 32374, block foreign images
git-svn-id: svn://10.0.0.236/trunk@64111 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 07:09:25 +00:00
dp%netscape.com
33517602f4 Preventing empty progid causing registration problems.
git-svn-id: svn://10.0.0.236/trunk@64110 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 06:57:25 +00:00
cls%seawood.org
88a1bebc2d Some compilers (HP-UX) don't like it when the file doesn't end in a newline.
git-svn-id: svn://10.0.0.236/trunk@64109 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:57:22 +00:00
scc%netscape.com
50b474b6ca re-fix for the Mac after working with Pav to make all the tests compile on Linux
git-svn-id: svn://10.0.0.236/trunk@64108 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:44:57 +00:00
rickg%netscape.com
fc42d987f5 removed warnings; r=none
git-svn-id: svn://10.0.0.236/trunk@64107 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:38:11 +00:00
scc%netscape.com
4aea0e4591 File Removed.
git-svn-id: svn://10.0.0.236/trunk@64106 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 05:37:30 +00:00
mccabe%netscape.com
b107f3ff5f Initial add of files to support a JavaScript console.
r=jband, r=ben

(though I've changed things slightly since they saw it.)


git-svn-id: svn://10.0.0.236/trunk@64105 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 04:23:31 +00:00
tbogard%aol.net
fe8ca33e54 Removed the Set and GetPresContext as they were not being used.
git-svn-id: svn://10.0.0.236/trunk@64104 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:43:58 +00:00
tbogard%aol.net
ff337e0bcf Updated the loadURI methods to reflect changes in the nsIDocShell API. ::Reload() now makes sure to pass the type on to the InternalLoad() call. ::Destroy() makes sure to properly tear down the script objects by setting the docshell and owner on those to null. When Scrolling to an anchor, make sure to update the current URI. The ::InternalLoad function now is responsible for updating the mUpdateHistoryOnLoad member, rather than relying on callers to set it first. When loading the site, only apply histories if we mUpdateHistoryOnLoad is set. Stubbed out a new function ::ShouldPersistInSessionHistory() that allows us to put all the code in place for items pages that shouldn't be persisted in the list, meaning items that are overwritten when new ones are added.
git-svn-id: svn://10.0.0.236/trunk@64103 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:43:27 +00:00
tbogard%aol.net
13032feb73 Removed the loadURIVia as it is not needed. Setting the binding will be done through a setup, not through each load. loadURI now takes a referrer URI as the second paramater. We weren't doing anything with the presContext so that was removed (it was put there early before the design all fleshed out.)
git-svn-id: svn://10.0.0.236/trunk@64102 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:42:49 +00:00
pollmann%netscape.com
44e2c52b71 Bug 18728: Forms should submit variables in content order, even through reframe of child elements r=harishd
git-svn-id: svn://10.0.0.236/trunk@64101 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:42:40 +00:00
pollmann%netscape.com
272c49ce25 Bug 25330: Form with no action specified should truncate old query string r=harishd
git-svn-id: svn://10.0.0.236/trunk@64100 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:38:51 +00:00
pollmann%netscape.com
d5e9d118e8 Bug 26917: Form submit should not append variables to javascript: actions r=harishd
git-svn-id: svn://10.0.0.236/trunk@64099 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:36:31 +00:00
rickg%netscape.com
bea8b36d30 fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd
git-svn-id: svn://10.0.0.236/trunk@64098 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:35:50 +00:00
rickg%netscape.com
e31cdb658c changed observer to use correct topic name based on mimetype
git-svn-id: svn://10.0.0.236/trunk@64097 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:33:24 +00:00
rickg%netscape.com
232833d976 changed Parser(stream) to accept mimetype
git-svn-id: svn://10.0.0.236/trunk@64096 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:32:55 +00:00
pollmann%netscape.com
f61b9e4e2c Bug 20459, 21268: Allow zero size HTML frames. r=harishd
git-svn-id: svn://10.0.0.236/trunk@64095 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 03:19:14 +00:00
cmanske%netscape.com
eeee4b8742 Fixed window title bug 30100, removed debug code in table editing. r=brade
git-svn-id: svn://10.0.0.236/trunk@64094 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 02:41:19 +00:00
akkana%netscape.com
f3ae59e0dc 33208: Fix problem of editor not initializing on pages with JS. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@64093 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 02:27:57 +00:00
hyatt%netscape.com
bc3540ff1f Adding support for the <children/> element to XBL.
git-svn-id: svn://10.0.0.236/trunk@64092 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 02:18:55 +00:00
pavlov%netscape.com
39ea807596 add some #if[n]def STASTANDALONE_STRING_TESTS r=scc
git-svn-id: svn://10.0.0.236/trunk@64091 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 02:07:34 +00:00
pavlov%netscape.com
550e39bc3f make string tests build on unix
git-svn-id: svn://10.0.0.236/trunk@64090 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:59:19 +00:00
ssu%netscape.com
700229a0c8 initial checkin of tool to help build windows installer. Not hooked up to build system yet.
git-svn-id: svn://10.0.0.236/trunk@64089 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:38:12 +00:00
jbetak%netscape.com
172d3dff29 r=rickg, ftang fix for 32604 Trunk fix for illegal use of nsString-external JavaScript convert charset incorrectly
git-svn-id: svn://10.0.0.236/trunk@64088 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:21:21 +00:00
mjudge%netscape.com
b24e7a54c2 small change to stop selection from being notified of clicks on non selecteable sytle content
git-svn-id: svn://10.0.0.236/trunk@64087 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:14:39 +00:00
mjudge%netscape.com
9ccbf5cd10 r=saari stop scrollbars from being selected
git-svn-id: svn://10.0.0.236/trunk@64086 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:12:51 +00:00
law%netscape.com
63a7148402 Fix for bug 33114; r=none, but that's OK since I'm just fixing code that wan't reviewed when it was checked in
git-svn-id: svn://10.0.0.236/trunk@64085 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:03:25 +00:00
tbogard%aol.net
e60a5e69a0 Implementation for the new method onLocationChange added to the nsIWebProgressListener interface.
git-svn-id: svn://10.0.0.236/trunk@64084 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:00:05 +00:00
tbogard%aol.net
fd0967d82d Added a new method onLocationChange that is called when the location of the watched window changes.
git-svn-id: svn://10.0.0.236/trunk@64083 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:00:04 +00:00
scc%netscape.com
9d6ed1acd1 Making the tests run on all platforms. Removing some confusion about iostreams.
git-svn-id: svn://10.0.0.236/trunk@64082 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:59:29 +00:00
putterman%netscape.com
4a3535ba8c fix for 16349 - shift delete works. Also more work on multiple windows by removing GetTemporaryMsgWindow.
various reviewers = mscott, hangas, rhp, and jefft.


git-svn-id: svn://10.0.0.236/trunk@64081 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:58:20 +00:00
putterman%netscape.com
683aa00a09 added new files and directory for shift delete bug 16349, r=hangas
git-svn-id: svn://10.0.0.236/trunk@64080 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:57:51 +00:00
scc%netscape.com
6887e9c19b getting the unit tests and profiling tests to run on all platforms
git-svn-id: svn://10.0.0.236/trunk@64079 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:56:47 +00:00
jst%netscape.com
6965052726 Don't leak the hash table used for the attribute map (#32196). Patch from shaver, r=beard
git-svn-id: svn://10.0.0.236/trunk@64078 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:54:30 +00:00
ruslan%netscape.com
6bdf651869 Remove misleading comment; nsSocketTransport never attempts to reconnect
by iself anymore.


git-svn-id: svn://10.0.0.236/trunk@64077 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:50:50 +00:00
sfraser%netscape.com
69716a5420 Fixes to nsTextFrame so that every text frame no longer AddRefs the blink timer, and tidyup of blink timer code. r=troy
git-svn-id: svn://10.0.0.236/trunk@64076 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:49:58 +00:00
ruslan%netscape.com
903194d323 Continuing earlier http reorg. There's no need to call mHeaders.Clear () as
formHeaders () is called just once anyway.


git-svn-id: svn://10.0.0.236/trunk@64075 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:49:41 +00:00
scc%netscape.com
0f19fc9969 Incremental changes. These files are not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@64074 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:47:02 +00:00
cata%netscape.com
c968553b7b Adding new interface to the build.
git-svn-id: svn://10.0.0.236/trunk@64073 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:10:47 +00:00
sspitzer%netscape.com
3cb33c262c add a spacer between the sentences.
git-svn-id: svn://10.0.0.236/trunk@64072 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:10:42 +00:00
ruslan%netscape.com
87dc1cc6ee Prevent certain headers to be sent out twice during the recovery loop when
the keep-alive connection is closed by the server.


git-svn-id: svn://10.0.0.236/trunk@64071 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 23:33:03 +00:00
putterman%netscape.com
2cf3ef8364 fix bustage.
git-svn-id: svn://10.0.0.236/trunk@64070 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 23:30:41 +00:00
wtc%netscape.com
3bea8a58da Bugzilla bug #32184: added 'const' versions of hash table lookup
functions that don't reorder the hash entries.
Modified files: plhash.h, plhash.c


git-svn-id: svn://10.0.0.236/trunk@64069 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 23:13:45 +00:00
norris%netscape.com
51e8cd340a Fix bug 33239.
git-svn-id: svn://10.0.0.236/trunk@64068 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 23:06:02 +00:00
pavlov%netscape.com
035844cfd4 few more changes to the way we handle saving
git-svn-id: svn://10.0.0.236/trunk@64067 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:40:13 +00:00
norris%netscape.com
953def32a1 Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@64066 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:15:37 +00:00
jim_nance%yahoo.com
4e7663b8a1 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz


git-svn-id: svn://10.0.0.236/trunk@64065 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:11:55 +00:00
scc%netscape.com
8df3e4e189 Lots of changes to get this stuff building on Solaris, et al. None of these changes effect the mainline build yet, and won't until |NEW_STRING_APIS| is defined for everyone (coming soon)
git-svn-id: svn://10.0.0.236/trunk@64064 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:06:57 +00:00
pinkerton%netscape.com
568ec15d4b Updating device context to work with multiple monitors (r=hyatt). fixes bugs 21942, 32611.
git-svn-id: svn://10.0.0.236/trunk@64063 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:03:29 +00:00
pavlov%netscape.com
e85b8bf567 update new unix filepicker stuff
git-svn-id: svn://10.0.0.236/trunk@64062 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:55:04 +00:00
slamm%netscape.com
7fcc669c9f Change "struct" to "class ... { public:" to quiet a warning.
git-svn-id: svn://10.0.0.236/trunk@64061 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:50:40 +00:00
slamm%netscape.com
1aabf0d874 Quiet some Mac warnings. Replace empty macro definition for MOZ_DECL_CTOR_COUNTER(_type) with "class _type".
git-svn-id: svn://10.0.0.236/trunk@64060 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:49:31 +00:00
beard%netscape.com
f5640e99cc not part of any build (yet) experimental profiler hooks to improve leak detector performance.
git-svn-id: svn://10.0.0.236/trunk@64059 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:43:23 +00:00
attinasi%netscape.com
ff81518a01 New Daily Performance file. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@64058 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:42:41 +00:00
beard%netscape.com
1428a5f294 bug #28559, fix device context leak, r=dcone
git-svn-id: svn://10.0.0.236/trunk@64057 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:41:15 +00:00
attinasi%netscape.com
ab80253df8 New history data added. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@64056 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:40:32 +00:00
ruslan%netscape.com
26dca291ba Http handler reorg to fix keep-alive raise condition and prepare for
pipeling changes. Also fix 32505, 31979. In case of a major bustage -
http11_reorg_point is the tag before the checkin; r=gagan, a=warren


git-svn-id: svn://10.0.0.236/trunk@64055 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:38:04 +00:00
despotdaemon%netscape.com
21ab7d7658 Pseudo-automatic update of changes made by dkl@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@64054 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:37:24 +00:00
beard%netscape.com
e0e4b3441d bug #33091, be more conservative about blend buffer dimensions, r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@64053 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:35:07 +00:00
scc%netscape.com
00a3bf5489 Lots of changes to get this stuff building on Solaris, et al. None of these changes effect the mainline build yet, and won't until |NEW_STRING_APIS| is defined for everyone (coming soon)
git-svn-id: svn://10.0.0.236/trunk@64052 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:33:58 +00:00
bienvenu%netscape.com
9367200d77 add accessor for expunged bytes, r=jefft
git-svn-id: svn://10.0.0.236/trunk@64051 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:33:04 +00:00
beard%netscape.com
af0519c458 bug #33091, added range check to prevent memory corruption, r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@64050 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:32:10 +00:00
rhp%netscape.com
2bd7ccb0bc Fix for bad wrapping on quoting and IMAP Parts on demand - Bugs #: 32100 17794
git-svn-id: svn://10.0.0.236/trunk@64049 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:22:53 +00:00
ssu%netscape.com
450a22a4e5 fixing bug #32437 - View page source no longer shows blank window. r=travis,sgehani
git-svn-id: svn://10.0.0.236/trunk@64048 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:22:11 +00:00
morse%netscape.com
a9a6cc18f2 fix bug 33198 -- bad wording in places
git-svn-id: svn://10.0.0.236/trunk@64047 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:20:38 +00:00
ssu%netscape.com
b33c5867ca fixing bug #33166 - can no longer press next in Setup Type dialog when warning dialog is shown. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@64046 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 21:20:22 +00:00
jbetak%netscape.com
26caf1493e r=troy, ftang fix for 9099 HTML entity followed by CR garbles page and
30353 Thai Page shows a weird character for <wbr>


git-svn-id: svn://10.0.0.236/trunk@64045 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 20:23:23 +00:00
rods%netscape.com
e409a39d42 added psuedoCheck
git-svn-id: svn://10.0.0.236/trunk@64044 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 16:21:47 +00:00
rods%netscape.com
e8fa0f763a added a menu item for turning on GfxListboxes and GfxComboboxes and the the setting prefs
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@64043 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 15:52:21 +00:00
rods%netscape.com
12db48d604 Checkbox construction now gets the resolved moz-checkbox style on creation.
Fieldset's block frame now gets the flags with the spacemanager set if it is being absolutely positioned.
r=kmcclusk,dcone b=32949


git-svn-id: svn://10.0.0.236/trunk@64042 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 15:48:59 +00:00
rods%netscape.com
c586bf3853 Added new interface to support additional StyleContexts that can be used for "skinning" checkboxes.
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@64041 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 15:02:02 +00:00
rods%netscape.com
a8f3a40dd5 fixed up some ifdefs to shutoff debug output
git-svn-id: svn://10.0.0.236/trunk@64040 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:59:02 +00:00
jefft%netscape.com
b2cc1c94a9 fixed bug 10834 - Pop3 delete folders move to trash; r=putterman
git-svn-id: svn://10.0.0.236/trunk@64039 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:58:32 +00:00
rods%netscape.com
a2cd208220 Adding nsICheckboxControlFrame to build
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@64038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:47:58 +00:00
mjudge%netscape.com
1d6893c5d6 derefferencing with char ** operator first!. fixing bustage as sheriff. i am my own approval. fix is primarily for solaris.
git-svn-id: svn://10.0.0.236/trunk@64037 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 12:21:51 +00:00
alecf%netscape.com
729a65b427 fix solaris bustage
git-svn-id: svn://10.0.0.236/trunk@64036 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 10:10:09 +00:00
alecf%netscape.com
06273f3e18 fix solaris bustage
git-svn-id: svn://10.0.0.236/trunk@64035 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 09:39:12 +00:00
sford3%swbell.net
d37bad750e wallet reorg
git-svn-id: svn://10.0.0.236/trunk@64034 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 09:07:36 +00:00
alecf%netscape.com
ca1fe19bc5 fix html:label for= tags so that they match their respective IDs (#24872)
fix incredibly trivial r=me


git-svn-id: svn://10.0.0.236/trunk@64033 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:55:41 +00:00
sford3%swbell.net
826823aac4 wallet reorg
git-svn-id: svn://10.0.0.236/trunk@64032 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:52:52 +00:00
alecf%netscape.com
81875197e5 move this checkbox over just slightly to fix #23661
fix incredibly trivial r=me


git-svn-id: svn://10.0.0.236/trunk@64031 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:52:32 +00:00
alecf%netscape.com
9a06ab2845 don't allow set as default to be enabled when clicking on the smtp server
#28018 fix incredibly trivial r=me


git-svn-id: svn://10.0.0.236/trunk@64030 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:48:16 +00:00
alecf%netscape.com
cf5fed74bf fix for #27629 - fix is incredibly trivial, r=me
git-svn-id: svn://10.0.0.236/trunk@64029 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:46:37 +00:00
sford3%swbell.net
1db35b5b8b wallet reorg
git-svn-id: svn://10.0.0.236/trunk@64028 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:44:59 +00:00
sford3%swbell.net
be1ad1ef21 More wallet reorg stuff
git-svn-id: svn://10.0.0.236/trunk@64027 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:38:19 +00:00
sspitzer%netscape.com
7572092c58 fix build bustage on unix.
git-svn-id: svn://10.0.0.236/trunk@64026 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:36:03 +00:00
alecf%netscape.com
900923f1d5 reduce dependancies - .cpp already has nsIPref
git-svn-id: svn://10.0.0.236/trunk@64025 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:34:47 +00:00
sford3%swbell.net
44eb385e39 More reorg of wallet, not hooked up yet
git-svn-id: svn://10.0.0.236/trunk@64024 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:30:52 +00:00
hyatt%netscape.com
d186ab03c3 Patching table memory leak. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@64023 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:29:21 +00:00
alecf%netscape.com
b9a8678ef3 not dependant on nsIPref.h
git-svn-id: svn://10.0.0.236/trunk@64022 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:27:02 +00:00
sspitzer%netscape.com
9237895767 fix for #28827. make it so I can stuff a password into the single signon database.
now we can store the password from the user when creating the account with the wizard.


git-svn-id: svn://10.0.0.236/trunk@64021 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:26:32 +00:00
alecf%netscape.com
c531723e6b actually put the mail subject in the header of the message
final part of fix for #29651
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@64020 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:24:09 +00:00
alecf%netscape.com
db6c4b47ae change FALSE to PR_FALSE to reduce xp_core.h dependancy
git-svn-id: svn://10.0.0.236/trunk@64019 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:17:18 +00:00
alecf%netscape.com
0a2f8614d5 First part of fix for #29651 - expose unichar versions of subject/sender/etc to scripts) r=bienvenu,putterman
git-svn-id: svn://10.0.0.236/trunk@64018 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:10:59 +00:00
alecf%netscape.com
fd24b907ee eliminate use of PRIVATE for reduced xp_core.h dependancy
git-svn-id: svn://10.0.0.236/trunk@64017 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:07:23 +00:00
alecf%netscape.com
c9804c58b2 minor usage fix for code that was probably never ever called anyway
git-svn-id: svn://10.0.0.236/trunk@64016 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:06:02 +00:00
alecf%netscape.com
3c48368900 fix xlib build (not part of default build)
git-svn-id: svn://10.0.0.236/trunk@64015 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 07:57:53 +00:00
rickg%netscape.com
61451beb94 WIP for new string library, and defensive coding improvement in SetCapcity; r=buster
git-svn-id: svn://10.0.0.236/trunk@64014 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 07:21:56 +00:00
rickg%netscape.com
39a364f3bd correct off-by-one error (edge case); r=buster
git-svn-id: svn://10.0.0.236/trunk@64013 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 07:19:00 +00:00
rickg%netscape.com
f39e05af9c fixed bug31317; r=ftang
git-svn-id: svn://10.0.0.236/trunk@64012 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 07:17:51 +00:00
leaf%mozilla.org
1e8145add6 Automated update
git-svn-id: svn://10.0.0.236/trunk@64011 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:45:09 +00:00
waterson%netscape.com
d4c70acfcd Botched the variable test. Sorry!
git-svn-id: svn://10.0.0.236/trunk@64009 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:32:01 +00:00
bienvenu%netscape.com
78e7ccf835 more work on mpod 32767 r=mscott
git-svn-id: svn://10.0.0.236/trunk@64008 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:20:01 +00:00
mcafee%netscape.com
05c1c8cf2b Timeout should be success for CreateProfile().
git-svn-id: svn://10.0.0.236/trunk@64007 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:15:04 +00:00
sspitzer%netscape.com
b5d64a3bd7 fix for bug #28227. thanks for bruce@cybersight.com for pointing this out and supplying the fix.
git-svn-id: svn://10.0.0.236/trunk@64006 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:14:21 +00:00
bryner%uiuc.edu
045efe9859 Remove a deleted Makefile. r=cls.
git-svn-id: svn://10.0.0.236/trunk@64005 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:04:02 +00:00
waterson%netscape.com
b503688549 Fully qualify ReadingIterator when used inside template (so it compiles on egcs-1.1.2). r=scc
git-svn-id: svn://10.0.0.236/trunk@64004 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:02:59 +00:00
waterson%netscape.com
41acdb82ce Fully qualify ReadingIterator when used inside template (so it compiles on egcs-1.1.2). Minor silly fixes.
git-svn-id: svn://10.0.0.236/trunk@64003 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:02:37 +00:00
leaf%mozilla.org
8f2f7cd80e Automated update
git-svn-id: svn://10.0.0.236/trunk@64002 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 06:00:30 +00:00
waterson%netscape.com
cb9de0c698 Add HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX test; make HAVE_CPP_SPECIALIZATION test a bit more lax; make HAVE_CPP_USING a bit more rigorous. r=scc
git-svn-id: svn://10.0.0.236/trunk@64001 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:59:28 +00:00
dougt%netscape.com
adcf7dec28 Adding a rename test.
git-svn-id: svn://10.0.0.236/trunk@64000 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:48:18 +00:00
dougt%netscape.com
38316cfc04 Fix for 33098. MoveTo and CopyTo do not rename if the |in| parent is null.
I renamed the in parameter, and created a new stack var which I assign the
in parameter.  If the var is null, I initial it with the |this| parent. I
also made sure that if null was passed, we would tree the action as a move.


git-svn-id: svn://10.0.0.236/trunk@63999 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:47:39 +00:00
mscott%netscape.com
bb5fc949ce Bug #28776,28569 --> add method for clearing out the parent doc loader
now that we don't leak the global doc loader, there are times when it gets destroyed b4 it's children during
the shutdown process.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@63998 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:45:31 +00:00
sspitzer%netscape.com
9b0caa0935 implement find / find again for mailnews. clean up the browser's find / find again code to use
do_GetService and nsCOMPtrs. bug #10894.  r=mscott.


git-svn-id: svn://10.0.0.236/trunk@63997 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:44:32 +00:00
mscott%netscape.com
4b87878cfc Bug #28776, 28569 --> support weak references
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@63996 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:44:10 +00:00
mscott%netscape.com
96865287f8 Bug #28776, 28569 --> make the load group keep a weak ref on the observer
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@63994 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:42:10 +00:00
dougt%netscape.com
22ffe2834a Setting the param based on the value of the checkbox. r=morse@netscape.com
There is still some discussion regarding this fix.  It does unblock my feature
and does not cause any harm to the dialog I tested.  With that said, I am checking
it in.


git-svn-id: svn://10.0.0.236/trunk@63993 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:06:45 +00:00
troy%netscape.com
2307fb399c Fixed problem with previous checkin. Made sure "mColumn" is set
correctly


git-svn-id: svn://10.0.0.236/trunk@63992 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 05:04:15 +00:00
mscott%netscape.com
a16ac54d91 Bug #33151 --> add oncreate method for the email address popup menu
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@63991 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 04:54:46 +00:00
pollmann%netscape.com
542db19a81 Bug 11202: Resize of nested frameset shouldn't update size of child twice, this is already handled by MouseDrag, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63990 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 04:42:40 +00:00
erik%netscape.com
f3eb497401 bug 33147; mdash and ndash were both transliterated to a single '-'; made
the mdash longer by using 2 hyphens "--"; r=none


git-svn-id: svn://10.0.0.236/trunk@63989 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 04:25:54 +00:00
sspitzer%netscape.com
102bb841c5 get import of 4.x addressbooks to work. and an alert if addressbook
import fails.  clean up code.  r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@63988 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 04:07:46 +00:00
warren%netscape.com
83c4a6d031 Fixed optimized build dependency on zlib.shlb
git-svn-id: svn://10.0.0.236/trunk@63987 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 04:01:13 +00:00
mcafee%netscape.com
5a89992443 Fixes for mailnews test. r=suresh
git-svn-id: svn://10.0.0.236/trunk@63986 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:57:17 +00:00
tbogard%aol.net
d31f977574 Now when we want to tell the XUL Window of changes in progress, or status or overlink we use the new nsIDOMWindow::GetXPConnectObject functionality. This replaces our need for the broadcaster observer stuff along with the expensive setAttribute calls.
git-svn-id: svn://10.0.0.236/trunk@63985 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:46:15 +00:00
ssu%netscape.com
1399c5a761 fixing bugs:
33004
  33006
  33007
  23662
  27588
  27593
  27598
  28539
  32706

r=sgehani


git-svn-id: svn://10.0.0.236/trunk@63984 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:40:09 +00:00
pollmann%netscape.com
109ad2d952 Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63983 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:37:03 +00:00
pollmann%netscape.com
d5064110de Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), and add GetHistoryState method, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63982 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:36:58 +00:00
pollmann%netscape.com
812fff3d93 Bug 32702: GetHistoryState works as expected now - check for success, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63981 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:36:55 +00:00
ruslan%netscape.com
f3e8fde0bc Add more comments to all.js for upcoming http 1.1 preferences
git-svn-id: svn://10.0.0.236/trunk@63980 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:25:08 +00:00
blizzard%redhat.com
6eac26b10a explicitly link in the superwin library. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@63979 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:21:21 +00:00
jim_nance%yahoo.com
e0700bf12e Added code to put a U after unsigned numbers. This gets rid of the
"decimal constant is so large its unsigned" warnings.
r=shaver


git-svn-id: svn://10.0.0.236/trunk@63978 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:19:34 +00:00
ruslan%netscape.com
d4cec0c5b6 Finalize http compression convertor. Not in the build yet, but soon it will
be.


git-svn-id: svn://10.0.0.236/trunk@63977 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:18:30 +00:00
warren%netscape.com
2697828429 Added nsHTTPCompressConv.cpp for Ruslan.
git-svn-id: svn://10.0.0.236/trunk@63976 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:17:01 +00:00
pavlov%netscape.com
e2ebe1083a update to the new apis
git-svn-id: svn://10.0.0.236/trunk@63975 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:15:33 +00:00
tbogard%aol.net
494a5a9c7f added files: mozilla/xpfe/browser/public/nsIXULBrowserWindow.idl
git-svn-id: svn://10.0.0.236/trunk@63974 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:12:32 +00:00
tbogard%aol.net
681b9a073d Added new file nsIXULBrowserWindow.idl.
git-svn-id: svn://10.0.0.236/trunk@63973 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:09:39 +00:00
pavlov%netscape.com
e5e47baab4 remove trailing ; from macro to fix workshop5 builds
git-svn-id: svn://10.0.0.236/trunk@63972 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:08:45 +00:00
brendan%mozilla.org
627c0648c5 Augh! Fix one name-hiding warning, add another... Fixed.
git-svn-id: svn://10.0.0.236/trunk@63971 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:01:47 +00:00
cmanske%netscape.com
d7aa412329 Optimized SelectBlockOfCells to select/unselect only those cells that really need to be. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63970 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 02:52:07 +00:00
rjc%netscape.com
9e7dcf7456 Add RDF command separator support.
git-svn-id: svn://10.0.0.236/trunk@63969 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 02:44:26 +00:00
rjc%netscape.com
d2e517703b Do not strip out duplicate RDF commands here (we need multiple separators to pass through.)
git-svn-id: svn://10.0.0.236/trunk@63968 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 02:40:24 +00:00
mcafee%netscape.com
4d154c3191 Looks like mailnews pref needs these set to 4, not 1.
git-svn-id: svn://10.0.0.236/trunk@63967 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 02:12:33 +00:00
terry%mozilla.org
8198941775 Wasn't finding anything if requesting target_milestone == "---".
git-svn-id: svn://10.0.0.236/trunk@63964 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 01:17:19 +00:00
tbogard%aol.net
d642a1682f Adding implementation for the new method OnStartURIOpen on nsIURIContentListener.
git-svn-id: svn://10.0.0.236/trunk@63963 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 01:04:47 +00:00
terry%mozilla.org
fe17c38722 Fix stupid perl warning.
git-svn-id: svn://10.0.0.236/trunk@63962 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 01:01:47 +00:00
jfrancis%netscape.com
f6c820a726 fixing iid
git-svn-id: svn://10.0.0.236/trunk@63960 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:45:44 +00:00
terry%mozilla.org
49236da5af Wasn't working right if usetargetmilestone was off.
git-svn-id: svn://10.0.0.236/trunk@63959 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:43:40 +00:00
jfrancis%netscape.com
cfcc495edd nsIEditRules IID
git-svn-id: svn://10.0.0.236/trunk@63958 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:43:38 +00:00
waterson%netscape.com
f40e891d2e Condition nsAutoCString operator=() on NEW_STRING_APIS. r=scc
git-svn-id: svn://10.0.0.236/trunk@63957 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:41:40 +00:00
waterson%netscape.com
230de8a1d0 Condition nsAutoString operator=() and some Assign() based on NEW_STRING_APIS. r=scc
git-svn-id: svn://10.0.0.236/trunk@63956 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:40:47 +00:00
waterson%netscape.com
c16ef3cc46 Use NS_MIN and NS_MAX instead of std::min and std::max. r=scc
git-svn-id: svn://10.0.0.236/trunk@63955 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:39:44 +00:00
waterson%netscape.com
945689663d Add NS_MIN and NS_MAX macros to hide inconsistencies with std::min and std::max. r=scc
git-svn-id: svn://10.0.0.236/trunk@63954 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:38:52 +00:00
slamm%netscape.com
4c1e30e7e9 Fix typo.
git-svn-id: svn://10.0.0.236/trunk@63953 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:36:12 +00:00
tbogard%aol.net
34ab24aee7 Adding implementation for the new method OnStartURIOpen on nsIURIContentListener.
git-svn-id: svn://10.0.0.236/trunk@63952 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:35:48 +00:00
slamm%netscape.com
11424c77ce Fix typo and build bustage.
git-svn-id: svn://10.0.0.236/trunk@63951 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:35:28 +00:00
ben%netscape.com
8d5d98c14c forgot these rules with yesterday's button tweaks, hence horked mailnews/editor toolbars.
git-svn-id: svn://10.0.0.236/trunk@63950 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:32:19 +00:00
tbogard%aol.net
9e069eda42 Adding implementation for the new method OnStartURIOpen on nsIURIContentListener.
git-svn-id: svn://10.0.0.236/trunk@63949 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:26:51 +00:00
jfrancis%netscape.com
386e43e682 improved paste performance in editor (WIP) (bug 28783)
set/remove inline stlye rewrite (lots of bug #s)


git-svn-id: svn://10.0.0.236/trunk@63948 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:26:47 +00:00
tbogard%aol.net
6a0120def8 Added a new method to nsIURIContentListener to allow the windowContext listener to get a crack at cancelling a new load that is about to occur.
git-svn-id: svn://10.0.0.236/trunk@63947 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:23:40 +00:00
slamm%netscape.com
0130b3e5e7 Unused. Used generic dialogs instead.
git-svn-id: svn://10.0.0.236/trunk@63946 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:21:07 +00:00
brendan%mozilla.org
e754398f43 Eliminate name-hiding and consequent compiler warning (r=shaver@mozilla.org).
git-svn-id: svn://10.0.0.236/trunk@63945 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:20:02 +00:00
jj%netscape.com
f451cd56d0 fix for bug #32896: make Build_Project case insensitive. Contribution from jlong@adobe.com. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63944 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:17:37 +00:00
jfrancis%netscape.com
13c14e71dc improved paste performance in editor (WIP) (bug 28783)
set/remove inline stlye rewrite (lots of bug #s)


git-svn-id: svn://10.0.0.236/trunk@63943 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:13:30 +00:00
tbogard%aol.net
7286e61a81 Provided implementation for GetXPConnectObject, AddXPConnectObject and RemoveXPConnectObject. Changed RemoveXPConnectObject to only take the id since taking the pointer as well was useless. Also fixed an error in nsGlobalWindow.cpp with signed against unsigned of string lengths.
git-svn-id: svn://10.0.0.236/trunk@63942 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:11:48 +00:00
matt%netscape.com
16c48f9997 adding for bug 26076
git-svn-id: svn://10.0.0.236/trunk@63941 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:09:47 +00:00
slamm%netscape.com
d9586d10bf Fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@63940 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:06:33 +00:00
pavlov%netscape.com
179e6091df nsIFilePicker isn't implimented in widget on unix
git-svn-id: svn://10.0.0.236/trunk@63939 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:00:34 +00:00
jst%netscape.com
982d8bc3ce Make mozilla not crash when accessing XML elements from JS. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63938 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:00:30 +00:00
blizzard%redhat.com
ee2a33c3e7 clean up to use generic factory constructors. _so_ much cleaner this way. r=pavlov,shaver
git-svn-id: svn://10.0.0.236/trunk@63937 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 00:00:22 +00:00
sfraser%netscape.com
af484cf8c1 Change the About menu item string in the apple menu from 'About ApprunnerO' to 'About Mozilla'. minor string change, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@63936 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:58:35 +00:00
slamm%netscape.com
4fc04efa20 Fix 23606, 'Sidebar shows incorrect cursor.' Use a box instead of a splitter when the sidebar is the only thing there (e.g. no mail folders).
git-svn-id: svn://10.0.0.236/trunk@63935 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:57:55 +00:00
blizzard%redhat.com
66a0ddd60e initial code checkin for the new gtk embedding widget. bug #31905. This is not feature complete and is not being built yet.
git-svn-id: svn://10.0.0.236/trunk@63934 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:55:18 +00:00
kmcclusk%netscape.com
527a6dc707 Offset the viewmanager in nsDocumentViewer by passing the offset to nsIViewManager::Init instead of offsetting the root view b=32161 r=attanasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:50:42 +00:00
sspitzer%netscape.com
3209d57c40 wrap with a try catch. if we get failure, and we don't handle it properly,
the account setup dialog won't go away.


git-svn-id: svn://10.0.0.236/trunk@63932 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:50:32 +00:00
brendan%mozilla.org
87379c9ed6 Rename stacksize formal param to stackChunkSize (27767, really a doc bug).
git-svn-id: svn://10.0.0.236/trunk@63931 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:50:29 +00:00
kmcclusk%netscape.com
c62cc9846a Added capability to view manager to offset its coordinate space b=32161 r=attanasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63930 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:49:18 +00:00
brendan%mozilla.org
ffd6d2464c Rename stacksize to stackChunkSize, similar cleanups, default new object class extension (27767).
git-svn-id: svn://10.0.0.236/trunk@63929 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:47:23 +00:00
norris%netscape.com
a563d78680 Fix bug 32904 Asserts at startup in nsScriptSecurityManager.cpp
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@63928 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:42:46 +00:00
dp%netscape.com
920aad1008 Stack walking code for powerpc linux. Thanks to patch from
darkmane@w-link.net r=waterson


git-svn-id: svn://10.0.0.236/trunk@63927 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:39:25 +00:00
sfraser%netscape.com
ebc52d7f5d Fixing nsLocalFileMac so that Contains() works with file aliases, and is much faster. Also fix an issue with cacheing data, so that cacheing actually works. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@63926 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:33:23 +00:00
slamm%netscape.com
cdc2f70ba3 Makefile did nothing. Remove it.
git-svn-id: svn://10.0.0.236/trunk@63925 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:30:15 +00:00
slamm%netscape.com
dccc8fd327 Use one iframe per panel/tab instead of a shared iframe. Sandbox non-chrome urls.
git-svn-id: svn://10.0.0.236/trunk@63924 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:30:09 +00:00
slamm%netscape.com
f5982912e8 hidden == display:none and collaptes == visibility:collapsed
git-svn-id: svn://10.0.0.236/trunk@63923 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:30:06 +00:00
slamm%netscape.com
ac8f7c0dbe Leave 'Ok' button enabled all the time. Only save the panels if something has changed. Use customize-panel.xul again.
git-svn-id: svn://10.0.0.236/trunk@63922 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:30:00 +00:00
slamm%netscape.com
4fd5aa4c9b Resurrect this to make simple chromeless window.
git-svn-id: svn://10.0.0.236/trunk@63921 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:52 +00:00
slamm%netscape.com
e1b6f54c84 Alerts are dead.
git-svn-id: svn://10.0.0.236/trunk@63920 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:50 +00:00
slamm%netscape.com
45983322a0 Remove remote-panels.rdf (comes from Netcenter).
git-svn-id: svn://10.0.0.236/trunk@63919 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:45 +00:00
brendan%mozilla.org
d1e473899c Optimize lightweight function calls, and bound their recursion (27767, r=rogerl@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@63918 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:36 +00:00
slamm%netscape.com
82d33c367c Remove remote-panels.rdf (comes from Netcenter). Rename sidebar-rdf.dtd to local-panels.dtd. Screw with the whitespace.
git-svn-id: svn://10.0.0.236/trunk@63917 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:35 +00:00
slamm%netscape.com
ce51b4a0c0 Quiet 'Illegal empty declaration' warning from Mac.
git-svn-id: svn://10.0.0.236/trunk@63916 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:29 +00:00
slamm%netscape.com
625390fee2 Make exporting more general.
git-svn-id: svn://10.0.0.236/trunk@63915 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:23 +00:00
slamm%netscape.com
bd3b2362de Ignore .mozconfig.mk and .mozconfig.out (made by client.mk)
git-svn-id: svn://10.0.0.236/trunk@63913 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:16 +00:00
slamm%netscape.com
d1dc80e886 Rename sidebar-rdf.dtd to local-panels.dtd
git-svn-id: svn://10.0.0.236/trunk@63912 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:29:00 +00:00
rpallath%eng.sun.com
c2482c13ca Removed Control-M characters
git-svn-id: svn://10.0.0.236/trunk@63911 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:24:32 +00:00
nisheeth%netscape.com
df55a6d2bc r=buster. bug 31644. FindPrimaryFrameFor() now accounts for "special" frames created when blocks are encountered within inlines.
git-svn-id: svn://10.0.0.236/trunk@63910 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:18:56 +00:00
nhotta%netscape.com
e36d2726ae Conditionally use local stack for collation key creation, r=cata.
git-svn-id: svn://10.0.0.236/trunk@63909 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:12:54 +00:00
edburns%acm.org
4287100562 bug=33093
a=edburns
r=ashuk

Force prefs to be read, causing the proxy data to be read.


git-svn-id: svn://10.0.0.236/trunk@63908 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:08:35 +00:00
matt%netscape.com
6e995249d3 Adding bug for change in java pref 6894
git-svn-id: svn://10.0.0.236/trunk@63907 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:07:20 +00:00
nhotta%netscape.com
7c3fe87ade Putting assertion to obsoleted interface, bug 11880, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@63906 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:04:10 +00:00
radha%netscape.com
ba936cd8da Removed unused code inside #ifdef debug_radha. No bug #s.
git-svn-id: svn://10.0.0.236/trunk@63905 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:03:27 +00:00
rogerl%netscape.com
ba42190e0e r=brendan@mozilla.org
Bug #32674, JS_SetVersion hides error; also, jsscan.c keyword bug


git-svn-id: svn://10.0.0.236/trunk@63904 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:00:35 +00:00
radha%netscape.com
1f6f5fe04c Fix for bug #s 28758, 29609. When loading a url over and over again, it is added
to SH each time there by causing multiple entries for that url in go menu.
r=law


git-svn-id: svn://10.0.0.236/trunk@63903 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:00:17 +00:00
troy%netscape.com
e694a6731e No change in functionality. I factored out the loop that measures text into
member function MeasureIndividualWords()


git-svn-id: svn://10.0.0.236/trunk@63902 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:58:43 +00:00
edburns%acm.org
b849f414a1 bug=33093
a=edburns
r=ashuk

Force prefs to be read, causing the proxy data to be read.


git-svn-id: svn://10.0.0.236/trunk@63901 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:57:57 +00:00
morse%netscape.com
e473fcc042 fix typo in prevous check-in, r=law
git-svn-id: svn://10.0.0.236/trunk@63900 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:54:16 +00:00
scc%netscape.com
946ef71be0 fixing ambiguities caused by name hiding
git-svn-id: svn://10.0.0.236/trunk@63899 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:53:53 +00:00
locka%iol.ie
53a335fdad Fixed up to build (but not work) against the latest webshell stuff
git-svn-id: svn://10.0.0.236/trunk@63898 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:43:23 +00:00
scc%netscape.com
33689dfd59 resolving ambiguities; getting the new string APIs to build everywhere
git-svn-id: svn://10.0.0.236/trunk@63897 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:42:34 +00:00
locka%iol.ie
6548900594 Removed
git-svn-id: svn://10.0.0.236/trunk@63896 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:29:36 +00:00
ruslan%netscape.com
3424c89ae7 Continue fixing bugs in compress converters. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@63895 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:23:14 +00:00
pierre%netscape.com
8080f7ed08 #32339 "font-weight: bolder and font-weight: lighter not working correctly on Mac".
git-svn-id: svn://10.0.0.236/trunk@63894 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:21:15 +00:00
hyatt%netscape.com
d413f7ff84 Adding a couple of props.
git-svn-id: svn://10.0.0.236/trunk@63893 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:20:34 +00:00
hyatt%netscape.com
4cff45ba81 Giving XBL an upgrade.
git-svn-id: svn://10.0.0.236/trunk@63892 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:19:49 +00:00
hyatt%netscape.com
3cf293a461 XUL <textfield> lives.
git-svn-id: svn://10.0.0.236/trunk@63891 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:18:17 +00:00
hyatt%netscape.com
2262937e5a XUL <textfield> lives!
git-svn-id: svn://10.0.0.236/trunk@63890 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:17:37 +00:00
morse%netscape.com
875d82eb8b keep two copies of CookieViewer.dtd in synch until bug 26020 is fixed properly
git-svn-id: svn://10.0.0.236/trunk@63889 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:11:29 +00:00
morse%netscape.com
549b132ccf keep two copies of CookieViewer.js in synch until bug 26020 is fixed properly
git-svn-id: svn://10.0.0.236/trunk@63888 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:10:41 +00:00
morse%netscape.com
d64b75d92f keep two copies of SignonViewer.xul in synch until bug 26020 is fixed properly
git-svn-id: svn://10.0.0.236/trunk@63887 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:09:21 +00:00
dougt%netscape.com
adb8235004 Chaging the logic of the checkboxes for the context switching to make
the verbage of the dialog. :-)


git-svn-id: svn://10.0.0.236/trunk@63886 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:54:44 +00:00
sford3%swbell.net
261b203e93 Fixes 32934 for Mozilla, Nescape should fix in commercial tree, also fixes 31148
r=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@63885 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:49:15 +00:00
av%netscape.com
bd3e898b0f Fixing null-pointer access causing variuos crashes, bug #30372, r=jst
git-svn-id: svn://10.0.0.236/trunk@63884 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:42:23 +00:00
jim_nance%yahoo.com
3a5dc6638b Fixed some compiler warnings.
This is not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@63883 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:40:50 +00:00
ftang%netscape.com
b44272a4b6 fix 32976. r=jshin@pantheon.yale.edu make the Korean hangule the same line break
class as CJK Ideograph.


git-svn-id: svn://10.0.0.236/trunk@63882 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:35:46 +00:00
morse%netscape.com
22a3ac7b5d fix bug 29035, selection of multiple signons
git-svn-id: svn://10.0.0.236/trunk@63881 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:24:23 +00:00
morse%netscape.com
ba282cee02 fix bug 32979, ability to block cookies when removing them with the cookie viewer
git-svn-id: svn://10.0.0.236/trunk@63879 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:22:36 +00:00
morse%netscape.com
b15c2f3a6a fix bug 32979, ability to block cookies when removing them with the cookie viewer; also bug 29035, selection of multiple cookies
git-svn-id: svn://10.0.0.236/trunk@63878 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:22:09 +00:00
harishd%netscape.com
a3e274d547 Added AppendSource() into keep the semantics of
GetSource() alive. This should give us some performance
in adding skipped content to the node.

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@63877 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:19:05 +00:00
scc%netscape.com
cfed15f5a1 Added "nsCharTraits.h"; no longer relying on |std::char_traits|. Renamed some things so overloading wouldn't fight with overriding.
git-svn-id: svn://10.0.0.236/trunk@63876 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:15:01 +00:00
slamm%netscape.com
1ef0f2b114 Get modules and their tags from treedata.pl
git-svn-id: svn://10.0.0.236/trunk@63875 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:14:51 +00:00
scc%netscape.com
64c527337e Added "nsCharTraits.h"
git-svn-id: svn://10.0.0.236/trunk@63874 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:10:46 +00:00
pinkerton%netscape.com
806664bf2f make the menu positioning use the new look&feel metric for whether or not popups can appear over the taskbar/menubar bug 21154. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@63873 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:10:09 +00:00
scc%netscape.com
6543af6118 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@63872 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:09:27 +00:00
troy%netscape.com
8ab2d40e28 Added generated content iterator
git-svn-id: svn://10.0.0.236/trunk@63871 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:05:23 +00:00
robinf%netscape.com
935c352464 fixing bug 32908
git-svn-id: svn://10.0.0.236/trunk@63870 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 20:02:23 +00:00
wtc%netscape.com
2032d7ea0e Bugzilla bug #33043: use System V shared memory and semaphores on
Solaris 2.5.1 because the POSIX shared memory and semaphore functions
fail with ENOSYS.


git-svn-id: svn://10.0.0.236/trunk@63868 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 19:05:37 +00:00
petitta%netscape.com
e684d2c9fb Updated Folder Hiearchy
git-svn-id: svn://10.0.0.236/trunk@63867 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 18:43:36 +00:00
terry%mozilla.org
0b585584c0 Added the concept of a "default milstone" for products, and make sure
that all products have at least that milestone defined.


git-svn-id: svn://10.0.0.236/trunk@63866 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 18:23:14 +00:00
terry%mozilla.org
9f6d3ccbcd Add a bit of helpful debugging info when we get a consistancy check problem.
git-svn-id: svn://10.0.0.236/trunk@63865 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 18:20:34 +00:00
despotdaemon%netscape.com
e6eaf8d034 Pseudo-automatic update of changes made by erik@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@63864 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 18:19:42 +00:00
rhp%netscape.com
8fc4db8e02 Adding CR to end to avoid warning on Linux
git-svn-id: svn://10.0.0.236/trunk@63863 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 17:49:36 +00:00
rhp%netscape.com
36b3abd0b7 Fix for Send Later operations - Bug #: 31346
git-svn-id: svn://10.0.0.236/trunk@63862 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 17:45:28 +00:00
pierre%netscape.com
97f14393e2 Bugs 2055, 2056, 14983 and 15432. Display:marker/run-in/compact are not supported. The CSS parser drops any declaration that contains one of these display types.
git-svn-id: svn://10.0.0.236/trunk@63861 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 14:45:04 +00:00
kvisco%ziplink.net
954581891c updated with latest information
git-svn-id: svn://10.0.0.236/trunk@63860 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:55:37 +00:00
rjc%netscape.com
03cfc7b0c1 Fix bug # 30152: showing/hiding bookmark columns. CSS fix from aaronr@us.ibm.com.
git-svn-id: svn://10.0.0.236/trunk@63859 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:55:04 +00:00
kvisco%ziplink.net
4a8f7cbfff updated with latest contributions
git-svn-id: svn://10.0.0.236/trunk@63858 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:42:07 +00:00
rjc%netscape.com
bf4e5f0701 Use GetValueConst() in a couple of places.
git-svn-id: svn://10.0.0.236/trunk@63857 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:33:55 +00:00
rjc%netscape.com
000d6c680a When using various bookmark commands, now prompt for arguments. Prevent invalid arguments (for example, disallow deletion of the "Personal Toolbar Folder").
git-svn-id: svn://10.0.0.236/trunk@63856 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:33:03 +00:00
kvisco%ziplink.net
4d9f5aa998 updated date
git-svn-id: svn://10.0.0.236/trunk@63855 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:17:54 +00:00
kvisco%ziplink.net
43ff612126 fixed some Unicode bugs reported by Lidong
git-svn-id: svn://10.0.0.236/trunk@63854 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:17:14 +00:00
hyatt%netscape.com
35632b4854 More textarea/textfield goodness
git-svn-id: svn://10.0.0.236/trunk@63853 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:12:14 +00:00
hyatt%netscape.com
82ec728b2e More textarea/textfield goodness
git-svn-id: svn://10.0.0.236/trunk@63852 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:11:09 +00:00
rbs%maths.uq.edu.au
29184b7168 [#ifdef MOZ_MATHML - NOT PART OF THE DEFAULT BUILD] Update of the Perl script used to gneratate the new format for loading the Operator Dictionary
git-svn-id: svn://10.0.0.236/trunk@63851 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 10:01:57 +00:00
hyatt%netscape.com
6d4b4d4811 Adding support for new XUL widgets.
git-svn-id: svn://10.0.0.236/trunk@63850 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 09:58:49 +00:00
hyatt%netscape.com
c8a09afc79 Making all focusable content properly tabbable.
git-svn-id: svn://10.0.0.236/trunk@63849 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 09:56:58 +00:00
rbs%maths.uq.edu.au
21f799f4aa [#ifdef MOZ_MATHML - NOT PART OF THE DEFAULT BUILD] New format for loading the Operator Dictionary
git-svn-id: svn://10.0.0.236/trunk@63848 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 09:56:50 +00:00
rbs%maths.uq.edu.au
50bd55ad31 [#ifdef MOZ_MATHML - NOT PART OF THE DEFAULT BUILD]. Adding the ucvmath module --for Mathematical charsets (symbols for MathML/scientific documents) r:cata@nestcape.com
git-svn-id: svn://10.0.0.236/trunk@63847 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 09:31:16 +00:00
rbs%maths.uq.edu.au
6b4f2b4556 [#ifdef MOZ_MATHML - NOT PART OF THE DEFAULT BUILD]. Adding the ucvmath module --for Mathematical charsets (symbols for MathML/scientific documents) r:cata@nestcape.com
git-svn-id: svn://10.0.0.236/trunk@63846 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 09:23:30 +00:00
dougt%netscape.com
4ad12e2b43 adding properities file and new mac export file.
git-svn-id: svn://10.0.0.236/trunk@63845 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 08:49:33 +00:00
pavlov%netscape.com
d67fde2f7b fix build bustage that hasn't happened yet
git-svn-id: svn://10.0.0.236/trunk@63844 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 08:41:27 +00:00
dougt%netscape.com
622ecf848f Fixes:
- 25912 No info in Selected Item
- 29672 Lock icon appeared locked non-SSL site
- 31982 nsSecureBrowserUIImpl: lock state should come from channel
- more.

Changes are wide.  They include:

- exporting a new nsIPSMSocketInfo object up through the socket
- checking for this nsIPSMSocketInfoObject in our document observer
- capturing pickled status and host name information for page info
- setting 'broken' icon state immediately
- only setting 'lock' icon state when psm socket is determined.
- adding checks for nulls and ensure error codes are returned properly


also work started on new localizable dialogs with remember checkboxes.


git-svn-id: svn://10.0.0.236/trunk@63843 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 08:38:08 +00:00
pavlov%netscape.com
b817a0c350 add some windows makefiles so that we export filepicker.property
git-svn-id: svn://10.0.0.236/trunk@63841 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 08:10:46 +00:00
pavlov%netscape.com
3a587b0994 change create to init
git-svn-id: svn://10.0.0.236/trunk@63840 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 07:56:57 +00:00
pavlov%netscape.com
c5f299bb17 change create to init
git-svn-id: svn://10.0.0.236/trunk@63839 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 07:52:28 +00:00
pavlov%netscape.com
4dc31dd004 update to use new interface
git-svn-id: svn://10.0.0.236/trunk@63838 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 07:41:17 +00:00
pavlov%netscape.com
5aabd75eb9 change filepicker interface for filtering
git-svn-id: svn://10.0.0.236/trunk@63837 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 07:41:09 +00:00
pavlov%netscape.com
f587699256 add properties file, update js, etc.
git-svn-id: svn://10.0.0.236/trunk@63836 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 07:40:49 +00:00
ducarroz%netscape.com
63966e72a1 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@63835 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 07:04:57 +00:00
bryner%uiuc.edu
8a36bac6ec Don't allow a port other than 79 to be used for finger. r=valeski.
git-svn-id: svn://10.0.0.236/trunk@63833 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 06:40:36 +00:00
ducarroz%netscape.com
72a7a10695 Fixes related to message compose UI, save attachment, edit message as new and draft message. Those changes fix bug 14868, 23627, 24185, 24864, 24930, 26087, 26733, 27171, 27762, 27931, 27932, 29119, 29176, 30279, 31546 and 28677. R=alecf, rhp, jefft
git-svn-id: svn://10.0.0.236/trunk@63832 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 06:39:19 +00:00
dougt%netscape.com
22c9da9e08 Adding AlertCheck() to common dialogs. r=davidm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63831 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 06:38:35 +00:00
mcafee%netscape.com
ad8d545a12 Abstracting a few variables for checkout target.
git-svn-id: svn://10.0.0.236/trunk@63830 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 06:05:10 +00:00
sspitzer%netscape.com
efe58c7e15 fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@63829 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 05:27:02 +00:00
mstoltz%netscape.com
6bc9c31751 Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris
git-svn-id: svn://10.0.0.236/trunk@63828 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:53:16 +00:00
mstoltz%netscape.com
72e0246d22 heckLoadURI now handles jar: URL's correctly. r=norris
git-svn-id: svn://10.0.0.236/trunk@63827 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:37:37 +00:00
sspitzer%netscape.com
49b85bad39 more changes for 4.x addressbook migration. r=bienvenu.
some hackery required since we hard code the pab to be abook.mab.
also, the api's need to be able to create a new directory that already has exists and has prefs.


git-svn-id: svn://10.0.0.236/trunk@63826 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:36:03 +00:00
cmanske%netscape.com
e15bf8d5b3 Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze.
git-svn-id: svn://10.0.0.236/trunk@63825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:24:58 +00:00
tbogard%aol.net
bf74c53128 Adding new methods to domwindow to be able to set and get at XPConnect Objects based on an ID. This allows attaching an object from JS to the window and then retrieving and calling it from C++. This is just the specification for the interfaces. The implementation is not yet fully there.
git-svn-id: svn://10.0.0.236/trunk@63824 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:23:26 +00:00
ben%netscape.com
4d6baf3127 switch from titledbutton on toolbar to button
git-svn-id: svn://10.0.0.236/trunk@63823 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:21:55 +00:00
ben%netscape.com
c3dba05587 convert editor toolbars to use button
git-svn-id: svn://10.0.0.236/trunk@63822 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:15:10 +00:00
tbogard%aol.net
59e0fc311d Don't try to Truncate when we fail to find the character. Actually, just do an assignment with the character location as the count size. This is actually a checkin for scc. r=travis
git-svn-id: svn://10.0.0.236/trunk@63821 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:13:49 +00:00
ben%netscape.com
f7e967bab3 checking in fix for linux orangeness, browser bustage
git-svn-id: svn://10.0.0.236/trunk@63820 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 03:58:37 +00:00
morse%netscape.com
ebd96f120a fix bug 32921, dialog box title garbled when not using single signon
git-svn-id: svn://10.0.0.236/trunk@63819 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 03:39:34 +00:00
wtc%netscape.com
bcba23cde6 Removed obsolete code.
git-svn-id: svn://10.0.0.236/trunk@63818 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:52:24 +00:00
edburns%acm.org
0f6e9610d9 r=leaf
a=leaf
author=Andi Eades

Enable building Java code on Win98 systems.


git-svn-id: svn://10.0.0.236/trunk@63817 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:36:03 +00:00
rjc%netscape.com
1dc85d9aae Check for correct mouse buttons.
git-svn-id: svn://10.0.0.236/trunk@63816 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:35:54 +00:00
rjc%netscape.com
ccf7a6958c Disallow generic browser context menus for the search results area. (Note: Search-specific context menus ARE available when context-clicking on results.)
git-svn-id: svn://10.0.0.236/trunk@63815 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:25:25 +00:00
wtc%netscape.com
f6b7b3c133 Bugzilla bug #31697: Mac OS X has System V shared memory.
git-svn-id: svn://10.0.0.236/trunk@63814 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:23:53 +00:00
scc%netscape.com
5fcf54179f Conditionally enable the new string APIs. Don't worry, they're not turned on yet. All changes r=waterson. Changes that effect |nsString| unconditionally, r=rickg.
git-svn-id: svn://10.0.0.236/trunk@63813 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:12:23 +00:00
ben%netscape.com
1d49253539 converting navigator toolbar navigation buttons from button32 over to <button>'s 'large-toolbar' class
git-svn-id: svn://10.0.0.236/trunk@63812 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:10:14 +00:00
ben%netscape.com
bf01395d38 more new widget styles
git-svn-id: svn://10.0.0.236/trunk@63811 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:09:03 +00:00
slamm%netscape.com
4476482cdf Move for-loop's do to next line for Solaris. Fix configurator url.
git-svn-id: svn://10.0.0.236/trunk@63810 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:04:22 +00:00
morse%netscape.com
782c003d39 fix bug 32882, password timeout not timing out
git-svn-id: svn://10.0.0.236/trunk@63809 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:37:44 +00:00
hyatt%netscape.com
682a6abf95 Giving XUL a <script> tag. r=danm
git-svn-id: svn://10.0.0.236/trunk@63808 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:17:08 +00:00
dbaron%fas.harvard.edu
f5d497db18 Fix miscellaneous editor leaks. r=jfrancis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63807 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:14:49 +00:00
robodan%netscape.com
7b03cb6e0a Clean up Makefiles
git-svn-id: svn://10.0.0.236/trunk@63806 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:14:24 +00:00
dbaron%fas.harvard.edu
e8fd8a0243 Fix leak by giving base class a virtual destructor (and counting the constructor). r=jfrancis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63805 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:13:38 +00:00
pavlov%netscape.com
987c64e883 updates for filtering
git-svn-id: svn://10.0.0.236/trunk@63804 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:11:34 +00:00
ruslan%netscape.com
185d258505 Working on 32505. Adding http compression convertors - they are not hooked
up yet and are not part of the build.


git-svn-id: svn://10.0.0.236/trunk@63803 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:09:39 +00:00
ftang%netscape.com
77f1389dad fix the line break class for U+2000 - U+200B
git-svn-id: svn://10.0.0.236/trunk@63802 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:02:56 +00:00
rjc%netscape.com
6455b748ce Activate context menus for search results in content area of browser. Consolidate common JS into "shared.js".
git-svn-id: svn://10.0.0.236/trunk@63801 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:55:41 +00:00
ftang%netscape.com
18b8424048 change the interface and pass nsISupport* for document instead of PRInt32 so we won't drop
data on 64-bits machine. r=harishd


git-svn-id: svn://10.0.0.236/trunk@63800 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:53:53 +00:00
danm%netscape.com
550819608b moving output directory to mozilla/dist/netwerk
git-svn-id: svn://10.0.0.236/trunk@63799 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:51:31 +00:00
sspitzer%netscape.com
e185151db4 fix a typo.
git-svn-id: svn://10.0.0.236/trunk@63798 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:49:32 +00:00
av%netscape.com
ee1160133e Fixing mismatching delete's found by Purify, r=waqar
git-svn-id: svn://10.0.0.236/trunk@63797 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:45:49 +00:00
pavlov%netscape.com
7a0c84b0d7 fix interface.. apparently it is bad to have an negative size of an array so i have to use an unsigned size
git-svn-id: svn://10.0.0.236/trunk@63796 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:45:46 +00:00
troy%netscape.com
75d3e8bd33 Adding back changes that were backed out because they broke the Win32
clobber build. The problem building TestAttributes.exe is fixed


git-svn-id: svn://10.0.0.236/trunk@63795 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:34:54 +00:00
troy%netscape.com
aed511448c Made sure some .lib files are included that are needed for my pres shell
change


git-svn-id: svn://10.0.0.236/trunk@63793 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:32:46 +00:00
sfraser%netscape.com
d167e9cdcc Fix up nsFilePicker for Pavlov. r=pavlov. Not in the build yet.
git-svn-id: svn://10.0.0.236/trunk@63792 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:24:38 +00:00
buster%netscape.com
f57e02d7a3 fixed optimized vs. debug build problem.
git-svn-id: svn://10.0.0.236/trunk@63791 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:10:26 +00:00
terry%mozilla.org
e6a2e1cf5a Quick hack to fix the fact that new bugs have target_milestone of ""
when it really oughta be "---".


git-svn-id: svn://10.0.0.236/trunk@63790 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:04:08 +00:00
hyatt%netscape.com
f00f50ca57 Fix for 32699. Dynamic overlays should work once more.
git-svn-id: svn://10.0.0.236/trunk@63789 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:56:56 +00:00
pavlov%netscape.com
3d129fc62e fix build issues (not really built though)
git-svn-id: svn://10.0.0.236/trunk@63788 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:55:18 +00:00
jst%netscape.com
42a4f6989e Make the value of "dir" attributes more accessible through the DOM, this fixes #32617. r=troy
git-svn-id: svn://10.0.0.236/trunk@63787 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:46:33 +00:00
pavlov%netscape.com
90bd3f735d ...
git-svn-id: svn://10.0.0.236/trunk@63786 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:45:20 +00:00
pavlov%netscape.com
d2826aadde ...
git-svn-id: svn://10.0.0.236/trunk@63785 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:41:17 +00:00
pavlov%netscape.com
37f920f2f4 minor changes
git-svn-id: svn://10.0.0.236/trunk@63784 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:39:22 +00:00
buster%netscape.com
bf63049426 bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy


git-svn-id: svn://10.0.0.236/trunk@63783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:19:10 +00:00
pavlov%netscape.com
c285c2a054 add nsFilePicker for mac (not built yet)
git-svn-id: svn://10.0.0.236/trunk@63782 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:01:44 +00:00
scc%netscape.com
d05dc6672e fixed some warnings
git-svn-id: svn://10.0.0.236/trunk@63781 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:55:10 +00:00
scc%netscape.com
852772fd1e |wchar_t| will not be turned on by default, yet. These files are still not part of the build.
git-svn-id: svn://10.0.0.236/trunk@63780 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:53:44 +00:00
rhp%netscape.com
f045e89f17 Adding mime support for MIME Parts On Demand - Bug #: 17794
git-svn-id: svn://10.0.0.236/trunk@63779 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:52:42 +00:00
scc%netscape.com
d4c745fe80 slight renaming and fixed a template signature for AIX
git-svn-id: svn://10.0.0.236/trunk@63778 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:52:17 +00:00
scc%netscape.com
92d963eb95 Getting rid of warnings. These files are not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@63777 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:51:18 +00:00
sspitzer%netscape.com
c272597c8d added files: mozilla/mailnews/addrbook/public/nsIAbUpgrader.idl
git-svn-id: svn://10.0.0.236/trunk@63776 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:49:26 +00:00
rjc%netscape.com
6811fc7dd2 <text> is now <textnode> due to Hyatt's change.
git-svn-id: svn://10.0.0.236/trunk@63775 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:48:23 +00:00
ruslan%netscape.com
9cbf791d1b Fix 32914 (relax http chunk-converter to workaround apache bug). The change
is trivial, r=none


git-svn-id: svn://10.0.0.236/trunk@63774 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:19:35 +00:00
jst%netscape.com
9fdc80108a added files: mozilla/layout/base/src/nsDOMDocumentType.cpp
git-svn-id: svn://10.0.0.236/trunk@63773 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:16:49 +00:00
jst%netscape.com
0436606d70 Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63772 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:16:14 +00:00
bienvenu%netscape.com
bd44d38f50 fix setting of content_modified flag in running imap url, part of mpod, not turned on yet
git-svn-id: svn://10.0.0.236/trunk@63771 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:14:27 +00:00
rhp%netscape.com
d73857d012 Adding mime support for MIME Parts On Demand - Bug #: 17794
git-svn-id: svn://10.0.0.236/trunk@63770 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:14:17 +00:00
harishd%netscape.com
e3a8dd5b19 Fix for Bugs
29048,31392,31940,29379,29735,
25880,26488,27490,31694.

Gist: General bug fixes, Mem. leaks, and
          a little perf. work ( in collectingskipped content ).

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@63769 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:13:50 +00:00
mcafee%netscape.com
3f44cd882f Fixing english typo in timebomb blurb. r=akkana
git-svn-id: svn://10.0.0.236/trunk@63768 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:06:20 +00:00
danm%netscape.com
6daa7ee45b build browse info target was failing. parameters reordered. affects no other target
git-svn-id: svn://10.0.0.236/trunk@63767 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:03:27 +00:00
sspitzer%netscape.com
c5821080ae only move aside the 4.x pab if we don't have the ab upgrader.
git-svn-id: svn://10.0.0.236/trunk@63766 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:59:40 +00:00
mscott%netscape.com
648549395e remove nsIImapLog.h from the makefile which is no longer part of the build.
git-svn-id: svn://10.0.0.236/trunk@63765 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:57:43 +00:00
hyatt%netscape.com
83078e0ec9 Changing XUL template syntax to use <textnode> for wrapped text creation rather
than <text>, which is now a genuine XUL element.


git-svn-id: svn://10.0.0.236/trunk@63764 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:57:35 +00:00
slamm%netscape.com
03c607e36e Only output the options that are used.
git-svn-id: svn://10.0.0.236/trunk@63763 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:56:49 +00:00
bienvenu%netscape.com
924b9331b8 add pref for max mpod depth
git-svn-id: svn://10.0.0.236/trunk@63762 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:53:26 +00:00
matt%netscape.com
2ffd301c8f changing java pref string to the one in 4.7 and fixing cache opening code
git-svn-id: svn://10.0.0.236/trunk@63761 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:51:37 +00:00
dbragg%netscape.com
54ed2ee67b Backend plumbin fix for bugs 17505 and 20046 r=dveditz
git-svn-id: svn://10.0.0.236/trunk@63760 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:51:26 +00:00
bienvenu%netscape.com
e7ea77be43 fix problem downloading large imap headers, r=putterman, more work on MPOD
git-svn-id: svn://10.0.0.236/trunk@63759 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:45:24 +00:00
sspitzer%netscape.com
fa2a350c00 hook up to the addressbook migration code. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@63758 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:39:57 +00:00
nhotta%netscape.com
d89cdb82df For unicode conversion, changed to call encode->Finish(), use set output behavior to avoid internal loop, r=cata.
git-svn-id: svn://10.0.0.236/trunk@63757 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:28:08 +00:00
bryner%uiuc.edu
b9c0a0d62e Changes to finger protocol:
- Use threadsafe addref/release
- Remove AsyncOpen implementation, it is not used
- Implement Cancel()
- Add the channel to the loadgroup in SendRequest, not SetLoadgroup()

Fixes bugs 29457, 29952.  r=valeski.


git-svn-id: svn://10.0.0.236/trunk@63756 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:15:57 +00:00
ftang%netscape.com
ca5cb29a3a change observer interfaces. Temp move the casting code of PRInt32 into these class untill
we change the docloader interface. r=harishd


git-svn-id: svn://10.0.0.236/trunk@63755 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:02:40 +00:00
morse%netscape.com
3c3bd603ac fix bug 32502, put change-master-password into pref panel
git-svn-id: svn://10.0.0.236/trunk@63754 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:01:56 +00:00
tao%netscape.com
0696776d48 First release of mozilla-dtd2mysql.
Checked in for Eduardo Trapani (etrapani@unesco.org.uy)


git-svn-id: svn://10.0.0.236/trunk@63753 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 20:55:45 +00:00
robinf%netscape.com
04138ad36b fixing bug 32121
git-svn-id: svn://10.0.0.236/trunk@63752 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 19:46:51 +00:00
wtc%netscape.com
9d75231c68 Bugzilla bug #32779: PR_Interrupt should increment the cv's
pending_notify count before broadcasting on the cv to prevent
the interrupted thread from destroying the cv before
pthread_cond_broadcast returns.


git-svn-id: svn://10.0.0.236/trunk@63751 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 18:47:54 +00:00
wtc%netscape.com
3e5a68ce2e Removed a temporary hack added before the delayed notify fix was checked
in.


git-svn-id: svn://10.0.0.236/trunk@63750 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 18:44:54 +00:00
wtc%netscape.com
91de97c45a Provide a default implementation of interprocess named semaphore
functions (which just fail with PR_NOT_IMPLEMENTED_ERROR) if neither
POSIX nor System V semaphores are supported.  Fixed an error in the
comments.


git-svn-id: svn://10.0.0.236/trunk@63749 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 18:21:12 +00:00
granrose%netscape.com
8c63097a16 backing out troy.
git-svn-id: svn://10.0.0.236/trunk@63748 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 17:28:54 +00:00
bienvenu%netscape.com
2013f75d00 fix for mime parts on demand, code not turned on yet
git-svn-id: svn://10.0.0.236/trunk@63747 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 15:57:28 +00:00
rods%netscape.com
7e3e89d823 add a clean up macro for releasing viewer widgets and then checking there refcnts
r=dcone b=32448


git-svn-id: svn://10.0.0.236/trunk@63746 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 15:26:50 +00:00
rods%netscape.com
54660f782b added new menu item for visual event debugging
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@63745 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 15:25:51 +00:00
troy%netscape.com
ef085d6975 New code that isn't being used
git-svn-id: svn://10.0.0.236/trunk@63744 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 15:15:48 +00:00
rods%netscape.com
59cb70fb38 GetSelectedIndex now always returns a value and NS_OK
The value first comes from the frame, then from the presstate then
from the default selection in the content
it's checked into the branch, this is the tip check in
r=mscott b=32726


git-svn-id: svn://10.0.0.236/trunk@63743 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 14:45:20 +00:00
jst%netscape.com
3021373294 Implmentation of the DOM Level 2 DocumentType interface. Not part of the build yet. r=joki
git-svn-id: svn://10.0.0.236/trunk@63742 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 14:38:50 +00:00
pavlov%netscape.com
500f552216 add nsIFilePicker. I really hate this file. Why is it still here? Please tell me that!
git-svn-id: svn://10.0.0.236/trunk@63741 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 11:09:24 +00:00
pavlov%netscape.com
981c4fe060 fix small problem with derefing null nscomptr... the compiler should know what I mean, not what I type!
git-svn-id: svn://10.0.0.236/trunk@63740 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 11:08:36 +00:00
pavlov%netscape.com
ceb16bb530 build filepicker stuff on unix
git-svn-id: svn://10.0.0.236/trunk@63739 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 10:32:24 +00:00
pavlov%netscape.com
c12314a1d9 add filepicker stuff to allmakefiles.sh
git-svn-id: svn://10.0.0.236/trunk@63738 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 10:31:44 +00:00
pavlov%netscape.com
347f4d138c add comment
git-svn-id: svn://10.0.0.236/trunk@63737 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 10:28:26 +00:00
pavlov%netscape.com
6033bb3d25 make it go on windows
git-svn-id: svn://10.0.0.236/trunk@63736 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 10:26:22 +00:00
pavlov%netscape.com
517bb6bb0f build nsFilePicker on windows
git-svn-id: svn://10.0.0.236/trunk@63735 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 10:19:48 +00:00
rjc%netscape.com
b149c17fca Rest of fix for bug # 32681: also support html for clipboard encoding.
git-svn-id: svn://10.0.0.236/trunk@63734 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 09:33:35 +00:00
hyatt%netscape.com
0bbeb690f4 Fixing a bug in the skin/locale installation function.
git-svn-id: svn://10.0.0.236/trunk@63733 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 09:28:42 +00:00
pavlov%netscape.com
d12ab11774 use nsILocalFile instead of nsIFile
git-svn-id: svn://10.0.0.236/trunk@63732 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 09:17:01 +00:00
rjc%netscape.com
c91e7ceb95 Fix bug # 32681: also support text for clipboard encoding.
git-svn-id: svn://10.0.0.236/trunk@63731 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 09:16:16 +00:00
scc%netscape.com
ae6cee7e1d Incremental changes. These files are still not part of the build.
git-svn-id: svn://10.0.0.236/trunk@63730 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 08:22:28 +00:00
scc%netscape.com
cdb32d5be1 Made critical operations exploit chunky iterators. These files are not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@63729 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 08:19:48 +00:00
rjc%netscape.com
d2322fe3e0 Fix bug # 17333: use a string bundle. Code from aaronr@us.ibm.com: Review: me
git-svn-id: svn://10.0.0.236/trunk@63728 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 08:18:02 +00:00
pavlov%netscape.com
29e40832a1 add Makefiles.ins, .cvsignores, update css file to reflect correct paths
git-svn-id: svn://10.0.0.236/trunk@63727 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 08:13:31 +00:00
pavlov%netscape.com
8269026170 file picker for the new file picker interface (not built yet)
git-svn-id: svn://10.0.0.236/trunk@63726 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 07:43:43 +00:00
pavlov%netscape.com
88785583e9 add nsBaseFilePicker to windows build
git-svn-id: svn://10.0.0.236/trunk@63725 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 07:26:42 +00:00
sford3%swbell.net
a86f7d12bd removing the offending, file, 31307
git-svn-id: svn://10.0.0.236/trunk@63724 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 07:25:05 +00:00
pavlov%netscape.com
77676ae8e3 xp file picker
git-svn-id: svn://10.0.0.236/trunk@63723 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 07:22:06 +00:00
sford3%swbell.net
037cd41e70 more 31307, r=ben
git-svn-id: svn://10.0.0.236/trunk@63722 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 07:18:32 +00:00
sford3%swbell.net
b55fb0c9b8 bug 31307, moving globalBindings.xml to content
git-svn-id: svn://10.0.0.236/trunk@63720 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 07:13:17 +00:00
sford3%swbell.net
7fa28e784c Bug 31711, splitting up a try into two. r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63719 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 07:07:02 +00:00
sford3%swbell.net
9aadcd7d36 Fix 27411, r=ben
git-svn-id: svn://10.0.0.236/trunk@63718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 06:36:53 +00:00
mwelch%netscape.com
67386102eb [Bug 31733] IPv6 change for target IP address if mapped v4 address -- patch in bug
git-svn-id: svn://10.0.0.236/trunk@63716 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 05:55:11 +00:00
troy%netscape.com
4c7a5176ae Added declaration of new function NS_NewGeneratedContentIterator()
git-svn-id: svn://10.0.0.236/trunk@63715 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 05:55:05 +00:00
ben%netscape.com
92e296c7a3 some more style rules for the new widgets, checkmark images, etc.
git-svn-id: svn://10.0.0.236/trunk@63714 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 05:55:02 +00:00
troy%netscape.com
d15b0ee243 Work-in-progress that isn't being used. Added stub for returning a content
iterator for generated content


git-svn-id: svn://10.0.0.236/trunk@63713 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 05:53:32 +00:00
mwelch%netscape.com
35a70b209f Fixing a bunch of warnings
git-svn-id: svn://10.0.0.236/trunk@63712 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 05:43:42 +00:00
slamm%netscape.com
0b7c44cf64 Quiet a warning: '/*' within a comment.
git-svn-id: svn://10.0.0.236/trunk@63711 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 04:56:37 +00:00
ruslan%netscape.com
631f5753e7 Fix MAC build bustage - forgot to remove nsIByteArrayInputStream.h from the
MANIFEST as well


git-svn-id: svn://10.0.0.236/trunk@63710 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 04:14:26 +00:00
troy%netscape.com
b2652e371a b=32192 r=buster@netscape.com Fixed a place where the code to lazily
set the parent pointer for child frames was missing on case


git-svn-id: svn://10.0.0.236/trunk@63709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 04:06:37 +00:00
pierre%netscape.com
4c5875b260 For Profiler builds: removed NSRuntimeDebug.shlb from debug targets in MIW.mcp and modified NGLayoutBuildList.pm to not build that project when the Profiler is on.
git-svn-id: svn://10.0.0.236/trunk@63708 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:50:15 +00:00
cmanske%netscape.com
bb7af52dc5 Better strategy for skinable chrome: put EditorToolbars.css include in editorOverlay.xul, so other users automatically get correct css. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:22:59 +00:00
cmanske%netscape.com
3c2fe97915 Better strateger for skinable chrome: put EditorToolbars.css include in editorOverlay.xul, so other users automatically get correct css. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63706 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:20:53 +00:00
ruslan%netscape.com
5ab4beb396 Actually fix 32600 now by making chunk-converter use bytearraystream, r=warren
git-svn-id: svn://10.0.0.236/trunk@63705 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:16:30 +00:00
dougt%netscape.com
dffd5c30a4 Directly adding the contents of psm.js. it was too small to warrant its
own file.


git-svn-id: svn://10.0.0.236/trunk@63704 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:11:21 +00:00
dougt%netscape.com
541d289dca removing psm.js. it is now included directly in the xul file.
git-svn-id: svn://10.0.0.236/trunk@63703 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:10:05 +00:00
rjc%netscape.com
694146845a Set transparency on this GIF.
git-svn-id: svn://10.0.0.236/trunk@63702 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:10:00 +00:00
dougt%netscape.com
5cf1971359 removing psm.js. It is now included in the xul file itself.
git-svn-id: svn://10.0.0.236/trunk@63701 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:08:55 +00:00
ruslan%netscape.com
921b8f7203 Cause NS_NewByteArrayInputStream to get actually exported out of windows
dll, r=warren


git-svn-id: svn://10.0.0.236/trunk@63700 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:07:39 +00:00
rjc%netscape.com
05cf7e0f08 No need to auto-generate the "All items" html:option.
git-svn-id: svn://10.0.0.236/trunk@63699 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:04:04 +00:00
ruslan%netscape.com
e07a5aac0d Fix Unix build bustage - makefiles on unix and windows seems to actually
behave differently in this case


git-svn-id: svn://10.0.0.236/trunk@63698 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:02:34 +00:00
cmanske%netscape.com
9e5f16a423 Fixed bug 20829: separate editor toolbars css into separate file to be shared with mail composer. changed 'Properties...' item on format menu to be disabled, not removed. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63697 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:00:20 +00:00
cmanske%netscape.com
028c2f6349 Fixed bug 20829 - separate editor toolbar css into separate file to be shared with mail composer. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63696 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:00:05 +00:00
pinkerton%netscape.com
08b3c35f73 added a metric for determining if xul popups should be allowed to display over the menubar/taskbar. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@63695 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:55:12 +00:00
dbaron%fas.harvard.edu
8102c58fcf Fix leak of style contexts. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63694 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:54:26 +00:00
dbaron%fas.harvard.edu
ee1ce1b913 Fix leak of nsSecureBrowserObserver. b=32472 r=dougt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63693 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:52:20 +00:00
ruslan%netscape.com
84da80ad5b Enabling ByteArrayInputStream. Needed to fix 32600, r=warren
git-svn-id: svn://10.0.0.236/trunk@63692 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:50:56 +00:00
dougt%netscape.com
be66fa8586 removing protocol/http/res from build.
git-svn-id: svn://10.0.0.236/trunk@63691 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:44:36 +00:00
sfraser%netscape.com
6f132223fd Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc
git-svn-id: svn://10.0.0.236/trunk@63690 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:48 +00:00
dbaron%fas.harvard.edu
0936aaafab Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
dougt%netscape.com
b9a5d1bd70 removing res from http build path on windows.
git-svn-id: svn://10.0.0.236/trunk@63688 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:42:50 +00:00
dougt%netscape.com
824f0726f6 removing PSMTaskMenu.xul. This file comes from /extensions/psm-glue.
git-svn-id: svn://10.0.0.236/trunk@63687 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:41:10 +00:00
dbaron%fas.harvard.edu
d6149be79b Fix miscellaneous form element leaks. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63686 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:21:33 +00:00
wtc%netscape.com
eed58ed70c Bugzilla bug #5757: added a while loop around the PR_Wait call.
git-svn-id: svn://10.0.0.236/trunk@63685 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:13:35 +00:00
mjudge%netscape.com
1f90046a7a this should have NOT used ABS. if negative there is NO ROUNDING ERROR! ;)r=akkana
git-svn-id: svn://10.0.0.236/trunk@63684 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:10:37 +00:00
blizzard%redhat.com
d070060a8b fix for 26508. when an event that happens on a real GtkWidget and it's the child of a superwin that is being grabbed, temporarily add a GtkGrab to that widget. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@63683 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:45:51 +00:00
cmanske%netscape.com
183fd36b13 Removing nsRangeList.cpp -- it is replaced by nsSelection.cpp. this and previous checkin today were reviewed by mjudgensRangeList.cpp
git-svn-id: svn://10.0.0.236/trunk@63682 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:43:40 +00:00
dougt%netscape.com
95b91a41b3 Adding nsIPSMSocketInfo.
Not part of build


git-svn-id: svn://10.0.0.236/trunk@63680 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:41:15 +00:00
ben%netscape.com
b895beb345 some new images for search
git-svn-id: svn://10.0.0.236/trunk@63679 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:38:27 +00:00
dougt%netscape.com
27ce86ed83 Fixing SetModificationTime based on MS documentation. It is still failing, but
this is documented to work:

http://support.microsoft.com/support/kb/articles/Q167/2/96.ASP


git-svn-id: svn://10.0.0.236/trunk@63678 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:37:52 +00:00
akkana%netscape.com
f74b43d420 23980: convert relative href= and src= to absolute. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63677 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:33:59 +00:00
warren%netscape.com
fca9f5829c Added nsIByteArrayInputStream.idl and nsByteArrayInputStream.cpp for Ruslan.
git-svn-id: svn://10.0.0.236/trunk@63676 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:33:12 +00:00
mjudge%netscape.com
c7f7d6d46f r=jfrancis. small change to stop the editor from scrolling window when it DOESNT handle a key event
git-svn-id: svn://10.0.0.236/trunk@63675 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:30:16 +00:00
hyatt%netscape.com
6cd0e93bd6 Implemented chrome installation APIs.
git-svn-id: svn://10.0.0.236/trunk@63674 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:30:04 +00:00
law%netscape.com
4196cd6f6a Fix, hehe, for bug 32352. I worked hard to write the code that way, darn it.
git-svn-id: svn://10.0.0.236/trunk@63673 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:27:11 +00:00
rginda%netscape.com
ab0c37f2d5 Fixed lame speeling erras
git-svn-id: svn://10.0.0.236/trunk@63672 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:25:37 +00:00
jst%netscape.com
90ebc6a542 Reducing the size of text nodes by 4 bytes per node. r=troy
git-svn-id: svn://10.0.0.236/trunk@63671 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:23:42 +00:00
waldemar%netscape.com
1371ded278 Made ifdef _WIN32 uniform
git-svn-id: svn://10.0.0.236/trunk@63670 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:52:06 +00:00
ruslan%netscape.com
fcb56ad562 Add ByteArrayInoutStream. Not part of the build yet
git-svn-id: svn://10.0.0.236/trunk@63669 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:48:48 +00:00
mcafee%netscape.com
39e009be59 Scoping some function names. Reporting utilsversion now.
git-svn-id: svn://10.0.0.236/trunk@63668 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:45:13 +00:00
mcafee%netscape.com
10c21f251a Was stomping on version variable
git-svn-id: svn://10.0.0.236/trunk@63667 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:43:43 +00:00
nhotta%netscape.com
f72a4759a1 Removed headers and contants for locale factory, bug 11880, r=putterman.
git-svn-id: svn://10.0.0.236/trunk@63666 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:39:26 +00:00
bryner%uiuc.edu
39e40a3b97 Clean up the mousewheel prefs so that the Boxes and Springs are the same
for each option in the dropdown box, and the text doesn't jump around when
you change it.  r=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@63665 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:38:02 +00:00
mcafee%netscape.com
80b0a1b7b6 Moving bulk of subroutines to util script, build-seamonkey will be a wrapper now. r=slamm
git-svn-id: svn://10.0.0.236/trunk@63663 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:18:06 +00:00
jfrancis%netscape.com
75167692eb renaming nsRangeList.cpp to nsSelection.cpp.
r = cmanske


git-svn-id: svn://10.0.0.236/trunk@63662 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:06:44 +00:00
mwelch%netscape.com
7b6dce0667 Applied client lib changes from PSM101Mac_BRANCH on commercial tree
git-svn-id: svn://10.0.0.236/trunk@63661 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 00:03:36 +00:00
cmanske%netscape.com
4c4c8e8cf0 Cleaning up selection: changed 'RangeList' to 'Selection', thus changing implementation class of nsIDOMSelection and nsIFrameSelection to nsSelection. File nsRangeList.cpp replaced with new nsSelection.cpp
git-svn-id: svn://10.0.0.236/trunk@63660 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:58:02 +00:00
robodan%netscape.com
47b788417e Initial open source checkin of the mstone performance tool
git-svn-id: svn://10.0.0.236/trunk@63658 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:43:31 +00:00
locka%iol.ie
0c4e433840 Remove ActiveX entry
git-svn-id: svn://10.0.0.236/trunk@63657 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:38:35 +00:00
law%netscape.com
cacadcb27e Fix for bug 30901. Set initial content to blanks.
git-svn-id: svn://10.0.0.236/trunk@63656 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:38:16 +00:00
locka%iol.ie
9304b71258 Removed
git-svn-id: svn://10.0.0.236/trunk@63655 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:32:42 +00:00
mwelch%netscape.com
fa53d002d0 Applied changes from M14 branch
git-svn-id: svn://10.0.0.236/trunk@63654 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:31:45 +00:00
waqar%netscape.com
bbb58ca1fa #=25493
d=Added the notify when the mouse comes back into the window.


git-svn-id: svn://10.0.0.236/trunk@63653 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:30:32 +00:00
locka%iol.ie
567de02380 Removed
git-svn-id: svn://10.0.0.236/trunk@63652 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:20:14 +00:00
locka%iol.ie
715fb9dff4 Removed
git-svn-id: svn://10.0.0.236/trunk@63651 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:18:05 +00:00
norris%netscape.com
2018e8127d Fix
28387 nBookmarking javascript: URLs is dangerous
32343 Components object appears to be accessible via javascript: u
31707 Crash when logging into hotoffice.com
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@63650 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:16:55 +00:00
norris%netscape.com
be61bd35ae Fix 32595 BAD: browser crashed on links.
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@63649 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:14:29 +00:00
norris%netscape.com
938b04adf8 Fix 31998 nsScriptSecurityManager not thread safe breaks table regress
git-svn-id: svn://10.0.0.236/trunk@63648 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:12:16 +00:00
norris%netscape.com
a012aa82bb Fix 32585 chrome/caps are missing from the packages files
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@63647 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:11:05 +00:00
locka%iol.ie
10e234ecff Removed
git-svn-id: svn://10.0.0.236/trunk@63646 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:10:32 +00:00
mwelch%netscape.com
56beb52d71 removed Makefiles
git-svn-id: svn://10.0.0.236/trunk@63645 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:03:18 +00:00
mwelch%netscape.com
cfe8d25785 removed Makefile
git-svn-id: svn://10.0.0.236/trunk@63644 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:02:14 +00:00
law%netscape.com
7e1914e5a3 Fix for bug 29216. Add <keyset> so global keyset overlay applies
git-svn-id: svn://10.0.0.236/trunk@63643 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:01:35 +00:00
bienvenu%netscape.com
d3a20c6971 work on mime parts on demand, r=mscott 17794
git-svn-id: svn://10.0.0.236/trunk@63642 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:57:41 +00:00
law%netscape.com
5eeb03c1b1 Fix for bug 28588. Add <keyset> so global keyset overlay applies
git-svn-id: svn://10.0.0.236/trunk@63641 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:57:20 +00:00
locka%iol.ie
295477a2b1 Removed
git-svn-id: svn://10.0.0.236/trunk@63640 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:55:32 +00:00
robinf%netscape.com
a3e5db59a5 replacing old install instructions with mozilla instructions
git-svn-id: svn://10.0.0.236/trunk@63639 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:51:36 +00:00
nhotta%netscape.com
0a6258d937 Fixing unix bustage.
git-svn-id: svn://10.0.0.236/trunk@63638 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:48:54 +00:00
law%netscape.com
a61b13d03d Fix for bug 29775. Permit customized splash screen .bmp's
git-svn-id: svn://10.0.0.236/trunk@63637 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:46:50 +00:00
law%netscape.com
d6f5fd7585 Fix for bug 31422. Unescape file name when suggesting saveas file name.
git-svn-id: svn://10.0.0.236/trunk@63636 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:44:08 +00:00
nhotta%netscape.com
c9e02358c5 Changed to use locale service instead of locale factory, bug 11880, r=tao.
git-svn-id: svn://10.0.0.236/trunk@63635 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:43:40 +00:00
locka%iol.ie
cbc1e28355 Tests folder moved
git-svn-id: svn://10.0.0.236/trunk@63634 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:40:48 +00:00
valeski%netscape.com
36b71dc717 r=jst. 30067. we now expose OSCPU, vendor and product attributes of the user agent string through the JS navigator object.
git-svn-id: svn://10.0.0.236/trunk@63633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:39:54 +00:00
valeski%netscape.com
3a3f0910f6 r=jst. 30067. OSCPU User agent attrib is now exposed.
git-svn-id: svn://10.0.0.236/trunk@63632 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:38:40 +00:00
locka%iol.ie
1a03c21ebc Moved from webshell/embed/ActiveX
git-svn-id: svn://10.0.0.236/trunk@63631 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:35:48 +00:00
mwelch%netscape.com
779bc50404 Added EXTRA_DSO_LDOPTS to enable linking on VMS - adapted from changes by Colin Blake <colin@theblakes.net>
git-svn-id: svn://10.0.0.236/trunk@63630 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:34:56 +00:00
locka%iol.ie
2fe2d65f55 Moved from webshell/embed/ActiveX
git-svn-id: svn://10.0.0.236/trunk@63629 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:22:47 +00:00
locka%iol.ie
b8e31941f7 Updated source with changes from old activex control folder
git-svn-id: svn://10.0.0.236/trunk@63628 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:15:35 +00:00
kmcclusk%netscape.com
18c580bc5b Added support for crosshair, move, and help cursors b=1916 r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63626 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:06:29 +00:00
valeski%netscape.com
7feb262936 18007 partial. removing extraneous assertion and removing OnStartRequest callback firing. We don't want to fire OnStartRequests() if there was an error.
git-svn-id: svn://10.0.0.236/trunk@63625 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:01:52 +00:00
rods%netscape.com
3d09c3f0f1 Added releases and asserts for cleaning up viewer when it shutsdown.
b=32448 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63623 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:56:59 +00:00
sfraser%netscape.com
35b619dcfb Move StPixelLocker into nsGfxUtils.h, and added some code so that transparent images print properly. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@63622 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:54:08 +00:00
leaf%mozilla.org
62fd4f3cd1 adding newline to end of file to fix workshop compiler. r=granrose
git-svn-id: svn://10.0.0.236/trunk@63621 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:51:55 +00:00
kmcclusk%netscape.com
e92c7a3168 Initialize the result value in nsViewManager::SetFrameRate b=32381 r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63620 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:47:50 +00:00
ssu%netscape.com
2816ad1409 fixing bugs:
31157
21575
27298
27578
27581
27582
27583
27589
27590
28537
28538
28539
28750
30436
29169
27579

windows platform only

r=sgehani


git-svn-id: svn://10.0.0.236/trunk@63619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:43:22 +00:00
sfraser%netscape.com
f572ed437c Use StPortSetter from the nsGfxUtils.h header. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63618 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:43:13 +00:00
sfraser%netscape.com
f756f64f68 Tweak our call frequency of WaitNextEvent for performance, and fix a bug in mouse moved handling that caused bad refreshes. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63617 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:41:05 +00:00
rods%netscape.com
0dc31886a5 the previous var wasn't being set so it went down the wrong code path when adjusting
the child list for creating the fieldset.
b=27151 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63616 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:40:23 +00:00
sfraser%netscape.com
59a43ebc4a Minor mouse move event handling cleanup. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63615 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:39:13 +00:00
sfraser%netscape.com
03e38ac256 Work in progress for bug 17369 (not activated yet).
git-svn-id: svn://10.0.0.236/trunk@63614 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:38:10 +00:00
sfraser%netscape.com
e2a8691944 Remove an extraneous char* from mac widgets in non-debug builds. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63613 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:36:33 +00:00
nhotta%netscape.com
8fb171e224 Replaced malloc by local buffer for charset conversion, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@63612 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:26:52 +00:00
leaf%mozilla.org
1bd20db9ee Automated update
git-svn-id: svn://10.0.0.236/trunk@63611 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:15:28 +00:00
rogerl%netscape.com
1c26f895cf r=rginda
bug #31316, screwed up match array contents for | operator.


git-svn-id: svn://10.0.0.236/trunk@63610 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:11:19 +00:00
slamm%netscape.com
73eca453b3 Silly little comment change.
git-svn-id: svn://10.0.0.236/trunk@63609 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:09:33 +00:00
slamm%netscape.com
9a44e087b9 Output options from mozconfig.
git-svn-id: svn://10.0.0.236/trunk@63608 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:09:11 +00:00
slamm%netscape.com
4295a1be94 Output options from mozconfig. Rework checkout.
git-svn-id: svn://10.0.0.236/trunk@63607 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:08:35 +00:00
slamm%netscape.com
79b2fc754f Clean up detect-webshell-leaks option.
git-svn-id: svn://10.0.0.236/trunk@63606 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:05:13 +00:00
ftang%netscape.com
a170448c56 add assertion code for data lostage. r/a=rickg
git-svn-id: svn://10.0.0.236/trunk@63605 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:04:50 +00:00
ftang%netscape.com
cbeb518f09 add assertion code to catch data lostage. r=jband
git-svn-id: svn://10.0.0.236/trunk@63604 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:02:18 +00:00
brade%netscape.com
2fcbb3d484 add an error check to reduce output to console; comment out an alert; uncomment insertion to reproduce bug; add a dump line
git-svn-id: svn://10.0.0.236/trunk@63603 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 20:55:56 +00:00
brade%netscape.com
09020054b2 image map entity
git-svn-id: svn://10.0.0.236/trunk@63602 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 20:54:31 +00:00
brade%netscape.com
52833bcc28 put image map editor files into proper locations
git-svn-id: svn://10.0.0.236/trunk@63601 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 20:53:52 +00:00
brade%netscape.com
b878e40ce3 missing checkin from earlier today; more image map stuff from Dan Haddix
git-svn-id: svn://10.0.0.236/trunk@63600 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 20:53:15 +00:00
edburns%acm.org
8643eb4ce2 r=ashuk
a=edburns
bug=32011
This change enables the current webclient API to be called from native
code.

It adds makefile and conditional compilation logic.

If the user defines BAL_INTERFACE in their environment before building
webclient, -DBAL_INTERFACE is added to LCFLAGS.  This causes code in
jni_util_export.cpp to behave differently due to the conditional
compilation logic.

I've broken out the 8 functions that are necessary to call into the
Webclient JNI methods into jni_util_export.{h,cpp}.

I've created a new pair of files, bal_util.{h,cpp} that contain function
declarations and definitions that are used when src_moz is built with
BAL_INTERFACE.  bal_util.obj is not built, nor added to webclient.dll if
building without BAL_INTERFACE.

See the page
http://www.mozilla.org/projects/blackwood/webclient/design/uno-transition.html
for a design document description of these changes.


git-svn-id: svn://10.0.0.236/trunk@63599 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 19:27:13 +00:00
terry%mozilla.org
3c786fb189 Patch by "Matt Masson" <matthew@zeroknowledge.com> -- allow definition
of different target milestones by product.


git-svn-id: svn://10.0.0.236/trunk@63597 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 16:47:06 +00:00
rods%netscape.com
210bd09a52 turned off ifdef for drag support
fix build bustage


git-svn-id: svn://10.0.0.236/trunk@63596 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 16:00:58 +00:00
mkaply%us.ibm.com
0c7a6dba2f # 24199
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser


git-svn-id: svn://10.0.0.236/trunk@63595 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:51:59 +00:00
pollmann%netscape.com
46590e39b1 Bug 31852: Empty string value for multipart form submission now submits, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63594 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:48:07 +00:00
pollmann%netscape.com
191038a9c7 Bug 28143: Set selectedIndex to -1 should deselect all options (2 of 2 - when frame does not exist) r=waqar
git-svn-id: svn://10.0.0.236/trunk@63593 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:46:43 +00:00
cmanske%netscape.com
c17820c113 Turned off debug output for table selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63592 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:40:34 +00:00
rods%netscape.com
5799eb1281 started to add drag selection support. This class is not being used yet.
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63591 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:24:22 +00:00
rods%netscape.com
5348db8337 now handling the incremental reflow better for options
when one more options have no label or content the height is zero, so we
now go get the first frame calculate a height based on the font metrics
r=dcone b=32383


git-svn-id: svn://10.0.0.236/trunk@63590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:22:53 +00:00
rods%netscape.com
30fec46b94 Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63589 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:19:40 +00:00
rods%netscape.com
5ef540aa99 Added static method for getting the absolute rect in twips and pixels
moved from nsComboboxControlFrame.cpp
r=dcone b=18895


git-svn-id: svn://10.0.0.236/trunk@63588 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:18:07 +00:00
brade%netscape.com
8abff6d9ea possible spacer fixes for bug #12514
git-svn-id: svn://10.0.0.236/trunk@63587 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:11:43 +00:00
brade%netscape.com
35092829c6 fix bug #25779; alternate cut/copy/paste keybindings for Windows and Linux
git-svn-id: svn://10.0.0.236/trunk@63586 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 14:47:24 +00:00
brade%netscape.com
f1649d72c8 fix bugs 28313 and 25779; alternate key bindings for cut/copy/paste and shift-word-select in textarea (wrong command)
git-svn-id: svn://10.0.0.236/trunk@63585 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 14:44:10 +00:00
terry%mozilla.org
77b2c9fc99 Clear the shadow log when doing a full sync; the data isn't good for
anything anyway.


git-svn-id: svn://10.0.0.236/trunk@63584 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 14:39:23 +00:00
svn%xmlterm.org
bc1e33c0b7 xmlterm changes only;
UI changes. If user has started typing in a new command, double-clicking a filename copies the filename to the cursor position, rather than opening/executing the file.


git-svn-id: svn://10.0.0.236/trunk@63583 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 14:26:59 +00:00
brade%netscape.com
4f3cf73728 fix for #25456; add keybindings for shift-home and shift-end
git-svn-id: svn://10.0.0.236/trunk@63582 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 14:26:08 +00:00
svn%xmlterm.org
31502c57bf xmlterm changes only
Fixed typos in ltermManager.c (Thanks to Jerry.Kirk@nexwarecorp.com)


git-svn-id: svn://10.0.0.236/trunk@63581 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 14:23:01 +00:00
sford3%swbell.net
8f973778e6 More prep work for wallet reorg
git-svn-id: svn://10.0.0.236/trunk@63580 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 14:18:41 +00:00
hyatt%netscape.com
f74659b698 Marking my territory.
git-svn-id: svn://10.0.0.236/trunk@63579 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 13:24:48 +00:00
hyatt%netscape.com
2eea7163c1 Marking my territory. ;)
git-svn-id: svn://10.0.0.236/trunk@63578 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 13:15:24 +00:00
hyatt%netscape.com
2aa21dfc54 Adding licenses to XBL files.
git-svn-id: svn://10.0.0.236/trunk@63577 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 13:14:34 +00:00
hyatt%netscape.com
be938b9f54 removed files: mozilla/rdf/chrome/public/nsIChromeEntry.idl
git-svn-id: svn://10.0.0.236/trunk@63576 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:55:53 +00:00
brade%netscape.com
0a8183cbbc add image map resources to editor chrome folder
git-svn-id: svn://10.0.0.236/trunk@63575 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:55:08 +00:00
brade%netscape.com
edda96567b put image map resources in editor chrome directory
git-svn-id: svn://10.0.0.236/trunk@63574 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:54:06 +00:00
brade%netscape.com
2d39335447 put image map resources in Chrome directory
git-svn-id: svn://10.0.0.236/trunk@63573 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:53:20 +00:00
brade%netscape.com
fb9a6ccac8 latest changes to image map editor (submitted by Dan Haddix; dan6992@hotmail.com)
git-svn-id: svn://10.0.0.236/trunk@63572 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:52:05 +00:00
hyatt%netscape.com
7e519d5539 removed files: mozilla/rdf/chrome/src/nsChromeEntry.cpp
git-svn-id: svn://10.0.0.236/trunk@63571 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:50:25 +00:00
brade%netscape.com
fdecaeb193 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@63570 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:49:23 +00:00
hyatt%netscape.com
d8ac2ec504 Patching my hideous chrome registry leaks.
git-svn-id: svn://10.0.0.236/trunk@63569 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:43:25 +00:00
jst%netscape.com
daf83bdd00 Fixing the remaining part of #12559. r=gagan
git-svn-id: svn://10.0.0.236/trunk@63568 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:22:07 +00:00
hyatt%netscape.com
fdca415176 Having to move gUAStyleSheet back into nsLayoutModule to reduce leak. Static nsCOMPtrs
just don't cut it, since they don't get released until after leaky runs.  This isn't
really a leak, but oh well.


git-svn-id: svn://10.0.0.236/trunk@63567 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:14:29 +00:00
hyatt%netscape.com
f91eecfc31 added files: mozilla/rdf/chrome/src/nsChromeUIDataSource.cpp
git-svn-id: svn://10.0.0.236/trunk@63566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:00:30 +00:00
hyatt%netscape.com
a7e76cba1e Adding support for UI display of installed skins and locales.
git-svn-id: svn://10.0.0.236/trunk@63565 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 11:57:39 +00:00
hyatt%netscape.com
1c55624db7 Adding per package skin/locale-switching capabilities.
git-svn-id: svn://10.0.0.236/trunk@63564 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 11:01:58 +00:00
hyatt%netscape.com
31b2daed5b Stubbing out the installation/uninstallation APIs for the chrome registry.
git-svn-id: svn://10.0.0.236/trunk@63563 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 10:49:21 +00:00
hyatt%netscape.com
bbea40757c Landing the new chrome registry with skin/locale switching support.
git-svn-id: svn://10.0.0.236/trunk@63562 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 10:42:22 +00:00
hyatt%netscape.com
456b4926a3 Breaking chrome registry cycle. r=troy,pierre
git-svn-id: svn://10.0.0.236/trunk@63561 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 10:34:56 +00:00
law%netscape.com
ee9743eaa0 Fix for bug 32407; transfer data from proper spot in input buffer when a portion is used to fill prior file buffer. r=dougt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63560 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 08:47:43 +00:00
rjc%netscape.com
9dce5cdd41 Part of fix for bug # 18604: use [XUL] <checkbox> and ".checked".
git-svn-id: svn://10.0.0.236/trunk@63559 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 08:30:19 +00:00
pavlov%netscape.com
663b81fdc9 use nsIFile instead of nsIFileSpec
git-svn-id: svn://10.0.0.236/trunk@63558 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 07:03:34 +00:00
mscott%netscape.com
ca5f471f8c Bug #30790 --> regiser browser window to be the default content handler
for other content types besides text/html.
no reviewer due to the trivial nature of the change.


git-svn-id: svn://10.0.0.236/trunk@63557 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:38:26 +00:00
mscott%netscape.com
5e84210ede Bug #12505 --> implement get/set load attributes. I needed to refactor load group management
and useage in this class. Our underlying socket or file transport wasn't getting the right
load group. And we weren't passing the right load group out on on start / on stop requests.
r=rhp


git-svn-id: svn://10.0.0.236/trunk@63556 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:26:03 +00:00
mscott%netscape.com
6db4c21183 Bug #32008 --> add a requiresPassword method which we can use to
prevent us from always asking the user for a password whenever
 we need to logon to an external service.
Bug #32408 --> don't clear out the password for the server
when using redirection.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@63555 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:13:01 +00:00
mscott%netscape.com
b4054fc6e1 Bug #32008 --> add a requiresPassword method which we can use to
prevent us from always asking the user for a password whenever
 we need to logon to an external service.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@63554 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:11:51 +00:00
dougt%netscape.com
94ceaa6e02 removing manual confirmation check box, bug:16825
git-svn-id: svn://10.0.0.236/trunk@63553 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:11:24 +00:00
mscott%netscape.com
e4611a109d Bug #32008 --> add a requiresPassword method which we can use to
prevent us from always asking the user for a password whenever
we need to logon to an external service.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@63552 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:10:14 +00:00
cmanske%netscape.com
f86529f366 Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63551 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:05:24 +00:00
cmanske%netscape.com
9c9491d705 Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63550 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:04:02 +00:00
dougt%netscape.com
c6ffe5be9e Adding timebomb chrome resource to package list. bug 32585. This was
already reviewed for the commercail tree a while ago.


git-svn-id: svn://10.0.0.236/trunk@63549 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 05:44:05 +00:00
jj%netscape.com
4936231e96 . renamed -url file "Mozilla Installer" to "Mozilla Profile Migration". landing fix for #29816 from the beta1_BRANCH.
. removed obsolete viewsource.js and viewsource.xul


git-svn-id: svn://10.0.0.236/trunk@63548 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:53:24 +00:00
jj%netscape.com
32e24c9a6b renamed -url file "Mozilla Installer" to "Mozilla Profile Migration". landing fix for #29816 from the beta1_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@63547 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:53:03 +00:00
rickg%netscape.com
871500c5fb removed call to deprecated string method
git-svn-id: svn://10.0.0.236/trunk@63546 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:32:44 +00:00
norris%netscape.com
a00bfe3af3 Added signed script support to Mozilla. r=norris. (This is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63545 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:26:46 +00:00
mstoltz%netscape.com
8247c131cf removed files: mozilla/modules/libjar/nsJARStubs.cpp
git-svn-id: svn://10.0.0.236/trunk@63544 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:23:39 +00:00
norris%netscape.com
d39122eaa9 Added signed script support in Mozilla. bug=7270 r=norris (this is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63543 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:21:28 +00:00
norris%netscape.com
93ee43a3b2 added updatePrincipal function to nsDocument. r=norris (this is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63542 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:20:04 +00:00
norris%netscape.com
dfa2be9fb0 Added aggregate principal support. r=norris. (This is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63541 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:17:37 +00:00
norris%netscape.com
2d16b139c1 Stream loader now saves principals from channel; needed for signed scripts. r=norris
(this is mstoltz's checkin)


git-svn-id: svn://10.0.0.236/trunk@63540 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:16:03 +00:00
norris%netscape.com
17c637de9c Added intersection of principals when multiple scripts are encountered. r=norris
(this is mstoltz's checkin)


git-svn-id: svn://10.0.0.236/trunk@63539 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:12:56 +00:00
norris%netscape.com
304b246cd7 Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris
git-svn-id: svn://10.0.0.236/trunk@63538 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:09:58 +00:00
mstoltz%netscape.com
a19b3f04d7 added files: mozilla/caps/idl/nsIAggregatePrincipal.idl
git-svn-id: svn://10.0.0.236/trunk@63537 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:06:47 +00:00
mstoltz%netscape.com
0949b8480e added files: mozilla/caps/src/nsAggregatePrincipal.cpp
git-svn-id: svn://10.0.0.236/trunk@63536 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:06:33 +00:00
norris%netscape.com
fd6ba38987 Adding nsAggregatePrincipal support. r=norris
git-svn-id: svn://10.0.0.236/trunk@63535 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:05:35 +00:00
danm%netscape.com
a7a75e6247 clean up window style code. code by roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@63534 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:42:00 +00:00
danm%netscape.com
fe4224121c specify no min/max buttons for resizeable dialogs. bug 7372. code by roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@63532 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:38:24 +00:00
nisheeth%netscape.com
d16423e5ac r=pollmann. Bug 10847. Moved the webshell leak detection code to the end of the main() function.
git-svn-id: svn://10.0.0.236/trunk@63531 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:31:20 +00:00
bienvenu%netscape.com
265a8fe58e fix problem remembering folder flags r=mscott 32007
git-svn-id: svn://10.0.0.236/trunk@63530 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:28:03 +00:00
nisheeth%netscape.com
9317eafd78 r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document.
git-svn-id: svn://10.0.0.236/trunk@63529 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:25:16 +00:00
sspitzer%netscape.com
fffdd002e3 not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@63528 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:16:39 +00:00
sfraser%netscape.com
1e93fc82f0 I am such a poop head. Need to comment out just one more line.
git-svn-id: svn://10.0.0.236/trunk@63527 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:14:25 +00:00
srinivas%netscape.com
7db04928fa Fixed PR_Poll to call select, instead of poll, on HPUX and OSF1 platforms.
Bug 153459.


git-svn-id: svn://10.0.0.236/trunk@63526 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 02:57:55 +00:00
mcafee%netscape.com
c4d125ce10 Moving default values to tinder-defaults.pl, shortening package name to TinderUtils.
git-svn-id: svn://10.0.0.236/trunk@63525 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 02:52:34 +00:00
sfraser%netscape.com
1295355d58 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@63524 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 02:45:38 +00:00
sfraser%netscape.com
e9ad5c6159 Fix the build -- we're not quite ready for building PSM on Mac yet.
git-svn-id: svn://10.0.0.236/trunk@63523 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 02:42:59 +00:00
hyatt%netscape.com
fc694d48d6 Fix for bug #32587.
git-svn-id: svn://10.0.0.236/trunk@63522 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 02:05:15 +00:00
waqar%netscape.com
6f2ba32ac7 #=25493
r=pollmann@netscape.com
d=Toolbar elements stay hilited after the mouse has left the window.


git-svn-id: svn://10.0.0.236/trunk@63521 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:45:27 +00:00
ruslan%netscape.com
fc583448ec Make reuseCount to be PRUint32
git-svn-id: svn://10.0.0.236/trunk@63520 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:43:41 +00:00
waqar%netscape.com
beb37045dd r=pollmann@netscape.com
#=1248
d=Rendering of images on slow connections. The code was submitted by
adam@gimp.org. I reviewed it and tested it.


git-svn-id: svn://10.0.0.236/trunk@63519 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:43:24 +00:00
pnunn%netscape.com
6a30ab69bc bug#32377. fix leak, handle error. r:bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@63518 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:39:42 +00:00
sfraser%netscape.com
8522336ba5 Fix for 31669: get the right PSMTaskMenu.xul on Mac. Also start building the PSM glue code on Mac. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@63517 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:36:30 +00:00
ruslan%netscape.com
f0dfec4018 Never recycle the socket transport if the server responded with Connection: close
git-svn-id: svn://10.0.0.236/trunk@63516 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:36:18 +00:00
sfraser%netscape.com
f5243ef44d Fix for 31669: get the right PSMTaskMenu.xul on Mac. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@63515 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:34:23 +00:00
pinkerton%netscape.com
636acbf636 caching screen objects to avoid repeated memory allocations. r=saari.
git-svn-id: svn://10.0.0.236/trunk@63514 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:34:02 +00:00
ruslan%netscape.com
bb418e190d Add reuseCount attribute on nsSocketTransport. Misc code cleanup.
git-svn-id: svn://10.0.0.236/trunk@63512 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:29:49 +00:00
jst%netscape.com
d639a6b9e5 Remove the last virtual fuctions from nsGenericElement, this reduces the size of most element nodes in mozilla by 4 bytes. r=troy@netscape.com,bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@63511 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:29:01 +00:00
bienvenu%netscape.com
c907c41044 fix problem with selection after deleting from trash or delete no trash, r=jefft 32402
git-svn-id: svn://10.0.0.236/trunk@63510 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:28:59 +00:00
idk%eng.sun.com
7e97a9a53e Fixed build problems.
Changed char*const* to const char *const* in some places.


git-svn-id: svn://10.0.0.236/trunk@63508 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:10:35 +00:00
mscott%netscape.com
27c3a53d86 Fix solaris breakage from this weekend. Tinderbox has been showing green even though it was broken. Thanks to bruce for
pointing that out.
r=bruce


git-svn-id: svn://10.0.0.236/trunk@63507 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:06:29 +00:00
sspitzer%netscape.com
d23d22e2b2 not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@63506 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:03:25 +00:00
saari%netscape.com
ec7629c39d Null checking for saftey in some of the focus code. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@63505 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 00:47:19 +00:00
sspitzer%netscape.com
c93415dafe not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@63504 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 00:36:39 +00:00
sford3%swbell.net
748326eaa9 Prep work for wallet reorg
git-svn-id: svn://10.0.0.236/trunk@63503 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 00:06:35 +00:00
locka%iol.ie
ccc6160631 Relocated ActiveX control test source
git-svn-id: svn://10.0.0.236/trunk@63502 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 00:05:33 +00:00
sford3%swbell.net
857dbbc5aa Prepatory work on wallet reorg
git-svn-id: svn://10.0.0.236/trunk@63500 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 00:00:02 +00:00
nhotta%netscape.com
ae0c89be06 Removed headers and constants for nsFactory, bug 11880, r=rjc.
git-svn-id: svn://10.0.0.236/trunk@63499 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:58:40 +00:00
ben%netscape.com
1a04fad712 adding modality pref for prefwindow, r=akkana
git-svn-id: svn://10.0.0.236/trunk@63498 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:58:39 +00:00
sford3%swbell.net
6b05b3cdda Prepatory work for reorganizing wallet
git-svn-id: svn://10.0.0.236/trunk@63497 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:57:42 +00:00
buster%netscape.com
4b5799a85f bug 32238 (UMR in inline reflow context)
all I did was initialize the members of a struct in the constructor
r=troy


git-svn-id: svn://10.0.0.236/trunk@63496 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:47:01 +00:00
jefft%netscape.com
f729b6d30d merge in beta1 fix for bug 32054; r=mscott
git-svn-id: svn://10.0.0.236/trunk@63495 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:46:52 +00:00
pollmann%netscape.com
d5fd8b4694 Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar
git-svn-id: svn://10.0.0.236/trunk@63494 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:43:07 +00:00
karnaze%netscape.com
ef33586f26 bug 28071 - added Use DTD compatibility mode to viewer. layout uses single mechanism for determining compatibility mode. r=rods.
git-svn-id: svn://10.0.0.236/trunk@63493 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:39:22 +00:00
pollmann%netscape.com
f3f1b0967d Bug 31482: Stray commas in ROW or COL attribute no longer cause framesets to not display, r=waqar
git-svn-id: svn://10.0.0.236/trunk@63492 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:33:03 +00:00
pnunn%netscape.com
fcaa168617 bug#32378. fix memleak. r:bruce@cybersight.com.
git-svn-id: svn://10.0.0.236/trunk@63491 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:30:26 +00:00
pnunn%netscape.com
b77a0092b0 No bug#. Changes so generic factory code is used. r: pavlov
git-svn-id: svn://10.0.0.236/trunk@63490 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:29:21 +00:00
sfraser%netscape.com
c7db5c436c Fix a missing break in the menu bar click code. No bug, r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63489 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:20:12 +00:00
morse%netscape.com
08e2ef909b fix bug 32459, remove blockimage from menu if not pointing at a menu
git-svn-id: svn://10.0.0.236/trunk@63488 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:17:08 +00:00
pollmann%netscape.com
261a55a1c8 Bug 27951: Re-enable set text "" and Reset for inputs/textareas. This fix coutesy of jfrancis r=self, waqar
git-svn-id: svn://10.0.0.236/trunk@63487 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:15:06 +00:00
dcone%netscape.com
5642501713 Added some menu items. r=rods
git-svn-id: svn://10.0.0.236/trunk@63486 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:13:59 +00:00
akkana%netscape.com
ebe5e797da 30311: add a plain-vs-html flag to InsertAsCitedQuotation. r=rhp
git-svn-id: svn://10.0.0.236/trunk@63485 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:13:25 +00:00
dcone%netscape.com
583933ee4a added some menu items for debugging. r=rods
git-svn-id: svn://10.0.0.236/trunk@63484 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:13:00 +00:00
troy%netscape.com
aced343c0e b=32301 r=buster@netscape.com Changed DeleteChildsNextInFlow() to also
check the frame's overflow list


git-svn-id: svn://10.0.0.236/trunk@63483 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:11:39 +00:00
nhotta%netscape.com
42f3cc729e Removed obsolete prefs from all.js, bug 28854, r=cata.
git-svn-id: svn://10.0.0.236/trunk@63482 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:11:18 +00:00
pollmann%netscape.com
a115330a77 Add frameset regression tests. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@63481 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:05:34 +00:00
pollmann%netscape.com
54b30300fd Add frameset regression tests for unix platforms. Not part of any build.
git-svn-id: svn://10.0.0.236/trunk@63480 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:56:18 +00:00
pollmann%netscape.com
a7068c6c76 Fix table regression tests for unix platforms(s: -> s|) Not part of any build.
git-svn-id: svn://10.0.0.236/trunk@63479 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:53:26 +00:00
rhp%netscape.com
bf9cba45c8 Fix for view source URL problem - Bug #30459
git-svn-id: svn://10.0.0.236/trunk@63478 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:52:51 +00:00
nhotta%netscape.com
96e608f403 Changed to use nsILocaleService instead of nsLocaleFactory, bug 18338, r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@63477 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:50:55 +00:00
attinasi%netscape.com
ade61276ef Fixed error in SelectorMatches where anchor tags with no href were being treated as links in some cases. b=23209 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@63476 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:49:42 +00:00
nhotta%netscape.com
27150a7d9b Changed to use nsILocaleService instead of nsLocaleFactory, bug 18338, r=rjc.
git-svn-id: svn://10.0.0.236/trunk@63475 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:48:39 +00:00
nhotta%netscape.com
7f75428039 Initialize a buffer before calling the MIME decoder, bug 32013, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@63474 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:42:40 +00:00
pavlov%netscape.com
6e2657c80d fix for 32534, 32243. most of the work done for 20901 -- waiting for dependancy to finish.
git-svn-id: svn://10.0.0.236/trunk@63473 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:39:57 +00:00
rjc%netscape.com
06d629161c Fix bug # 32546: MLKs in search service. Found by bruce@cybersight.com.
git-svn-id: svn://10.0.0.236/trunk@63472 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:39:24 +00:00
sspitzer%netscape.com
f33d9bcf53 not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@63471 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:21:08 +00:00
slamm%netscape.com
908a9f11cd Report "busted" if the build command (i.e. gmake -f client.mk) fails. Previously we only checked to see if the binary existed when the build command finished. However, now some modules are built after the binary is created.
git-svn-id: svn://10.0.0.236/trunk@63470 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 21:18:38 +00:00
despotdaemon%netscape.com
2b86a5133b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@63469 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 20:32:26 +00:00
terry%mozilla.org
18a9dd200b Make the syncing process low priority, so that we won't hang up
shadowdb operations.


git-svn-id: svn://10.0.0.236/trunk@63467 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 19:25:56 +00:00
bienvenu%netscape.com
39798b7242 fix 32508 reply all bug with multiple imap recipients r=rhp, a=leaf
git-svn-id: svn://10.0.0.236/trunk@63466 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 19:15:24 +00:00
slamm%netscape.com
a5847decdf Remove the branch option and change SeaMonkeyEditor to SeamaMonkeyAll
git-svn-id: svn://10.0.0.236/trunk@63465 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 18:59:10 +00:00
terry%mozilla.org
001d319b8f Make it so that we can (hopefully!) rebuild the shadow db without
busting other people trying to use the system.


git-svn-id: svn://10.0.0.236/trunk@63464 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 18:48:59 +00:00
morse%netscape.com
c62bb3e4a4 backout last checkin since it was breaking other platforms
git-svn-id: svn://10.0.0.236/trunk@63463 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 18:44:06 +00:00
dcone%netscape.com
ce8becf019 Added a new interface for the tiling of backgrounds. r=rods
git-svn-id: svn://10.0.0.236/trunk@63462 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 15:53:17 +00:00
rods%netscape.com
f1fa39e7cf Added the ability to set a particular index in the Tests Sites Dialog
in case you need to start over.
r=dcone


git-svn-id: svn://10.0.0.236/trunk@63461 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 15:46:03 +00:00
brade%netscape.com
ca46902629 fix memory leaks in GetString functions; written by sfraser; built by jst and brade
git-svn-id: svn://10.0.0.236/trunk@63460 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 15:44:32 +00:00
jst%netscape.com
33e1ca7b34 Checking in patch from jband@netscape.com that makes it possible to build on Win98 again. r=me
git-svn-id: svn://10.0.0.236/trunk@63459 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 14:12:57 +00:00
Jerry.Kirk%Nexwarecorp.com
ff5fe9c747 Fix numeric keypad for Photon. Previous fix caused the main enter key
not to work. PHOTON ONLY.


git-svn-id: svn://10.0.0.236/trunk@63458 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 14:12:33 +00:00
rjc%netscape.com
c4fbb3db2d Add support for #IEFavoriteFolder
git-svn-id: svn://10.0.0.236/trunk@63457 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 07:58:30 +00:00
rjc%netscape.com
372b885e48 Add CSS for support of #IEFavoritesFolder
git-svn-id: svn://10.0.0.236/trunk@63456 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 07:57:00 +00:00
rjc%netscape.com
794459d7ab Stronger implementation of isBookmarked() method.
git-svn-id: svn://10.0.0.236/trunk@63455 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 02:03:17 +00:00
bienvenu%netscape.com
119f0123c6 add support for envelope command 23181 and other bug fixes 27145 31913 r=mscott
git-svn-id: svn://10.0.0.236/trunk@63454 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 01:29:13 +00:00
rjc%netscape.com
71879c4632 Fix bug # 28062: now able to again save a search query in bookmarks. Also fix bug # 31208: get full list of categories back. Finally, also fix up some of the search datasets to not use silly redirect urls.
git-svn-id: svn://10.0.0.236/trunk@63453 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 01:16:19 +00:00
waterson%netscape.com
c87dc992a2 Bug 21006, 30710. Reference count |Assertion| objects to avoid clobbering them from beneath an active assertion enumerator. r=rjc, a=jar.
git-svn-id: svn://10.0.0.236/trunk@63452 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 00:51:57 +00:00
mscott%netscape.com
1ad1dd7eb8 We now use the .idl version of this file.
git-svn-id: svn://10.0.0.236/trunk@63450 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 00:21:58 +00:00
mscott%netscape.com
c2b7625d96 Remove obsolete file.
git-svn-id: svn://10.0.0.236/trunk@63449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 00:21:17 +00:00
mscott%netscape.com
8f90cce6cf Bug #7807 --> make nsImapservice scriptable.
git-svn-id: svn://10.0.0.236/trunk@63448 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 00:20:20 +00:00
mscott%netscape.com
b316d44505 Build nsIImapService.idl instead of the .h version.
git-svn-id: svn://10.0.0.236/trunk@63447 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 00:19:52 +00:00
mscott%netscape.com
dfdfbff135 build nsIImapService.idl. remove .h version
git-svn-id: svn://10.0.0.236/trunk@63446 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 00:19:26 +00:00
mscott%netscape.com
99b86269f5 Remove obsolete files
git-svn-id: svn://10.0.0.236/trunk@63445 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 00:19:00 +00:00
mscott%netscape.com
95fe621a31 Build scriptable version of nsIImapService.idl
git-svn-id: svn://10.0.0.236/trunk@63444 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 00:18:47 +00:00
mscott%netscape.com
ff939ae778 Bug # --> new file that isn't part of the build yet. This IDL version of nsIImapService replaces
the old .h version.


git-svn-id: svn://10.0.0.236/trunk@63443 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 00:15:14 +00:00
mscott%netscape.com
6639b8e53d Removing another obsolete file. This file lives in mozilla\uriloader\base now.
git-svn-id: svn://10.0.0.236/trunk@63442 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 23:29:21 +00:00
bienvenu%netscape.com
508f310979 fix 24456 trash flag going away, r=mscott
git-svn-id: svn://10.0.0.236/trunk@63441 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 22:37:32 +00:00
mscott%netscape.com
f92de3604f Remove obsolete file. I replaced this with an IDL file last night.
git-svn-id: svn://10.0.0.236/trunk@63440 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 22:27:17 +00:00
morse%netscape.com
ca45affe0e implement test for detecting foreign images
git-svn-id: svn://10.0.0.236/trunk@63439 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 16:58:35 +00:00
tonyr%fbdesigns.com
b3ec199cf9 Lots of i18N fixes for address book importing.
git-svn-id: svn://10.0.0.236/trunk@63438 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 15:52:33 +00:00
rjc%netscape.com
343aaed877 Small shrike experiment to see if can fix static mLoadGroup leak. (I'll be watching shrike until this clears.)
git-svn-id: svn://10.0.0.236/trunk@63437 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 13:40:10 +00:00
rjc%netscape.com
c7d80ca433 For the moment, back out mLoadGroup leak fix... see if shrike returns to happy green.
git-svn-id: svn://10.0.0.236/trunk@63436 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 12:06:55 +00:00
rjc%netscape.com
19e9099419 Fix three trivial warnings of shadowed variables.
git-svn-id: svn://10.0.0.236/trunk@63435 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 11:06:10 +00:00
ruslan%netscape.com
0c43179e88 Cleaning up keep-alive/proxy loop and eliminating redundant code.
git-svn-id: svn://10.0.0.236/trunk@63434 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 10:17:00 +00:00
rjc%netscape.com
3ca6e4b226 Don't leak static mLoadGroup.
git-svn-id: svn://10.0.0.236/trunk@63433 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 10:09:14 +00:00
rjc%netscape.com
cb624658c8 Take out "crap". :^)
git-svn-id: svn://10.0.0.236/trunk@63432 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 09:10:53 +00:00
rjc%netscape.com
6974ebcd01 Oops, need to do proper comparison for Linux.
git-svn-id: svn://10.0.0.236/trunk@63431 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 08:56:31 +00:00
rjc%netscape.com
b44d0250e0 Add support for various ways of filtering search results... (accessable via context menus.)
git-svn-id: svn://10.0.0.236/trunk@63430 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 08:52:18 +00:00
rjc%netscape.com
c7db105d38 Add "IsBookmarked" method.
git-svn-id: svn://10.0.0.236/trunk@63429 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 08:50:34 +00:00
kvisco%ziplink.net
3c12484182 updated to handle proper conversion to NumberResult (Olivier Gerardin)
git-svn-id: svn://10.0.0.236/trunk@63428 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 08:01:58 +00:00
kvisco%ziplink.net
8fb58dd36a Added support for XPath number functions (Olivier Gerardin)
git-svn-id: svn://10.0.0.236/trunk@63427 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 08:00:20 +00:00
kvisco%ziplink.net
5fecfa369a updated to test number functions (Olivier Gerardin)
git-svn-id: svn://10.0.0.236/trunk@63426 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 07:58:20 +00:00
pierre%netscape.com
a1a9778a54 32252 "Small Caps font too small". Changed the ratio for small-caps from 0.7 to 0.8 (same as MacIE5).
git-svn-id: svn://10.0.0.236/trunk@63425 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 07:47:23 +00:00
bryner%uiuc.edu
1848238279 Handle the static library dependencies correctly. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@63424 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 06:14:02 +00:00
ruslan%netscape.com
bd8e3fb30a Only attempt to reconnect when socket is being reused and no longer
connected when the first write operation is requested. This finally
takes care of last (for now :-) keep-alive problem with sites who will
close connections at a very fast rate.


git-svn-id: svn://10.0.0.236/trunk@63423 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 03:32:32 +00:00
ruslan%netscape.com
2398d7fa35 Do proper QI to get the transport within the keep-alive loop
git-svn-id: svn://10.0.0.236/trunk@63422 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 03:18:32 +00:00
ruslan%netscape.com
dc51414c3b Fix incorrect check in isAlive
git-svn-id: svn://10.0.0.236/trunk@63421 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 03:17:58 +00:00
ssu%netscape.com
94cd8c723d fixing bug #32340 - msvcrt.dll and msvcirt.dll now get installed *only* if they don't exist.
a=chofmann
r=sgehani


git-svn-id: svn://10.0.0.236/trunk@63420 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 03:16:49 +00:00
cls%seawood.org
faf956415b Tweak xmlterm Makefiles so that it will build in an objdir. Bug #32275.
git-svn-id: svn://10.0.0.236/trunk@63419 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 00:37:41 +00:00
ruslan%netscape.com
a6db24f0bb Fix 32395. The change in behavior of SetReuseConnection had cause ftp
handler to leak.


git-svn-id: svn://10.0.0.236/trunk@63418 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 00:07:17 +00:00
tor%cs.brown.edu
f75329eb51 C++ comment in header included from C files is a Bad Thing (tm). r=cls
git-svn-id: svn://10.0.0.236/trunk@63417 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-19 00:01:22 +00:00
seth%cs.brandeis.edu
51985fa46e fixed bug where the everconfirmed field was not being properly set via a bug_email.
git-svn-id: svn://10.0.0.236/trunk@63416 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 23:32:49 +00:00
dbaron%fas.harvard.edu
10ef096dc9 Fix leak statistics by logging all releases, and fix one extra release. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63415 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:35:22 +00:00
dbaron%fas.harvard.edu
000e97ba98 Fix leak. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63414 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:29:16 +00:00
dbaron%fas.harvard.edu
dd3116b06a Fix leak of style contexts. r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63413 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:26:13 +00:00
bryner%uiuc.edu
d11f4e1a66 Make sure to initialize the 'isMeta' member of the
struct.  r=jst@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@63412 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 19:54:40 +00:00
jim_nance%yahoo.com
55ae4a6a68 Fix for uninitialized variable
r=waterson


git-svn-id: svn://10.0.0.236/trunk@63411 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 19:07:35 +00:00
ruslan%netscape.com
dbdf54d6c8 Fix 31882, 31884, 31979 (all keep-alive fixes + patch from Tomi.Leppikangas@oulu.fi)
git-svn-id: svn://10.0.0.236/trunk@63410 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 18:39:41 +00:00
tonyr%fbdesigns.com
6524533d08 Make nsISupports interfaces threadsafe so proxy objects can be created. r=waterson
git-svn-id: svn://10.0.0.236/trunk@63409 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 18:38:14 +00:00
mscott%netscape.com
23be909bad Remove obsolete files
git-svn-id: svn://10.0.0.236/trunk@63408 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 18:36:13 +00:00
mscott%netscape.com
504a7f4b03 build idl version of nsIImapUrl.idl
r=bienvneu


git-svn-id: svn://10.0.0.236/trunk@63407 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 18:36:06 +00:00
mscott%netscape.com
2821d0ffd0 Use our new scriptable version of nsIImapUrl.idl and make the .h version obsolete.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@63406 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 18:35:54 +00:00
mscott%netscape.com
59ba8a2b21 Use scriptable version of nsIImapUrl
git-svn-id: svn://10.0.0.236/trunk@63405 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 18:35:53 +00:00
norris%netscape.com
09ff59d528 Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@63404 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 17:48:12 +00:00
sspitzer%netscape.com
0326272d76 not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@63403 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 17:27:40 +00:00
bienvenu%netscape.com
818b6dc505 add accessor for parser state, r=jefft, mscott part of 23181
git-svn-id: svn://10.0.0.236/trunk@63402 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 16:04:24 +00:00
sspitzer%netscape.com
6d8f25188b adding NO_UDSOCK for vms only. submitted by colin blake.
git-svn-id: svn://10.0.0.236/trunk@63401 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:52:41 +00:00
rods%netscape.com
d9ce7addbc Fixed GetSelectedIndex so it gets it out of the pressate when there is no frame.
for PDT+ bug 32119, I am checking in the fix in on the Tip,
ducarroz will check it in on the branch
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63400 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:29:48 +00:00
rods%netscape.com
ddbfa3ac95 made sure "average" was initialized to zero
change the setting of the font from mFixedFont to mFont for textfields
b=18232,32254 r=sfraserfor 18232, self for 32254


git-svn-id: svn://10.0.0.236/trunk@63399 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:15:25 +00:00
rods%netscape.com
6d46d88a6d Added quotes around type="text"
changed the bottom margin for input type="text" from 1 to zero
b=18138, r=buster


git-svn-id: svn://10.0.0.236/trunk@63398 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:43:48 +00:00
rods%netscape.com
e9d2e2d814 Added aIsOutline to arg to RenderSize so it can do the right thing when
drawing outlines. Also got rounded outlines to work (not dashed)
Added #if for PaintOuline to control whether it paints on the inside or outside
of the frame.
b=18579 r=dcone


git-svn-id: svn://10.0.0.236/trunk@63397 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:41:00 +00:00
rods%netscape.com
82ece3a6a1 Removed a lot of unneeded for for creating viewes for GfxList (experiment and ifdef'ed out)
Now uses GetOptionsContainer to get the frame container for adding options
needed for differences in List and GfxList
b=18895 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63396 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:25:02 +00:00
rods%netscape.com
1310a72d4b Removed GetScreenHeight and using the one in nsFormControlFrame
b=25774 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63395 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:20:03 +00:00
rods%netscape.com
425572a3d4 Added adaptive sizing for dropdown with small screen sizes
The setting of the cached available size only happens when it is not unconstrained
Added GetOptionsContainer method
Fixed minor problem in GetScrollableView (not actually passing back the frame)
Added the Flushing of content on arrow keys
b=31987,25774 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63394 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:34 +00:00
rods%netscape.com
038a069997 Added adaptive sizing for dropdown with small screen sizes
Added reflow optimization
Added GetOptionsContainer method
b=31987 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63393 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:32 +00:00
rods%netscape.com
76578e3157 Added method to get the container frame for adding/removing option frames
needed for the differences in ListControlFrame sn GfxListControlFrame
b=18895 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63392 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:30 +00:00
rods%netscape.com
7dc235b13a Moved GetScreenHeight from Combobox frame to here. duplicated the SkipRelfow method to
some rework, and I can if def it in and out
b=18895 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 13:45:30 +00:00
andreas.otte%primus-online.de
db654a3217 fix bug 26003, Files with the percentage (%) sign cannot be viewed via mouse, r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63390 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 11:07:04 +00:00
beard%netscape.com
76def6cbf1 fix stand-alone LiveConnect shell on XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@63387 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 09:45:13 +00:00
beard%netscape.com
f3ff251808 fix simple callbacks (not part of standard LiveConnect)
git-svn-id: svn://10.0.0.236/trunk@63386 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 09:44:07 +00:00
beard%netscape.com
f0af3bbb2f added classpath processing.
git-svn-id: svn://10.0.0.236/trunk@63385 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 09:42:15 +00:00
harishd%netscape.com
a902201936 Fix for 31873,32094,32337.
Checking in for rickg.
r=me.


git-svn-id: svn://10.0.0.236/trunk@63384 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 09:15:01 +00:00
ruslan%netscape.com
d1a74f2540 Add extra comments on new keep-alive preferences
git-svn-id: svn://10.0.0.236/trunk@63383 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 08:25:01 +00:00
mccabe%netscape.com
163180b9f8 Fix to 11454
Respect [noscript] property for attributes by setting the attribute as hidden in the emitted typelib.

r=jband


git-svn-id: svn://10.0.0.236/trunk@63382 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 07:55:43 +00:00
harishd%netscape.com
ebca89a38b Fix for 32263
Create a new instance of the DTD when called by
the JS engine ( only when creating a new parser context ).
r=rickg.


git-svn-id: svn://10.0.0.236/trunk@63381 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 06:48:09 +00:00
waterson%netscape.com
16a73d5175 Doh! I checked in the wrong patch onto the tip. Thanks for wiping my chin, rjc.
git-svn-id: svn://10.0.0.236/trunk@63380 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 06:24:19 +00:00
ben%netscape.com
f4b93b8d86 make sidebar customize dialog skinnable
git-svn-id: svn://10.0.0.236/trunk@63379 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 06:17:40 +00:00
ben%netscape.com
c9940e6ffc another attempt at adding the selected bookmark images
git-svn-id: svn://10.0.0.236/trunk@63378 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 06:15:22 +00:00
ben%netscape.com
5a7efee8ce moved style rules for new widgets into separate files, added selected twisty images
git-svn-id: svn://10.0.0.236/trunk@63377 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 06:13:23 +00:00
rjc%netscape.com
76723bad63 Fix bug # 24836: correctly serialize RDF data. Review: waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@63376 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:28:53 +00:00
waterson%netscape.com
bc9b1d0a0b Get rid of dead code.
git-svn-id: svn://10.0.0.236/trunk@63375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:26:25 +00:00
waterson%netscape.com
ad08827f71 Bug 27739. Leak the key bindings table for now, so we're sure not to lose it if all the XUL documents go away. This is a temporary solution, pending a real fix when hyatt jettisons this for XBL. r=hyatt, a=jar
git-svn-id: svn://10.0.0.236/trunk@63374 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:24:50 +00:00
waterson%netscape.com
b8319b56e2 Bug 32187. Make sure to re-serialize RDF/XML using UTF-8 for UCS-2 strings. r=rjc,ftang. a=bobj,jar.
git-svn-id: svn://10.0.0.236/trunk@63373 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:22:42 +00:00
scc%netscape.com
fd4ef985aa Added the Bill Law trick to make |nsCOMPtr| break the build for everybody where it use to break it only for Solaris and a few others (the `tainting' problem). Added a haiku. r=danm
git-svn-id: svn://10.0.0.236/trunk@63372 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:17:46 +00:00
blizzard%redhat.com
bbcd57a6e5 fix for #27791. assume that any drag motion events are not valid drop targets unless someone explicitly sets the canDrop = true in the JS event handler. this makes dragging feedback correct on linux. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@63371 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:00:45 +00:00
gagan%netscape.com
690b4a1e3d Argh... checkin aborted while I was editing nsHTTPChannel.cpp. Fixed bug 25868. nsAuth now has an Init method so that things will work ok after a logout (new auths will be created). Other misc. code cleanup. Also changed QI implementations to standard macros.
git-svn-id: svn://10.0.0.236/trunk@63370 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 04:54:56 +00:00
gagan%netscape.com
718405f625 Fixed bug 25868. nsAuth now has an Init method so that things will work ok after a logout (new auths will be created). Other misc. code cleanup. Also changed QI implementations to standard macros.
git-svn-id: svn://10.0.0.236/trunk@63369 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 04:51:00 +00:00
akkana%netscape.com
b31452915c 29312: move nbsp guard to a more general location so it'll always fire
git-svn-id: svn://10.0.0.236/trunk@63368 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 04:35:45 +00:00
bruce%cybersight.com
fbaca24345 Fix for memory leak. r=gordon bug #28902
git-svn-id: svn://10.0.0.236/trunk@63367 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 04:10:27 +00:00
bryner%uiuc.edu
857da77e99 Fix a leak of the device context. r=bruce.
git-svn-id: svn://10.0.0.236/trunk@63366 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 04:10:13 +00:00
jst%netscape.com
8a0ea8c8e5 Backing out my last change since it broke the tree, sorry.
git-svn-id: svn://10.0.0.236/trunk@63363 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 03:11:52 +00:00
mccabe%netscape.com
e55dfb384a Adding [noscript].
git-svn-id: svn://10.0.0.236/trunk@63362 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:34:02 +00:00
mccabe%netscape.com
ec89277669 Fix bustage; replace strdup (no prototype on mac) with call to (existing!) xpidl_strdup.
git-svn-id: svn://10.0.0.236/trunk@63361 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:29:23 +00:00
jst%netscape.com
1045f00b64 Fixing what (at least used to) crashes #28489. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63359 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:10:28 +00:00
akkana%netscape.com
88d070913b Remove a printf
git-svn-id: svn://10.0.0.236/trunk@63358 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:05:22 +00:00
mccabe%netscape.com
a1fefe68af Adding [noscript], to get past my recently-added xpidl compiletime error. Looks like I missed a file.
git-svn-id: svn://10.0.0.236/trunk@63357 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:01:19 +00:00
jst%netscape.com
f68730e139 Removing the last virtual functions from nsGenericElement, this reduces the size of every element object by 4 bytes. r=troy@netscapce.com
git-svn-id: svn://10.0.0.236/trunk@63356 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 01:55:47 +00:00
mccabe%netscape.com
554699a6de - Add preliminary code for a documentation backend. Hopefully someone will want to extend it...
- Add a compile-time check requiring non-scriptable (because they're native) attributes to be marked [noscript] within [scriptable] interfaces.  This mirrors an existing check for methods, and may save some hair-pulling for script authors.  Partial fix to 11454.

- Emit a sample implementation (#ifdef 0) into the generated .h file that component authors can copy and use as the start of their implementation.  Code courtesy jband.

r=jband, r=mccabe


git-svn-id: svn://10.0.0.236/trunk@63355 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 01:30:35 +00:00
pnunn%netscape.com
e3170de294 bug#31664: chkin for troy. r:pnunn.
git-svn-id: svn://10.0.0.236/trunk@63354 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 01:09:39 +00:00
bryner%uiuc.edu
92fe339798 Handle Win95 MSH_MOUSEWHEEL messages in addition to WM_MOUSEWHEEL
messages.  r=law@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@63352 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:57:23 +00:00
pinkerton%netscape.com
9a331a35e3 making dev context use screen manager to get info about the screen. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@63351 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:57:22 +00:00
pinkerton%netscape.com
fb2ed38d7d adding numberOfScreens to interface. minor cleanup.
git-svn-id: svn://10.0.0.236/trunk@63349 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:56:34 +00:00
beard%netscape.com
0a54064701 removed redundant implementation of strdup.
git-svn-id: svn://10.0.0.236/trunk@63348 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:55:47 +00:00
beard%netscape.com
20a3f30741 fixed to work with Universal Headers 3.3 JManager interfaces.
git-svn-id: svn://10.0.0.236/trunk@63347 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:55:15 +00:00
beard%netscape.com
366e7767bd fixed to work with Universal Headers 3.3 to get MRJ interfaces/libraries, added jsj_simpleapi.c. (not part of mozilla build)
git-svn-id: svn://10.0.0.236/trunk@63346 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:53:55 +00:00
harishd%netscape.com
388e7fbe08 Fix for 31846 [PDT+]
r=rickg
a=jar,rickg


git-svn-id: svn://10.0.0.236/trunk@63345 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:49:54 +00:00
matt%netscape.com
2e4a599787 Adding for international. Adding about str. name
git-svn-id: svn://10.0.0.236/trunk@63344 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:47:25 +00:00
nhotta%netscape.com
e04582ee1c Added a MIME decoder which takes nsCString, bug 32013, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@63343 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:42:29 +00:00
matt%netscape.com
06ac68160f adding fixes that when into the branch for search
git-svn-id: svn://10.0.0.236/trunk@63342 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:38:45 +00:00
karnaze%netscape.com
056416500b new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@63341 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:33:19 +00:00
sfraser%netscape.com
3f41a4b14f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@63340 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:29:07 +00:00
dougt%netscape.com
498b94f15b Fixing return type and build bustage.
git-svn-id: svn://10.0.0.236/trunk@63338 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 00:02:53 +00:00
mccabe%netscape.com
0e8f8e697a Add [noscript] to a number of non-scriptable attributes in [scriptable] interfaces. (They're not scriptable, because they refer to native types.) This is in preparation for a new compile-time check in xpidl to require the [noscript] annotation for attributes, as it is required for methods.
Preparatory to fix to 11454.

r=jband


git-svn-id: svn://10.0.0.236/trunk@63337 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:47:48 +00:00
rhp%netscape.com
ace8035d8e Just checking in a changes that will not get compiled because of ifdef.
git-svn-id: svn://10.0.0.236/trunk@63336 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:32:41 +00:00
ducarroz%netscape.com
a0667ae8a0 Fix bug 31568. Need to correctly manage errors when processing attachment. R=mscott,rhp
git-svn-id: svn://10.0.0.236/trunk@63335 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:19:46 +00:00
srinivas%netscape.com
1d1743caf8 Implemented a new style stack of IO layers with a fixed, dummy header.
Bug #30914.


git-svn-id: svn://10.0.0.236/trunk@63334 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:15:27 +00:00
hyatt%netscape.com
770d7cb462 Fix for bug #32214.
git-svn-id: svn://10.0.0.236/trunk@63333 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:09:57 +00:00
sspitzer%netscape.com
1e86862662 more changes for the new subscribe dialog. not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@63332 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:08:51 +00:00
scc%netscape.com
b19fe053b7 Added spaces to the cast macros to allow casting of template types. Moved |HAVE_CPP_...| symbols here from "nsCOMPtr.h" since more files need them. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63331 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:08:29 +00:00
scc%netscape.com
2b15cf20b5 Renamed an internal typename. Was |nsDontAddRef<T>|, now is |already_AddRefed<T>| in hopes that it can be used outside of "nsCOMPtr.h". Moved |HAVE_CPP_...| symbols out of here and into "nscore.h" because more files need them. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63330 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:08:18 +00:00
dougt%netscape.com
54e8f7f0dc Missed these two files!
adjusting entry points.


git-svn-id: svn://10.0.0.236/trunk@63329 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:58:15 +00:00
nhotta%netscape.com
cbe950af61 Cached charset names for charset title performance, bug 20249, r=duccaroz.
git-svn-id: svn://10.0.0.236/trunk@63327 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:32:14 +00:00
kmcclusk%netscape.com
876fb99ca4 #ifdef'ed out timer used to flush paints. It is not needed b=31407 r=attanasi@netscape.com
Changed mVMCount from PRUint32 to PRInt32 to make ASSERTION checking for a negative value in mWMCount valid
b=11674 r=attanasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@63326 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:27:26 +00:00
slamm%netscape.com
fabcfafca1 Avoid setting HOME variable in main process (big no-no). Cleanup profile creation. Remove tabs. I hate tabs.
git-svn-id: svn://10.0.0.236/trunk@63325 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:22:10 +00:00
norris%netscape.com
45bf4315ea Remove comment that is no longer true.
git-svn-id: svn://10.0.0.236/trunk@63324 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:18:54 +00:00
morse%netscape.com
ba34f37296 remove diagnostic print statement
git-svn-id: svn://10.0.0.236/trunk@63323 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:16:13 +00:00
akkana%netscape.com
b1afc461a2 31994: don't output text nodes inside select elements. r=slamm
git-svn-id: svn://10.0.0.236/trunk@63322 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:15:14 +00:00
nhotta%netscape.com
3432fb100d Changed to call Finish() after the conversion, bug 29652 , r=cata.
git-svn-id: svn://10.0.0.236/trunk@63321 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:08:04 +00:00
dougt%netscape.com
6f9fac33b3 adding GetSecurityInfo to the nsIChannel. bug 29646 r= warren.
git-svn-id: svn://10.0.0.236/trunk@63320 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:07:37 +00:00
dougt%netscape.com
9c2acfa2d6 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren.
git-svn-id: svn://10.0.0.236/trunk@63319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:06:32 +00:00
blizzard%redhat.com
264b160f08 fix for bug #26508. rewrite the main event hander for gtk to properly handle all the possible grab combinations properly. this should fix problems with scrollbars on popups and on modal dialogs.
git-svn-id: svn://10.0.0.236/trunk@63318 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:05:00 +00:00
scc%netscape.com
3717f373dc Added the new string interface files to the export lists for each platform. They still aren't part of the build. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63317 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:04:48 +00:00
dcone%netscape.com
30747ccccd fixed a multiple definition of nsISupports. r=beard
git-svn-id: svn://10.0.0.236/trunk@63316 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:55:25 +00:00
sspitzer%netscape.com
0f6cad9a9c fix for #32245. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@63315 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:53:49 +00:00
neeti%netscape.com
f42995b78a fix for 29853 in trunk, r=dp,Animated ads are stopping after one loop, and are then being reloaded from the server
git-svn-id: svn://10.0.0.236/trunk@63314 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:51:31 +00:00
ftang%netscape.com
a8a7776b6a fix 30213. make nsURLProperty file a singleton to improve performance
git-svn-id: svn://10.0.0.236/trunk@63313 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:47:09 +00:00
ftang%netscape.com
debf6e4d7b fix 30213 . make nsURLProperties a singleton to improve performace
git-svn-id: svn://10.0.0.236/trunk@63312 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:46:02 +00:00
ftang%netscape.com
c48b7658a3 fix 30213. make the nsURLProperty a singleton to improve performance
git-svn-id: svn://10.0.0.236/trunk@63311 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:45:08 +00:00
despotdaemon%netscape.com
7e38f58799 Pseudo-automatic update of changes made by dkl@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@63310 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:27:29 +00:00
despotdaemon%netscape.com
ee56dc5d07 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@63309 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 21:23:03 +00:00
attinasi%netscape.com
b5d7f8dc4e Adding documentation on the Perf tool. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@63307 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 20:07:57 +00:00
srinivas%netscape.com
ec49a9e479 For the IO continuation operation, use select(), instead of poll(),
on OSF1. Bug #153459.


git-svn-id: svn://10.0.0.236/trunk@63306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 20:01:41 +00:00
attinasi%netscape.com
5c4d445f05 Adding latest daily chart. Nat part of build.
git-svn-id: svn://10.0.0.236/trunk@63305 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 19:24:28 +00:00
attinasi%netscape.com
159bbd8096 Updated with latest run. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@63304 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 19:22:49 +00:00
sspitzer%netscape.com
61d85a255f start of new subscribe dialog. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@63303 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 18:29:58 +00:00
sspitzer%netscape.com
07b6c7f458 the start of the new subscribe dialog. not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@63302 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 18:28:31 +00:00
srinivas%netscape.com
bad8a3ee96 Fixed syntax error.
git-svn-id: svn://10.0.0.236/trunk@63301 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 18:24:29 +00:00
attinasi%netscape.com
6cd3806291 Trend Table: latest one added. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@63300 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 18:05:51 +00:00
attinasi%netscape.com
b8c963f20e Added chart for prior run. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@63299 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 18:04:20 +00:00
attinasi%netscape.com
872c6ac1cd Added latest historical data - not part of build
git-svn-id: svn://10.0.0.236/trunk@63298 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 17:59:47 +00:00
karnaze%netscape.com
f97132fe14 Stop using network images in regression tests. Does not affect the build.
git-svn-id: svn://10.0.0.236/trunk@63297 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 16:34:21 +00:00
dcone%netscape.com
65f636e582 Added method to get the deviceCaps for the technology.. to be used for printing.
And a more efficient method to draw an image when only part of it has been read in.
r=attinasi


git-svn-id: svn://10.0.0.236/trunk@63296 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 15:51:58 +00:00
dcone%netscape.com
7c926df10a Added method to get the deviceCaps for the technology.. to be used for printing.
r=attinasi


git-svn-id: svn://10.0.0.236/trunk@63295 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 15:50:56 +00:00
morse%netscape.com
1cc1835956 minor wording change to support images
git-svn-id: svn://10.0.0.236/trunk@63294 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 15:46:05 +00:00
brade%netscape.com
cdccba167a bug #25396; don't use title for default page name if it's a remote file with a file name (r=jst@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@63293 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 15:27:05 +00:00
brade%netscape.com
8dde155838 fix regression of radio buttons not working for size (#27833)
git-svn-id: svn://10.0.0.236/trunk@63292 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 15:19:48 +00:00
karnaze%netscape.com
54703a9d8f Stopped using network images for regression tests. Does not affect the build.
git-svn-id: svn://10.0.0.236/trunk@63291 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 13:54:49 +00:00
jst%netscape.com
96aefc9b5d Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559


git-svn-id: svn://10.0.0.236/trunk@63290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 13:27:00 +00:00
hyatt%netscape.com
66123cf87d Fix for bug #32212.
git-svn-id: svn://10.0.0.236/trunk@63289 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 11:27:01 +00:00
ben%netscape.com
782cf9f297 new twisties
git-svn-id: svn://10.0.0.236/trunk@63288 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 11:22:32 +00:00
morse%netscape.com
21ecbe4d4b complete redesign of wallet previewer
git-svn-id: svn://10.0.0.236/trunk@63287 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:51:11 +00:00
rjc%netscape.com
300112e8c1 Get rid of unneeded flex attribute.
git-svn-id: svn://10.0.0.236/trunk@63286 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:41:33 +00:00
rjc%netscape.com
0c5fed0a58 Search UI changes.
git-svn-id: svn://10.0.0.236/trunk@63285 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:26:43 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
sspitzer%netscape.com
dbb0adad10 make the dialog truly modal.
git-svn-id: svn://10.0.0.236/trunk@63283 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 09:09:41 +00:00
ben%netscape.com
a1cb1babe8 update bookmarks.css to comment out references to images I've removed
git-svn-id: svn://10.0.0.236/trunk@63282 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 08:33:16 +00:00
sspitzer%netscape.com
84d51fbf1b fix for #30204. use GetService instead of CreateInstance.
git-svn-id: svn://10.0.0.236/trunk@63281 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 08:31:13 +00:00
ben%netscape.com
ef9c59f0c5 removing these files because stupid shortbus mac cant handle the long names
git-svn-id: svn://10.0.0.236/trunk@63280 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 08:31:00 +00:00
ben%netscape.com
af6855d38f hacking the images out of the makefiles until I'm competent enough not to screw things up
git-svn-id: svn://10.0.0.236/trunk@63279 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 08:16:44 +00:00
kvisco%ziplink.net
589c3c0241 fixed missing prototype
git-svn-id: svn://10.0.0.236/trunk@63278 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 08:06:57 +00:00
ben%netscape.com
3c20aaf65c ok, here are the files AGAIN. dammit.
git-svn-id: svn://10.0.0.236/trunk@63277 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 08:00:58 +00:00
sspitzer%netscape.com
4603f3e977 clean up nsUserInfoUnix.cpp. fix from Chris Seawood <cls@seawood.org>.
r=sspitzer, tested by colin blake on vms.


git-svn-id: svn://10.0.0.236/trunk@63276 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:53:19 +00:00
ben%netscape.com
40ca843786 committing binaries
git-svn-id: svn://10.0.0.236/trunk@63275 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:53:05 +00:00
ben%netscape.com
d4b89b06bb darn it, added these files without -kb flag, removing then adding agian
git-svn-id: svn://10.0.0.236/trunk@63274 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:48:00 +00:00
kvisco%ziplink.net
1b11daf458 latest contributors
git-svn-id: svn://10.0.0.236/trunk@63273 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:43:43 +00:00
rjc%netscape.com
800f6c4e96 Need to also implement nsIStreamObserver interface.
git-svn-id: svn://10.0.0.236/trunk@63272 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:40:43 +00:00
ben%netscape.com
192623a5f8 new bookmark icons
git-svn-id: svn://10.0.0.236/trunk@63271 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:40:05 +00:00
sgehani%netscape.com
7056db91f9 First cut of Linux Install Wizard using gtk. (Not part of build.)
git-svn-id: svn://10.0.0.236/trunk@63270 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:35:06 +00:00
rjc%netscape.com
7f2ea3b6f2 Cancel outstanding search connections via Stop().
git-svn-id: svn://10.0.0.236/trunk@63269 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:32:21 +00:00
rjc%netscape.com
641da6530b Convert to using a Necko loadgroup so that search results can be easily stopped as well as tracked.
git-svn-id: svn://10.0.0.236/trunk@63268 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:17:51 +00:00
mscott%netscape.com
94ae2dc8af **NOT Part of the build yet**
Here's a fully scriptable version of nsIImapUrl. We used to only have a .h file
for this interface. When this file is part of the build,nsIImapUrl.h will become
obsolete.


git-svn-id: svn://10.0.0.236/trunk@63267 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 07:08:53 +00:00
mscott%netscape.com
7bd0e8d855 Bug #31581 --> nsMultiMixedConv::BuildURI was calling nsString.Append with a PRInt32. Unfortunately,
the compiler was implicitly converting this integer into a PRunichar. this caused us to
get the wrong strings for each part.

I simply forced us to use the correct version of append that takes a PRInt32. This fixes the
problems we've been having using bugzilla.

r=none due to the trivial nature of the fix, the severity of the problem and the fact
that I couldn't find an appropriate reviewer.


git-svn-id: svn://10.0.0.236/trunk@63266 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:52:56 +00:00
sspitzer%netscape.com
7c0405157a fix for #26317. fix by gayatrib, r=sspitzer. only call MigrateProfileInfo() when appropriate.
git-svn-id: svn://10.0.0.236/trunk@63265 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:49:42 +00:00
law%netscape.com
2b2d0f6473 Better program icon, thanks to Jason Kersey
git-svn-id: svn://10.0.0.236/trunk@63264 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:45:28 +00:00
mccabe%netscape.com
99218e2520 Patches for building perlconnect, courtesy Pavel Hlavnicka <pavel@gingerall.cz>.
git-svn-id: svn://10.0.0.236/trunk@63262 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:40:22 +00:00
ben%netscape.com
ef98fb157d fix for 32034
git-svn-id: svn://10.0.0.236/trunk@63261 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:36:46 +00:00
sspitzer%netscape.com
f3192ade07 fix for #32202. open the "download headers" dialog modal to the messenger window.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@63260 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:30:43 +00:00
bryner%uiuc.edu
b71d6e40c0 Fixing a stupid leak from mousewheel scrolling. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@63259 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:27:45 +00:00
pinkerton%netscape.com
ed809203c4 screen manager and screen impls, first cut assuming only one monitor. make the dev context use them. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@63258 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 06:09:24 +00:00
ben%netscape.com
9c8851e260 fixes for profile manager bug 32065 & some minor skinnability tweaks
git-svn-id: svn://10.0.0.236/trunk@63257 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 05:56:34 +00:00
svn%xmlterm.org
8f85648290 xmlterm changes only (not part of the default build).
xmlterm script fixed to work properly on Solaris.


git-svn-id: svn://10.0.0.236/trunk@63255 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 05:37:54 +00:00
svn%xmlterm.org
f08461d55b xmlterm changes only (not part of the default build).
Minor bug fix: prompt detection now treats tab as whitespace.


git-svn-id: svn://10.0.0.236/trunk@63254 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 05:36:29 +00:00
troy%netscape.com
c35e4c1e39 b=31451 Made sure we only set the NS_FRAME_OUT_OF_FLOW frame state bit
if the frame is actually out of the flow


git-svn-id: svn://10.0.0.236/trunk@63253 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 05:10:37 +00:00
rickg%netscape.com
c874c0f6b9 fixed leak introduced with last update; r=taz.
git-svn-id: svn://10.0.0.236/trunk@63252 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 05:08:14 +00:00
law%netscape.com
0ea3419b62 Fix for bug 38104. Going back to AsyncRead technique in use pre rev 1.15. This bogs down the UI thread with doing synchronous writes, but does not hang. Will fix later to move this code to another thread. You can revert to the prior version by removing the #define for USE_ASYNC_READ in nsStreamXferOp.h. r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63251 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 04:35:44 +00:00
morse%netscape.com
d7ba52b397 refix bug 31925 (single signon database becomes unusable) by first backing out fix for 1.20 and then doing it the correct way
git-svn-id: svn://10.0.0.236/trunk@63250 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 04:27:07 +00:00
cmanske%netscape.com
0182e7fbc7 Fixed problems when dragging off a table during table selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63249 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 04:24:04 +00:00
pinkerton%netscape.com
63190af20b Single-monitor impl of screen manager/object for win32 just to get something in place. DevContext
now uses it, but will also have to be tweaked when the multi-monitor impl is implemented. Just
pushing code around for now, nothing major. r=danm.


git-svn-id: svn://10.0.0.236/trunk@63248 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 04:15:39 +00:00
rickg%netscape.com
eed4db9e31 fix to PDT+bug 32022; r=harish, rickg, markA, troy; a=jar
git-svn-id: svn://10.0.0.236/trunk@63247 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 04:12:17 +00:00
leaf%mozilla.org
4e4b7a02ed Automated update
git-svn-id: svn://10.0.0.236/trunk@63246 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 03:45:33 +00:00
jim_nance%yahoo.com
6a8191442f -gall only works with the c++ compiler
r=Pavlov


git-svn-id: svn://10.0.0.236/trunk@63245 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 03:41:08 +00:00
ruslan%netscape.com
f3753359d0 Rollback some of keep-alive code while investigating 32002 since only
people off-site could reproduce it.


git-svn-id: svn://10.0.0.236/trunk@63244 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 03:28:06 +00:00
nhotta%netscape.com
20488b5161 Adding an error hanlding for charset title, bug 20249, r=ducarroz.
git-svn-id: svn://10.0.0.236/trunk@63243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 03:23:46 +00:00
rjc%netscape.com
2f82ac7172 Slight change for RDF command format on bookmarks.
git-svn-id: svn://10.0.0.236/trunk@63241 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 03:14:17 +00:00
sfraser%netscape.com
bccce00a7b Fix for 11770 -- implement show/hide toolbars in editor. r=akkana
git-svn-id: svn://10.0.0.236/trunk@63240 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 03:03:13 +00:00
gagan%netscape.com
4d7ec29f7f Save a redirect (added a trailing slash to the credits URL)
git-svn-id: svn://10.0.0.236/trunk@63239 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 02:41:11 +00:00
ssu%netscape.com
af8ddcf74b fixing a hack that was done for beta1. It is now possible to control the font size, color, and shadowing for the text on the blue background in the installer via the config.ini. affects only windows. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@63238 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 02:38:13 +00:00
akkana%netscape.com
03a096bec2 Warning fix -- remove unused variable
git-svn-id: svn://10.0.0.236/trunk@63237 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 02:10:55 +00:00
dmose%mozilla.org
709b819374 doh! my last checkin broke -v. fixed.
git-svn-id: svn://10.0.0.236/trunk@63235 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 02:00:58 +00:00
sfraser%netscape.com
33940b077b Fix for 30301 -- don't waste time trying to update non-existent XUL nodes. r=akkana
git-svn-id: svn://10.0.0.236/trunk@63234 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:59:10 +00:00
ben%netscape.com
dd707e4a85 set default="true" attribute on default dialog buttons on mac (forgot to check this in before)
git-svn-id: svn://10.0.0.236/trunk@63233 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:53:31 +00:00
buster%netscape.com
bd79e065d4 fixed VerifyReflow, an important debugging tool for the layout team
no bug number
r=troy


git-svn-id: svn://10.0.0.236/trunk@63232 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:50:54 +00:00
ben%netscape.com
effb31bd8b updating global to support the 'default' look on <button>, some <radio> and <checkbox> tweaks (not used currently)
git-svn-id: svn://10.0.0.236/trunk@63231 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:48:54 +00:00
cmanske%netscape.com
7f51373b3d Table row, column, all-cells selection now working. Menu items enabled. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63230 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:46:17 +00:00
nhotta%netscape.com
d1ae6d9283 Changed to use do_GetService instead of CreateInstance, bug 30203, r=cata.
git-svn-id: svn://10.0.0.236/trunk@63229 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:45:28 +00:00
pinkerton%netscape.com
3163a44acc fix for 29016 (again) don't pass the click through if there is a popup, just roll it up. this is what macOS native context menus do. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@63227 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:42:19 +00:00
rjc%netscape.com
272b6554a1 Fix bug # 28238: (work around bug # 26402) get context menus in bookmarks window/sidebar working, by setting "oncommand" attribute AFTER inserting node into content model.
git-svn-id: svn://10.0.0.236/trunk@63226 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:40:05 +00:00
scc%netscape.com
aaaad11285 replaced use of private type with |getter_AddRefs|, r=travis
git-svn-id: svn://10.0.0.236/trunk@63225 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:19:33 +00:00
nhotta%netscape.com
6e9164b138 Changed to use do_GetService instead of CreateInstance, bug 30203, r=cata.
git-svn-id: svn://10.0.0.236/trunk@63224 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:14:57 +00:00
nhotta%netscape.com
3556f7a9d1 Added charset feedback UI and some localizability works, bug 20249, r=ducarroz.
git-svn-id: svn://10.0.0.236/trunk@63223 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:13:04 +00:00
akkana%netscape.com
eed43f5587 nsCOMPtr tainting problem -- need to include nsIParserService.h
git-svn-id: svn://10.0.0.236/trunk@63222 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:12:11 +00:00
putterman%netscape.com
8ac6132ffb r=mscott. Fix for 31805. can now have multiple mail windows open.
git-svn-id: svn://10.0.0.236/trunk@63221 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:10:57 +00:00
hyatt%netscape.com
518c061c04 Patching checkbox and radio XBL. Does not affect build, since widgets aren't used yet.
git-svn-id: svn://10.0.0.236/trunk@63220 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:09:27 +00:00
slamm%netscape.com
34a3b78d0e Make client.mk easier to setup for tags/branches (set MOZ_CO_TAG at the top of the file). Handle MOZ_MAKE_FLAGS differently (set MAKE="$(MAKE) $(MOZ_MAKE_FLAGS)"). Add "export" and "install" targets (they just pass through to the top level makefile).
git-svn-id: svn://10.0.0.236/trunk@63219 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:56:58 +00:00
bienvenu%netscape.com
ae701a927c fix problems cancelling imap logon, fix handling of marking deleted messages read r=mscott,jefft
git-svn-id: svn://10.0.0.236/trunk@63218 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:52:03 +00:00
slamm%netscape.com
412f7829fb Avoid running allmakefiles.sh everytime (i.e use "=" instead of ":="). allmakefiles.sh is only needed for the "distclean" target.
git-svn-id: svn://10.0.0.236/trunk@63217 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:49:15 +00:00
ben%netscape.com
7936867986 added brand.dtd to fix openLocation horkage
git-svn-id: svn://10.0.0.236/trunk@63216 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:36:32 +00:00
leaf%mozilla.org
af83d0627e Automated update
git-svn-id: svn://10.0.0.236/trunk@63215 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:30:09 +00:00
cmanske%netscape.com
5552ecf613 Fixed linux build bustage. Used '.get()' when I shouldn't have! r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63214 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:27:43 +00:00
rpallath%eng.sun.com
05cfe5ff5d dding new files
git-svn-id: svn://10.0.0.236/trunk@63213 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:27:29 +00:00
rpallath%eng.sun.com
3f3d5d8553 dding new files for Java Plugins
git-svn-id: svn://10.0.0.236/trunk@63212 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:17:17 +00:00
leaf%mozilla.org
0228e1a08c better extension directory handling. original fix from
Axel Hecht <axel@pike.org>, modified to include xmlterm in the ``all'' and
``yes'' options by leaf@mozilla.org, r=cls@seawood.org


git-svn-id: svn://10.0.0.236/trunk@63211 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:16:44 +00:00
akkana%netscape.com
e099f10719 26093: whitespace in copy/paste from plaintext.
27848: spaces between table cells in unformatted output.    r=slamm.


git-svn-id: svn://10.0.0.236/trunk@63210 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:15:51 +00:00
pnunn%netscape.com
f0625c4110 bug#29853. r:davidm. preserves background loading attribute when imglib sets
load attributes from imglib reload policies. pnunn


git-svn-id: svn://10.0.0.236/trunk@63209 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:13:04 +00:00
akkana%netscape.com
910ccafcb4 29032, 29239: linebreaks in <pre> and in plaintext mail.
19137: preserve style of copied text.          r=mjudge


git-svn-id: svn://10.0.0.236/trunk@63208 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:08:27 +00:00
robinf%netscape.com
eb9de80d22 updating text due to BugARama feedback
git-svn-id: svn://10.0.0.236/trunk@63207 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:06:58 +00:00
putterman%netscape.com
dec7a82372 Fix for 15142. Fixing typo makes secondary sort now work.
git-svn-id: svn://10.0.0.236/trunk@63206 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:03:46 +00:00
karnaze%netscape.com
5083da9d50 new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@63205 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:55:05 +00:00
karnaze%netscape.com
45de05a1fb bug 7112 - do not convert align=center on table into text-align=center, r=kmcclusk.
git-svn-id: svn://10.0.0.236/trunk@63204 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:52:21 +00:00
karnaze%netscape.com
0f7fbb851d bug 27993, 30332 - treat rowspan/colspan=0 like Nav in quirks mode rather than according to html 4.
git-svn-id: svn://10.0.0.236/trunk@63203 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:50:57 +00:00
cmanske%netscape.com
a8fcf6d5b7 Removed tableselection listener -- all selection now done in layout. Also added more table selection support for row, col from menu. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63202 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:41 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
cmanske%netscape.com
46e0d0143a Removed tableselection notification from nsIDOMSelectionListener -- no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63200 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:44:49 +00:00
pavlov%netscape.com
e4d67c49d7 make the NS_GetFactory stuff use generic factory code instead of doing it all by hand r=dp
git-svn-id: svn://10.0.0.236/trunk@63199 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:42:23 +00:00
attinasi%netscape.com
d039db6c10 Fixed build breakage - local API change snuck in to my checkin.
git-svn-id: svn://10.0.0.236/trunk@63198 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:37:00 +00:00
gagan%netscape.com
2dfafe2765 Fix a mem leak. r=jband
git-svn-id: svn://10.0.0.236/trunk@63197 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:31:53 +00:00
dougt%netscape.com
1fa2f2a246 adding the lock icon back the export list on windows. why was this removed??
git-svn-id: svn://10.0.0.236/trunk@63196 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:27:13 +00:00
chuang%netscape.com
f7894da752 Bug 18476 History ABook is not created for a New Profile until you have closed and reopened Seamonkey
git-svn-id: svn://10.0.0.236/trunk@63195 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:15:37 +00:00
hangas%netscape.com
ba29ee370f Fix for 32015 (adding sort direction indicators to address book column headers) submitted by Becki Sanford <becki@talkware.net>, modified by me, r=mscott
git-svn-id: svn://10.0.0.236/trunk@63194 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:12:50 +00:00
akkana%netscape.com
e439e2ff1a Do entity conversion even for output-to-string case. r=nhotta
git-svn-id: svn://10.0.0.236/trunk@63193 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:08:38 +00:00
hangas%netscape.com
ece8e3f27a More checkins to support fix to 32015, r=ben/mscott
git-svn-id: svn://10.0.0.236/trunk@63192 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:08:22 +00:00
hangas%netscape.com
719f467a5f Adding new sort direction images to build. These will be used by the checkin that fixes 32015 images by ben, r=me.
git-svn-id: svn://10.0.0.236/trunk@63191 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:07:32 +00:00
edburns%acm.org
b233b02f87 bug=32011
r=ashuk
a=edburns
This set of changes replaces all occurrences of

env->Func(args...)

with

::util_Func(env, args...)

Except of course, for the implementations of the above mentioned
::util_Func() functions.

This is done to allow the JNI functions to be called from a non JNI
context, such as UNO.


git-svn-id: svn://10.0.0.236/trunk@63190 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:07:03 +00:00
hangas%netscape.com
53322f1498 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@63189 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:05:33 +00:00
rpallath%eng.sun.com
5ab4c72d27 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@63188 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:05:30 +00:00
attinasi%netscape.com
39a3c92b6b Removed code that was causing a reframe when the class of an element changed. This is unnecessary and causes performance problems (reframes are expensive). b=21225 r=dcone,pierre
git-svn-id: svn://10.0.0.236/trunk@63187 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:04:21 +00:00
sfraser%netscape.com
0a2d8b73d0 File Removed.
git-svn-id: svn://10.0.0.236/trunk@63186 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:04:08 +00:00
sfraser%netscape.com
36aee55b67 Build new files for repeating timers. bug 904. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63185 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:03:12 +00:00
chuang%netscape.com
e86f8eabbd bug 27642 Javascript error when opening empty address book
git-svn-id: svn://10.0.0.236/trunk@63184 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:02:49 +00:00
sfraser%netscape.com
f8aaf41008 Activate repeating timers for the Mac. bug 904. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63183 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:02:32 +00:00
sfraser%netscape.com
ab3c5931ea Changes to nsRepeater to allow it to handle idlers as well as repeaters. bug 904. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@63182 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:01:56 +00:00
sfraser%netscape.com
0716795a94 Comment out some printfs. r=me
git-svn-id: svn://10.0.0.236/trunk@63181 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:01:04 +00:00
attinasi%netscape.com
7816e0550c Put an Invalidate call in ::Reflow when the image has changed - image was not repainting before. b=21225 r=buster
git-svn-id: svn://10.0.0.236/trunk@63180 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:01:03 +00:00
nhotta%netscape.com
5a83b0ef42 Added locale sensitive hanlding for 12/24 hour format, bug 27640, written by chjung@netscape.com, r=nhotta.
Changed to use do_GetService instead of CreateInstance, bug 30203, r=cata.


git-svn-id: svn://10.0.0.236/trunk@63179 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:59:43 +00:00
chuang%netscape.com
4c51b7d5db Bug 26070 wrap reuseExp.label
git-svn-id: svn://10.0.0.236/trunk@63178 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:58:36 +00:00
attinasi%netscape.com
71ee99d1fa Fixed a problem where loading an image into second browser window was not updating the dimensions. Also added temporary code to put the image type in the title, even though the image type is not really accurate yet. b=24478 r=dcone
git-svn-id: svn://10.0.0.236/trunk@63177 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:58:12 +00:00
rods%netscape.com
f4df672a66 I had the GetDefaultChecked and GetChecked methods reversed.
b=31009 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@63176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:57:08 +00:00
sfraser%netscape.com
3c3ee96c40 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@63175 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:57:02 +00:00
beard%netscape.com
846e3dedc9 bug 25050, fix incorrect usage of mPainting variable. r=jband
git-svn-id: svn://10.0.0.236/trunk@63174 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:55:42 +00:00
rpallath%eng.sun.com
28de304f50 Added new files
git-svn-id: svn://10.0.0.236/trunk@63173 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:54:41 +00:00
attinasi%netscape.com
9519b13665 Removed NavQuirk where FONT tags were ignored if an element was explicitly sized, since we couldn't know if it was explicitly sized by an *implicit* style rule or by another FONT tag. b=25810 r=dcone
git-svn-id: svn://10.0.0.236/trunk@63172 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:54:36 +00:00
wtc%netscape.com
d29cbfd262 Bugzilla bug #29427: implemented the 'distclean' target and made
'realclean' and 'clobber_all' synonymous with 'distclean'.  This
patch is contributed by Chris Seawood <cls@seawood.org>. r=wtc@netscape.com
Modified files: Makefile, Makefile.in, configure, configure.in,
config/Makefile.in, config/config.mk, config/rules.mk


git-svn-id: svn://10.0.0.236/trunk@63171 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:46:02 +00:00
norris%netscape.com
40adccb1d6 fix NullPointerException
git-svn-id: svn://10.0.0.236/trunk@63170 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:43:03 +00:00
rpallath%eng.sun.com
c89206de41 .
git-svn-id: svn://10.0.0.236/trunk@63169 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:42:09 +00:00
slamm%netscape.com
f12f3c9bfb oops. I checked in a bogus line.
git-svn-id: svn://10.0.0.236/trunk@63168 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:34:56 +00:00
slamm%netscape.com
4f89d84e2f Push required perl version to 5.005. "my" declarations in for and while loops can only be done with 5.005. Reformat the $Setting:* variables to fix 80 charater columns.
git-svn-id: svn://10.0.0.236/trunk@63167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:31:48 +00:00
slamm%netscape.com
e51cf31f1a Changes for jdunn for AIX and HP-UX
git-svn-id: svn://10.0.0.236/trunk@63166 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:29:48 +00:00
tbogard%aol.net
8154588296 Fix URL loading when coming from a command line. Tree blocker 31702.
git-svn-id: svn://10.0.0.236/trunk@63165 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:28:39 +00:00
rpallath%eng.sun.com
182fd9d0ee *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@63164 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:16:08 +00:00
rpallath%eng.sun.com
c33fe5ffd7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@63163 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:11:53 +00:00
rpallath%eng.sun.com
637c2bb6ce Pluglet API tests
git-svn-id: svn://10.0.0.236/trunk@63162 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:06:17 +00:00
jj%netscape.com
60fb3a6608 don't die if delete fails, just warn. a=granrose, r=leaf *** installer packaging only ***
git-svn-id: svn://10.0.0.236/trunk@63161 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 21:16:08 +00:00
despotdaemon%netscape.com
89deee98e7 Pseudo-automatic update of changes made by thayes@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@63160 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 19:43:47 +00:00
dbaron%fas.harvard.edu
a1979439b4 Fix makefile since libs phase no longer exists.
git-svn-id: svn://10.0.0.236/trunk@63159 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 17:54:10 +00:00
morse%netscape.com
738e96e9dc turn on image management, r=norris
git-svn-id: svn://10.0.0.236/trunk@63158 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 15:34:52 +00:00
ducarroz%netscape.com
177f042c36 Fix for bug18584. Add new properties for the save message dialog. R=jefft
git-svn-id: svn://10.0.0.236/trunk@63157 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 15:31:34 +00:00
pierre%netscape.com
cfc46042f9 #11859 "Loading remote stylesheet in editor fails". LoadAgentSheet() loads the page asynchronously if an observer if provided.
git-svn-id: svn://10.0.0.236/trunk@63156 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 11:44:00 +00:00
pierre%netscape.com
1e21eabd97 #11859 "Loading remote stylesheet in editor fails". Re-enable the "Apply Style Sheet" menu item after having fixed LoadAgentSheet() in nsCSSLoader.cpp.
git-svn-id: svn://10.0.0.236/trunk@63155 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 11:42:41 +00:00
pavlov%netscape.com
edece999f6 remove the dialog.start broadcaster/observer r=travis
git-svn-id: svn://10.0.0.236/trunk@63154 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 07:30:33 +00:00
bruce%cybersight.com
02e4dd69b0 Fix a potential leak of a drawing surface. Fix a definite and frequent leak of graphics contexts. r=Pavlov.
git-svn-id: svn://10.0.0.236/trunk@63153 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 06:53:59 +00:00
dougt%netscape.com
8e78b23d2b removing PSMTaskMenu.dtd from being exported since it is now exported from
/extensions/psm-glue.


git-svn-id: svn://10.0.0.236/trunk@63152 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 06:52:30 +00:00
pavlov%netscape.com
1b5bc508ec make destructors virtual to fix warnings
git-svn-id: svn://10.0.0.236/trunk@63151 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 06:51:22 +00:00
pavlov%netscape.com
1f6c49b6f5 remove PSMTaskMenu.dtd from the unix build here since it is exported from extentions/psm-glue now
git-svn-id: svn://10.0.0.236/trunk@63150 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 06:42:13 +00:00
pavlov%netscape.com
ca4e63bb2b remove PSMTaskMenu.xul from the files exported on unix since it is getting exported from extentions/psm-glue
git-svn-id: svn://10.0.0.236/trunk@63149 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 06:38:50 +00:00
pavlov%netscape.com
a0350dbcae fix travis's broken xul :-)
git-svn-id: svn://10.0.0.236/trunk@63148 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 06:33:55 +00:00
dougt%netscape.com
edd049b761 renaming security manager. bug 29289
git-svn-id: svn://10.0.0.236/trunk@63147 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 06:31:14 +00:00
dougt%netscape.com
a4785a4da5 Moving the Security Advisor menu item under the Personal Manager menu
sub group.


git-svn-id: svn://10.0.0.236/trunk@63146 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 06:30:23 +00:00
dougt%netscape.com
537fb7039a Adding an xul ID to a menupopup so that I can overlay it.
git-svn-id: svn://10.0.0.236/trunk@63145 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 06:29:13 +00:00
tbogard%aol.net
f1c59bb7d6 Changed our JS observer of status to watch WebBrowserChrome attributes rather than an older Browser:Status one. OverLink is now separated out. nsBrowserInstance no longer is an nsIObserver. It relies on nsXULWindow::nsIWebBrowserChrome implementation poking attributes on WebBrowserChrome element in the main window.
git-svn-id: svn://10.0.0.236/trunk@63144 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:45:48 +00:00
tbogard%aol.net
bb30d7f409 SetJSStatus, SetJSDefaultStatus and SetOverLink now poke a DOM attribute on element WebBrowserChrome in the xul window if one exists. Renamed nsXULWindow::GetDOMElementFromDocShell to be nsXULWindow::GetWindowDOMElement. This cleans up having to pass in the same docShell over and over and make it mean more of what it is. Added a nsXULWindow::GetElementById which returns an element of the specified id within the xul window. nsContentTreeOwner doesn't need to cache the defaultStatus. nsWebShellWindow doesn't need to call ExecutStartupCode anymore as that was only there for nsIXULWindowCallbacks code which is gone. nsWebShellWindow doesn't need to cache mStatus or mDefaultStatus.
git-svn-id: svn://10.0.0.236/trunk@63143 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:45:26 +00:00
jband%netscape.com
1f3d9b7fe3 fix typo in user message. bug 31950. You'd think we'd know how to spell netscape!
git-svn-id: svn://10.0.0.236/trunk@63142 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:45:16 +00:00
pinkerton%netscape.com
987a665e03 fix the popup positioning code to work better when sliding a popup along its parent's alignment axis to fit it on screen. now cannot go off the top or the right but is pinned to it. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@63141 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:13:15 +00:00
dcone%netscape.com
f39b32d4ab Support for Blending added. r=beard
git-svn-id: svn://10.0.0.236/trunk@63140 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:05:12 +00:00
pinkerton%netscape.com
ba606f7ad1 register the screen manager service in GFX r=scc.
git-svn-id: svn://10.0.0.236/trunk@63139 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 04:57:22 +00:00
pinkerton%netscape.com
815c3e54ea create the screen manager service when asked.
git-svn-id: svn://10.0.0.236/trunk@63138 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 04:57:05 +00:00
pinkerton%netscape.com
9c7026d039 add screen and screen manager to the build. r=scc.
git-svn-id: svn://10.0.0.236/trunk@63137 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 04:56:39 +00:00
pinkerton%netscape.com
e26f45ec3b adding screen manager r=scc
git-svn-id: svn://10.0.0.236/trunk@63136 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 04:55:46 +00:00
pinkerton%netscape.com
8d20a46437 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@63135 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 04:49:32 +00:00
bryner%uiuc.edu
af91bead6c Removing Makefiles that dougt deleted.
git-svn-id: svn://10.0.0.236/trunk@63134 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 04:26:11 +00:00
gagan%netscape.com
0b998bfacc Fix a mem leak. r=bruce.
git-svn-id: svn://10.0.0.236/trunk@63133 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 04:15:38 +00:00
svn%xmlterm.org
abac9d0957 xmlterm changes only (not part of the default build).
Removed stand-alone "geckoterm" from the default xmlterm build because it tends to be unstable.


git-svn-id: svn://10.0.0.236/trunk@63132 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 03:54:03 +00:00
gagan%netscape.com
6366ad21b3 Ooops typo.
git-svn-id: svn://10.0.0.236/trunk@63131 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 03:46:28 +00:00
gagan%netscape.com
129367a996 You can now run -g as well as other parameters to hand over to the prog. Now allowing debuggers (gdb/ddd) to pass the arguments over to teh program. So if you do "mozilla -g foo" it will correctly pass foo as an argument to run (or prun as the case maybe) r=pavlov
git-svn-id: svn://10.0.0.236/trunk@63130 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 03:39:46 +00:00
gagan%netscape.com
8a6c11aa51 Now allowing debuggers (gdb/ddd) to pass the arguments over to teh program. So if you do "mozilla -g foo" it will correctly pass foo as an argument to run (or prun as the case maybe) r=pavlov
git-svn-id: svn://10.0.0.236/trunk@63129 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 03:38:36 +00:00
bryner%uiuc.edu
d419808175 Change mousewheel debugging messages to use PR_LOG instead of being turned
on by an #ifdef.  This will enable nightly build users to generate useful
debugging output.


git-svn-id: svn://10.0.0.236/trunk@63128 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 03:34:52 +00:00
dougt%netscape.com
1a218211d5 Reverting alex's change.
git-svn-id: svn://10.0.0.236/trunk@63127 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 03:07:38 +00:00
karnaze%netscape.com
b4e649d32b new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@63126 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:56:12 +00:00
morse%netscape.com
b8a509fdc6 add a remove-all button
git-svn-id: svn://10.0.0.236/trunk@63125 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:32:48 +00:00
tbogard%aol.net
95f20a3e61 Converted calls to nsIWebShell::LoadURL to use nsIWebNavigation::LoadURI.
git-svn-id: svn://10.0.0.236/trunk@63124 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:30:51 +00:00
karnaze%netscape.com
cf5fcc4348 bug 30273 - removing the last remaining cell in a row caused the cell map to remove the row during an incremental reflow. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@63123 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:21:43 +00:00
tbogard%aol.net
854e3803a9 Change nsIWebShell::LoadURL calls to use nsIWebNavigation::LoadURI.
git-svn-id: svn://10.0.0.236/trunk@63122 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:20:26 +00:00
dveditz%netscape.com
5ad7fd8354 Setting WINVER to 0x400 to shut up the obnoxious warning and to prevent
accidental use of Win 5.0 API's that will not work on older Win machines


git-svn-id: svn://10.0.0.236/trunk@63121 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:56:47 +00:00
slamm%netscape.com
c087f2baf7 Fix some 'variable used once' warnings. Clean up the eval of the default config.
git-svn-id: svn://10.0.0.236/trunk@63118 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:43:53 +00:00
dbaron%fas.harvard.edu
ea1f78a20c Fix leak of nsPref. Bug 28819. r=erik@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63117 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:36:48 +00:00
sgehani%netscape.com
fdcbe6e613 Fix various cosmetic issues with the Mac native installer.
[b=29328, 28576, 18874, 31042, 29849; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@63116 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:34:48 +00:00
dbaron%fas.harvard.edu
34ae2a0e8c Prevent non-leak from showing up as a leak by scoping in a block. r=pinkerton@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63115 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:27:12 +00:00
dbaron%fas.harvard.edu
a915f864a2 Fix a leak of a device context. r=dcone@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63114 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:21:58 +00:00
ben%netscape.com
264ee07331 convert dialogOverlay to use new button widgets, make skinnable
git-svn-id: svn://10.0.0.236/trunk@63113 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:21:55 +00:00
ben%netscape.com
b782d8b316 skinnable profile manager, part 1.
git-svn-id: svn://10.0.0.236/trunk@63112 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:21:26 +00:00
ben%netscape.com
5cf9fad580 skinnable open location dialog
git-svn-id: svn://10.0.0.236/trunk@63111 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:19:23 +00:00
dbaron%fas.harvard.edu
ceb51c6540 Revise workaround for bug 28557 so we neither crash nor leak. r=waqar@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63110 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:16:53 +00:00
dbaron%fas.harvard.edu
d017095281 1) Make PRE line layout backwards compatible in quirks mode (related to bug 26998).
2) Don't use strings when I can use atoms.
3) Fix bug 28472 by correcting error in earlier checkin.
r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@63109 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:14:57 +00:00
ben%netscape.com
1d9e0d7ce7 styling the new widgets
git-svn-id: svn://10.0.0.236/trunk@63108 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:13:53 +00:00
dbaron%fas.harvard.edu
e96bd9a82b Fix bug 28570, leak of nsXULPrototypeDocument and nsJSContext (and things they owned). r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63107 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:11:02 +00:00
amusil%netscape.com
7829c39839 Fixes Bug 31847 (commercial blocker). r=syd, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@63106 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:03:03 +00:00
tbogard%aol.net
73803928e9 Call SetOverLink instead of SetJSStatus when over a link.
git-svn-id: svn://10.0.0.236/trunk@63105 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:02:23 +00:00
tbogard%aol.net
2a1ac4d9c8 Providing implementation for SetOverLink.
git-svn-id: svn://10.0.0.236/trunk@63104 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:01:57 +00:00
tbogard%aol.net
17adc15160 Removed isViewSource attribute. It is no longer needed. DocShell now handles state.
git-svn-id: svn://10.0.0.236/trunk@63103 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:52:52 +00:00
tbogard%aol.net
3d4f6cf62f Remove the isViewSource attribute. Changed a nsIWebShell::LoadURL to use nsIWebNavigation::LoadURI.
git-svn-id: svn://10.0.0.236/trunk@63102 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:52:02 +00:00
tbogard%aol.net
4061130fcb Remove viewsource.xul as it is no longer used. This is duplicate of browser's viewsource.xul anyway.
git-svn-id: svn://10.0.0.236/trunk@63101 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:50:26 +00:00
ducarroz%netscape.com
c49a6d368d Fix regression. Need to pass the event when creating, replying or forwarding a message. R=jefft
git-svn-id: svn://10.0.0.236/trunk@63100 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:42:55 +00:00
nhotta%netscape.com
f87a1e9e73 Changed flag for entity conversion, bug 27376, r=akkana.
git-svn-id: svn://10.0.0.236/trunk@63099 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:28:01 +00:00
locka%iol.ie
a8e353fa5f Fixed some problems building with the latest platform sdk
git-svn-id: svn://10.0.0.236/trunk@63098 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:25:22 +00:00
rjc%netscape.com
e2d267c7f9 When bringing up a context menu, only adjust selection if we actually have a treeitem. (This check also allows correct behavior of context menus on the background.)
git-svn-id: svn://10.0.0.236/trunk@63097 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:11:37 +00:00
ducarroz%netscape.com
395682391a Fix for bugs 18584 (draft warning when close window), bug 21841 (new recipient type should be same than previous one), bug 31250 (no key navigation in identity dropdown list), bug 28859 (don't ask for format when saving a message). R=jefft
git-svn-id: svn://10.0.0.236/trunk@63096 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:09:32 +00:00
ducarroz%netscape.com
a4309e5756 Fix for bug 18584. Add new API to check if body has been modified by user. R=jefft
git-svn-id: svn://10.0.0.236/trunk@63094 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 00:03:43 +00:00
beard%netscape.com
e8fb300544 uncovered leak exposes a crasher, this fixes it. r=waterson
git-svn-id: svn://10.0.0.236/trunk@63092 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:58:01 +00:00
akkana%netscape.com
af3c8c0562 Switch to the perl version of the test script
git-svn-id: svn://10.0.0.236/trunk@63091 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:47:00 +00:00
leaf%mozilla.org
dcc2829acf Automated update
git-svn-id: svn://10.0.0.236/trunk@63090 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:45:08 +00:00
ssu%netscape.com
7a5e6e003a fixing bug #31875 under win95. a=chofmann r=cathleen
git-svn-id: svn://10.0.0.236/trunk@63089 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:44:57 +00:00
dmose%mozilla.org
85dacb5545 get rid of undefined warning
git-svn-id: svn://10.0.0.236/trunk@63088 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:40:57 +00:00
seth%cs.brandeis.edu
df3d8f7f28 Added a bugzilla.procmailrc as a sample procmailrc file
bugzilla_email_append.pl calls processmail.pl after writing out the changes.


git-svn-id: svn://10.0.0.236/trunk@63087 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:39:11 +00:00
nhotta%netscape.com
fa8e95a9ef Changed to call Finish() after the conversion, bug 29652 , r=cata.
git-svn-id: svn://10.0.0.236/trunk@63086 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:38:27 +00:00
jdunn%netscape.com
0949927c3f for AIX check for libC_r instead of libC
discovered by ciaran.deignan@bull.net


git-svn-id: svn://10.0.0.236/trunk@63085 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:38:07 +00:00
nhotta%netscape.com
ca3b1add47 Added fallback charset for charset conversion, bug 28679, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@63083 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:33:43 +00:00
jdunn%netscape.com
f6df9528ce adding linker dependencies for AIX and other unixes
git-svn-id: svn://10.0.0.236/trunk@63082 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:33:10 +00:00
jdunn%netscape.com
a9e48f3923 removing redundant ;; to fix AIX build
git-svn-id: svn://10.0.0.236/trunk@63081 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:31:39 +00:00
nhotta%netscape.com
71f3aadf3b Changed to use do_GetService instead of CreateInstance, bug 30209, r=cata.
git-svn-id: svn://10.0.0.236/trunk@63080 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:31:08 +00:00
valeski%netscape.com
fec59bd368 fixing base64 encoding usage bug
git-svn-id: svn://10.0.0.236/trunk@63078 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:20:38 +00:00
valeski%netscape.com
e49d0dc46e 29551. we now ignore 'ls: total' coming back from an FTP server
git-svn-id: svn://10.0.0.236/trunk@63077 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:19:58 +00:00
valeski%netscape.com
90b2011677 29236 - we now treat files w/ 'ehtml' extentsion as html
git-svn-id: svn://10.0.0.236/trunk@63076 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:18:10 +00:00
sfraser%netscape.com
9486ee9c50 Fix for blocker 31669 -- pull the mozilla/security module, and install resources from mozilla/extensions/psm-glue. r=dougt,a=granrose
git-svn-id: svn://10.0.0.236/trunk@63075 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 22:44:18 +00:00
seth%cs.brandeis.edu
9697f05efa A few changes ...
1. BugzillaEmail.pm is a (kinda, sorta) module which is going to hold the various code which is common between all the scripts which access bugzilla via email.

2. bug_email.pl uses this module

3. bugzilla_email_append.pl is a mostly ready script which will append messages to existing bugs.


git-svn-id: svn://10.0.0.236/trunk@63074 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 22:29:49 +00:00
sfraser%netscape.com
75912fbce6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@63073 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 22:28:09 +00:00
sfraser%netscape.com
f781c7abca Add NavSecurityOverlay.css
git-svn-id: svn://10.0.0.236/trunk@63072 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 22:23:03 +00:00
sfraser%netscape.com
f67a6d67ac First Checked In.
git-svn-id: svn://10.0.0.236/trunk@63071 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 22:21:17 +00:00
wtc%netscape.com
5d0bf8cfad Checked in a patch contributed by Jerry L. Kirk
<Jerry.Kirk@Nexwarecorp.com>.


git-svn-id: svn://10.0.0.236/trunk@63070 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 22:00:37 +00:00
rginda%netscape.com
93b525c36d changing format of generated results file name to place the date before the engine name
git-svn-id: svn://10.0.0.236/trunk@63069 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 21:49:13 +00:00
terry%mozilla.org
299fa0a167 Add a "send mail to bug owners" link (under circumstances where it
seems useful and appropriate.)


git-svn-id: svn://10.0.0.236/trunk@63067 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 21:06:02 +00:00
wtc%netscape.com
e907c19e9b Improved comments. Bugzilla bug #30746
git-svn-id: svn://10.0.0.236/trunk@63066 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 20:58:45 +00:00
wtc%netscape.com
3fc793a715 Bugzilla bug #30746: add a PR_SetConcurrency(2) call in NSPR
initialization and have NSPR initialization wait until the timer
manager thread starts to run.
Modified files: prmwait.c, prinit.c


git-svn-id: svn://10.0.0.236/trunk@63063 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 20:00:42 +00:00
norris%netscape.com
a862a67020 clean up regressions in test suite from last fix
git-svn-id: svn://10.0.0.236/trunk@63062 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 19:40:53 +00:00
erik%netscape.com
ad08db0710 local .cvsignore file; does not affect build; r=none
git-svn-id: svn://10.0.0.236/trunk@63059 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 17:37:47 +00:00
norris%netscape.com
f7bcd4601a Fix regressions caused by support for function expression statements.
git-svn-id: svn://10.0.0.236/trunk@63057 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 17:18:12 +00:00
rods%netscape.com
65ce3a5b21 added #include for nsIContent.h to fix bustage
git-svn-id: svn://10.0.0.236/trunk@63056 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 16:45:01 +00:00
rods%netscape.com
b47bf11900 minor change so extended keyboard select works correctly
r=dcone


git-svn-id: svn://10.0.0.236/trunk@63055 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:56:26 +00:00
rods%netscape.com
1b47027ebe factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463


git-svn-id: svn://10.0.0.236/trunk@63054 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:55:30 +00:00
rods%netscape.com
3747feefc2 turning off debug #defines
git-svn-id: svn://10.0.0.236/trunk@63053 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:47:11 +00:00
rods%netscape.com
30ed3f06f4 removed ifdef's and replaceed them with if/then/else for GFX Lists and Dropdowns,
now they can be turned on with a boolean instead. This will help with debugging later
r=dcone, b=18895


git-svn-id: svn://10.0.0.236/trunk@63052 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:45:29 +00:00
jefft%netscape.com
dabff2813a fix bug31929 - wrong way to throw a message box; r=rhp
git-svn-id: svn://10.0.0.236/trunk@63051 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:38:14 +00:00
dcone%netscape.com
4dd269b52b Added a calculatioin for the offset in the lock. This is needed for the blending. r=rods.
git-svn-id: svn://10.0.0.236/trunk@63050 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:17:55 +00:00
troy%netscape.com
00091b65e3 b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange


git-svn-id: svn://10.0.0.236/trunk@63049 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:16:03 +00:00
mkaply%us.ibm.com
6152869f27 # 25555
r= edburns@acm.org
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@63048 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:15:29 +00:00
jst%netscape.com
fd197d925c Checking in patch from ah@numerik.uni-kiel.de (Pike), adding new Makefiles. r=me
git-svn-id: svn://10.0.0.236/trunk@63047 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:12:49 +00:00
rods%netscape.com
777c1be6e2 preparing it for prime-time, in the build, but not being used.
b=18895, r=dcone


git-svn-id: svn://10.0.0.236/trunk@63046 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:08:54 +00:00
dcone%netscape.com
011e8b3e98 fixed blender to work with the new viewmanager and mutliple bit depths.
r=rods


git-svn-id: svn://10.0.0.236/trunk@63045 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:07:14 +00:00
dcone%netscape.com
81df165cd8 fixed blender to work with viewer, cleaned up code, now works at most bit depths.
r=rods


git-svn-id: svn://10.0.0.236/trunk@63044 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:06:35 +00:00
rods%netscape.com
eaa6b0fa3e added Gfx Mode on/off for scrollbars
added the Urls menu for testing
b=27712, r=dcone


git-svn-id: svn://10.0.0.236/trunk@63043 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:01:26 +00:00
morse%netscape.com
32ae393e09 part of change for rev 1.172 that got forgotten -- consequence was that wallet tables were never being read
git-svn-id: svn://10.0.0.236/trunk@63042 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 14:57:53 +00:00
mkaply%us.ibm.com
a96f333ef7 # 25555
r= rogerl@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@63041 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 14:50:26 +00:00
svn%xmlterm.org
a49068c9d1 xmlterm changes only (not part of the default build).
More improvements to the user interface.


git-svn-id: svn://10.0.0.236/trunk@63040 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 14:44:32 +00:00
cmanske%netscape.com
a529f3c5da Fixed Editor bugs 28873, 29691, most of fixes for 14342 and 20973. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63039 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 14:37:12 +00:00
mkaply%us.ibm.com
02f35cde11 # 25555
r= rogerl@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@63038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 14:31:55 +00:00
rjc%netscape.com
15f854ebaf Fix bug # 22521: context menus should work on background of bookmarks window and background of bookmarks sidebar panel.
git-svn-id: svn://10.0.0.236/trunk@63037 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 09:59:04 +00:00
tbogard%aol.net
d3d2dbaf9f Remove unused parameter.
git-svn-id: svn://10.0.0.236/trunk@63036 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 09:49:50 +00:00
tbogard%aol.net
4b0f44205c Removed unneeded parameter.
git-svn-id: svn://10.0.0.236/trunk@63035 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 09:39:20 +00:00
rjc%netscape.com
f2644a0ee8 When processing IE Favorites (on Windows), handle eof correctly.
git-svn-id: svn://10.0.0.236/trunk@63034 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 09:08:45 +00:00
pavlov%netscape.com
2e9e82ac0a forward declare the interface instead of using ptr native for nsIDocumentLoaderObserver r=rginda
git-svn-id: svn://10.0.0.236/trunk@63032 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 08:41:52 +00:00
ssu%netscape.com
40c76640f9 fixing bug #31875 - adding a windows shortcut to the desktop
Also fixing a nsztool bug that shows up when compressing small files.

a=cathleen
r=cathleen


git-svn-id: svn://10.0.0.236/trunk@63031 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 08:36:31 +00:00
rjc%netscape.com
32e54dbcba On Mac, mark IE Favorites folders with a unique type so that they can be distinguished for regular bookmark folders.
git-svn-id: svn://10.0.0.236/trunk@63030 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 08:34:55 +00:00
sspitzer%netscape.com
dacafde150 fix assertion when adding a new news account. check that the newsrc file exists before trying
to open it and parse it.


git-svn-id: svn://10.0.0.236/trunk@63029 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 08:17:06 +00:00
dougt%netscape.com
e2e1c7e3da removing unused files. look at /extensions/psm-glue
git-svn-id: svn://10.0.0.236/trunk@63028 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 07:51:55 +00:00
dougt%netscape.com
82c6a72701 removing netwerk/security. It is not longer here. Look at the code in
/extensions/psm-glue.

r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@63027 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 07:50:01 +00:00
rjc%netscape.com
c78d33363f Fix bug # 28927: double-clicking on twisty problem. Also, add some context menus to bookmark sidebar panel.
git-svn-id: svn://10.0.0.236/trunk@63026 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 07:47:48 +00:00
dougt%netscape.com
6da87faa08 adding checks before delete().
git-svn-id: svn://10.0.0.236/trunk@63025 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 07:47:33 +00:00
sspitzer%netscape.com
03b92d3655 add RemoveFiles() to interface. we need this for when we clean up after deleting and account.
git-svn-id: svn://10.0.0.236/trunk@63023 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 07:12:59 +00:00
sspitzer%netscape.com
8138810ade add Delete() to the nsIFileSpec interface.
git-svn-id: svn://10.0.0.236/trunk@63022 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 07:07:56 +00:00
sspitzer%netscape.com
0082696cc1 fix for bug #31904. couple the identity and the server the the account before
setting any values on the identity.


git-svn-id: svn://10.0.0.236/trunk@63021 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 07:05:17 +00:00
cls%seawood.org
12c6e49a8d C++ comments in C code is A Bad Thing(tm).
git-svn-id: svn://10.0.0.236/trunk@63020 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:52:45 +00:00
dougt%netscape.com
b349f0c221 fixes to windows makefile slashes. r=Michael Kaply <pspmikek@yahoo.com>
git-svn-id: svn://10.0.0.236/trunk@63019 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:45:15 +00:00
jefft%netscape.com
a785d3ab39 fixed unnecessary database loading when building folder view; r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@63016 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:26:31 +00:00
dveditz%netscape.com
51ca5d7259 fixing VC5 build (bug 31868)
git-svn-id: svn://10.0.0.236/trunk@63015 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:22:09 +00:00
dveditz%netscape.com
d1a45626c8 Fix for bug 31399, r=sgehani
git-svn-id: svn://10.0.0.236/trunk@63014 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:15:27 +00:00
sspitzer%netscape.com
6039850a16 fix to get this to build on VMS. thanks to colin blake for this patch. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@63013 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:30:13 +00:00
ftang%netscape.com
6498793f31 change type from char to PRUnichar so the problem tracking code in 28424 won't be to noisy.
git-svn-id: svn://10.0.0.236/trunk@63011 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:19:29 +00:00
bryner%uiuc.edu
79bf29b3af Removing deleted Makefiles from allmakefiles.sh. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@63010 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:16:20 +00:00
ftang%netscape.com
cca19fdb3e check in illegal nsString char* usage tracking code. Turn off by default. r=rickg
git-svn-id: svn://10.0.0.236/trunk@63009 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:15:00 +00:00
sgehani%netscape.com
7707e0dc6d Fix pref migration shortcut launching. [b=31234, r=ssu]
git-svn-id: svn://10.0.0.236/trunk@63008 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:09:55 +00:00
tbogard%aol.net
9af05e94f2 Removing this as the interface is no longer used and should no longer be used.
git-svn-id: svn://10.0.0.236/trunk@63007 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:03:35 +00:00
bryner%uiuc.edu
52aae81167 Changing nsresult -> NS_IMETHODIMP.
git-svn-id: svn://10.0.0.236/trunk@63006 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 05:02:23 +00:00
karnaze%netscape.com
f325f1e22d fix warnings. submitted by jeroen@vangelderen.org, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@63005 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:50:25 +00:00
troy%netscape.com
a0f2ac4e06 b=21903. Fixes a crash when absolutely positioning a form element. The
problem was no space manager was getting created for the form's frame


git-svn-id: svn://10.0.0.236/trunk@63004 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:38:08 +00:00
tbogard%aol.net
835feeed94 Updated paramaters to FindNamedBrowserChrome() and changed it to FindNamedBrowser() to reflect changes in the API.
git-svn-id: svn://10.0.0.236/trunk@63003 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:34:29 +00:00
rhp%netscape.com
107f7f1369 Hmm...not sure why this doesn't break on linux tinderbox...nsIMimeService.h is not the right capitalization
git-svn-id: svn://10.0.0.236/trunk@63002 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:33:33 +00:00
tbogard%aol.net
933c26105e Implemented FindItemWithName and ContentShellAdded. Changed FindNamedBrowserChrome to deal with nsIWebBrowser instead of nsIWebBrowserChrome and changed the name to FindNamedBrowser. Changed FindNamedBrowser and GetNamedBrowser to return the type instead of having it as an out parameter. This is cleaner for JS.
git-svn-id: svn://10.0.0.236/trunk@63001 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:32:16 +00:00
bryner%uiuc.edu
8c80411e00 Fixing build bustage. Sorry about that.
git-svn-id: svn://10.0.0.236/trunk@63000 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:29:00 +00:00
dcone%netscape.com
bc91a76ba9 Put in a canonical pixel scale when images are being read in for the size. This reduces
the printer images sizes considerably.  r=kmclusk.


git-svn-id: svn://10.0.0.236/trunk@62999 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:24:21 +00:00
bryner%uiuc.edu
516bef93d5 Clean up handling of mousewheel prefs by removing built-in caching, and
use a shutdown observer so we can release the prefs service if
necessary.  r=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@62998 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:03:44 +00:00
rjc%netscape.com
22babbf88a Fix broken clicking metaphor for bookmarks sidebar panel. Review: pavlov.
git-svn-id: svn://10.0.0.236/trunk@62996 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:44:15 +00:00
rjc%netscape.com
5b2c694b16 Fix bug # 29045: small text change.
git-svn-id: svn://10.0.0.236/trunk@62995 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:32:24 +00:00
rjc%netscape.com
ae53638050 Part of fix for bug # 17333: add "Properties..." menuitem to context menu (if appropriate). Code from aaronr@us.ibm.com, review/slight mods: me.
git-svn-id: svn://10.0.0.236/trunk@62994 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:27:34 +00:00
hyatt%netscape.com
a19b6cd72b Landing new progressmeter.
git-svn-id: svn://10.0.0.236/trunk@62993 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:16:43 +00:00
blizzard%redhat.com
38572a5d11 fix for bug #18186. remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson
git-svn-id: svn://10.0.0.236/trunk@62992 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:08:28 +00:00
hyatt%netscape.com
9d32e223ab Landing the new progressmeter.
git-svn-id: svn://10.0.0.236/trunk@62991 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:06:46 +00:00
sspitzer%netscape.com
d42356110b fix for #31057. using prefs, you can turn off the confirm and alerts you get when you
cancel a news message.  suresh needs this for his automatic tinderbox test.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@62990 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:47:53 +00:00
seth%cs.brandeis.edu
26515dd429 updated to better reflect reality in terms of recent changes to bug_email.pl.
git-svn-id: svn://10.0.0.236/trunk@62989 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:43:48 +00:00
hyatt%netscape.com
fd73d4e7bc Nope. This was right the first time.
git-svn-id: svn://10.0.0.236/trunk@62987 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:36:17 +00:00
sgehani%netscape.com
72242b0aaf Updated package registry node names. [b=30928, r=cathleen]
git-svn-id: svn://10.0.0.236/trunk@62986 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:35:15 +00:00
rjc%netscape.com
ac79368e3f Part of fix for bug # 29212: prevent recursion when writing out bookmarks.
git-svn-id: svn://10.0.0.236/trunk@62985 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:30:06 +00:00
mscott%netscape.com
22196fea71 add thread safe addref and release.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@62984 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:29:46 +00:00
morse%netscape.com
97f3ebd297 remove erroneous test on files getting out of synch
git-svn-id: svn://10.0.0.236/trunk@62983 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:13:55 +00:00
karnaze%netscape.com
8b1782c955 new regression tests not affecting the build
git-svn-id: svn://10.0.0.236/trunk@62982 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:11:44 +00:00
rhp%netscape.com
eea2503b2c Fixes for compose back end problems - Bug #: 25610 29806 30048 30744 31207 31589
git-svn-id: svn://10.0.0.236/trunk@62981 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:09:43 +00:00
sgehani%netscape.com
83924b66b1 Launch apps using relative path (from installation root) rather than app creator. [b=31234, r=ssu]
git-svn-id: svn://10.0.0.236/trunk@62980 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:04:45 +00:00
blizzard%redhat.com
d2efe295fb patch for bug #31662. we can't compress Expose events out of order with the ConfigureNotify events so add and interface to the superwin object to handle compressing Expose events. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@62979 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:02:22 +00:00
ducarroz%netscape.com
943b5016b1 Fix bug 31568. Need to check if hostname isn't empty. R=mscott, A=phil,jar
git-svn-id: svn://10.0.0.236/trunk@62978 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:02:17 +00:00
hyatt%netscape.com
a3e8338350 Fix for bug #31847.
git-svn-id: svn://10.0.0.236/trunk@62977 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:01:14 +00:00
mscott%netscape.com
98f47ab8df Force all copy related objects to only get executed on the UI thread instead of the imap thread.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@62976 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:00:27 +00:00
leaf%mozilla.org
04a4344c2d Automated update
git-svn-id: svn://10.0.0.236/trunk@62975 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:00:20 +00:00
leaf%mozilla.org
1969e29b70 fixing paths to be absolute so third party dependent build systems can
take advantage of the linker scripts. r=slamm


git-svn-id: svn://10.0.0.236/trunk@62974 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:55:04 +00:00
rhp%netscape.com
bb8cdfecb1 Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589
git-svn-id: svn://10.0.0.236/trunk@62973 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:47:36 +00:00
rhp%netscape.com
47eb591527 Checking in project change of large checkin.
git-svn-id: svn://10.0.0.236/trunk@62972 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:46:55 +00:00
wtc%netscape.com
92b30b65a1 Added the generated header file to GARBAGE.
Modified files: lib/ds/Makefile, pr/src/Makefile, pr/src/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@62971 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:45:35 +00:00
mscott%netscape.com
1d88b6ecd1 Bug #30840 --> i broke scantxt for (c), (r) and +/- cases before beta1
r=alecf


git-svn-id: svn://10.0.0.236/trunk@62970 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:43:55 +00:00
wtc%netscape.com
f85013994d Moved the definition of GARBAGE to a standard place.
git-svn-id: svn://10.0.0.236/trunk@62969 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:43:40 +00:00
nhotta%netscape.com
a0461c8114 Changed to use do_GetService instead of CreateInstance, bug 30210, r=cata.
git-svn-id: svn://10.0.0.236/trunk@62968 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:41:38 +00:00
despotdaemon%netscape.com
f040516cda Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@62967 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:38:04 +00:00
nhotta%netscape.com
42c5261f8c Changed to use do_GetService instead of CreateInstance, bug 30212, r=cata.
git-svn-id: svn://10.0.0.236/trunk@62966 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:36:19 +00:00
nhotta%netscape.com
a8d39e0f11 Changed to use do_GetService instead of CreateInstance, bug 30210, r=cata.
git-svn-id: svn://10.0.0.236/trunk@62965 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:35:02 +00:00
nhotta%netscape.com
d5e3159aa3 Changed to use do_GetService instead of CreateInstance, bug 30205, r=cata.
git-svn-id: svn://10.0.0.236/trunk@62964 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:33:43 +00:00
despotdaemon%netscape.com
286f60a13a Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@62963 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:33:09 +00:00
av%netscape.com
d825a4fb54 Fix for 29688, ignorin Java plugin found in 4.x installation; r=stanley.ho@eng.sun.com, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62962 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:27:30 +00:00
rjc%netscape.com
40568ea061 Fix bug # 31624 (add Mac IE favorites foreign charset alias resolution support) and bug # 29135 (default to adding new bookmark items under the root node if there is no selection). Review: me
git-svn-id: svn://10.0.0.236/trunk@62961 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:24:47 +00:00
kmcclusk%netscape.com
4d0d56ea8d Added code to prevent invalidation of non-visible rectangles.
This is a performance enhancement for platforms where toolkit invalidate calls
are expensive. b=29847 r=rods@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@62960 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:20:07 +00:00
jdunn%netscape.com
34206a5cea fixing build bustage on HP. Complaining of char * being deprecated.
r= rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@62959 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:19:43 +00:00
ruslan%netscape.com
b5d2a5dc46 Keep-alive fixes: cancel outstanding i/o on windows, take care of the case
when the connection gets closed by the server because of the timeout.


git-svn-id: svn://10.0.0.236/trunk@62958 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:19:42 +00:00
kmcclusk%netscape.com
de70bd6961 Changed call nsFontMetricsWin::GetFontWeightTable
from ToCString to WideCharToMultiByte to support multibyte font names.
b=28399 r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@62957 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:18:34 +00:00
kmcclusk%netscape.com
0702710b84 b=29311 r=rods@netscape.com Added code in nsWindow::Move
Check to see if window needs to be removed first
to avoid a costly call to SetWindowPos.


git-svn-id: svn://10.0.0.236/trunk@62956 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:17:29 +00:00
dveditz%netscape.com
456d7d6b7a Fix starting time for "show previous" links when hours is set to something
other than 12


git-svn-id: svn://10.0.0.236/trunk@62955 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 00:49:16 +00:00
wtc%netscape.com
6bbad5d3b9 Bugzilla bug #29908: make sure that md.write.thread or md.read.thread is
nil when we return from SendReceiveStream so that we don't leave a
dangling reference for the OT notifier routine.  This patch is submitted
by Gordon Sheridon <gordon@netscape.com>.  r=wtc@netscape.com
a=jar@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@62950 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 00:01:06 +00:00
slamm%netscape.com
63aa603b95 Make sure NavSecurityOverlay.(js|xul) are exported properly. Fix orangeness on tinderbox.
git-svn-id: svn://10.0.0.236/trunk@62947 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 21:42:51 +00:00
srinivas%netscape.com
e3d4bda386 When a PRLock is released all the waiters are unblocked, rather than assign
the lock to a waiting thread. Bug #67751.


git-svn-id: svn://10.0.0.236/trunk@62946 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 20:16:39 +00:00
slamm%netscape.com
493dde3181 Fix build bustage. Thanks to jst@citec.fi for the patch. r=akkana,bienvenu a=granrose
git-svn-id: svn://10.0.0.236/trunk@62945 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 18:27:27 +00:00
slamm%netscape.com
55258087a2 Remove dist directory on 'clean' target. Otherwise, tinderbox never removes dist and thinks it has a complete binary when it does not. Maybe we should change the tinderbox scripts instead of doing this, but this will get tinderbox turning red now.
git-svn-id: svn://10.0.0.236/trunk@62944 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 17:55:03 +00:00
scc%netscape.com
e080803e50 Added ToDo.doc, so the list of things to do is visible in the project. This project is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62943 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 17:32:27 +00:00
scc%netscape.com
16821f8726 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62942 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 17:31:43 +00:00
scc%netscape.com
df6286e8e0 Incremental changes. Fixed some things that were stopping rickg from compiling. This file is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62941 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 17:10:03 +00:00
jst%netscape.com
a569842634 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@62940 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 16:24:34 +00:00
scc%netscape.com
51948b288b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62939 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 15:56:34 +00:00
rods%netscape.com
5c2a1378f5 I hate doing this, but a minor change to make the depend builds go green
git-svn-id: svn://10.0.0.236/trunk@62938 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 15:51:27 +00:00
rods%netscape.com
684522700a decls need to be outside the NS_DEBUG ifdef
git-svn-id: svn://10.0.0.236/trunk@62937 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 15:12:29 +00:00
srinivas%netscape.com
f463e58338 Added new functions to look up function symbols in dynamic libraries.
Bugzilla #27175.


git-svn-id: svn://10.0.0.236/trunk@62935 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:54:25 +00:00
karnaze%netscape.com
effb882b96 PDT+ bug 30559 - incorrect inclusion of table margin when placing row group. r=buster, a=rickg.
git-svn-id: svn://10.0.0.236/trunk@62934 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:42:25 +00:00
rods%netscape.com
3c4ce75563 now passing back maxElementSize correctly
b=30015


git-svn-id: svn://10.0.0.236/trunk@62933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:25:05 +00:00
rods%netscape.com
205fc102cc added menu items to turn on/off GFX scrollbars
added menu items to save and "Goto" to two urls, this helps a lot with testing.
b=27712


git-svn-id: svn://10.0.0.236/trunk@62932 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:19:56 +00:00
jefft%netscape.com
7c081c6699 fix bug 30784 - save messages / attachment with bogus path name failed sliently; this is bad if user think save was successful then followed by a delete and compact; we will have a data loss here
git-svn-id: svn://10.0.0.236/trunk@62931 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 13:54:42 +00:00
jefft%netscape.com
718a90de2d fix bug 27396 - shouldn't display error message when selecting uw folder-only mailbox, 28301 - failed to store/read folder flags from folderInfo, 28916 - need to handle /NoSelect folder as 4.x does; r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@62930 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 13:37:54 +00:00
hyatt%netscape.com
aa3a7715e9 Fixing build horkage.
git-svn-id: svn://10.0.0.236/trunk@62929 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 12:09:28 +00:00
rods%netscape.com
dcaa76aa21 preparing for GFX listboxes and dropdowns. This ifdefs the creation code so I
can turn them on and off.
b=18895


git-svn-id: svn://10.0.0.236/trunk@62928 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 12:03:21 +00:00
tbogard%aol.net
89761089a8 This should fix mac. Close is now Destroy().
git-svn-id: svn://10.0.0.236/trunk@62927 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:53:00 +00:00
ben%netscape.com
62abc16df7 fix prefwindow not coming up problem
git-svn-id: svn://10.0.0.236/trunk@62926 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:46:59 +00:00
rods%netscape.com
8eca658a1f This fixes a problem introduced bu checkin 3.258 and Bug 26834,
and is the branch checkin for bug 31713.
The problem is the code cheked into 3.258 does it for all windows, when you really
only want to do it for top level windows.
r=kmcclusk b=31713


git-svn-id: svn://10.0.0.236/trunk@62925 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:44:04 +00:00
hyatt%netscape.com
40e68f2cc3 Converting tabs.
git-svn-id: svn://10.0.0.236/trunk@62924 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:40:59 +00:00
hyatt%netscape.com
fc62f35d29 Converting tabs
git-svn-id: svn://10.0.0.236/trunk@62923 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:40:02 +00:00
ben%netscape.com
0cce9f32e6 pref panel appearance tweaks, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@62922 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:31:54 +00:00
hyatt%netscape.com
92fdb09921 Converting tabs.
git-svn-id: svn://10.0.0.236/trunk@62921 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:31:05 +00:00
tbogard%aol.net
88955b2f28 Removing nsIProgress and nsIProgressListener as they aren't used and are replaced in intent by nsIWebProgress and nsIWebProgressListener.
git-svn-id: svn://10.0.0.236/trunk@62920 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:28:11 +00:00
scc%netscape.com
e17d9adbfc Removed "nsIProgress.idl" and "nsIProgressListener.idl" for travis since Camelot is down. This is really travis' checkin.
git-svn-id: svn://10.0.0.236/trunk@62919 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:23:20 +00:00
hyatt%netscape.com
b703de8869 Moving scrollbars into separate file. Adding XBL for radios and tabs.
git-svn-id: svn://10.0.0.236/trunk@62916 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:17:11 +00:00
tbogard%aol.net
1bb86b8bfc Remove include of nsIProgress as the interface is going away.
git-svn-id: svn://10.0.0.236/trunk@62915 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:16:08 +00:00
tbogard%aol.net
a73a45cc60 Removed nsIBrowserWindow.h from the export list.
git-svn-id: svn://10.0.0.236/trunk@62914 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:09:48 +00:00
ben%netscape.com
1ba0f99246 forgot to add these files
git-svn-id: svn://10.0.0.236/trunk@62913 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:09:47 +00:00
hyatt%netscape.com
b5f669c6b3 Enhancing XBL. Making tabs boxes. Moving code from titledbutton to button.
git-svn-id: svn://10.0.0.236/trunk@62912 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:09:46 +00:00
tbogard%aol.net
ce6fc842a9 Changed nsIBrowserWindow references to reference nsBrowserWindow. nsBrowserWindow is no longer a component. More implementation to get nsBrowserWindow and nsWebBrowserChrome implementations geared towards the embedding code. made nsBrowserWindow implement nsIBaseWindow.
git-svn-id: svn://10.0.0.236/trunk@62911 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:08:43 +00:00
ben%netscape.com
f5ec95adc2 fixes for profile manager bugs 24851, 27526, 27595, 28283, 29139, 30246, 31472, 31473, 28185, 30094, 31151, 29633, 17721
git-svn-id: svn://10.0.0.236/trunk@62910 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:07:09 +00:00
tbogard%aol.net
dc99b75e70 Removing un-needed include of nsIBrowserWindow.h
git-svn-id: svn://10.0.0.236/trunk@62909 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:05:10 +00:00
tbogard%aol.net
e8a57cf95e Removing un-needed forward declare of nsIBrowserWindow.
git-svn-id: svn://10.0.0.236/trunk@62908 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:04:07 +00:00
ftang%netscape.com
81abf845d6 fix bug 29498. remove buggy hebrew hack untill the layout level support bi-di
by the bi-di team. r=erik


git-svn-id: svn://10.0.0.236/trunk@62907 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 09:39:57 +00:00
ftang%netscape.com
3c5a343df2 fix 23920. r=erik. Start the loop from 0 instead of 1. do not report result if we got no NON ascii data.
git-svn-id: svn://10.0.0.236/trunk@62906 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 09:36:51 +00:00
ftang%netscape.com
ebdba6dd7b fix 29498. Remove hebrew/arabic hack until bi-di team have the real solution in the layout level. r=erik
git-svn-id: svn://10.0.0.236/trunk@62905 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 09:31:39 +00:00
pierre%netscape.com
400ee4af22 #581 "CSS "must have" fonts cursive and fantasy aren't supported". Changed the default fonts to be compatible with OS9: cursive is Apple Chancery instead of Zapf Chancery and fantasy is Gadget instead of New Century Schlbk.
git-svn-id: svn://10.0.0.236/trunk@62904 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 08:55:12 +00:00
tbogard%aol.net
e3901dac35 Removed unused parameter.
git-svn-id: svn://10.0.0.236/trunk@62903 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 08:53:46 +00:00
pavlov%netscape.com
4c7207106a fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@62902 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:42:31 +00:00
pierre%netscape.com
ed6f7b2bac #30127 "-moz-fixed not friendly with the cascade". Inherit NS_STYLE_FONT_USE_FIXED together with the font face.
git-svn-id: svn://10.0.0.236/trunk@62901 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:30:29 +00:00
sspitzer%netscape.com
298feb2cbb fix for #31715. pass the nsIMsgWindow when trying to post a message.
(we may need it, if we have to authenticate the use for posting.)

also, clean up the code to handle NS_ERROR_* properly.


git-svn-id: svn://10.0.0.236/trunk@62900 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:21:44 +00:00
tbogard%aol.net
508b009b9f Use the generic factory to create the actual objects for the nsWebBrowserSetup and nsWebBrowser classes. Got rid of the unneeded ::Create methods on those classes.
git-svn-id: svn://10.0.0.236/trunk@62899 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:20:17 +00:00
tbogard%aol.net
a6616be366 nsDocShellTreeOwner now implements nsIWebProgressListener. nsIInterfaceRequestor is not a required interface of the embedding owner. Provided basic implementation for most of the nsIDocShellTreeOwner Methods. Provided basic implementation for most of nsIBaseWindow. Implementation for nsIWebProgressListener.
git-svn-id: svn://10.0.0.236/trunk@62898 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:10:08 +00:00
tbogard%aol.net
391789552a Updated paramaters to GetNewBrowserChrome() and changed it to GetNewBrowser() to reflect changes in the API. Added new functions SizeBrowserTo() and ShowAsModal() that were added to the nsIWebBrowserChrome API.
git-svn-id: svn://10.0.0.236/trunk@62897 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:06:07 +00:00
tbogard%aol.net
c0147da47d webBrowser now depends on the docShell implementing nsIWebProgress interface. It now passes all the work on to it as well.
git-svn-id: svn://10.0.0.236/trunk@62896 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:05:08 +00:00
sspitzer%netscape.com
3412dcc6dc use nsCOMPtr for the cached pref service instance. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@62895 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:03:00 +00:00
cls%seawood.org
4c378f85f4 Add nsprpub to STATIC_MAKEFILES for nspr-autoconf builds.
git-svn-id: svn://10.0.0.236/trunk@62894 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:53:01 +00:00
tbogard%aol.net
4379c5200f When setting the viewMode, dont' do a reload if there isn't already an URL loaded.
git-svn-id: svn://10.0.0.236/trunk@62893 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:30:30 +00:00
cls%seawood.org
227f0e9366 Set MKDEPEND_DIR using srcdir instead of CONFIG_TOOLS.
git-svn-id: svn://10.0.0.236/trunk@62892 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:17:27 +00:00
cls%seawood.org
6d43f646d6 Fix the distclean target so that it removes all of the generated Makefiles not just the traversed ones.
Move the _TOOLS variables to config.mk to fix tinderboxen that run targets before running configure again.
Change CONFIG_TOOLS to use DEPTH instead of topsrcdir.


git-svn-id: svn://10.0.0.236/trunk@62891 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:16:27 +00:00
pavlov%netscape.com
936a018533 add defined(RHAPSODY) around the XP_MAC lines
git-svn-id: svn://10.0.0.236/trunk@62890 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:16:13 +00:00
leaf%mozilla.org
9ad93b4246 Automated update
git-svn-id: svn://10.0.0.236/trunk@62889 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:15:15 +00:00
pavlov%netscape.com
7c2a58d613 update the pretty lil package file
git-svn-id: svn://10.0.0.236/trunk@62888 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:10:57 +00:00
pavlov%netscape.com
d2d7902a25 don't build psm stuff here anymore on unix
git-svn-id: svn://10.0.0.236/trunk@62887 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:09:41 +00:00
pavlov%netscape.com
eef9071628 psm-glue to extensions
git-svn-id: svn://10.0.0.236/trunk@62886 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:08:49 +00:00
pavlov%netscape.com
0871b07f14 shutup cvs
git-svn-id: svn://10.0.0.236/trunk@62885 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:07:06 +00:00
pavlov%netscape.com
a1c73d9b9b fix up unix makefiles a bit more
git-svn-id: svn://10.0.0.236/trunk@62884 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 06:06:42 +00:00
slamm%netscape.com
b4b2a4be1d Avoid infinite recursion on CONFIG_GUESS
git-svn-id: svn://10.0.0.236/trunk@62883 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:54:46 +00:00
pavlov%netscape.com
0b8fca4bb5 point to global
git-svn-id: svn://10.0.0.236/trunk@62881 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:46:59 +00:00
pavlov%netscape.com
8dcbafa83f get the locale stuff over too
git-svn-id: svn://10.0.0.236/trunk@62880 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:45:53 +00:00
tbogard%aol.net
1e84df08e2 L"" is not legal on all compilers to pass to a PRUnichar*. So instead need a temporary nsAutoString.
git-svn-id: svn://10.0.0.236/trunk@62879 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:41:02 +00:00
putterman%netscape.com
44019ceca9 r=bienvenu. Fixes for 29970 - deleting last message in a folder works. 17074 - remember
sort per folder.  27749 View Message menu works.  16966 Mark thread read.  28419 File Button


git-svn-id: svn://10.0.0.236/trunk@62878 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:38:51 +00:00
putterman%netscape.com
9210b4a8e0 r=bienvenu. Fix for 16966. Can now mark a thread read.
git-svn-id: svn://10.0.0.236/trunk@62877 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:34:42 +00:00
pavlov%netscape.com
a0983494c8 move some other files
git-svn-id: svn://10.0.0.236/trunk@62876 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:34:02 +00:00
putterman%netscape.com
1b7e1446cf r=bievenu. fix for 16966. Can now mark a thread read.
git-svn-id: svn://10.0.0.236/trunk@62875 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:31:56 +00:00
troy%netscape.com
d7b97b6876 b=24125. For INPUT elements we use value of NAME attribute as fallback
for alternate text


git-svn-id: svn://10.0.0.236/trunk@62874 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:30:00 +00:00
putterman%netscape.com
30bd86806f r=bienvenu. Don't fail if there's no unread thread.
git-svn-id: svn://10.0.0.236/trunk@62873 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:29:34 +00:00
putterman%netscape.com
de28d668d9 r=bienvenu. Fix for bug 31363 and other progess problems. Deleting from a local folder
doesn't cause meteors to go on forever.


git-svn-id: svn://10.0.0.236/trunk@62872 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:27:34 +00:00
dougt%netscape.com
5721f55fcf fix for 28942 nsILocalFile::Exists() returns a FILE_NOT_FOUND error.
r=pete@alphanumerica.com


git-svn-id: svn://10.0.0.236/trunk@62871 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:11:02 +00:00
pavlov%netscape.com
996670b32e shutup cvs
git-svn-id: svn://10.0.0.236/trunk@62870 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:07:59 +00:00
mscott%netscape.com
2251803dea rewrite a couple methods so we don't need reduce the number of string allocations.
I was able to remove yet another instance where we copy the entire message body.
r=alecf.


git-svn-id: svn://10.0.0.236/trunk@62869 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:04:54 +00:00
pavlov%netscape.com
126edd9ec8 fix unix makefiles
git-svn-id: svn://10.0.0.236/trunk@62868 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:04:06 +00:00
mscott%netscape.com
e54242317f pass nsString's by reference to reduce an extra copy of the entire message body!!
performance improvements by reducing the number of memory allocations...
Fix a leak of the dom node used to insert text into by using a nsCOMPtr.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@62867 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:03:29 +00:00
putterman%netscape.com
2ff2e14e90 r=ben. Add styles for button menus of buttons with other28 class. Used for File
button in mailnews thread pane.


git-svn-id: svn://10.0.0.236/trunk@62866 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:02:56 +00:00
ruslan%netscape.com
c4d6f7fecc Mark EOF when connection gets closed as well. Fixes www.microsoft.com with
keepalive on.


git-svn-id: svn://10.0.0.236/trunk@62865 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:02:16 +00:00
cls%seawood.org
62d0edd5f9 Actually remove libs phase from all:: target. Add win32 target for MKSHLIB.
git-svn-id: svn://10.0.0.236/trunk@62864 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:57:13 +00:00
dougt%netscape.com
c6ffeccaa7 Adding psmglue to the package list.
git-svn-id: svn://10.0.0.236/trunk@62863 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:56:33 +00:00
dougt%netscape.com
a13f450f99 removing security from makefile. Look at mozilla/extensions/psm-glue
git-svn-id: svn://10.0.0.236/trunk@62862 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:55:51 +00:00
troy%netscape.com
c6677cbff9 b=29893. Pollmann had added code to keep us from crashing. I made sure
that the correct tiling behavior happened in the case where the viewport
isn't scrollable


git-svn-id: svn://10.0.0.236/trunk@62861 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:55:42 +00:00
dougt%netscape.com
d57f5defe3 Adding psm-glue to the extensions build path.
git-svn-id: svn://10.0.0.236/trunk@62860 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:54:37 +00:00
dougt%netscape.com
02515f2679 fixing gifs that were smashed by not adding them initially with the -kb option.
<rant> CVS should know that gif images should not be merged, duh! </rant>


git-svn-id: svn://10.0.0.236/trunk@62859 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:51:30 +00:00
dougt%netscape.com
72b227c687 adding -kb flag to gifs
git-svn-id: svn://10.0.0.236/trunk@62858 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:45:19 +00:00
tbogard%aol.net
ee1682ada9 BrowserViewSource now brings up viewSource.xul instead of navigator.xul. Navigator.xul no longer supports coming up in viewSource mode. Using the same window for such a thing causes unneeded slow down and complexity.
git-svn-id: svn://10.0.0.236/trunk@62857 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:44:58 +00:00
tbogard%aol.net
3317264e51 Brought the viewSource.xul back to life. It now uses the docShell viewMode to specify that the iframe is in viewSource mode.
git-svn-id: svn://10.0.0.236/trunk@62856 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:43:50 +00:00
dougt%netscape.com
62b6dfc2e3 landing psm-glue code.
git-svn-id: svn://10.0.0.236/trunk@62855 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:41:48 +00:00
tbogard%aol.net
606cb975b6 Removed the ViewSource function as it is no longer used. BrowserViewSource is what is always used now.
git-svn-id: svn://10.0.0.236/trunk@62854 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:41:46 +00:00
mcafee%netscape.com
9613b99768 Adding auto-create-profile support.
git-svn-id: svn://10.0.0.236/trunk@62853 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:41:15 +00:00
tbogard%aol.net
ae2697ef17 When bringing up the View Source window, set the title and set the mode on the docShell.
git-svn-id: svn://10.0.0.236/trunk@62852 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:39:46 +00:00
tbogard%aol.net
4650052cfd Added support for setting a docShell into viewSource mode or viewNormal mode. Changed calls to creating the contentViewer to rely on the mode of the docshell for deciding the state it is in. Made docShell support the nsIWebProgress interface. Stubbed out the methods for it's implementation.
git-svn-id: svn://10.0.0.236/trunk@62851 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:36:55 +00:00
tbogard%aol.net
51ab71bc51 Added support for setting a docShell into viewSource mode or viewNormal mode.
git-svn-id: svn://10.0.0.236/trunk@62850 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:35:37 +00:00
dougt%netscape.com
7fb3096fa7 Landing psm-glue code.
Merging into one library.


git-svn-id: svn://10.0.0.236/trunk@62849 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:34:33 +00:00
slamm%netscape.com
440b755625 Fix configure for people without '.' in their path.
git-svn-id: svn://10.0.0.236/trunk@62847 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:31:49 +00:00
troy%netscape.com
7454a237ab Changed to use threadsafe implementations of addref/release
git-svn-id: svn://10.0.0.236/trunk@62846 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:06:10 +00:00
gagan%netscape.com
06c0e138b6 Updating the test case for last changes as well...
git-svn-id: svn://10.0.0.236/trunk@62845 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:03:46 +00:00
troy%netscape.com
8f7ef0638a b=24506 r=buster@netscape.com When calculating the width of a block frame
and it's an unconstrained reflow, then make sure to include the right
margin


git-svn-id: svn://10.0.0.236/trunk@62844 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:03:33 +00:00
tbogard%aol.net
d04edcaa2e Tweaked a comment to not mention nsIBrowserWindow which is going away.
git-svn-id: svn://10.0.0.236/trunk@62843 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:58:45 +00:00
tbogard%aol.net
9464ca8f0a Removed un-needed forward declare of nsIBrowserWindow.
git-svn-id: svn://10.0.0.236/trunk@62842 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:57:42 +00:00
ruslan%netscape.com
3b12831da9 Add comments to all.js for http1.1 preferences
git-svn-id: svn://10.0.0.236/trunk@62841 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:56:18 +00:00
dbaron%fas.harvard.edu
52486596fd Belatedly take credit/blame for my changes. r=jim_nance@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@62840 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:52:18 +00:00
dbaron%fas.harvard.edu
34f9eda15b Document trick to make jprof work under RedHat 6.0. r=jim_nance@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@62839 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:50:43 +00:00
ruslan%netscape.com
609b6973af Fix 10738, partial fix for 21020. Keep-alive, http/1.1, transfer-encoding: chunked
can now be turned on (network.http.version=1.1); network.http.keep-alive can also
be used, however not recommended (1.1 pref will automatically enable keepa-alive).
r=warren,gagan


git-svn-id: svn://10.0.0.236/trunk@62838 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:41:46 +00:00
bienvenu%netscape.com
061692f286 add in use hdr cache, performance enhancement, r=scottip
git-svn-id: svn://10.0.0.236/trunk@62837 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:39:43 +00:00
warren%netscape.com
d9a211282a Added nsHTTPChunkConv.cpp for Ruslan.
git-svn-id: svn://10.0.0.236/trunk@62836 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:34:37 +00:00
leaf%mozilla.org
587b2c1443 Automated update
git-svn-id: svn://10.0.0.236/trunk@62835 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:30:10 +00:00
jim_nance%yahoo.com
23345ea44b Fixed a small bug WRT shared library naming
git-svn-id: svn://10.0.0.236/trunk@62834 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:27:13 +00:00
akkana%netscape.com
6ae581b515 31438: stealth msg compose (r=ducarroz)
git-svn-id: svn://10.0.0.236/trunk@62833 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:25:15 +00:00
gagan%netscape.com
2243abab30 Fix for 30385. We were leaking channel due to the no longer needed "proxy channel" by the cache transport (mem cache) Also removed nsIHttpEventSink.h since its now an IDL. Also fixed 31667, 31222, 31657 (the assertion failures for thread safety)
git-svn-id: svn://10.0.0.236/trunk@62832 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:24:56 +00:00
akkana%netscape.com
dc13b280c3 Install the new TestOutSinks.pl
git-svn-id: svn://10.0.0.236/trunk@62831 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:24:44 +00:00
slamm%netscape.com
bf96f8a3b4 Move unix build script from mozilla/config to mozilla/build/unix
git-svn-id: svn://10.0.0.236/trunk@62830 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:22:44 +00:00
slamm%netscape.com
e1436cb627 Remove unused tool.
git-svn-id: svn://10.0.0.236/trunk@62829 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:21:16 +00:00
gagan%netscape.com
b93aaf97ce Fix for 30385. We were leaking channel due to the no longer needed "proxy channel" by the cache transport (mem cache)
git-svn-id: svn://10.0.0.236/trunk@62828 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:20:26 +00:00
slamm%netscape.com
1848b393cd Move non-autoconf tools to build/unix
git-svn-id: svn://10.0.0.236/trunk@62827 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:20:14 +00:00
slamm%netscape.com
84f486da45 Rename find-mozconfig.sh to mozconfig-find. Rename load-mozconfig.sh to mozconfig2configure. Rename mozconfig2defs.sh to mozconfig2client-mk. Also, take an extra parameter for topsrcdir.
git-svn-id: svn://10.0.0.236/trunk@62826 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:18:54 +00:00
joki%netscape.com
04b8c32143 Fix bug 25353, check if jsval is a string before converting it to one. a:rickg, r:vidur
git-svn-id: svn://10.0.0.236/trunk@62825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:18:43 +00:00
ruslan%netscape.com
6688eb3fca Fix multithreadness assert in the file channel, r=warren
git-svn-id: svn://10.0.0.236/trunk@62824 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:18:26 +00:00
slamm%netscape.com
60cfde10e2 Ripout everything except what ns tree needs on top of mozilla tree. ns tree's autoconf.mk.in will now include the one from mozilla. All you have to do is override settings if necessary.
git-svn-id: svn://10.0.0.236/trunk@62823 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:16:25 +00:00
danm%netscape.com
7fa53db652 added factory source files
git-svn-id: svn://10.0.0.236/trunk@62822 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:13:54 +00:00
danm%netscape.com
13ea8d58c4 two more source files necessary for webBrowser.mcp
git-svn-id: svn://10.0.0.236/trunk@62821 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:12:07 +00:00
danm%netscape.com
2eebdf435f making webBrowser.mcp a component
git-svn-id: svn://10.0.0.236/trunk@62820 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:10:39 +00:00
mscott%netscape.com
5ee7082349 Fix the problem where the thread pane / message pane splitter would always move and
"creep" up when you displayed messages. thanks to evaughan for helping me figure this out.


git-svn-id: svn://10.0.0.236/trunk@62819 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:02:08 +00:00
akkana%netscape.com
402752ab10 Bug 20207, extra lines in textarea (r=buster)
git-svn-id: svn://10.0.0.236/trunk@62818 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:56 +00:00
jdunn%netscape.com
f14c7dc57f just adding 'newlines' UGH!
git-svn-id: svn://10.0.0.236/trunk@62817 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:38 +00:00
slamm%netscape.com
717cfd54d5 Change 'Search Results' to 'Search'
git-svn-id: svn://10.0.0.236/trunk@62816 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:28 +00:00
slamm%netscape.com
02681b01bd Use simplified CHROME rules. Use default dirs for install locations.
git-svn-id: svn://10.0.0.236/trunk@62815 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:26 +00:00
akkana%netscape.com
890297e8f8 17883, indentation spaces (from Daniel Bratell, bratell@lysator.liu.se),
30380, blockquote should be block (also from Daniel),
6079, URLs surrounded by quotes *and* angle brackets (from Ben Bucksch,
      mozilla@bucksch.org),
translate test into perl (so it will eventually be runnable on mac)
 and fix up some old tests (me).


git-svn-id: svn://10.0.0.236/trunk@62814 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:15 +00:00
slamm%netscape.com
92b8d84b08 Clean up clean targets. Use defines from autoconf.mk.in for build tools (*_TOOLS). Simplify CHROME rules (combine them into one shell process).
git-svn-id: svn://10.0.0.236/trunk@62813 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:00:52 +00:00
slamm%netscape.com
fb34c8be1f Add flag to avoid multiple inclusions. Use defines from autoconf.mk.in for tool locations (supports 3rd party builds). Move include of insure.mk from autoconf.mk.in to config.mk
git-svn-id: svn://10.0.0.236/trunk@62812 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:00:38 +00:00
slamm%netscape.com
f69a5e97fd Add flag to avoid multiple inclusions.
git-svn-id: svn://10.0.0.236/trunk@62811 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:00:13 +00:00
leaf%mozilla.org
05b8800343 Automated update
git-svn-id: svn://10.0.0.236/trunk@62810 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:00:12 +00:00
slamm%netscape.com
1f1736f1c4 Add defines for tool locations (supports 3rd party builds). Move insure include into config.mk
git-svn-id: svn://10.0.0.236/trunk@62809 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:00:04 +00:00
slamm%netscape.com
d3312c05de Rename load-mozconfig.sh to mozconfig2configure.
git-svn-id: svn://10.0.0.236/trunk@62808 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:00:00 +00:00
slamm%netscape.com
33bc9e5561 Pass MOZ_TOPSRCDIR to altoptions.m4. This allows third parties (like netscape) to refer to the mozilla copy rather than copying it (and mozconfig2configure and mozconfig-find) into their own tree.
git-svn-id: svn://10.0.0.236/trunk@62807 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:59:54 +00:00
slamm%netscape.com
c539812e4b Remove obsolete libs target. Remove clean targets and let regular make handle it. Use new names for mozconfig scripts.
git-svn-id: svn://10.0.0.236/trunk@62806 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:59:43 +00:00
slamm%netscape.com
7d46d6d01e Add GARBAGE for clean/distclean targets. Remove unused real_* targets.
git-svn-id: svn://10.0.0.236/trunk@62805 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:59:36 +00:00
akkana%netscape.com
8ff540f0a5 31438: stealth msg compose (r=ducarroz)
git-svn-id: svn://10.0.0.236/trunk@62804 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:59:13 +00:00
akkana%netscape.com
ed1487128d 25645, fix delete line and kill to end
git-svn-id: svn://10.0.0.236/trunk@62803 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:58:14 +00:00
akkana%netscape.com
7eb76da572 Fix paste as quotation
git-svn-id: svn://10.0.0.236/trunk@62802 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:57:38 +00:00
akkana%netscape.com
880d91f35d Add a helpful comment
git-svn-id: svn://10.0.0.236/trunk@62801 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:57:10 +00:00
akkana%netscape.com
6aaf665efd 6085, middle mouse should load link in new window (r=alecf,puetzk@iastate.edu);
24571, middle-mouse paste should be pref-able (r=mcafee);
plus nonmodal pref window (r=pavlov).


git-svn-id: svn://10.0.0.236/trunk@62800 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:56:48 +00:00
pavlov%netscape.com
b0be8963eb remove all the menu stuff from the build to fix 21652
git-svn-id: svn://10.0.0.236/trunk@62799 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:55:59 +00:00
sfraser%netscape.com
447f2fcc72 Fix so that bugs like 31710 are easier to find in future -- printf when opening a file fails. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@62797 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:10:20 +00:00
sfraser%netscape.com
d7c0afdfa2 Fix for 31710 -- install psm.js so that the mac build starts up. r=pavlov, a=granrose
git-svn-id: svn://10.0.0.236/trunk@62796 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 02:09:39 +00:00
norris%netscape.com
b0a2c67325 31251 NervousText.js applet doesn't work
git-svn-id: svn://10.0.0.236/trunk@62794 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 01:20:45 +00:00
wtc%netscape.com
d589b4b0f9 Bugzilla bug #31697: Mac OS X (Rhapsody) port, based on the patch that
Stuart Parmenter <pavlov@netscape.com> sent to me.
Modified files: Rhapsody.mk, arch.mk, _pth.h, _rhapsody.h, prlink.c,
rhapsody.c, uxproces.c, uxrng.c, ptio.c, pr/tests/Makefile,
pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@62792 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 00:43:31 +00:00
wtc%netscape.com
1453b7d179 Fixed an error in the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@62791 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 00:33:02 +00:00
beard%netscape.com
6603defa8e added mozilla/js/rhino/org/mozilla/javascript/tools/jsc/Main.java
git-svn-id: svn://10.0.0.236/trunk@62789 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 00:24:23 +00:00
mcafee%netscape.com
be942e2e76 AliveTest warning comment.
git-svn-id: svn://10.0.0.236/trunk@62788 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 23:47:48 +00:00
mcafee%netscape.com
b8e0b23038 MailNewsTest changes.
git-svn-id: svn://10.0.0.236/trunk@62787 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 23:44:49 +00:00
sdv%sparc.spb.su
3381a0c4c8 added target to make java classes on windows
git-svn-id: svn://10.0.0.236/trunk@62785 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 23:03:07 +00:00
norris%netscape.com
f062645ceb generalize on number of threads, add synchronization point so test case behaves as advertised
git-svn-id: svn://10.0.0.236/trunk@62779 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 21:45:02 +00:00
danm%netscape.com
601dbc9ba9 adding webBrowser.mcp (the embedding project) to the build
git-svn-id: svn://10.0.0.236/trunk@62774 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 19:27:01 +00:00
despotdaemon%netscape.com
dfbf272ffe Pseudo-automatic update of changes made by eddyk@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62773 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 18:53:51 +00:00
edburns%acm.org
f4d7081311 This checkin adds API to cleanly destroy a BrowserControl instance. It
also modifies EmbeddedMozilla so this code is exercised.

I have changed EmbeddedMozilla to be a stub-like class that simply
displays a Frame with a single Button, titled "New Window".  Pressing
this button causes an EMWindow to be created and displayed.  EMWindow is
basically the former EmbeddedMozilla renamed, with modifications to the
WindowListener implementation to call the BrowserControl deallocation
method.

I've added a delete() method to ImplObect:

 * I know Java has automatic garbage collection and all, but explicitly
 * adding a delete method helps the gc algorithm out. <P>

 * Subclasses should override this and call super.delete() at the end of
 * their overridden delete() method.

 * @see org.mozilla.webclient.wrapper_native.ImplObjectNative#delete

and ImplObjectNative:

 * Note how we call super.delete() at the end.  THIS IS VERY IMPORTANT. <P>

 * Also, note how we don't de-allocate nativeWebShell, that is done in
 * the class that owns the nativeWebShell reference, WindowControlImpl.

 * ImplObjectNative subclasses that further override delete() are <P>

<CODE><PRE>
BookmarksImpl.java
EventRegistrationImpl.java
NativeEventThread.java
WindowControlImpl.java
</PRE><CODE> <P>

 * All other ImplObject subclasses don't have any local Ivars and thus
 * don't need to override delete().

I've added a delete() method to BrowserControlImpl:

 * Called from BrowserControlFactory.deleteBrowserControl() <P>

 * The order of deletion of objects is very important! <P>

 * We don't allow deletion if the Canvas is showing. <P>

In BrowserControlImpl's delete(), the important delete()s is for
WindowControlImpl:

 * First, we delete our eventThread, which causes the eventThread to
 * stop running.  Then we call nativeDestroyInitContext(), which
 * deallocates native resources for this window.

As stated above, NativeEventThread.delete() is called:

 * This is a very delicate method, and possibly subject to race
 * condition problems.  To combat this, our first step is to set our
 * browserControlCanvas to null, within a synchronized block which
 * synchronizes on the same object used in the run() method's event
 * loop.  By setting the browserControlCanvas ivar to null, we cause the
 * run method to return.

After all of this deleting, we return from
BrowserControlFactory.delete().


git-svn-id: svn://10.0.0.236/trunk@62772 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 18:44:32 +00:00
norris%netscape.com
ef145f4dba Implement distinction between function statements, function expressions, and function expression-statements.
git-svn-id: svn://10.0.0.236/trunk@62769 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 18:27:42 +00:00
norris%netscape.com
3e9e5352a0 Fix 31639 Oldstyle Java property method names no longer work with defineClass
git-svn-id: svn://10.0.0.236/trunk@62768 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 17:12:36 +00:00
leaf%mozilla.org
f03e7a8d34 updating nspr tag to magical, stringently controlled rolling branch tag,
making client.mak update itself on each pull.


git-svn-id: svn://10.0.0.236/trunk@62766 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 15:56:44 +00:00
brade%netscape.com
70cb85c13a move NavSecurityOverlay.css into skin (from content)
git-svn-id: svn://10.0.0.236/trunk@62765 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 15:55:19 +00:00
leaf%mozilla.org
66db090248 updating nspr tag to magical, stringently controlled rolling client branch
tag.


git-svn-id: svn://10.0.0.236/trunk@62764 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 15:54:11 +00:00
brade%netscape.com
27c9d24c9e move to new nspr tag; install netwerk:security:browser resources
git-svn-id: svn://10.0.0.236/trunk@62763 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 15:53:59 +00:00
svn%xmlterm.org
c605556b32 xmlterm changes only (not part of the default build).
Improvements to the user interface. User level-option and icons-style option
added. Keyboards shortcuts too. Compiles with M14 and March10 source.


git-svn-id: svn://10.0.0.236/trunk@62762 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 15:48:32 +00:00
hyatt%netscape.com
3031fc5564 handling disabled case for checkboxes and radios.
git-svn-id: svn://10.0.0.236/trunk@62761 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 13:05:46 +00:00
Jerry.Kirk%Nexwarecorp.com
506dd5cf36 Removing "#include <sys/un.h>" because it is not present under Neutrino
and VMS and it does not appear to be needed either.
r=colin,cls


git-svn-id: svn://10.0.0.236/trunk@62760 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 13:03:52 +00:00
hyatt%netscape.com
cf8e00290e Making menus give feedback even when disabled. r=ben
git-svn-id: svn://10.0.0.236/trunk@62759 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 10:37:57 +00:00
hyatt%netscape.com
f4bb1b633f Fixing two bugs in menulist. r=ben
git-svn-id: svn://10.0.0.236/trunk@62758 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 10:20:34 +00:00
cls%seawood.org
cd65b260c6 Remove unconditional define of HAVE_DEV_ZERO for solaris.
Add NEED_USLEEP_PROTOTYPE define for osf1.
Replace the osf specific ifdefs in widget with NEED_USLEEP_PROTOTYPE ifdefs.


git-svn-id: svn://10.0.0.236/trunk@62757 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 08:35:57 +00:00
tbogard%aol.net
7dfa954cc6 Changed to a generic module.
git-svn-id: svn://10.0.0.236/trunk@62756 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 07:21:36 +00:00
tbogard%aol.net
42b0adbf42 Made the constructor public so we can access it from the generic module code.
git-svn-id: svn://10.0.0.236/trunk@62755 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 07:11:21 +00:00
tbogard%aol.net
c38f183f8d Made the constructor public.
git-svn-id: svn://10.0.0.236/trunk@62754 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 07:09:54 +00:00
dcone%netscape.com
c683196c5a Changed the SelectPallete attribute for the forground from true to false, it will
now select a palette that is not a background palette.  r=rods b=25979


git-svn-id: svn://10.0.0.236/trunk@62753 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 03:38:52 +00:00
buster%netscape.com
881ea59787 bug 28553. removed pref that controlled previous fix, since that fix is good to go.
r=troy
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62752 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:40:18 +00:00
buster%netscape.com
8b339b4ead bug 31108. fixed by manually positioning the view whenever reflow changes the frame
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62750 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:38:06 +00:00
ftang%netscape.com
e5a9c3ab53 fix crashing bug 30120. check in for tajima@eng.sun.com since the crash is
verified and test on my machine. r=ftang, a=bobj. Will check into the beta
branch also.


git-svn-id: svn://10.0.0.236/trunk@62749 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:33:19 +00:00
dp%netscape.com
9452ba5c60 filename conflict. Hence removing to add it back as a different filename
git-svn-id: svn://10.0.0.236/trunk@62748 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 01:48:50 +00:00
danm%netscape.com
a51aa7c23f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62747 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 00:57:56 +00:00
danm%netscape.com
4a85e44369 adding webProgress interfaces for Travis
git-svn-id: svn://10.0.0.236/trunk@62746 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 00:24:28 +00:00
dp%netscape.com
d46ffe2699 Initial version
git-svn-id: svn://10.0.0.236/trunk@62745 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 00:23:41 +00:00
tonyr%fbdesigns.com
a59ef142a5 nsISupports interfaces need to be threadsafe for import. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@62744 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 00:14:25 +00:00
morse%netscape.com
2a4770c0b1 fix bug 28956, consider netscape.com to be in the domain .netscape.com
git-svn-id: svn://10.0.0.236/trunk@62741 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 23:46:47 +00:00
ben%netscape.com
84fcaf6322 fix for 28103, landing on trunk first... r=danm
git-svn-id: svn://10.0.0.236/trunk@62740 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 23:30:25 +00:00
erik%netscape.com
6a25821693 bug 454; adding the windows-1252 fallbacks (e.g. ellipsis -> ...); r=rbs
git-svn-id: svn://10.0.0.236/trunk@62739 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 23:15:10 +00:00
erik%netscape.com
2e49000673 bug 454; use fallbacks for the popular windows-1252 characters on Unix;
for example, ellipsis is drawn using three dots "..."; r=rbs (Roger Sidje)


git-svn-id: svn://10.0.0.236/trunk@62738 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 23:13:49 +00:00
warren%netscape.com
940f6ef41b Checking result of Available.
git-svn-id: svn://10.0.0.236/trunk@62737 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 22:38:41 +00:00
erik%netscape.com
0a34749a51 bug 30539; added default fonts for Central European; r=none
git-svn-id: svn://10.0.0.236/trunk@62736 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 22:33:40 +00:00
rickg%netscape.com
c82b77fb9c removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62735 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 22:22:24 +00:00
rickg%netscape.com
b0ba15c22d WIP for removal of deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62734 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 22:21:14 +00:00
rickg%netscape.com
d9085e3e51 replaced calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62733 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 21:36:35 +00:00
rickg%netscape.com
f4f820f431 replaced calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62732 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 21:09:50 +00:00
scc%netscape.com
afa41e3a50 Incremental changes. Provided implementations for the virtual functions that were previously pure virtual. These implementations were common, after all, even just between |nsString| and |nsCString|. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62731 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 20:57:35 +00:00
rickg%netscape.com
807867b2a8 replaced calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62730 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 20:56:33 +00:00
rickg%netscape.com
e0d6147e77 replaced calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62729 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 20:50:01 +00:00
rickg%netscape.com
39ad60cabe replaced calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62728 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 20:39:41 +00:00
scc%netscape.com
ad319b8593 Incremental changes. Added |Implementation()| member to allow rick to implement copy-on-write. Added more virtual members to writable. More to come. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62727 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 17:39:49 +00:00
morse%netscape.com
85abae0dd2 fix bug 29156, fix memory leak
git-svn-id: svn://10.0.0.236/trunk@62726 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 17:37:19 +00:00
morse%netscape.com
e41775b216 fix bug 30180 -- tighten up heuristic for prefilling username/passwords
git-svn-id: svn://10.0.0.236/trunk@62725 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 17:22:55 +00:00
sspitzer%netscape.com
4d874c7968 all three platforms have an implementation of nsIUserInfo now.
(but mac and windows impls need work, see bugs #29594 and #29596)


git-svn-id: svn://10.0.0.236/trunk@62724 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:59:34 +00:00
sspitzer%netscape.com
704f26f305 added files: mozilla/xpfe/appshell/src/nsUserInfoMac.cpp
git-svn-id: svn://10.0.0.236/trunk@62723 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:57:56 +00:00
sspitzer%netscape.com
682ee0d43a minor tweakage, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@62722 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:52:02 +00:00
sspitzer%netscape.com
4114f9fc66 we now have an implementation of nsIUserInfo for windows.
only GetUsername is implemented.


git-svn-id: svn://10.0.0.236/trunk@62721 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:49:28 +00:00
rickg%netscape.com
f6963679fd removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62720 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:18:18 +00:00
rickg%netscape.com
a3a92dd61e removed calls to deprecated stringm ethods
git-svn-id: svn://10.0.0.236/trunk@62719 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:12:57 +00:00
rickg%netscape.com
65135726ce landing phase 2 to remove deprecated string calls
git-svn-id: svn://10.0.0.236/trunk@62718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:10:07 +00:00
rickg%netscape.com
4fdc8bcb58 removed calls to deprecated nsString methods
git-svn-id: svn://10.0.0.236/trunk@62717 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:06:57 +00:00
rickg%netscape.com
603b43a1ea removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62716 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:59:00 +00:00
rickg%netscape.com
270842b1b0 eliminate extra string copy
git-svn-id: svn://10.0.0.236/trunk@62715 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:52:02 +00:00
rickg%netscape.com
7d356f3af9 landing phase 2 to remove deprecated string calls
git-svn-id: svn://10.0.0.236/trunk@62714 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:39:10 +00:00
sspitzer%netscape.com
55980945a5 fix build bustage. I need to make this code more portable across unixes.
git-svn-id: svn://10.0.0.236/trunk@62713 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:26:09 +00:00
rickg%netscape.com
9ababa1a41 more WIP to remove nsStr references
git-svn-id: svn://10.0.0.236/trunk@62712 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:07:57 +00:00
rickg%netscape.com
8a2887eab8 remove calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62711 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:02:40 +00:00
rickg%netscape.com
86e1f012cc second phase of deprecated method removal.
git-svn-id: svn://10.0.0.236/trunk@62710 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:01:10 +00:00
pavlov%netscape.com
11fb3b709c remove useless #include's
git-svn-id: svn://10.0.0.236/trunk@62709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:28:10 +00:00
rickg%netscape.com
a4f1ca5b25 removed nsStr references
git-svn-id: svn://10.0.0.236/trunk@62708 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:23:40 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
rickg%netscape.com
cca1bf41ed removed references to nsStr
git-svn-id: svn://10.0.0.236/trunk@62706 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:58:33 +00:00
sspitzer%netscape.com
265865e75c changes for news over SSL. initial changes needed for SMTP over SSL, but
that isn't going to happen yet.  cleanup changes for nsNewsDownloadDialogArgs (still not used yet.)


git-svn-id: svn://10.0.0.236/trunk@62705 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:58:02 +00:00
sspitzer%netscape.com
652ee9d2f4 use nsIUserInfo (it is exists) to set the users name if it needs it. (see linux only bug #26290). also, migrate the SSL nature of the smtp server, and add TrySSL to the nsISmtpServer interface. (bug #30321) fix problem with nsSmtpServer::SetAuthMethod()
git-svn-id: svn://10.0.0.236/trunk@62704 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:27:31 +00:00
sspitzer%netscape.com
9deb99a330 remove aw-fullname.*, they are no longer used.
git-svn-id: svn://10.0.0.236/trunk@62703 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:21:38 +00:00
sspitzer%netscape.com
77caf817b9 use nsIUserInfo (if it exists, it doesn't on mac and windows yet) to pre-populate the users email address and full name.
git-svn-id: svn://10.0.0.236/trunk@62702 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:20:13 +00:00
sspitzer%netscape.com
51a37b2b80 ignore generated executable
git-svn-id: svn://10.0.0.236/trunk@62701 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:19:00 +00:00
sspitzer%netscape.com
affdbcf82a turn on nsUserInfo for unix only right now. windows and mac to follow.
git-svn-id: svn://10.0.0.236/trunk@62700 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:17:43 +00:00
sspitzer%netscape.com
26195f2db1 add debugging printfs. fix warning.
git-svn-id: svn://10.0.0.236/trunk@62699 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:10:23 +00:00
sspitzer%netscape.com
ec5fdb0ca0 add nsAsyncStreamListener to the bloaty logs.
git-svn-id: svn://10.0.0.236/trunk@62698 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:06:14 +00:00
morse%netscape.com
c45bc1f8f1 fix bug 29839, no message when viewing saved passwords and nothing was ever saved
git-svn-id: svn://10.0.0.236/trunk@62697 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 08:00:49 +00:00
sspitzer%netscape.com
c1e13e0401 added files: mozilla/xpfe/appshell/public/nsIUserInfo.idl
git-svn-id: svn://10.0.0.236/trunk@62696 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 07:58:13 +00:00
sspitzer%netscape.com
1a22a24373 adding nsIUserInfo the the build
git-svn-id: svn://10.0.0.236/trunk@62695 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 07:51:35 +00:00
rickg%netscape.com
944bb44cfc WIP for new nsString; this doesn't impact current build
git-svn-id: svn://10.0.0.236/trunk@62694 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 07:47:09 +00:00
sspitzer%netscape.com
f310a2c535 fix build bustage. now on to send email to travis to get him to take a look.
git-svn-id: svn://10.0.0.236/trunk@62693 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 07:35:58 +00:00
pavlov%netscape.com
349ffba06c use a comptr for the nsIRegion in nsWidget, fix a leak with lookandfeel objects in widget that both dbaron@fas.harvard.edu and I found at about the same time. and clean up more carefully and avoid processing events if we are destroyed or being destroyed to avoid those natsty lil crashes. fixes bug 20291 and 29342
git-svn-id: svn://10.0.0.236/trunk@62692 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 07:26:04 +00:00
sspitzer%netscape.com
f10f396e23 fix for #30775 and #30648. r=mscott,warren. a=phil
we need to call Cancel() to remove the closed nsSocketTransport from the
list of active transports.  if we don't, we quickly reach the max (50)
and pop, smtp, and nntp operation start failing.

also, upon NS_BINDING_ABORTED, do not pop up an alert.  we get
this when we call Cancel() or if the user hits the stop button.


git-svn-id: svn://10.0.0.236/trunk@62691 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 06:40:25 +00:00
tbogard%aol.net
4ce8b7d4f8 Removed include of "windows.h". I'm sure at one point it was needed, but it should not need to be as webShell is XP code.
git-svn-id: svn://10.0.0.236/trunk@62690 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 06:34:30 +00:00
pavlov%netscape.com
3e7aa8fe06 fix for lack of selection drawing on 8bit displays bug 17968
git-svn-id: svn://10.0.0.236/trunk@62689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 06:24:13 +00:00
bryner%uiuc.edu
3779514c53 Removing some old dead code. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@62688 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 06:21:32 +00:00
danm%netscape.com
987d65963e removing unnecessary change from last checkin
git-svn-id: svn://10.0.0.236/trunk@62687 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 06:12:05 +00:00
cls%seawood.org
4a0b5beb0b Added nsIInterfaceRequestor.h include. Bug #31512
git-svn-id: svn://10.0.0.236/trunk@62686 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 05:36:51 +00:00
jband%netscape.com
8b051df564 Fix protection against gc reentry on same thread but on different JSContexts. Also fix potential deadlock in gc when destroying a JSContext while some other thread is blocked in gc waiting for the EndRequest of the first thread. The reentrance fix is needed to fix bug 28570. r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@62685 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 05:09:46 +00:00
troy%netscape.com
ec58a955b0 b=5588. Changed it so we lazily reparent the child frames on the overflow list
when it's our initial reflow


git-svn-id: svn://10.0.0.236/trunk@62684 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:14:11 +00:00
troy%netscape.com
53dff23713 b=5588. Added new function ReparentFrameViewList() that is much faster
then ReparentFrameView() when you have a list of child frames


git-svn-id: svn://10.0.0.236/trunk@62683 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:09:36 +00:00
troy%netscape.com
493ae62594 b=5588. Performance improvement. Avoids walking the child list
twice when inserting frames at the head of the list


git-svn-id: svn://10.0.0.236/trunk@62682 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:07:52 +00:00
danm%netscape.com
9f0b9e88b8 opening new window through a function on the opening window. bug 24903 r=ben
git-svn-id: svn://10.0.0.236/trunk@62681 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:06:05 +00:00
troy%netscape.com
d4f29d1b5f Now line boxes are allocated out of the pres shell arena. This reduces the
overhead of memory allocation, and it gets us recycling which speeds up
resize reflows


git-svn-id: svn://10.0.0.236/trunk@62680 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 03:00:51 +00:00
danm%netscape.com
fd1aa79cdf adding a new timer-driven function to open a new navigator window. bug 24903 r=ben
git-svn-id: svn://10.0.0.236/trunk@62679 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 02:58:36 +00:00
rhp%netscape.com
f5aeebd2db Adding default pref to mailnews.js - Bug #: 29752 - reviewer: rhp (external contribution)
git-svn-id: svn://10.0.0.236/trunk@62678 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 01:53:04 +00:00
scc%netscape.com
1e41c7d831 Incremental changes. Reorganized code; implemented more factored methods. Moved string owner from fragment to iterator. Renamed the |const| version of |GetFragment| to |GetConstFragment| so we didn't mix overloading with overriding; eliminating need for some uses of |using| ... may want to do the same thing with |Begin| and |End|. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62677 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 01:28:16 +00:00
bryner%uiuc.edu
79e912a95c Fix bug 31507, mousewheel history navigation causes segfault. r=saari.
git-svn-id: svn://10.0.0.236/trunk@62675 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 01:19:39 +00:00
valeski%netscape.com
802411e84d r=jevering, a=jevering. 31447. We weren't accommodating the comma as a delimiter, now we are. call 720.841.4229 if there's a problem
git-svn-id: svn://10.0.0.236/trunk@62674 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 01:11:41 +00:00
morse%netscape.com
e4103fb8ed fix bug 28151, change password when no password established should establish new password
git-svn-id: svn://10.0.0.236/trunk@62673 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 01:09:14 +00:00
harishd%netscape.com
b8079e8c4b Fix for 30486 [ PDT+] - Guessing that builds team would migrate these changes to the BRANCH.
Triming off <! and > from the DOCTYPE string.

r=akkana
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62672 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 00:34:07 +00:00
morse%netscape.com
0d641b77be have wallet functions enabled by default instead of vice versa, bug 27027
git-svn-id: svn://10.0.0.236/trunk@62671 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 00:09:49 +00:00
morse%netscape.com
cc10796681 remove buggy support for old file format, bug 26561
git-svn-id: svn://10.0.0.236/trunk@62670 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 23:52:50 +00:00
dp%netscape.com
59bafd4cd7 Enabling PR_LOG for release builds from native component loader.
Tuning log format to help analysis.


git-svn-id: svn://10.0.0.236/trunk@62669 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 22:44:51 +00:00
pavlov%netscape.com
f5f86b51ae #ifdef DEBUG_dougt annoying printf
git-svn-id: svn://10.0.0.236/trunk@62668 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 22:44:27 +00:00
morse%netscape.com
909c309764 hide wallet functions when not in browser, fixes bugs 29842, 29846, & 29848
git-svn-id: svn://10.0.0.236/trunk@62667 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 22:23:28 +00:00
tonyr%fbdesigns.com
d747ee4ab3 Fix for bug 31242 and a bunch of thread safety issues
git-svn-id: svn://10.0.0.236/trunk@62666 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 21:30:17 +00:00
morse%netscape.com
46a6c9d26c fix memory leak -- bug 29866
git-svn-id: svn://10.0.0.236/trunk@62665 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 20:59:25 +00:00
morse%netscape.com
4424e16f21 generalize per-site permissions, r=norris
git-svn-id: svn://10.0.0.236/trunk@62664 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 20:09:57 +00:00
morse%netscape.com
619169e8e3 generalize per-site permissions, r=norris
git-svn-id: svn://10.0.0.236/trunk@62663 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 20:02:45 +00:00
jim_nance%yahoo.com
e0187a3b2a Helper scripts for Digital Unix atom tools. Not part of the
default build.


git-svn-id: svn://10.0.0.236/trunk@62662 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 19:56:25 +00:00
bienvenu%netscape.com
8065b8d57d fix progress for mailbox parsing 29934
git-svn-id: svn://10.0.0.236/trunk@62661 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 19:48:06 +00:00
bienvenu%netscape.com
d8bf5e8bd6 change default for fetching by chunks if pref is not specfiied 31191
git-svn-id: svn://10.0.0.236/trunk@62660 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 19:45:56 +00:00
bienvenu%netscape.com
d73c81d7f6 add nsIAbUpgrader.idl
git-svn-id: svn://10.0.0.236/trunk@62659 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 19:42:37 +00:00
bienvenu%netscape.com
ddd70d0c43 add PROGID and CID for ab upgraders, 10837
git-svn-id: svn://10.0.0.236/trunk@62658 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 19:41:18 +00:00
erik%netscape.com
b4ebd5b5b3 removing unused code; a=blizzard
git-svn-id: svn://10.0.0.236/trunk@62657 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 19:28:35 +00:00
troy%netscape.com
820330faa6 r=troy@netscape.com Patch from pnunn@netscape.com that eliminates asserts
in the xpcom ref counting macros that the class should have threadsafe
addref/release functions but doesn't


git-svn-id: svn://10.0.0.236/trunk@62656 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 16:59:16 +00:00
troy%netscape.com
e36f8a9042 b=30391 r=troy@netscape.com Patch from rbs@maths.uq.edu.au to add parens when
necessary to PR_ABS macro


git-svn-id: svn://10.0.0.236/trunk@62655 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 16:50:52 +00:00
troy%netscape.com
dff2ddcd9b b=28526. Added rule for TD so that the first child has a zero top margin.
This is the same rule we have for the BODY element


git-svn-id: svn://10.0.0.236/trunk@62654 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 16:46:21 +00:00
tbogard%aol.net
0d4c0d0f32 Added overides for the Session History navigation in docShell. Removed some old ones that were recently removed from nsIWebShell.
git-svn-id: svn://10.0.0.236/trunk@62653 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 12:02:06 +00:00
tbogard%aol.net
08c48cc383 Removed Back(), Forward(), CanBack(), and CanForward(). People wanting to do these things can use the nsIWebNavigation interface.
git-svn-id: svn://10.0.0.236/trunk@62652 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 12:00:33 +00:00
tbogard%aol.net
0c4814af0b Back() and Forward() have been changed to use the nsIWebNavigation interfaces instead of the old nsIWebShell.
git-svn-id: svn://10.0.0.236/trunk@62651 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 11:59:55 +00:00
tbogard%aol.net
0c25de61c2 Fixed ordering of member variable initialization to fix compiler warnings. Back() and Forward() now use the nsIWebNavigation interface instead of the old nsIWebShell one.
git-svn-id: svn://10.0.0.236/trunk@62650 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 11:58:13 +00:00
tbogard%aol.net
2e16f29bea Temporarily disable the assertion since it really is aggrevated on viewer.
git-svn-id: svn://10.0.0.236/trunk@62649 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 11:56:33 +00:00
tbogard%aol.net
c0c05d0e56 Fixed build warning.
git-svn-id: svn://10.0.0.236/trunk@62648 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 11:11:42 +00:00
hyatt%netscape.com
3118212673 Patching scrollbar look
git-svn-id: svn://10.0.0.236/trunk@62647 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 11:10:41 +00:00
pavlov%netscape.com
acc38cf035 add code to the destructor so we clean up our object
git-svn-id: svn://10.0.0.236/trunk@62646 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:53:50 +00:00
hyatt%netscape.com
9e33dd6afd Making unix happy.
git-svn-id: svn://10.0.0.236/trunk@62645 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:53:02 +00:00
hyatt%netscape.com
7fb031f825 added files: mozilla/layout/xul/base/src/nsXULButtonFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@62644 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:39:46 +00:00
hyatt%netscape.com
76b9649ff5 new button files, will replace titledbutton
git-svn-id: svn://10.0.0.236/trunk@62643 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:39:21 +00:00
hyatt%netscape.com
66a75b2282 Improving XBL support.
git-svn-id: svn://10.0.0.236/trunk@62642 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:38:36 +00:00
pavlov%netscape.com
eb3f6d329f remove pointless #if 1
git-svn-id: svn://10.0.0.236/trunk@62641 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:38:09 +00:00
hyatt%netscape.com
e4dec37a70 new XBL features
git-svn-id: svn://10.0.0.236/trunk@62640 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:36:39 +00:00
hyatt%netscape.com
3c38ca0e4e new xul widgets & cleanup of existing widgets
git-svn-id: svn://10.0.0.236/trunk@62639 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:34:29 +00:00
hyatt%netscape.com
ca6130d6cc style rules & xbl bindings for new widgets
git-svn-id: svn://10.0.0.236/trunk@62638 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:32:59 +00:00
hyatt%netscape.com
00b5eac0c2 new xul widgets
git-svn-id: svn://10.0.0.236/trunk@62637 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 10:31:34 +00:00
bryner%uiuc.edu
6dc1e0ac3d Fix bug 30174, mouse wheel does not scroll FTP directories. r=troy.
git-svn-id: svn://10.0.0.236/trunk@62636 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 08:45:38 +00:00
rickg%netscape.com
6fca8208a2 fixed PDT+ bug 30026; r=harishd, markA; a=jar
git-svn-id: svn://10.0.0.236/trunk@62635 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 08:08:24 +00:00
rbs%maths.uq.edu.au
daf9df44ac Move maps from PRUint8* to PRUint32*. Use the charset converter manager to retrieve maps and convertres. Added GetGlyphIndices(), fix for b:6585, and lay some groundwork for new modes (e.g., HEX/Unicode) for ViewSource, r:troy,erik. a:troy
git-svn-id: svn://10.0.0.236/trunk@62634 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 07:49:08 +00:00
norris%netscape.com
fab29b0e70 Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com


git-svn-id: svn://10.0.0.236/trunk@62633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 06:32:42 +00:00
pavlov%netscape.com
6decc339f2 add to include directory
git-svn-id: svn://10.0.0.236/trunk@62632 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 05:49:49 +00:00
pavlov%netscape.com
af6ac9c3a2 add directory to include path
git-svn-id: svn://10.0.0.236/trunk@62631 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 05:49:01 +00:00
pavlov%netscape.com
bb8d130877 added files: mozilla/netwerk/protocol/http/src/nsHTTPSHandler.cpp
git-svn-id: svn://10.0.0.236/trunk@62630 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 05:39:48 +00:00
pavlov%netscape.com
fc622b914d remove the include of domstubs.idl and just forward declare the interfaces to avoid the need for domstubs.idl to be exported before this directory can be built.
git-svn-id: svn://10.0.0.236/trunk@62629 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 05:33:33 +00:00
pavlov%netscape.com
eb506db426 argh.. fix mac
git-svn-id: svn://10.0.0.236/trunk@62628 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 05:18:48 +00:00
pavlov%netscape.com
1784ede83c fix windows... really.... no, seriously. I mean it!
git-svn-id: svn://10.0.0.236/trunk@62627 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 05:15:44 +00:00
pavlov%netscape.com
5ac2ee114d fix for windows
git-svn-id: svn://10.0.0.236/trunk@62626 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 04:55:28 +00:00
pavlov%netscape.com
3e8f34b9a8 fix speedracer
git-svn-id: svn://10.0.0.236/trunk@62625 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 04:34:33 +00:00
pavlov%netscape.com
0d96dabf39 adding crypto stuff to the tip
git-svn-id: svn://10.0.0.236/trunk@62624 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 04:33:39 +00:00
pavlov%netscape.com
ab50b9fb9e fix windows build problems
git-svn-id: svn://10.0.0.236/trunk@62623 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:35:49 +00:00
norris%netscape.com
a6df9af80c Fix Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@62622 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:20:25 +00:00
leaf%mozilla.org
f8b667cb08 Automated update
git-svn-id: svn://10.0.0.236/trunk@62621 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:15:13 +00:00
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
norris%netscape.com
732190b52e Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis


git-svn-id: svn://10.0.0.236/trunk@62618 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:57:39 +00:00
slamm%netscape.com
a5a7429329 Run warnings on testfailed builds too.
git-svn-id: svn://10.0.0.236/trunk@62617 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:55:19 +00:00
pavlov%netscape.com
71f59dc9ad set IS_COMPONENT to 1 so that we generate a component instead of a 'normal' dynamic library
git-svn-id: svn://10.0.0.236/trunk@62616 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:43:04 +00:00
srinivas%netscape.com
32331723af Handle the ERANGE error on Solaris. Bugzilla 31437.
git-svn-id: svn://10.0.0.236/trunk@62615 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:38:25 +00:00
tbogard%aol.net
a083e8e26b HandleUnknownContentType is no longer part of nsIDocumentLoaderObserver.
git-svn-id: svn://10.0.0.236/trunk@62614 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:33:13 +00:00
tbogard%aol.net
08269a5843 HandleUnkownContentType is no longer part of the nsIDocumentLoaderObserver interface. Use the DocShell APIs to get the contentViewer instead of the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62613 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:32:46 +00:00
tbogard%aol.net
5190132c24 HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. Use the docShell APIs where possible instead of the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62612 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:32:16 +00:00
tbogard%aol.net
2a69888732 Use the docShell APIs instead of the webshell ones where posssible. Instantiate the webBrowser Object instead of the docShell/webShell one. This starts the path for viewer to start using the embedding object completely rather than directly talking to a docShell. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62611 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:31:28 +00:00
tbogard%aol.net
08a88d4afc Use the docShell APIs instead of the webShell ones in some places. HandleUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62610 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:30:32 +00:00
tbogard%aol.net
dab65a7998 GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells.
git-svn-id: svn://10.0.0.236/trunk@62609 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:30:04 +00:00
tbogard%aol.net
7b6dc3a877 Remove nsIBrowserWindow as that interface is going away.
git-svn-id: svn://10.0.0.236/trunk@62608 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:29:42 +00:00
tbogard%aol.net
e3f824bae5 Converted to hold on to a docShell instead of a webShell. Interaction with this object that previously was a webShell now is a docShell.
git-svn-id: svn://10.0.0.236/trunk@62607 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:29:15 +00:00
tbogard%aol.net
2e756bbf37 Converted to hold on to a docShell instead of a webShell. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. Removed the ifdef for NEW_WEBSHELL_INTERFACES as we are definitely not going back now.
git-svn-id: svn://10.0.0.236/trunk@62606 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:28:46 +00:00
tbogard%aol.net
34e1095aaf Hold on to a docShell instead of a webShell.
git-svn-id: svn://10.0.0.236/trunk@62605 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:28:07 +00:00
tbogard%aol.net
23a61b3621 SetWebShell now sets a DocShell instead.
git-svn-id: svn://10.0.0.236/trunk@62604 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:27:42 +00:00
tbogard%aol.net
d70cb1282d No longer implement the nsIBrowserWindow interface. Changed nsIDocumentLoaderObserver declarations to use the XPIDL generated macro.
git-svn-id: svn://10.0.0.236/trunk@62603 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:26:36 +00:00
tbogard%aol.net
bc3d57f677 No longer implement the nsIBrowserWindow interface. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. Use the docShell APIs to initialize creation of the docShell/ webShell.
git-svn-id: svn://10.0.0.236/trunk@62602 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:25:54 +00:00
tbogard%aol.net
1ffdbff108 ContentViewer Initialization now take an nsIWidget instead of a native window. Set status using the nsIWebBrowserChrome interface instead of the old nsIBrowserWindow interface.
git-svn-id: svn://10.0.0.236/trunk@62601 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:25:34 +00:00
tbogard%aol.net
4a9e253808 ContentViewer Initialization now take an nsIWidget instead of a native window.
git-svn-id: svn://10.0.0.236/trunk@62600 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:24:59 +00:00
tbogard%aol.net
c2a00e2a9b HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62599 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:24:29 +00:00
tbogard%aol.net
894923e06e Use the XPIDL macro to declare the nsIDocumentLoaderObserver methods.
git-svn-id: svn://10.0.0.236/trunk@62598 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:23:24 +00:00
tbogard%aol.net
09cb7ccc4a Changed to use the XPIDL generated macro to declare the methods for nsIDocumentLoaderObserver.
git-svn-id: svn://10.0.0.236/trunk@62597 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:22:23 +00:00
tbogard%aol.net
a359e20d8e Get the contentViewer from the docShell instead of the webShell. HandleUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62596 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:21:29 +00:00
tbogard%aol.net
316fef5094 Removed the HandleUnknownContentType from the interface.
git-svn-id: svn://10.0.0.236/trunk@62595 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:19:40 +00:00
tbogard%aol.net
06deacac5c ContentViewer now takes an nsIWidget instead of a native window. Don't pass the scrolling preferences through the intialization as they are always the same and ignored.
git-svn-id: svn://10.0.0.236/trunk@62594 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:19:12 +00:00
tbogard%aol.net
cd42459d5d HandleUnknownContentType is no longer part of nsIDocumentLoaderObserver.
git-svn-id: svn://10.0.0.236/trunk@62593 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:17:00 +00:00
tbogard%aol.net
a49bd0c4e5 Changed nsWebBrowser to support nsIWebProgress instead of nsIProgress. Made the new nsDocShellTreeOwner a friend.
git-svn-id: svn://10.0.0.236/trunk@62592 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:16:24 +00:00
tbogard%aol.net
6a27b4658e Got much of the implementation done to actually get this object working. We now instantiate a webshell and pass along most needed calls. This gets the webBrowser object setup to start being used to basic stuff.
git-svn-id: svn://10.0.0.236/trunk@62591 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:12:46 +00:00
tbogard%aol.net
5d5d8acd13 Just updated some documentation.
git-svn-id: svn://10.0.0.236/trunk@62590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:10:57 +00:00
tbogard%aol.net
67c18c7e39 Added SetTreeOwner and SetWebBrowserChrome to do the proper setup of all the different up pointers.
git-svn-id: svn://10.0.0.236/trunk@62589 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:10:13 +00:00
tbogard%aol.net
90acde0da4 Added nsDocShellTreeOwner.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@62588 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:06:03 +00:00
tbogard%aol.net
b182b69877 Don't override every method in docShell, only those where webShell needs to do different things. Remove dependency on nsIBrowserWindow. WebShell should no longer create the native widget. Removed a number of APIs from nsIWebShell to continue thining it down until it is completely removed. Other general cleanup and removal of dead code. Sizing and positioning is left nearly completely up to docShell. The bounds must be stored locally for now as there is a problem with the sizeToContent when the child has already been reflowed on an unconstrained basis, this will be fixed soon thus allowing the removal of the locally cached bounds. HandleUnknownContentType is no longer part of nsIDocumentLoaderObserver.
git-svn-id: svn://10.0.0.236/trunk@62587 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:05:08 +00:00
tbogard%aol.net
bc326dd50f Remove Init, SetDocLoaderObserver, GetDocLoaderObserver, SetParent, GetParent, GetChildCount, AddChild, RemoveChild, ChildAt, GetName, SetName, FindChildWithName, SetChromeEventHandler, GetContentViewer, IsBusy, SetDocument, StopBeforeRequestingURL, StopAfterURLAvailable, GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight, SetZoom, GetZoom. These should no longer be used. The docShell APIs should be used intead.
git-svn-id: svn://10.0.0.236/trunk@62586 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:04:28 +00:00
tbogard%aol.net
9958464107 HandleUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62585 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:03:08 +00:00
tbogard%aol.net
b09f250b0f Use the XPIDL generated macro to declare the methods for nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62584 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:01:39 +00:00
tbogard%aol.net
58b8ec5773 Converted to talk in terms of the docShell APIs intead of the old webShell ones where possible. HanldeUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62583 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:00:48 +00:00
tbogard%aol.net
3dd2de0292 Use the nsIWebNavigation interface for loading an URL where possible instead of the old webShell one. When calling FindChildWithName add the new parameter to state that a child of a different type if ok to return.
git-svn-id: svn://10.0.0.236/trunk@62582 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:59:08 +00:00
tbogard%aol.net
f2e6238146 FindChildWithName now takes a new parameter for if children of different types should be returned. We pass FALSE here to say children of a different type is fine.
git-svn-id: svn://10.0.0.236/trunk@62581 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:57:01 +00:00
tbogard%aol.net
89827f2372 Added a paramater for stating if children of a different type should be returned from FindChildWithName or not.
git-svn-id: svn://10.0.0.236/trunk@62580 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:55:39 +00:00
tbogard%aol.net
4bbd22ff42 HandleUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface. Added a member for stating if this docShell supports plugins or not.
git-svn-id: svn://10.0.0.236/trunk@62579 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:55:00 +00:00
tbogard%aol.net
d51e7486d4 Added new attribute for stating if a docShell supports plugins or not. FindItemWithName should only return children of the same type. Added support for FindChildWithName to only return children of the same type. SetSize relies on SetPositionAndSize for implementation. Repaint now has an implementation stolen from the old webShell. GetMainWidget just gets the parentWidget since docShell doesnt' create it's own. Pass the widget to the creation of a contentViewer rather than a native window.
git-svn-id: svn://10.0.0.236/trunk@62578 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:53:48 +00:00
tbogard%aol.net
c39b673630 Reordered methods to be the same as the interface.
git-svn-id: svn://10.0.0.236/trunk@62577 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:49:47 +00:00
tbogard%aol.net
20aaf3fcb2 Added new type for TreeItems that simply wrap a content treeItem. Embedding is an example of this.
git-svn-id: svn://10.0.0.236/trunk@62576 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:48:54 +00:00
tbogard%aol.net
d534c955e4 Added attributes for stating if a docshell should allow plugins or not.
git-svn-id: svn://10.0.0.236/trunk@62575 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:47:59 +00:00
tbogard%aol.net
a47b6e3213 Now holds on to a docShell instead of a webShell. Use IDL generated NS_DECL_NSIDOCUMENTLOADEROBSERVER instead of inline function declarations.
git-svn-id: svn://10.0.0.236/trunk@62574 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:46:37 +00:00
tbogard%aol.net
b2544e273f Now holds on to a docShell instead of a webShell. Talks through the new interfaces where possible. HandleUnkownContentType is no longer part of nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62573 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:46:26 +00:00
tbogard%aol.net
e9dade26fc Use the nsIWebBrowserChrome interface to set the status rather than the old nsIBrowserWindow interface.
git-svn-id: svn://10.0.0.236/trunk@62572 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:41:57 +00:00
tbogard%aol.net
2011f00f70 Changed nsHTMLFrameInnerFrame to hold on to a subShell that is an nsIBaseWindow instead of a webShell. This paves the way for holding different types of objects. Also gets rid of that stupid nsIWebShell interface. :) When creating the docShell use the new docShell interfaces rather than the old webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62571 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:41:04 +00:00
tbogard%aol.net
e0ccbcff63 Converted a number of places to use the docShell APIs instead of the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62570 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:37:07 +00:00
tbogard%aol.net
cd4d5288b0 Converted a number of places to talk in terms of the docShell APIs instead of the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62569 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:35:36 +00:00
tbogard%aol.net
729158bad0 Get the contentViewer through the docShell APIs instead of the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62568 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:34:54 +00:00
tbogard%aol.net
0d8115be70 Use the nsIWebBrowserChrome to set the Status rather than the old nsIBrowserWindow interface.
git-svn-id: svn://10.0.0.236/trunk@62567 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:30:52 +00:00
tbogard%aol.net
891750e638 Get the contentViewer from the docShell APIs rather than the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:29:47 +00:00
tbogard%aol.net
54a675dd69 Converted a number of places to use the docShell APIs instead of the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62565 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:28:44 +00:00
tbogard%aol.net
849c4bbde2 Get the contentViewer from the docShell APIs instead of the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62564 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:26:20 +00:00
tbogard%aol.net
630e944e1d Removed dependency on the nsIBrowserWindow interface.
git-svn-id: svn://10.0.0.236/trunk@62563 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:24:47 +00:00
tbogard%aol.net
1cdb885390 Remove dependency on nsIBrowserWindow interface.
git-svn-id: svn://10.0.0.236/trunk@62562 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:24:19 +00:00
tbogard%aol.net
2acf8d3834 Use the docShell APIs instead of the webShell ones where possible.
git-svn-id: svn://10.0.0.236/trunk@62561 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:22:48 +00:00
tbogard%aol.net
db656acb74 HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62560 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:22:21 +00:00
tbogard%aol.net
4b4acb4d28 Remove dependency on nsIBrowserWindow.
git-svn-id: svn://10.0.0.236/trunk@62559 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:21:27 +00:00
tbogard%aol.net
e3d6685aec Changed function declarations of nsIDocumentLoaderObserver to use the XPIDL macro instead of the inline versions.
git-svn-id: svn://10.0.0.236/trunk@62558 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:21:01 +00:00
tbogard%aol.net
3c0b0cd800 Use the docShell APIs for initializing/ creating the docShell/ webshell object.
git-svn-id: svn://10.0.0.236/trunk@62557 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:20:07 +00:00
tbogard%aol.net
9b5d05c385 nsIDocumentLoaderObserver function declarations now use the XPIDL macro.
git-svn-id: svn://10.0.0.236/trunk@62556 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:19:38 +00:00
tbogard%aol.net
14382f15b5 Removed dependency on nsBrowserWindow.h
git-svn-id: svn://10.0.0.236/trunk@62555 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:18:20 +00:00
tbogard%aol.net
99181b2034 GetContentViewer from DocShell instead of webShell.
git-svn-id: svn://10.0.0.236/trunk@62554 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:17:52 +00:00
tbogard%aol.net
b68419de41 Use the docShell APIs to navigate through children of the docShell.
git-svn-id: svn://10.0.0.236/trunk@62553 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:14:50 +00:00
tbogard%aol.net
c8755be2ea Changed to retrieve the contentViewer from the docShell APIs instead of the webShell's.
git-svn-id: svn://10.0.0.236/trunk@62552 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:13:10 +00:00
tbogard%aol.net
3838c17206 Removed nsMenuItem.cpp as it is no longer used.
git-svn-id: svn://10.0.0.236/trunk@62551 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:12:08 +00:00
tbogard%aol.net
c4a9653f89 Remove nsMenuItem.cpp as it is no longer needed.
git-svn-id: svn://10.0.0.236/trunk@62550 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:10:50 +00:00
terry%mozilla.org
968df3fc9a Sigh. We now need to lock the attachments table, too, just in case a
midair collision happens which needs to generate text which needs to
look at the attachments table.  Sigh.


git-svn-id: svn://10.0.0.236/trunk@62548 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 22:26:55 +00:00
dmose%mozilla.org
6c80b0434b updated to reflect that only specific versions of GD.pm and Chart will work.
git-svn-id: svn://10.0.0.236/trunk@62547 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 21:44:42 +00:00
norris%netscape.com
e28c618bf5 Make Wrapper an API class.
git-svn-id: svn://10.0.0.236/trunk@62546 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 20:55:36 +00:00
norris%netscape.com
2461391278 Add support for testing against the MS VM.
git-svn-id: svn://10.0.0.236/trunk@62545 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 20:38:57 +00:00
despotdaemon%netscape.com
01301d8c72 Pseudo-automatic update of changes made by yueheng.xu@intel.com.
git-svn-id: svn://10.0.0.236/trunk@62544 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 19:44:28 +00:00
despotdaemon%netscape.com
0c4a2b957c Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@62543 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 19:35:17 +00:00
rginda%netscape.com
5cf1353831 Put the redirect back in. (Doh)
git-svn-id: svn://10.0.0.236/trunk@62541 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 19:12:53 +00:00
rginda%netscape.com
b4b30d4b5e Removing debug output
git-svn-id: svn://10.0.0.236/trunk@62540 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 19:06:36 +00:00
rginda%netscape.com
054e6d795c Fix lame syntax error
git-svn-id: svn://10.0.0.236/trunk@62539 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 18:58:45 +00:00
rginda%netscape.com
166b0bfa67 Modified jsDriver.pl to allow multiple engine arguments, updated readme to tell the world.
git-svn-id: svn://10.0.0.236/trunk@62538 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 18:54:21 +00:00
rginda%netscape.com
268db3a06e Initial add of Function Expression/Statement tests
git-svn-id: svn://10.0.0.236/trunk@62537 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 18:31:04 +00:00
terry%mozilla.org
173473e579 Whoops; left out the "mailto:" part of a mailto link.
git-svn-id: svn://10.0.0.236/trunk@62536 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 18:26:23 +00:00
despotdaemon%netscape.com
7b7ed34811 Pseudo-automatic update of changes made by dianesun@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62535 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 18:03:21 +00:00
terry%mozilla.org
cd5d127320 Italicize the "Additional Comments From" stuff, so that you can tell
the difference between new comments and people copying stuff in from
old comments.


git-svn-id: svn://10.0.0.236/trunk@62534 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 18:01:32 +00:00
terry%mozilla.org
7a12dbb0f0 Removed warning.
git-svn-id: svn://10.0.0.236/trunk@62533 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 17:45:09 +00:00
terry%mozilla.org
54f1e9551e Never let ", <, or > be matched as part of a URL.
git-svn-id: svn://10.0.0.236/trunk@62532 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 16:52:37 +00:00
terry%mozilla.org
52f41c0725 Patch by Joe Robins <jmrobins@tgix.com> -- allow automatic definition
of a group per project, and automatically put new bugs against that
project into that group, thus allowing entire projects to be protected
against viewing by unauthorized users.  This is all optional,
controlled by new parameters.


git-svn-id: svn://10.0.0.236/trunk@62531 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 16:25:03 +00:00
tomk%mitre.org
94360aadc4 Same fix as before, better comment in header.
git-svn-id: svn://10.0.0.236/trunk@62528 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 12:06:45 +00:00
tomk%mitre.org
55fddff551 Fixed a bug in String::indexOf(const String& data, Int32 offset) where there
was not value being returned.  This class is not part of the regular Mozilla
Build.


git-svn-id: svn://10.0.0.236/trunk@62527 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 12:02:31 +00:00
scc%netscape.com
309fbcbc50 Incremental changes. Modified the strategy for nested |nsPromiseConcatenation| objects. Changed the type of the fragment identifier in a fragment. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62526 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 07:04:09 +00:00
jevering%netscape.com
8b1c3b85c4 this is valeski in jevering's tree. a=jevering. r=ltabb (nice!), r=vidur. forcing cache bypass for inline JS url loads. this is a workaround, not a final fix
git-svn-id: svn://10.0.0.236/trunk@62525 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 06:25:13 +00:00
rods%netscape.com
b096b5b0e7 combo needed to set the maxElementSize correctly when reflowing.
b=31072 r=buster a=jar


git-svn-id: svn://10.0.0.236/trunk@62524 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 04:46:16 +00:00
sford3%swbell.net
cf5f414571 Fixing bug 28079, localization help, r/a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@62523 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 03:11:56 +00:00
putterman%netscape.com
b99d0bbf4d a=phil. r=alecf. Fix for 31121. You can now delete a message in a local subfolder.
git-svn-id: svn://10.0.0.236/trunk@62522 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 03:03:04 +00:00
mcafee%netscape.com
815fb6ff7e Added AliveTest variable for tinder-config.pl, fixed MailNewsTest. r=slamm
git-svn-id: svn://10.0.0.236/trunk@62521 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 02:48:01 +00:00
scc%netscape.com
e4062631d4 Incremental changes, renamed |nsConcatString| to |nsPromiseConcatenation|. Added |nsPromiseSubstring|. Got rid of upper/lower signatures. Added |Assign|. Fixed comparison macros. Added |operator+=| and |operator=|. These files are not part of the build.
git-svn-id: svn://10.0.0.236/trunk@62520 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 02:30:14 +00:00
mccabe%netscape.com
fb23fc7b0e Replace some ternary expressions
step += (InLeapYear(t) ? 29 : 28);

with the form

    if (InLeapYear(t))
        step += 29;
    else
        step += 28;

to work around an apparent JRE bug in which the code always returns 28.


git-svn-id: svn://10.0.0.236/trunk@62519 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 02:05:41 +00:00
jst%netscape.com
3022974dcd Checking in fix for PDT+ bug 17489, now the HTML content sink correctly notifies the document about new content that apper after style/link tags that appear in the document content and not in the document head. r=vidur@netscape.com, a=jevering@netscape.com
git-svn-id: svn://10.0.0.236/trunk@62518 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 02:00:42 +00:00
rhp%netscape.com
ff2ceb8c96 Fix problem with inline display - Bug #: 31238 - r: mscott - a: phil
git-svn-id: svn://10.0.0.236/trunk@62517 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 01:56:55 +00:00
ben%netscape.com
4a234ab586 ok so I checked in a slightly older version of the files I should have checked in last night.
also including some more slight CSS tweaks. a=jevering, r=german, johng


git-svn-id: svn://10.0.0.236/trunk@62516 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 01:44:05 +00:00
tajima%eng.sun.com
3f94a6a861 Fix for 17419. a=bobj@netscape.com, r=ftang@netscape.com
git-svn-id: svn://10.0.0.236/trunk@62515 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 01:30:07 +00:00
dbragg%netscape.com
509514abf2 Fix for bug 30903 a=leger r=dveditz
git-svn-id: svn://10.0.0.236/trunk@62514 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 01:23:06 +00:00
buster%netscape.com
73e75d6154 bug 28553
r=troy
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62513 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 01:10:44 +00:00
beard%netscape.com
1b6119319c now includes all of the optimizer classes
git-svn-id: svn://10.0.0.236/trunk@62512 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 01:05:28 +00:00
norris%netscape.com
93126f0886 javadoc comment.
git-svn-id: svn://10.0.0.236/trunk@62510 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 01:03:59 +00:00
beard%netscape.com
0dbe13cbf0 imports js.mcp.xml into js-all.mcp
git-svn-id: svn://10.0.0.236/trunk@62509 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 01:03:58 +00:00
mcafee%netscape.com
0e462eeaeb Missing arg to mailnewstest call.
git-svn-id: svn://10.0.0.236/trunk@62508 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 00:56:36 +00:00
pinkerton%netscape.com
b0f605156b fix for 31267. call oncreate handler for the help menu as well. r=don, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62506 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 00:28:32 +00:00
ben%netscape.com
a779ac80f4 darn it, forgot to change the broadcaster with my r=don, a=jevering menu change last night
git-svn-id: svn://10.0.0.236/trunk@62505 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 00:22:02 +00:00
norris%netscape.com
4bd64eafb8 Fix command line
git-svn-id: svn://10.0.0.236/trunk@62504 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 23:33:06 +00:00
ftang%netscape.com
64ff69af49 fix 31029. r=waterson, a=bobj. Make the MapEncoding function return "UTF-8" as default so we will create a nsIUnicodeDecoder for the receiving data.
git-svn-id: svn://10.0.0.236/trunk@62503 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 23:31:19 +00:00
pollmann%netscape.com
75c20132b3 Bug 28988: Don't try to submit a form if the window containing it has been destroyed (crash fix) r=waqar, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62502 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 23:30:57 +00:00
edburns%acm.org
c4a928699e r=ashuk
a=edburns
bug=31253

This change doesn't impact SeaMonkey.

Move the initialization of the nativeWebShell ptr into a superclass.


git-svn-id: svn://10.0.0.236/trunk@62501 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 23:22:52 +00:00
norris%netscape.com
e926d2847d Add html page for the NervousText applet.
git-svn-id: svn://10.0.0.236/trunk@62500 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 23:06:54 +00:00
wtc%netscape.com
f9e0c13dc8 Bugzilla bug #30746: added a new test primblok.c to show that NSPR I/O
functions will hang when the primordial thread calls a native blocking
function.
Added file: primblok.c
Modified files: Makefile, Makefile.in, runtests.ksh


git-svn-id: svn://10.0.0.236/trunk@62498 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 22:45:42 +00:00
leaf%mozilla.org
a9e7186046 initial checkin. finally. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@62497 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 22:43:21 +00:00
valeski%netscape.com
c2ad167e4d r=dveditz. a=jevering. 31001. we're now using backwards compat OS strings in the UA
git-svn-id: svn://10.0.0.236/trunk@62496 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 22:29:00 +00:00
sfraser%netscape.com
f021256d53 Fix for 30894 -- crash closing compose window while loading reply. r=buster, bienvenu, akkana, a=jar
git-svn-id: svn://10.0.0.236/trunk@62495 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 22:20:56 +00:00
harishd%netscape.com
662dcce3f2 Fix for 15204 [ PDT+]
Including tag name when recording trailing contents ( only used on TEXTAREA)
r=pollmann
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62494 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 22:16:10 +00:00
norris%netscape.com
a08d1ac58c Fixes for NervousText example.
git-svn-id: svn://10.0.0.236/trunk@62490 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 21:50:14 +00:00
norris%netscape.com
da47198641 Try to fix Solaris/Linux failures.
git-svn-id: svn://10.0.0.236/trunk@62489 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 21:46:42 +00:00
wtc%netscape.com
821e6214da Bugzilla bug #31049: pass both null and non-null 'addr' argument to
PR_Accept to catch this bug.


git-svn-id: svn://10.0.0.236/trunk@62488 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 21:40:11 +00:00
wtc%netscape.com
92ddffb6e9 Bugzilla bug #31049: Ipv6ToIpv4SocketAccept should handle a null 'addr'
argument.


git-svn-id: svn://10.0.0.236/trunk@62487 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 21:38:19 +00:00
wtc%netscape.com
20bedc9a03 Bugzilla bug #31120: added a new test intrio.c to reproduce this bug.
Added file: intrio.c
Modified files: Makefile, Makefile.in, runtests.ksh


git-svn-id: svn://10.0.0.236/trunk@62486 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 21:14:24 +00:00
joki%netscape.com
d4515655d4 Fix for bug 31186, backout of part of fix for 28988. r:saari a:leaf and the rest of the irc crowd to fix tree blocker
git-svn-id: svn://10.0.0.236/trunk@62485 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 20:22:55 +00:00
varada%netscape.com
10390e8915 tweaks to the ib.cpp to handle correct ordering of the components
git-svn-id: svn://10.0.0.236/trunk@62483 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 19:39:29 +00:00
despotdaemon%netscape.com
007c8afa42 Pseudo-automatic update of changes made by pschwartau@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62482 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 18:37:50 +00:00
wtc%netscape.com
a154809875 Bugzilla bug #31120: _PR_Unblock_IO_Wait was binding the interrupted
local thread to the wrong CPU.


git-svn-id: svn://10.0.0.236/trunk@62480 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 18:26:29 +00:00
despotdaemon%netscape.com
2008824932 Pseudo-automatic update of changes made by serge@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62478 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 18:07:33 +00:00
terry%mozilla.org
2e1f1f5438 Patch by "Peter Schweiger" <Schweiger.Peter@litef.de> -- minor bugfixes.
git-svn-id: svn://10.0.0.236/trunk@62477 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 18:04:53 +00:00
despotdaemon%netscape.com
329083330a Pseudo-automatic update of changes made by robodan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62476 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 16:21:17 +00:00
rhp%netscape.com
c271a4061f Small fix for garbled title bug for I18N subjects - Bug #: 29651 - r: alecf - a: phil
git-svn-id: svn://10.0.0.236/trunk@62475 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 15:51:19 +00:00
joki%netscape.com
3fb867170e Fix bug 28988, add null check and consume event when script object/window is destroyed while processing an event. a:rickg, r:saari
git-svn-id: svn://10.0.0.236/trunk@62474 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 15:33:35 +00:00
joki%netscape.com
d58d23067a Fix bug 29515, prevent excess processing inside GetFrameForPoint. a:rickg, r:dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@62473 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 15:31:44 +00:00
rickg%netscape.com
4d736c70fd update to new string files; these are NOT part of the build
git-svn-id: svn://10.0.0.236/trunk@62472 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 10:50:02 +00:00
ssu%netscape.com
0766443b3b fixing bugs:
#30711 - no longer attempts to detect Net2Phone
           running during startup of installer.
  #30982 - added netscape registry names to the
           .js install scripts.
  #30907 - changed the way the build number is
           displayed on the blue background.  It
           is now displayed in a smaller font and
           in black.
  #30877 - added creation of Profile Manager
           shortcut.

affects only windows platforms.

a=jar
r=sgehani


git-svn-id: svn://10.0.0.236/trunk@62471 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 09:49:36 +00:00
valeski%netscape.com
da82ef54de r=warren. a=jar. 30634, 30635. something caused event timing changes which aggrivated some FTP bugs. FTP no longer pumps it's own event loop, no longer implements AsyncOpen, and has changed the synchronization between the channel object and the FTP thread. The current changes aggrivate a bug in the socket transport which manifests itself as the throbber not always stopping when a download completes.
git-svn-id: svn://10.0.0.236/trunk@62470 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 09:46:56 +00:00
varada%netscape.com
78b69b0a88 fix for bug#31111. the invisible components dont get included the first time when they are shown to the user but are counted later when the xpi files need to be copied.did so by having an extra parameter for buildcomponents
git-svn-id: svn://10.0.0.236/trunk@62469 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:56:15 +00:00
karnaze%netscape.com
ba0df37d8b new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@62468 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:51:40 +00:00
karnaze%netscape.com
7e4d5fb87f PDT+ bug 29429 - incremental reflow and nested tables, r=troy, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62467 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:45:26 +00:00
ben%netscape.com
9488ca8926 fix for 31039, r=don, a=jevering
git-svn-id: svn://10.0.0.236/trunk@62466 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:26:30 +00:00
mscott%netscape.com
630e352c30 Bug #30553 --> properly get the correct window sizes for new windows created with a window target. This code
was actually written by travis and was reviewed by danm. I'm just checking it in for him.
a=jevering


git-svn-id: svn://10.0.0.236/trunk@62465 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:19:22 +00:00
mscott%netscape.com
aa485dd753 Bug #30553 --> API sync with the change to nsIContentHandler::HandleContent.
r=travis
a=jevering


git-svn-id: svn://10.0.0.236/trunk@62464 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:18:21 +00:00
mscott%netscape.com
283d1b57b0 Bug #30553 --> new windows with window targets were getting the target associated with the
chrome window instead of with the content window. And the window sizes were coming from the
	       hidden window instead of the parent window the url originated from.
r=travis
a=jevering


git-svn-id: svn://10.0.0.236/trunk@62463 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:17:40 +00:00
ben%netscape.com
a0cf2941c4 fixes for search panel appearance, 28103 r=german, a=jevering
git-svn-id: svn://10.0.0.236/trunk@62462 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 07:53:22 +00:00
ben%netscape.com
b539c7afc3 fixes for search panel appearance, 28103 r=german, a=jevering
git-svn-id: svn://10.0.0.236/trunk@62461 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 07:46:00 +00:00
scc%netscape.com
f57345a2c0 File Removed.
git-svn-id: svn://10.0.0.236/trunk@62460 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 06:39:31 +00:00
scc%netscape.com
f60b48fdbc Incremental changes. Getting the comparison operators right. Making |operator+()| do the right thing. These files are not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@62459 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 06:37:45 +00:00
pollmann%netscape.com
4230c172e4 Bug 30317: Crash fix for scrolling=no, background-attachment: fixed pages r=evaughan, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62458 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 05:54:58 +00:00
alecf%netscape.com
ed33d6dad3 fix for #31038 - move the smtpService initialization to just before invalid accounts get loaded
r=sspitzer
a=jar


git-svn-id: svn://10.0.0.236/trunk@62457 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 05:16:53 +00:00
edburns%acm.org
508cc90c1c bug=31123
a=edburns
r=bruce

Folks, don't EVER use NULL in your c++ code.  Use nsnull instead.


git-svn-id: svn://10.0.0.236/trunk@62456 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 05:12:42 +00:00
despotdaemon%netscape.com
d74ca3ff36 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@62455 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 05:00:57 +00:00
despotdaemon%netscape.com
f81d2a1a1e Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@62454 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 05:00:01 +00:00
putterman%netscape.com
9c87adb384 Fixing mac bustage.
git-svn-id: svn://10.0.0.236/trunk@62453 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 04:58:38 +00:00
edburns%acm.org
f3317f63ad JAVAH generated header files should not be checked in, since they are generated as a result of the build.
git-svn-id: svn://10.0.0.236/trunk@62452 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 04:41:43 +00:00
pierre%netscape.com
89692aa2cc 29370 "Stylesheets and JS files are not always loaded". Checked in for valeski, r=pierre, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62451 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 04:37:01 +00:00
despotdaemon%netscape.com
c632c31ad1 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@62450 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 04:35:07 +00:00
putterman%netscape.com
ac0e3e053e a=phil. r=jefft and mscott. Fix for 30918. Can now move messages from imap to local
and local to imap.


git-svn-id: svn://10.0.0.236/trunk@62449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 04:17:02 +00:00
edburns%acm.org
83f540d4e6 a=slamm
r=slamm
Checkin to fix build bustage.  Move conditional stuff from common.mk to config.mk.


git-svn-id: svn://10.0.0.236/trunk@62448 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 03:34:54 +00:00
rogerl%netscape.com
9690a51ce6 Put NonGreedy back in.
git-svn-id: svn://10.0.0.236/trunk@62446 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:39:58 +00:00
waterson%netscape.com
0286571f17 Bug 30557. Force an immediate reflow after creating a content chain. r=hyatt, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62445 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:27:37 +00:00
waterson%netscape.com
44339eaa9f Bug 30866. Be sure to pass the right content node to nsTreeRowGroupFrame::IndexInRow(). r=hyatt, a=jar
git-svn-id: svn://10.0.0.236/trunk@62444 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:26:19 +00:00
cmanske%netscape.com
2ee4fc6917 Part of fix for 30769. r=sfraser, a=jar
git-svn-id: svn://10.0.0.236/trunk@62443 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:25:00 +00:00
leaf%mozilla.org
bb67902b9b Automated update
git-svn-id: svn://10.0.0.236/trunk@62442 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:15:13 +00:00
beard%netscape.com
73b2f1d9c2 Added gctest target, added -lm to get floor()
git-svn-id: svn://10.0.0.236/trunk@62441 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:11:52 +00:00
sherry.shen%sun.com
f32676300d Bug #28281, r=leaf, a=leaf,
Add an option for building Java-supplement
and fix the Java building problem about JDIRS.


git-svn-id: svn://10.0.0.236/trunk@62440 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:08:23 +00:00
matt%netscape.com
8246288005 adding search string for correct sting. a=jar r=ben bug23989
git-svn-id: svn://10.0.0.236/trunk@62439 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:07:09 +00:00
danm%netscape.com
8f35de83a1 persist sizemode (minimized,maximized). bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62438 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:01:22 +00:00
danm%netscape.com
2fed3ce184 persist size only when window is not minimized or maximized. bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62437 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:00:20 +00:00
danm%netscape.com
00e7f0e656 propagate zoom event to xp window. bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62436 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:58:04 +00:00
danm%netscape.com
3513417ecb adding methods to set and get the size mode (normal,minimized...). bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62435 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:55:48 +00:00
danm%netscape.com
5e3562a0db adding definition for new sizemode event. bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62434 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:54:14 +00:00
varada%netscape.com
431157a2aa Core directory is not created if CD Autorun shell is not selected - all the files get copied into the output directory
git-svn-id: svn://10.0.0.236/trunk@62433 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:46:00 +00:00
beard%netscape.com
f488a47225 oops, commented out gc_types<T>::string.
git-svn-id: svn://10.0.0.236/trunk@62432 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:44:35 +00:00
hangas%netscape.com
ad1fef58f1 Fix 30786 (buttons and menus on taskbar wiggle if mouse over buttons) r=german a=phil
git-svn-id: svn://10.0.0.236/trunk@62431 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:39:50 +00:00
evaughan%netscape.com
e80da5b242 Fix for bug# 30548
-r hyatt, -a jar


git-svn-id: svn://10.0.0.236/trunk@62430 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:37:23 +00:00
beard%netscape.com
038c1e1796 g++ doesn't provide numeric_limits<T>
git-svn-id: svn://10.0.0.236/trunk@62429 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:35:53 +00:00
beard%netscape.com
8003f30c36 Cleaning up for GCC
git-svn-id: svn://10.0.0.236/trunk@62428 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:34:57 +00:00
matt%netscape.com
2a91516889 adding js to change release notes based on brand. 29885
git-svn-id: svn://10.0.0.236/trunk@62427 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:33:14 +00:00
varada%netscape.com
14f698b816 replacing smallanimpath and smallstillpath with largeanimpath and largestillpath bug#23990
git-svn-id: svn://10.0.0.236/trunk@62426 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:19:19 +00:00
sherry.shen%sun.com
b14df5fa61 Bug #28281, r=leaf, a=leaf,
Add an option for building Java-supplement and
fix the Java building problem about JDIRS.


git-svn-id: svn://10.0.0.236/trunk@62425 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:14:22 +00:00
varada%netscape.com
8ac31ae99d commenting out Accountsetup.ini and branding_page3.ini for beta
git-svn-id: svn://10.0.0.236/trunk@62424 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:07:44 +00:00
tbogard%aol.net
67713bb424 Adding new files for the embedding object. Note the embedding DLL is not yet used or relied upon. a=jevering
git-svn-id: svn://10.0.0.236/trunk@62420 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:06:56 +00:00
racham%netscape.com
4cd2dd6425 Fixing bug 19621. Check to see if the right url is loaded is done using setInterval for each second. Once the we identify that the right url is loaded the the interval activity is cleared. Otherwise after 30 seconds, the interval activity will close the activation window. r=selmer,matt,ben. a=jevering.
git-svn-id: svn://10.0.0.236/trunk@62419 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:06:02 +00:00
despotdaemon%netscape.com
ddd8bad307 Pseudo-automatic update of changes made by seth@cs.brandeis.edu.
git-svn-id: svn://10.0.0.236/trunk@62418 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:53:48 +00:00
rhp%netscape.com
fd625c0792 Fixing garbage display of subject in frame header - Bug #: 29651 - r: alecf - a: leger"
git-svn-id: svn://10.0.0.236/trunk@62417 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:41:54 +00:00
despotdaemon%netscape.com
aaf78d2e1a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@62416 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:39:21 +00:00
sfraser%netscape.com
44d056d6a3 Fix for 29572 (launching PSM on Mac). Implement GetParent() for an nsILocalFileMac that was initialized with an FSSpec. r=davidm, a=jar
git-svn-id: svn://10.0.0.236/trunk@62415 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:35:11 +00:00
despotdaemon%netscape.com
424505cc31 Pseudo-automatic update of changes made by claudius@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62414 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:23:07 +00:00
waqar%netscape.com
1d5c814149 #=29862
r=vidur
a=jar
d=Fixes the memory leak problem with JavaScript preloading animated gifs.


git-svn-id: svn://10.0.0.236/trunk@62413 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:20:55 +00:00
rhp%netscape.com
aca6b0bba2 Fix for quoting problem with line wrap - Bug #: 30562 - r: rhp - worked on with Ben Bucksch - a: phil
git-svn-id: svn://10.0.0.236/trunk@62412 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:09:18 +00:00
slamm%netscape.com
01dc009d70 Have local panels for customize dialog come from client again (instead of remote source). Bug 30872. r=mcafee a=jar.
git-svn-id: svn://10.0.0.236/trunk@62411 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 00:06:47 +00:00
dmose%mozilla.org
f00e6e5904 got rid of a perl warning
git-svn-id: svn://10.0.0.236/trunk@62409 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 23:58:11 +00:00
despotdaemon%netscape.com
1b6c4f2635 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@62408 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 23:53:12 +00:00
dmose%mozilla.org
6a44b96db0 fixed typo
git-svn-id: svn://10.0.0.236/trunk@62407 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 23:47:52 +00:00
scc%netscape.com
6ecdc03907 Incremental changes. These files are not yet part of the build. a=don
git-svn-id: svn://10.0.0.236/trunk@62406 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 21:57:14 +00:00
waterson%netscape.com
dd9530723b Bug 30477. Deal with the fact that somehow mSource is getting set to null. Bogo-defensive programming. Yay! r=warren, a=gramps, leaf.
git-svn-id: svn://10.0.0.236/trunk@62405 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 21:17:41 +00:00
varada%netscape.com
ee00f75644 changing the exe name from seamonkey32e.exe to NetscapeSetup.exe
git-svn-id: svn://10.0.0.236/trunk@62403 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 19:43:50 +00:00
modgock%eng.sun.com
1a8bbc0d63 Fixes bug 30593 -- this module isn't built by tinderbox and is therefore immune from build stability issues (it builds of course, but it's immune from the closure since it's not part of the build/kit process)
git-svn-id: svn://10.0.0.236/trunk@62402 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 19:36:13 +00:00
edburns%acm.org
5393e638a0 For win32 builds. If you define
WEBCLIENT_SPEC=1

in your environment before building webclient, the spec-compliant
version of webclient will be built.


git-svn-id: svn://10.0.0.236/trunk@62401 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 19:17:16 +00:00
varada%netscape.com
ef2a5ade00 Changing name of the exe from seamonkey32e.exe to NetscapeSetup.exe
git-svn-id: svn://10.0.0.236/trunk@62400 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 18:59:46 +00:00
edburns%acm.org
57a27f1d50 Changed NULL to nsnull, so it would build with gcc.
.


git-svn-id: svn://10.0.0.236/trunk@62399 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 18:54:00 +00:00
ashuk%eng.sun.com
9daf7a540c a=edburns
r=edburns
author=ashuk
bug=28407

Made fix for new BookmarksImpl.java file -- Ashu K.


git-svn-id: svn://10.0.0.236/trunk@62398 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 18:49:36 +00:00
ashuk%eng.sun.com
6c6385f95e a=edburns
r=edburns
author=ashuk
bug=28407

Made fix for changed BookmarksImpl.cpp file in the Stubs file -- Ashu K.


git-svn-id: svn://10.0.0.236/trunk@62397 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 18:41:01 +00:00
terry%mozilla.org
456cf72ccb Whoops; removed extra double-quote.
git-svn-id: svn://10.0.0.236/trunk@62395 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 14:46:18 +00:00
Jerry.Kirk%Nexwarecorp.com
4147974f59 Remove #if DEBUG condition for some functions that really should be debug
but need to be included/excluded some other way, when I have time.
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@62394 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 13:42:46 +00:00
Jerry.Kirk%Nexwarecorp.com
07ebf6331b Remove the -DDEBUG lines that were keeping builds from working without
debug. PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@62393 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 13:40:11 +00:00
Jerry.Kirk%Nexwarecorp.com
659dc3219b Clean-up Makefile and bring it more in line with GTK version.
git-svn-id: svn://10.0.0.236/trunk@62392 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 13:39:09 +00:00
warren%netscape.com
61bd096c8a Fixed mac problem -- missing getenv.
git-svn-id: svn://10.0.0.236/trunk@62391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 11:24:10 +00:00
warren%netscape.com
84f531a52e Made the thread-safety checking able to be turned on/off by the XPCOM_CHECK_THREADSAFE env var. a=jar,r=mscott
git-svn-id: svn://10.0.0.236/trunk@62390 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 09:21:32 +00:00
jbetak%netscape.com
55b0054293 b=28127 r=matt,ben,ftang,erik a=bobj Font prefs don't list all fonts - changed UI for Beta1 and fixed a radio-button problem in pref.js
git-svn-id: svn://10.0.0.236/trunk@62389 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 06:24:25 +00:00
rickg%netscape.com
fba3da6995 fixed PDT+ bugs 30929 and 29749; r=harishd, pollman; a=jar
git-svn-id: svn://10.0.0.236/trunk@62388 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 06:18:18 +00:00
rickg%netscape.com
582e770b5c fixed pdt+ bug 29749; r=pollman; a=jar
git-svn-id: svn://10.0.0.236/trunk@62387 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 06:16:29 +00:00
toshok%hungry.com
704dbf758b move variables that were static to the file and (in the case of copyRegion) static to a function into private/static variables in the class. gets around a strange GOTOFF warning/crash when using g++ 295 and binutils 2.9.1
git-svn-id: svn://10.0.0.236/trunk@62386 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 06:06:45 +00:00
waterson%netscape.com
78927bf2a0 Bug 30887. Check mDocument before dereferencing to update style rule. Happens when setting 'style' attribute on an element that is not in the doc tree. r=hyatt, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62385 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 06:05:45 +00:00
buster%netscape.com
e44a40eb6a fixed PDT+ bug 30738
r=troy, vidur
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62384 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 05:33:15 +00:00
sspitzer%netscape.com
64008c213e bulletproofing fix for #30937. r=mscott a=jar. don't crash if the imap server goes away.
git-svn-id: svn://10.0.0.236/trunk@62383 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 05:04:14 +00:00
morse%netscape.com
6a4c353cd6 fix bug 30180, fieldname clash between html login forms and dialog login forms, r=dp, a=jar
git-svn-id: svn://10.0.0.236/trunk@62382 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 05:01:28 +00:00
norris%netscape.com
caf359bdc1 Fix 29419 nsScriptSecurityManager should do casinsensitive compaires
Patch submitted by andreas.otte@primus-online.de
r=norris,a=jar


git-svn-id: svn://10.0.0.236/trunk@62381 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:57:05 +00:00
law%netscape.com
3b1cb7d04f Filter context menu choices for links with javascript: URLs; b=23690, r=matt@netscape.com, a=jevering@netscape.com
git-svn-id: svn://10.0.0.236/trunk@62380 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:42:25 +00:00
saari%netscape.com
d6681f6c63 windows fix for 26834, windows need sanity checks to keep them on screen. r=hyatt, a=jar
git-svn-id: svn://10.0.0.236/trunk@62379 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:41:12 +00:00
saari%netscape.com
6d4edde1eb GTK fix for PDT+ 26834, windows need sanity checks on positioning to stay on screen. r=pavlov, a=jar
git-svn-id: svn://10.0.0.236/trunk@62378 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:33:59 +00:00
saari%netscape.com
2524430720 Mac fix for PDT+ 26834, placing sanity checks on resizing and moving of windows to make sure things stay on screen. r=danm, a=jar
git-svn-id: svn://10.0.0.236/trunk@62377 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:32:37 +00:00
bienvenu%netscape.com
e0910070d2 more work on ab import, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@62376 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:30:45 +00:00
sspitzer%netscape.com
a9fd3ae77d better fix for #30646. r=mscott, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:21:46 +00:00
sspitzer%netscape.com
7e7dbb7a9a bulletproofing fix for #30937. r=mscott a=jar. don't crash
if the imap server goes away.


git-svn-id: svn://10.0.0.236/trunk@62374 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:17:05 +00:00
tbogard%aol.net
e211a20b92 Now that docShell implements SetZoom and GetZoom, just pass those function calls on to it. This frees us to clear some bloat in webShell's holding on to float mZoom. bug #30625. r=jud, waterson a=jevering
git-svn-id: svn://10.0.0.236/trunk@62373 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 04:00:31 +00:00
tbogard%aol.net
48f5d54fae Don't rely on the parent widget to have a device context. Create and cache our own just like the old webShell wolrd. Since we have our own, it can now cache the zoom state too. bug #30625. r=jud, waterson a=jevering
git-svn-id: svn://10.0.0.236/trunk@62372 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 03:58:33 +00:00
tbogard%aol.net
9e627c30c9 When the channel is cancelled, don't ignore it, actually cancel and don't sent OnStartRequests if one hasn't been sent yet. If an OnStop is pending, send a OnStopRequest with cancelled in it. bug #30625. r=jud, waterson a=jevering
git-svn-id: svn://10.0.0.236/trunk@62371 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 03:54:07 +00:00
waterson%netscape.com
d3f9e9a69d Bug 29250. PR_GetFileInfo64() expects a 'root' path on Win32 to have a trailing slash; e.g., it will accept 'c:\\', but not 'c:'. Ensure that, if we ever see a naked drive letter, we'll append a trailing backslash to make something that NSPR understands. r=dveditz, a=jevering
git-svn-id: svn://10.0.0.236/trunk@62370 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 02:53:04 +00:00
slamm%netscape.com
adb1452d9d Add NS_SUCCEEDED() check for GetContent() call. May have caused start up assertion on Linux. It's tough to reproduce. Even if this was not the source of the problem, the extra check does not hurt. Follow up checkin to fix for bug 29813. r=evaughan a=jevering
git-svn-id: svn://10.0.0.236/trunk@62368 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 02:33:52 +00:00
gagan%netscape.com
9ef9e2efe3 Removed some dead #if 0 code.
git-svn-id: svn://10.0.0.236/trunk@62367 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 02:31:25 +00:00
varada%netscape.com
60598d0cc0 fixes for bug #30123:temp hack - if the command is not returning true force it to do so inorder to prevent further commands from not being ignored- Permanent fix after Beta
git-svn-id: svn://10.0.0.236/trunk@62366 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 01:39:19 +00:00
varada%netscape.com
2b680ec5fc changing the values in the myisp.che and default.che bug#23955
git-svn-id: svn://10.0.0.236/trunk@62365 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 01:35:07 +00:00
rogerl%netscape.com
f3cc21d8cd Fixed handling of {1,} quantifiers
git-svn-id: svn://10.0.0.236/trunk@62364 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 01:24:55 +00:00
gagan%netscape.com
a628098cfa Added #include for nsIHTTPEventSink as well... Should fix the solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@62363 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 01:11:06 +00:00
rogerl%netscape.com
45bcc78e16 Reduced stack usage for greedy matching.
git-svn-id: svn://10.0.0.236/trunk@62362 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 01:08:32 +00:00
gagan%netscape.com
a495a548fb webshell's GetInterface continues with DocShell's GetInterface. r=travis. (reviewed docshell changes too) this allows necko to use the interface requester (webshell) to ask for nsIPrompt and display dialog boxes (for auths, etc)
git-svn-id: svn://10.0.0.236/trunk@62361 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:40:49 +00:00
gagan%netscape.com
1342af872f docshell's GetInterface returns nsIPrompt to allow dialog boxes on a per window basis.
git-svn-id: svn://10.0.0.236/trunk@62360 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:38:58 +00:00
gagan%netscape.com
1ac8d11436 New event sink changes for the test case.
git-svn-id: svn://10.0.0.236/trunk@62359 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:35:24 +00:00
gagan%netscape.com
1e412e8490 Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages.
Fixed bug 24329-- proxy auths. We were not using the new call to setOverrideRequestSpec.
Part fix for bug 27048, HTTP now uses nsIHTTPEventSink and uses nsIPrompt for authentication.
r=valeski,a=jar


git-svn-id: svn://10.0.0.236/trunk@62358 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:31:49 +00:00
gagan%netscape.com
c5d983fef4 Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages. r=valeski,a=jar
git-svn-id: svn://10.0.0.236/trunk@62357 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:27:33 +00:00
gagan%netscape.com
0ac4c6a082 Transitioning from nsIHttpEventSink.h to nsIHTTPEventSink.idl Also cleaned up the event sink to only have OnHeadersAvailable and OnRedirect as messages.
git-svn-id: svn://10.0.0.236/trunk@62356 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:24:53 +00:00
gagan%netscape.com
6ce7c3242c added files: mozilla/netwerk/protocol/http/public/nsIHTTPEventSink.idl
git-svn-id: svn://10.0.0.236/trunk@62355 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:22:08 +00:00
slamm%netscape.com
e837e48894 Add persist='collapsed' to message pane box to persist state set by splitter. Bug 29813. r=evaughan,mcafee a=jevering
git-svn-id: svn://10.0.0.236/trunk@62354 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:16:16 +00:00
slamm%netscape.com
cb68a54e3d Remove hacks for 20546 and persist 'collapsed' on splitter siblings instead. Bug 29813. r=evaughan,mcafee a=jevering
git-svn-id: svn://10.0.0.236/trunk@62353 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:16:07 +00:00
slamm%netscape.com
f30b6019c3 Add 'collapsed' for collapsing splitter siblings. Bug 29813. r=evaughan,mcafee a=jevering
git-svn-id: svn://10.0.0.236/trunk@62352 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:15:44 +00:00
slamm%netscape.com
dce634d7d6 Add rule to collapse splitter siblings when collapsed='true'. Eventually we may want to make this rule more general (by taking off 'box >'). Bug 29813. r=evaughan,mcafee a=jevering r=hyatt
git-svn-id: svn://10.0.0.236/trunk@62351 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:15:29 +00:00
slamm%netscape.com
f84132e692 Add collapsed='true' for splitter siblings when the are collapsed. A style rule in global.css will then hide the sibling. It used to work by setting the style directly. Bug 29813. r=evaughan,mcafee a=jevering
git-svn-id: svn://10.0.0.236/trunk@62350 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:14:53 +00:00
pinkerton%netscape.com
c3d7d1ae7b fix for 30911, don't show active state unless mouse is inside the button (changes :active to :hover:active). r=hyatt, a=jevering.
git-svn-id: svn://10.0.0.236/trunk@62349 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 23:58:48 +00:00
dmose%mozilla.org
88ebeb04ce added error checking; moved vconfigurables to top of file; made cvs commit not spew noise to the webserver error log
git-svn-id: svn://10.0.0.236/trunk@62348 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:51:08 +00:00
wtc%netscape.com
785e17dbbf Bugzilla bug #30367: define uint for Neutrino. Rearranged the ifdef's
in protypes.h so that it is easier to understand.  Added the test
obsints.c to ensure that all the (obsolete) integer types are defined.
Added file: pr/tests/obsints.c
Modified files: protypes.h, pr/tests/Makefile, pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@62347 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:48:41 +00:00
mcafee%netscape.com
b7f668f7e8 Using proper copyright date range (10980). r=slamm, btoring. a=jar
git-svn-id: svn://10.0.0.236/trunk@62346 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:46:29 +00:00
ashuk%eng.sun.com
4ad2fcb8e0 a=edburns
r=edburns
author=ashuk
bug=28407

New native code for spec-compliant impl ported to solaris -- Ashu K.


git-svn-id: svn://10.0.0.236/trunk@62345 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:45:37 +00:00
ashuk%eng.sun.com
06ad7dc35e a=edburns
r=edburns
author=ashuk
bug=28407

Moved this file to java/webclient/classes_new/org/mozilla/webclient/wrapper_native -- Ashu K.


git-svn-id: svn://10.0.0.236/trunk@62344 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:39:11 +00:00
dmose%mozilla.org
1931ae5c88 added patch from terry@mozilla.org to allow branches to be restricted; added self to contributor list for previous checkin
git-svn-id: svn://10.0.0.236/trunk@62343 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:37:10 +00:00
ashuk%eng.sun.com
dbbd9a87d7 a=edburns
r=edburns
author=ashuk
bug=28407

New native code for spec-compliant impl ported to solaris -- Ashu K.


git-svn-id: svn://10.0.0.236/trunk@62342 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:33:38 +00:00
edburns%acm.org
57c1e905c2 NOT IN SeaMonkey
Added // PENDING comment


git-svn-id: svn://10.0.0.236/trunk@62341 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:32:27 +00:00
terry%mozilla.org
241fddf501 Patch by Dave Miller <dave@intrec.com> -- allow setting of
confidentiality when submitting a new bug.


git-svn-id: svn://10.0.0.236/trunk@62340 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:22:55 +00:00
ashuk%eng.sun.com
d60410b769 a=edburns
r=edburns
author=ashuk
bug=28407

New run script for spec-compliant impl -- Ashu K.


git-svn-id: svn://10.0.0.236/trunk@62339 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:19:20 +00:00
ashuk%eng.sun.com
0e1f237edc a=edburns
r=edburns
author=ashuk
bug=28407

New solaris Makefile for spec-compliant impl -- Ashu K.


git-svn-id: svn://10.0.0.236/trunk@62338 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:18:17 +00:00
ashuk%eng.sun.com
f746427b55 a=edburns
r=edburns
author=ashuk
bug=28407

New java code for spec-compliant impl ported to solaris -- Ashu K.


git-svn-id: svn://10.0.0.236/trunk@62337 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:16:07 +00:00
ashuk%eng.sun.com
7c6e50cbd3 a=edburns
r=edburns
author=ashuk
bug=28407

New java code for spec-compliant impl ported to solaris -- Ashu K.


git-svn-id: svn://10.0.0.236/trunk@62336 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:10:08 +00:00
despotdaemon%netscape.com
26928458bb Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@62335 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:05:14 +00:00
ashuk%eng.sun.com
ccd51ccc8c a=edburns
r=edburns
author=ashuk
bug=28407

makefile for Java code - spec compliant impl -- Ashu K


git-svn-id: svn://10.0.0.236/trunk@62334 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:03:57 +00:00
dougt%netscape.com
d5d0a00a48 Adding MANIFEST file to export timebomb header file to xpfe. Fixes build bustage.
git-svn-id: svn://10.0.0.236/trunk@62333 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:02:50 +00:00
dougt%netscape.com
8e2882588e Adding export file to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@62332 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:00:17 +00:00
terry%mozilla.org
6f796d74d1 Patch by Peter Schweiger <schweiger.peter@litef.de> -- date formatting
string wasn't working with modern MySQL engines.


git-svn-id: svn://10.0.0.236/trunk@62331 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:56:02 +00:00
warren%netscape.com
979520e152 Fixing thread-safety assertions. a=jar,r=valeski
git-svn-id: svn://10.0.0.236/trunk@62330 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:47:15 +00:00
terry%mozilla.org
1d18fb84ee Oops! canconfirm bit wasn't actually working.
git-svn-id: svn://10.0.0.236/trunk@62329 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:29:19 +00:00
norris%netscape.com
e7aa83e603 Remove test cases with classes from the rmi package that isn't supported by ths MS VM.
git-svn-id: svn://10.0.0.236/trunk@62328 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:16:13 +00:00
norris%netscape.com
bc6c244897 Fix bug 30736 Errors in .js files not reported correctly
a=pdt,r=jband@netscape.com


git-svn-id: svn://10.0.0.236/trunk@62327 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:08:46 +00:00
terry%mozilla.org
e53fba47d7 Was choking on order='Importance'.
git-svn-id: svn://10.0.0.236/trunk@62326 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:04:35 +00:00
dougt%netscape.com
16a8aca062 moving the timebomb code from the nsAppRunner to the Browser. This
allows us to modify that user's first start page.

28060.  r= mccabe, a= jevering.


git-svn-id: svn://10.0.0.236/trunk@62325 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:02:50 +00:00
mkaply%us.ibm.com
ebdfcca282 # 25555
r= pavlov@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@62324 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:00:06 +00:00
dougt%netscape.com
5b9e429b70 fixed some bugs in the origanal code. I missed a
check against null, and was using the wrong pref string.

28060 r=mccabe, a=jevering


git-svn-id: svn://10.0.0.236/trunk@62323 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:58:46 +00:00
bienvenu%netscape.com
ae20f7f341 add ab upgrader interface, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@62322 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:57:03 +00:00
scc%netscape.com
53d961e6fa Not part of the build. Developing interfaces. Incremental changes to share with rickg, et al.
git-svn-id: svn://10.0.0.236/trunk@62321 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:56:07 +00:00
mkaply%us.ibm.com
47894eddbe # 25555
r= dcone@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@62320 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:52:13 +00:00
sspitzer%netscape.com
bf338a530b fix for bug #30646. crash on certain news messages. r=mscott, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:49:48 +00:00
seth%cs.brandeis.edu
10f624236e * this adds in DEFAULT_PRODUCT and DEFAULT_COMPONENT functionality to the
bug_email.pl script.  See comments in the script itself for how it works.


git-svn-id: svn://10.0.0.236/trunk@62318 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:39:38 +00:00
dmose%mozilla.org
f5170e2804 added hack for NSS bug injection
git-svn-id: svn://10.0.0.236/trunk@62317 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:03:52 +00:00
terry%mozilla.org
bbf32962d6 Fixed stupid syntax error in last patch.
git-svn-id: svn://10.0.0.236/trunk@62316 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 19:27:41 +00:00
terry%mozilla.org
2d92d1fc65 Patch by "David Gardiner" <david.gardiner@unisa.edu.au> -- recognize
more useragent strings.


git-svn-id: svn://10.0.0.236/trunk@62315 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 18:52:27 +00:00
terry%mozilla.org
6af1f6f35a Patch by Brian Duggan <bduggan@oven.com> -- security improvements.
git-svn-id: svn://10.0.0.236/trunk@62314 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 18:23:00 +00:00
terry%mozilla.org
675ff68238 Contribution by Eli Goldberg <eli@prometheus-music.com> -- generic
bug-writing guidelines.


git-svn-id: svn://10.0.0.236/trunk@62313 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 18:00:24 +00:00
terry%mozilla.org
eba0607a76 Submission by Klaas Freitag <freitag@suse.de>.
git-svn-id: svn://10.0.0.236/trunk@62312 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 17:36:48 +00:00
terry%mozilla.org
58c914a7f7 Patch by Olaf Krische <krische@mbi-berlin.de> -- Fixed HTML typos.
git-svn-id: svn://10.0.0.236/trunk@62311 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 17:32:51 +00:00
norris%netscape.com
15fb0b28c6 Fix typo.
git-svn-id: svn://10.0.0.236/trunk@62310 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 17:22:43 +00:00
rods%netscape.com
f2051a9c75 nsITextContent needed to be included not forwarded.
git-svn-id: svn://10.0.0.236/trunk@62309 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 16:45:21 +00:00
rods%netscape.com
ce957b6b38 need to static set the height so the dialog looks right
fixes bugs 29544, 28835
a=jar


git-svn-id: svn://10.0.0.236/trunk@62308 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:57:22 +00:00
rods%netscape.com
e642f17ed2 changes to select becuase the new display area is a block and text frame instead
of a button
fixes bugs 29544, 28835
a=jar


git-svn-id: svn://10.0.0.236/trunk@62307 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:56:14 +00:00
rods%netscape.com
7e5fa53319 Fixed Combobox and ListBox frame to be more effecient in processing reflows
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar


git-svn-id: svn://10.0.0.236/trunk@62306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:54:31 +00:00
svn%xmlterm.org
877783f732 xmlterm changes only (not part of the default build).
Minor tweaks to handle input of control characters. Switched to double clicks, instead of single clicks, to activate XMLterm features (to protect the user).


git-svn-id: svn://10.0.0.236/trunk@62305 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:45:16 +00:00
valeski%netscape.com
ce1ebc2c26 r=vidur. a=jevering. We now advertise Netscape like we always did in the AppName field
git-svn-id: svn://10.0.0.236/trunk@62304 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:35:48 +00:00
Jerry.Kirk%Nexwarecorp.com
2270c52c91 Remove -DDEBUG from the Makefile
Fix the numeric keypad keys under PHOTON.


git-svn-id: svn://10.0.0.236/trunk@62303 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 13:57:43 +00:00
Jerry.Kirk%Nexwarecorp.com
a653c8dbfd Removing -DDEBUG to force PR_LOGing on, this causes optimized builds
not to link correctly.
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@62302 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 13:30:49 +00:00
jband%netscape.com
9b065377e2 NOT PART OF THE BUILD - updating xptcall ports status page to note completion of Compaq Tru64 port
git-svn-id: svn://10.0.0.236/trunk@62301 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 09:19:12 +00:00
laa%sparc.spb.su
cfb35bc8bd Cleaned up pluglet examples sources (bug ID 17316).
Reviewed by idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@62300 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 08:33:54 +00:00
mccabe%netscape.com
4aff5309fc Fix to 30547
JavaScript error alert popups are now controlled by the "javascript.error.alerts" pref, initially defaulting to false.

In response to to various emails and newsgroup pressure.

a=jar


git-svn-id: svn://10.0.0.236/trunk@62299 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 07:41:29 +00:00
mscott%netscape.com
3c6e59ee8e fix assertion problems related to the thread macro by adding a routine to prxoy the imap url to the ui thread
for release. this ensures that the objects held onto by the imap url are released and destroyed on the ui thread.
r=bienvenu
a=jar


git-svn-id: svn://10.0.0.236/trunk@62298 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 06:40:41 +00:00
mscott%netscape.com
0721dd26df fix assertion problems related to the thread macro by adding a routine to prxoy the imap url to the ui thread
for release. there is also a lot of white space changes to this file so don't be alarmed.
r=bienvenu
a=jar


git-svn-id: svn://10.0.0.236/trunk@62297 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 06:39:10 +00:00
mscott%netscape.com
c57151540e fix assertion problems related to the thread macro by adding a routine to prxoy the imap url to the ui thread
for release
r=bienvenu
a=jar


git-svn-id: svn://10.0.0.236/trunk@62296 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 06:38:30 +00:00
mscott%netscape.com
6fd2ac0301 Bug #21358 --> Make sure we only call the on load handler ONCE per document. This prevents a nasty loop if
the onload handler tries to load an ftp url.
r=travis
a=jar


git-svn-id: svn://10.0.0.236/trunk@62295 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 06:02:04 +00:00
sspitzer%netscape.com
7592ea7119 fix for #30381. r=mscott, a=jar. get -compose to work again.
git-svn-id: svn://10.0.0.236/trunk@62294 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 05:35:36 +00:00
putterman%netscape.com
0ac044791a Fix for 29814. a=phil r=bienvenu. Mail folders now load after they are imported. Fixes
a memory leak that was preventing this from working.


git-svn-id: svn://10.0.0.236/trunk@62293 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 05:13:25 +00:00
pinkerton%netscape.com
d691be43db beard got the logic backwards, now we really shouldn't assert on mac. r=danm.
git-svn-id: svn://10.0.0.236/trunk@62292 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 03:57:31 +00:00
vidur%netscape.com
59c2cc11b5 Fix for debug build breakage on Windows. r,a=dp
git-svn-id: svn://10.0.0.236/trunk@62291 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 03:25:04 +00:00
jim_nance%yahoo.com
80cb160eb5 Updated configure to go with configure.in change. Generated by autoconf.
configure.in change r=cls


git-svn-id: svn://10.0.0.236/trunk@62290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 02:41:52 +00:00
jeff.dyer%compilercompany.com
2784e8857c Fix for #16438 (r=stanley.ho@eng.sun.com). Adds functionality to allow wrapped JSObjects
to be unwrapped. The complete resolution of this bug requires the implementation
of the unwrap function in JPI.


git-svn-id: svn://10.0.0.236/trunk@62289 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 02:41:11 +00:00
jeff.dyer%compilercompany.com
5f75079f1d Fix for #16438 (r=stanley.ho@eng.sun.com). Adds functionality for unwrapping
wrapped JSObjects.


git-svn-id: svn://10.0.0.236/trunk@62288 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 02:38:44 +00:00
jim_nance%yahoo.com
a2a6bc329f Fix for the Tru64 changes to work with the autoconf scheme we are using.
r=cls


git-svn-id: svn://10.0.0.236/trunk@62287 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 02:35:43 +00:00
waterson%netscape.com
9d5206017d Bug 27222. Make sure that we grab aListener and stuff it into mObserver, so that parser observers work. r=harishd, a=jevering
git-svn-id: svn://10.0.0.236/trunk@62286 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 02:35:20 +00:00
waterson%netscape.com
160a979d59 Bug 27222. Add a parser observer, so we're always guaranteed to be notified when an overlay completes (even if the overlay wasn't there). Keeps us from 'hanging' when an overlay file is missing. r=harishd, a=jevering
git-svn-id: svn://10.0.0.236/trunk@62285 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 02:33:44 +00:00
Jerry.Kirk%Nexwarecorp.com
4dda83c0ea Fix binary character that got checked in by accident.
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@62284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 01:52:45 +00:00
beard%netscape.com
64462c33d5 more tests, using safer auto_ptr.
git-svn-id: svn://10.0.0.236/trunk@62282 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 01:21:53 +00:00
alecf%netscape.com
5762e1da78 first cut at new prefservice. forward the root prefbranch to an internal member variable
not part of build


git-svn-id: svn://10.0.0.236/trunk@62281 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 01:14:22 +00:00
alecf%netscape.com
d0b7573933 first cut at prefbranches, use the old PREF_* api for now
not part of build


git-svn-id: svn://10.0.0.236/trunk@62280 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 01:13:28 +00:00
scc%netscape.com
4201c2b7c2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@62279 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 01:02:10 +00:00
alecf%netscape.com
fcc2b23ccc add nsIPrefService, update nsIPrefBranch to add some functions I missed (not part of build)
git-svn-id: svn://10.0.0.236/trunk@62278 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 01:01:48 +00:00
valeski%netscape.com
631d7fa4b6 r=warren. a=jar. we're now using the threadsafe macros for sync stream listeners
git-svn-id: svn://10.0.0.236/trunk@62276 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 00:37:36 +00:00
vidur%netscape.com
232a5dbda7 Temporary fix for bug 26926. Added state to nsPresShell to deal with the case where the ContentViewer (and ViewManager) went away before it. The ownership model should be sorted out post beta1. r=troy, a=jar
git-svn-id: svn://10.0.0.236/trunk@62275 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 00:28:33 +00:00
hangas%netscape.com
74b8d45126 Fix 29861 (Make throbber do the right thing for every window - mozilla and Netscape trees) r=scottip a=phil
git-svn-id: svn://10.0.0.236/trunk@62274 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 00:22:55 +00:00
jim_nance%yahoo.com
ac71729bbe This is xptcall code for Tru64 Unix (Formerly Digital Unix, Formerly OSF/1).
It was written by Steve Streeter <streeter@zk3.dec.com> of Compaq.
r=jlnance a=shaver


git-svn-id: svn://10.0.0.236/trunk@62273 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 00:15:07 +00:00
sford3%swbell.net
94207e76db Implementing about:credits, r=valeski a=valeski
git-svn-id: svn://10.0.0.236/trunk@62272 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 00:07:39 +00:00
sford3%swbell.net
aa62d24269 added files: mozilla/netwerk/protocol/about/src/nsAboutCredits.cpp
git-svn-id: svn://10.0.0.236/trunk@62271 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 00:07:03 +00:00
beard%netscape.com
23ee920bbd to avoid unnecessary assertions, configurations not defining NS_MT_SUPPORTED (such as the Mac) shouldn't use the OWNINGTHREAD machinery. r=warren, a=leaf
git-svn-id: svn://10.0.0.236/trunk@62270 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 23:55:14 +00:00
jim_nance%yahoo.com
afa05856d4 Changes to make this work under Unicies other than Linux. I so did like
that hack :-(
r=sford


git-svn-id: svn://10.0.0.236/trunk@62269 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 23:53:52 +00:00
terry%mozilla.org
8673d7457d Fixed very stupid typo.
git-svn-id: svn://10.0.0.236/trunk@62268 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 23:21:51 +00:00
norris%netscape.com
363e539c3d Add rhinoi as an engine type.
git-svn-id: svn://10.0.0.236/trunk@62267 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 21:28:57 +00:00
danm%netscape.com
1c169d74f4 bump refcount in threadsafe release macro. bug 30666 r=warren
git-svn-id: svn://10.0.0.236/trunk@62266 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 21:10:46 +00:00
svn%xmlterm.org
f8cbfe6e57 xmlterm changes only (not part of the default build).
Improved full screen implementation; added bold and underline styles. Centralized UI event handling. Added checks to limit number of output lines displayed. Added capability to interrupt hung output data streams. Nearing full backwards compatibility with xterm.


git-svn-id: svn://10.0.0.236/trunk@62265 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 15:16:48 +00:00
sford3%swbell.net
56006af2b7 initial code for about:credits, not part of build yet
git-svn-id: svn://10.0.0.236/trunk@62263 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 15:09:49 +00:00
Jerry.Kirk%Nexwarecorp.com
e52ddaaf98 Fix some compiler warning and turn off some DEBUG code.
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@62262 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 13:54:57 +00:00
Jerry.Kirk%Nexwarecorp.com
4ee00cb7e0 Fix problems with pop-up password dialogs. Fix a compiler warning.
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@62261 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 13:53:54 +00:00
warren%netscape.com
ae3358cdc4 Fixing nsBrowserWindow to not assert in thread safety check. Needed NS_INIT_REFCNT
git-svn-id: svn://10.0.0.236/trunk@62260 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 09:10:47 +00:00
rickg%netscape.com
34138387e3 fixed pdt bugs 28208 and 3944; r=harishd, a=jar
git-svn-id: svn://10.0.0.236/trunk@62259 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 08:44:28 +00:00
buster%netscape.com
c50284c06b fixed bug 29837 and part of bug 29790 (the part about the url bar ceasing to respond)
r=rods, brade
a=jar


git-svn-id: svn://10.0.0.236/trunk@62258 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 04:08:05 +00:00
pavlov%netscape.com
d9b37b0e5f backing out dougt's thread changes r=dougt
git-svn-id: svn://10.0.0.236/trunk@62257 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 01:13:20 +00:00
dougt%netscape.com
10b1160d42 Making the debug target include the debug prefix file. Checkin for warren.
git-svn-id: svn://10.0.0.236/trunk@62256 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 00:59:54 +00:00
warren%netscape.com
05524980cf Adding pluginDebugPrefix.h
git-svn-id: svn://10.0.0.236/trunk@62255 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 00:53:47 +00:00
warren%netscape.com
56e48e0982 Making nsFileStream and nsBufferedStream be threadsafe.
git-svn-id: svn://10.0.0.236/trunk@62254 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 00:51:44 +00:00
warren%netscape.com
d7818444f9 Backing these out due to dependence on nspr/xpcom.
git-svn-id: svn://10.0.0.236/trunk@62253 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 00:40:03 +00:00
warren%netscape.com
b83fc07cc6 Fixing to be thread safe.
git-svn-id: svn://10.0.0.236/trunk@62252 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 00:26:19 +00:00
warren%netscape.com
f208a25dc3 Fixing anticipated bustage due to thread safety checking code.
git-svn-id: svn://10.0.0.236/trunk@62251 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 00:08:26 +00:00
warren%netscape.com
f8d3a7a35f Fixing anticipated bustage due to thread safety checking code.
git-svn-id: svn://10.0.0.236/trunk@62250 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 23:56:59 +00:00
warren%netscape.com
c9ab6c3d01 Fixing for thread safety checking.
git-svn-id: svn://10.0.0.236/trunk@62249 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 23:28:34 +00:00
warren%netscape.com
e8d9cee82c Fixing mac bustage. Need to use NS_DECL_ISUPPORTS here.
git-svn-id: svn://10.0.0.236/trunk@62248 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 23:23:23 +00:00
warren%netscape.com
f652d56904 Attempt to fix the mac bustage. NS_CurrentThread is only defined for debug builds.
git-svn-id: svn://10.0.0.236/trunk@62247 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 23:16:28 +00:00
bruce%cybersight.com
447b42f657 I think this was my fix for viewer coredumping at exit on Unix.
git-svn-id: svn://10.0.0.236/trunk@62246 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 22:30:30 +00:00
warren%netscape.com
f6195ac6b6 Fixing mac bustage -- doubly defined NS_IMPL_THREADSAFE_ISUPPORTS macro.
git-svn-id: svn://10.0.0.236/trunk@62245 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:59:15 +00:00
warren%netscape.com
0a139be8a2 Bug 21556: Making linux be thread-safe. Additional diffs from Andreas. r=warren,a=jar
git-svn-id: svn://10.0.0.236/trunk@62244 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:36:54 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
sspitzer%netscape.com
a412e6abd7 check in alecf's fix for #30370. r=sspitzer, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62242 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:25:53 +00:00
dougt%netscape.com
20d9d73374 Adding dynamic thread allocation to thread pool. Fixes 27736.
Also fixing warning in plevent.c

r=damn, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@62241 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:01:33 +00:00
dougt%netscape.com
8abdfda22f Changing file worker thread count to have a minimum and maximum. Bug fix 27336.
r=warren,danm a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@62240 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 20:57:51 +00:00
morse%netscape.com
79b01441ae fix bug 30464, single-signon database not getting created, r=dp, a=jar
git-svn-id: svn://10.0.0.236/trunk@62239 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 19:17:27 +00:00
sspitzer%netscape.com
913736c8b3 fix for #30146. r=mscott,jar a=jar. if we are creating the "Local Folders" account
and we aren't migrating, then don't set the server's local path.  it is already
set correctly.  also, find the local folders account after creating it for use
in setting the copies and folders.


git-svn-id: svn://10.0.0.236/trunk@62238 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 18:44:26 +00:00
rhp%netscape.com
024e451ac6 Just adding a new file to the tree. THIS IS NOT PART OF ANY BUILD!
git-svn-id: svn://10.0.0.236/trunk@62237 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 17:26:58 +00:00
warren%netscape.com
eb9fe3caa8 Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. Minor tweak. a=jar
git-svn-id: svn://10.0.0.236/trunk@62236 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 10:29:05 +00:00
warren%netscape.com
326a2bb610 Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. a=jar
git-svn-id: svn://10.0.0.236/trunk@62235 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 10:20:48 +00:00
warren%netscape.com
6b2a8fdb04 Bug 21556: Making linux be thread-safe. Exporting NS_CurrentThread from debug builds. a=jar
git-svn-id: svn://10.0.0.236/trunk@62234 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 10:14:50 +00:00
warren%netscape.com
4b15d376f5 Bug 21556: Making linux be thread-safe. Adding NS_MT_SUPPORTED to config rules. r=mcafee,a=jar
git-svn-id: svn://10.0.0.236/trunk@62233 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 09:07:44 +00:00
mscott%netscape.com
e9d5fa0426 Bug #30144 --> correctly set the user agent for messenger to be the same user agent http is using. We were
incorrectly setting to be the app name (Mozilla 5.0) which is the same in both the mozilla and commercial builds.
r=alecf
a=phil,jar


git-svn-id: svn://10.0.0.236/trunk@62232 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 03:12:46 +00:00
bienvenu%netscape.com
4ad49845d0 fix 28203 handle bad password error from logon redirection a=chofmann, r=mscott
git-svn-id: svn://10.0.0.236/trunk@62231 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 03:04:23 +00:00
sspitzer%netscape.com
0f97991e17 filenames too long for the mac's little brain. thanks to big-brained beard for catching my mistake.
git-svn-id: svn://10.0.0.236/trunk@62230 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 02:13:24 +00:00
sspitzer%netscape.com
5946e33dd2 filenames too long for the mac's little brain.
thanks to big-brained beard for catching my mistake.


git-svn-id: svn://10.0.0.236/trunk@62229 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 02:11:15 +00:00
mcafee%netscape.com
6ce24638c4 Added files for bogus directory, removing now. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@62228 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 00:38:15 +00:00
mscott%netscape.com
465f802418 Bug #30144 --> remove the user agent toolbar from the UI. tWe're also going to use the same user agent
string that http uses (we weren't doing that before).
r=alecf
a=phil,jar


git-svn-id: svn://10.0.0.236/trunk@62227 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 00:19:38 +00:00
mcafee%netscape.com
ef9f77d53d Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@62226 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 23:53:46 +00:00
sspitzer%netscape.com
0fb06b5648 fix for #26146, get the download news headers dialog to work properly.
r=blizzard, a=jevering


git-svn-id: svn://10.0.0.236/trunk@62225 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 23:13:00 +00:00
sspitzer%netscape.com
a76e04ed88 my half of the fix for bug #29861. define defaults for
the throbber urls.  r=blizzard, a=jevering


git-svn-id: svn://10.0.0.236/trunk@62224 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 22:48:53 +00:00
cata%netscape.com
1d5e18767f Backing out fix for #7886 to fix regression #30299
git-svn-id: svn://10.0.0.236/trunk@62223 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 21:44:58 +00:00
sspitzer%netscape.com
ea43b4d8b1 not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@62222 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 18:18:44 +00:00
ducarroz%netscape.com
aae419b1ec Fix for bug 30172. Add a line break before and after the link tag when sending a page or a link. R=rhp, A=jar
git-svn-id: svn://10.0.0.236/trunk@62221 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 16:54:36 +00:00
hyatt%netscape.com
f7d7323ecc Fix for 30369. r=ben
git-svn-id: svn://10.0.0.236/trunk@62220 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 12:00:35 +00:00
evaughan%netscape.com
3d18c43a45 Fix for bug #30305
-r hyatt -a jar


git-svn-id: svn://10.0.0.236/trunk@62219 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 09:42:06 +00:00
tbogard%aol.net
6e8ada062c Adding support to get to the nsIWebBrowser from the browser element. Fix for 27161. r=pavlov a=jevering
git-svn-id: svn://10.0.0.236/trunk@62218 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 07:59:14 +00:00
tbogard%aol.net
eb5f934213 Adding support to get to the nsIDocShell from the iframe element. Fix for 27161. r=pavlov a=jevering
git-svn-id: svn://10.0.0.236/trunk@62217 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 07:58:56 +00:00
ben%netscape.com
c547437206 mozilla default page change from netscape->mozilla. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@62216 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 07:20:15 +00:00
rjc%netscape.com
2054f42e88 Part of fix for PDT+ bugs including 26334, others. New search engines, new search categories, etc. Review: ben. Pre-approval: jar
git-svn-id: svn://10.0.0.236/trunk@62215 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 05:59:32 +00:00
racham%netscape.com
e48813a72d Fixing bug 19621. State of activation window is controlled based on the activation server's response in a timeout period of 30 sec. r=matt,ben,tao. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@62214 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 05:56:56 +00:00
ftang%netscape.com
fc4de9ee6c fix 29154. r=hyatt/pollmann a=rickg replace nsISupportString/char*/ToNewCSring
with nsISupportWString/PRUnichar*/ToNewUnicode


git-svn-id: svn://10.0.0.236/trunk@62213 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 05:37:46 +00:00
pavlov%netscape.com
d290a44564 fix memory leak bug 29942 r=blizzard
git-svn-id: svn://10.0.0.236/trunk@62212 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 05:29:23 +00:00
rginda%netscape.com
476a5d5646 Modify parse_devedge_doc.pl so it didn't lose the description after the first note (this was bad.)
Madify parse_apidoc.pl to warn (not croak) on empty tags, and to be able to deal with duplicate tags.


git-svn-id: svn://10.0.0.236/trunk@62211 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 05:07:20 +00:00
blizzard%redhat.com
b349f577a9 fix memory leak documented in bug #29945. actually use refcnting the way it is supposed to be. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@62210 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 05:04:33 +00:00
ducarroz%netscape.com
c1a0477e8f Fix bug 30250. Forget to call CreateTheComposeWindow when processing a template message with a body defined. R=jefft,rhp A=phil
git-svn-id: svn://10.0.0.236/trunk@62209 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 04:51:40 +00:00
amusil%netscape.com
ea02e0e7da Fix for Bug 382870. r=mscott a=phil
git-svn-id: svn://10.0.0.236/trunk@62208 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 04:19:34 +00:00
danm%netscape.com
b048c0396e add API to EventQueueService for creating a monitored event queue. part of bug 25979. r=dougt r=jar
git-svn-id: svn://10.0.0.236/trunk@62207 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 03:17:01 +00:00
rjc%netscape.com
da55b3e869 New search URL from Netcenter (mldavis)... approval from Jar to check this in immediately.
git-svn-id: svn://10.0.0.236/trunk@62206 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 03:07:15 +00:00
matt%netscape.com
9c115702ea Taking out search stuff to put in overlay for commericial build 23989 a=choffman r=ben
git-svn-id: svn://10.0.0.236/trunk@62205 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 02:28:17 +00:00
mccabe%netscape.com
79899c0637 Looks like mac doesn't like the spurious ; in
#ifdef DEBUG;

... removing it.


git-svn-id: svn://10.0.0.236/trunk@62204 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 02:09:26 +00:00
tor%cs.brown.edu
941920bef2 Bug #30160. Replace expensive XListFontsWithInfo with XListFonts.
r=blizzard,erik


git-svn-id: svn://10.0.0.236/trunk@62203 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 02:00:08 +00:00
jj%netscape.com
ffc2df4d9d Removed references to MOZ_FULLCIRCLE in mozilla. a=leaf r=sfraser
git-svn-id: svn://10.0.0.236/trunk@62201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:52:50 +00:00
evaughan%netscape.com
3102b90f85 Fix for bug #29900
-r hyatt -a jar


git-svn-id: svn://10.0.0.236/trunk@62200 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:50:58 +00:00
jim_nance%yahoo.com
4e382a64c7 Rearanged directories so --enable-jprof works again
r=sford3@swbell.net


git-svn-id: svn://10.0.0.236/trunk@62199 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:50:50 +00:00
alecf%netscape.com
f182e420a7 add files for pref revamp
(not part of seamonkey build)


git-svn-id: svn://10.0.0.236/trunk@62198 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:45:51 +00:00
jj%netscape.com
30893ac71f Changes affecting packaging only, not build.
#29549: added Plugins folder to [browser] module
#28442: backed-out morse's changes from 1.40 (inexistant .xpt files)
removed obsolete viewer:res:xpinstall: directory
a=chofmann r=leaf


git-svn-id: svn://10.0.0.236/trunk@62197 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:42:42 +00:00
edburns%acm.org
2471024921 a=edburns
r=ashuk
bug=2069

Native code for spec compliant webclient impl.


git-svn-id: svn://10.0.0.236/trunk@62196 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:37:20 +00:00
karnaze%netscape.com
75cf4b8c7f new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@62195 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:29:54 +00:00
mccabe%netscape.com
d5c127fa1a Fix to 30123. Pop up an alert for JavaScript errors rather than printing them to the system console (which results in silent failure on release builds).
r=jband, a=jar


git-svn-id: svn://10.0.0.236/trunk@62194 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:28:06 +00:00
edburns%acm.org
530e00a191 a=edburns
r=ashuk
bug=2069

Java classes for spec compliant webclient impl.


git-svn-id: svn://10.0.0.236/trunk@62193 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:10:58 +00:00
karnaze%netscape.com
576537d306 PDT+ bug 28933 - check for null pointer. r=attinasi, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62192 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:05:18 +00:00
rjc%netscape.com
5c53f6c186 Part of fix for PDT+ bugs including 26334, others. New search engines, new search categories, etc. Review: ben. Pre-approval: jar
git-svn-id: svn://10.0.0.236/trunk@62190 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:51:28 +00:00
rjc%netscape.com
103854f36b Part of fix for PDT+ bugs including 26334, others. New search engines, new search categories, etc. Review: ben. Pre-approval: jar
git-svn-id: svn://10.0.0.236/trunk@62189 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:42:04 +00:00
gagan%netscape.com
8bed9e2e2a First checkin. Not in the build yet. Moving the HTTP event sink from .h to .idl.
git-svn-id: svn://10.0.0.236/trunk@62188 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:40:35 +00:00
ftang%netscape.com
e4b6701994 a=bobj, r=matt correct the 1.5 checkin. matt use the wrong case of 'c' in the function name
git-svn-id: svn://10.0.0.236/trunk@62187 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:39:54 +00:00
ftang%netscape.com
3d66be1497 fix bug 20570. r=harishd a=jar. Compare against PRUnichar instead of the first byte.
git-svn-id: svn://10.0.0.236/trunk@62186 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:38:12 +00:00
edburns%acm.org
7ed19bbb16 a=edburns
r=idk
bug=14337


git-svn-id: svn://10.0.0.236/trunk@62185 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:34:55 +00:00
sfraser%netscape.com
904ddf11fa Fix for the solaris compiler; I need to include nsITimer.h. r=brade
git-svn-id: svn://10.0.0.236/trunk@62184 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:33:15 +00:00
valeski%netscape.com
80e8c2996f r=gagan. 29870. We weren't handling a malformed http-equiv refresh header.
git-svn-id: svn://10.0.0.236/trunk@62183 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:32:30 +00:00
mjudge%netscape.com
09ded896f1 a=jar r=ftang 28852
git-svn-id: svn://10.0.0.236/trunk@62182 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:27:16 +00:00
blizzard%redhat.com
3bdfcf487a fix the x/y coords of drag drops, just like drag motion events. part of bug #29578 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@62181 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:24:49 +00:00
matt%netscape.com
7cdb83d9a5 adding hemp menu branding for bug 4689 was approved by jar
git-svn-id: svn://10.0.0.236/trunk@62180 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:20:32 +00:00
cls%seawood.org
3b44e4eeef Force the install phase to build the subdirs first as dependencies are not properly handled.
git-svn-id: svn://10.0.0.236/trunk@62179 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:07:54 +00:00
waterson%netscape.com
58ea22f3b2 Fix compiler warning; remove unused variable. Hyatt meant to do this.
git-svn-id: svn://10.0.0.236/trunk@62178 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:56:32 +00:00
risto%netscape.com
b717c806eb *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@62177 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:52:48 +00:00
mcafee%netscape.com
ee99ed2252 Minor HTML correctness change (10980) r=elig, a=jar
git-svn-id: svn://10.0.0.236/trunk@62176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:45:44 +00:00
hyatt%netscape.com
a2f0ca7406 Fix for bug #29556, r=waterson, a=jar
git-svn-id: svn://10.0.0.236/trunk@62175 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:35:29 +00:00
sfraser%netscape.com
e919848f87 Fix for 29737 -- selecting is slow in large files in composer. r=mjudge, akkana, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62174 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:35:11 +00:00
morse%netscape.com
9757b92b11 fix bug 30184, repeated prompts for master password, r=dp, a=jar
git-svn-id: svn://10.0.0.236/trunk@62173 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:24:11 +00:00
waterson%netscape.com
3216ed82d2 Bug 29148. Put OnStartLoad() on an event, as well as OnStopLoad(). Avoids re-entrancy where re-entrancy should never be. r=rjc, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62172 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:17:10 +00:00
buster%netscape.com
24b2c8d931 fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
this part of the fix is temporary, but sufficient for beta.  it calls the pres shell to do the initial association.
after beta, this will be done by the frame construction code.
r=travis
a=jar


git-svn-id: svn://10.0.0.236/trunk@62171 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:16:43 +00:00
waterson%netscape.com
2e936b1a00 Bug 29148. Initialize out-params to sane values before returning an error. There are lots of places that don't check return codes on these methods. r=rjc, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62170 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:15:34 +00:00
buster%netscape.com
fa156ab99b fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
r=travis
a=jar


git-svn-id: svn://10.0.0.236/trunk@62169 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:15:29 +00:00
waterson%netscape.com
4d0463bed4 Bug 29148. Don't abort in the case where an invalid stylesheet reference has somehow made it into the prototype document, but the stylesheet was never put into the cache (an empty CSS file will cause this to happen). Instead, just keep on truckin'. r=rjc, a=jar
git-svn-id: svn://10.0.0.236/trunk@62168 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:14:09 +00:00
joki%netscape.com
2902db6f2c Fix bug 9140. Prevent window level mouse exit events from accidentally propagating to content. r:rods a:jar
git-svn-id: svn://10.0.0.236/trunk@62167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:07:31 +00:00
norris%netscape.com
d9654e0eb0 Fix 29541
r=travis,a=jar


git-svn-id: svn://10.0.0.236/trunk@62166 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:55:40 +00:00
valeski%netscape.com
c02c79555f 25775. a=jar, r=rpotts. We now handled the incorrect 'multipart/mixed' type comming from an HTTP reponse for backwards compat.
git-svn-id: svn://10.0.0.236/trunk@62165 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:44:32 +00:00
alecf%netscape.com
7cd407e0c5 fix for #29304 r=pierre a=jar
only register against the browser.* preferences that layout actually cares about, to improve startup performance


git-svn-id: svn://10.0.0.236/trunk@62164 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:39:31 +00:00
slamm%netscape.com
18ee04093c Checkin for german@netscape.com. Add styles new 'texttab' widget (based on boxes). Bug 28353. r=hyatt,slamm, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62163 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:39:00 +00:00
slamm%netscape.com
4d00672442 Checkin for german@netscape.com. Add globalBindings.xml and images for new 'texttab' widget (based on boxes). Bug 28353. r=hyatt,slamm, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62162 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:38:42 +00:00
slamm%netscape.com
196bd55078 Checkin for german@netscape.com. Use tab look for panel headers. Bug 28353. r=hyatt,slamm, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62161 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:37:09 +00:00
despotdaemon%netscape.com
eb1ec4fb4f Pseudo-automatic update of changes made by ashuk@eng.sun.com.
git-svn-id: svn://10.0.0.236/trunk@62160 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:17:45 +00:00
rginda%netscape.com
6b665a9245 Added bugnumber to uc-003.js and regress-24712.js
new testcase regress-28686.js added


git-svn-id: svn://10.0.0.236/trunk@62159 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:14:09 +00:00
norris%netscape.com
4854486786 Clean up debugging interfaces.
git-svn-id: svn://10.0.0.236/trunk@62157 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 21:46:44 +00:00
rginda%netscape.com
e763676206 Initial add of regress-24712.js
git-svn-id: svn://10.0.0.236/trunk@62155 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 21:33:08 +00:00
tomk%mitre.org
f56d12b6d0 Misc. fixes for issues found during wrapper testing. The classes affected by
this change are not part of the regular Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@62154 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 21:03:55 +00:00
tomk%mitre.org
5edcdd9d7c Misc. fixes from wrapper testing. The classes affected by this submission is
not part of the regular mozilla build process.


git-svn-id: svn://10.0.0.236/trunk@62153 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 21:02:41 +00:00
mscott%netscape.com
610c7ae2f3 Bug #30281 --> fix for the regression that's keeping the tree closed. unescape was failing on short strings....argggh.
a=granrose


git-svn-id: svn://10.0.0.236/trunk@62152 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 20:38:59 +00:00
alecf%netscape.com
c06b5e21b0 first time adding nsIPrefListener - not part of build
git-svn-id: svn://10.0.0.236/trunk@62151 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 20:18:17 +00:00
rginda%netscape.com
70894c6c52 updated readme, add comments to parse_apidoc.pl, make parse_devedge_doc.pl exit on startup, remove zpidoc.xml (it's in mozilla.org/projects/apidoc)
git-svn-id: svn://10.0.0.236/trunk@62149 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 19:59:54 +00:00
wtc%netscape.com
2c1c458572 Merged NSPR 4.0 release onto the main trunk.
git-svn-id: svn://10.0.0.236/trunk@62147 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 19:53:57 +00:00
idk%eng.sun.com
dd71b4c8ac updated README
git-svn-id: svn://10.0.0.236/trunk@62146 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 19:40:52 +00:00
norris%netscape.com
04e62a29b4 Clean up examples to use current jsFunction_ and jsGet_ method forms.
git-svn-id: svn://10.0.0.236/trunk@62145 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 19:15:51 +00:00
rogerl%netscape.com
d91696ad43 Added lineTerminator test back into \s & \S atoms
git-svn-id: svn://10.0.0.236/trunk@62144 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 19:07:16 +00:00
despotdaemon%netscape.com
23767315ed Pseudo-automatic update of changes made by javi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62143 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 18:27:17 +00:00
despotdaemon%netscape.com
ddc3a1c302 Pseudo-automatic update of changes made by nelsonb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62142 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 18:24:49 +00:00
despotdaemon%netscape.com
f7133c0895 Pseudo-automatic update of changes made by chrisk@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62141 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 18:17:03 +00:00
slamm%netscape.com
d27c9e56d8 Nudge the hour coloring. It was off by a second.
git-svn-id: svn://10.0.0.236/trunk@62140 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 17:32:04 +00:00
despotdaemon%netscape.com
068824cfbb Pseudo-automatic update of changes made by relyea@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62139 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 17:22:47 +00:00
norris%netscape.com
bf6459002c Fix js1_2/function/Function_object.js
git-svn-id: svn://10.0.0.236/trunk@62137 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 17:18:49 +00:00
despotdaemon%netscape.com
4370f86d63 Pseudo-automatic update of changes made by mcgreer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62136 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 16:42:28 +00:00
rickg%netscape.com
68a6cd106e landed WIP nsString3 early design; not part of build; a=n/a
git-svn-id: svn://10.0.0.236/trunk@62135 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 09:04:50 +00:00
alecf%netscape.com
6f0548e2b9 revive xlib build (not part of default seamonkey build)
git-svn-id: svn://10.0.0.236/trunk@62134 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 08:21:46 +00:00
ssu%netscape.com
85cf325b34 fixing bugs:
#30096 - App crashes in Java at launch on Ja systems.  Need to deliver
           international version of jre.
  #30186 - installer needs to apply patch to jre1.3

a=jar
r=sgehani


git-svn-id: svn://10.0.0.236/trunk@62132 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 08:15:24 +00:00
alecf%netscape.com
77598b0ac7 fix for REALLY stupid typo from my earlier fix for #29714
typo fix was reviewed by mscott, and because this was part of an earlier checkin, this is also a=phil


git-svn-id: svn://10.0.0.236/trunk@62131 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 08:10:52 +00:00
rods%netscape.com
8d98359b72 backing out earlier change
a=jar


git-svn-id: svn://10.0.0.236/trunk@62130 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 07:19:22 +00:00
rods%netscape.com
cf1bd4061e backing out earlier check
a=jar


git-svn-id: svn://10.0.0.236/trunk@62129 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 07:16:25 +00:00
rods%netscape.com
7bd524384c Backout plan, this check only fixes bug 28628
a=jar


git-svn-id: svn://10.0.0.236/trunk@62128 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 07:14:58 +00:00
rods%netscape.com
5c25075023 backing out earlier checkin
git-svn-id: svn://10.0.0.236/trunk@62127 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 07:14:57 +00:00
despotdaemon%netscape.com
794ec39c9d Pseudo-automatic update of changes made by nitinp@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62126 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 07:07:25 +00:00
199 changed files with 10918 additions and 4686 deletions

View File

@@ -28,6 +28,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = necko
LIBRARY_NAME = necko_datetime
SHORT_LIBNAME = neckodtm
IS_COMPONENT = 1
CPPSRCS = \

View File

@@ -44,20 +44,12 @@ nsDateTimeChannel::~nsDateTimeChannel() {
NS_IMPL_ISUPPORTS4(nsDateTimeChannel, nsIChannel, nsIRequest, nsIStreamListener, nsIStreamObserver)
nsresult
nsDateTimeChannel::Init(const char* verb,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize)
nsDateTimeChannel::Init(nsIURI* uri)
{
nsresult rv;
NS_ASSERTION(uri, "no uri");
mOriginalURI = originalURI ? originalURI : uri;
mUrl = uri;
rv = mUrl->GetPort(&mPort);
@@ -69,13 +61,6 @@ nsDateTimeChannel::Init(const char* verb,
if (!*(const char *)mHost) return NS_ERROR_NOT_INITIALIZED;
rv = SetLoadAttributes(loadAttributes);
if (NS_FAILED(rv)) return rv;
rv = SetLoadGroup(aLoadGroup);
if (NS_FAILED(rv)) return rv;
rv = SetNotificationCallbacks(notificationCallbacks);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
@@ -97,24 +82,35 @@ nsDateTimeChannel::Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult
NS_IMETHODIMP
nsDateTimeChannel::IsPending(PRBool *result)
{
NS_NOTREACHED("nsDateTimeChannel::IsPending");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::Cancel(void)
nsDateTimeChannel::GetStatus(nsresult *status)
{
*status = NS_OK;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::Cancel(nsresult status)
{
NS_NOTREACHED("nsDateTimeChannel::Cancel");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::Suspend(void)
{
NS_NOTREACHED("nsDateTimeChannel::Suspend");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::Resume(void)
{
NS_NOTREACHED("nsDateTimeChannel::Resume");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -122,15 +118,22 @@ nsDateTimeChannel::Resume(void)
// nsIChannel methods:
NS_IMETHODIMP
nsDateTimeChannel::GetOriginalURI(nsIURI * *aURI)
nsDateTimeChannel::GetOriginalURI(nsIURI* *aURI)
{
*aURI = mOriginalURI;
*aURI = mOriginalURI ? mOriginalURI : mUrl;
NS_ADDREF(*aURI);
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::GetURI(nsIURI * *aURI)
nsDateTimeChannel::SetOriginalURI(nsIURI* aURI)
{
mOriginalURI = aURI;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::GetURI(nsIURI* *aURI)
{
*aURI = mUrl;
NS_IF_ADDREF(*aURI);
@@ -138,8 +141,14 @@ nsDateTimeChannel::GetURI(nsIURI * *aURI)
}
NS_IMETHODIMP
nsDateTimeChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
nsIInputStream **_retval)
nsDateTimeChannel::SetURI(nsIURI* aURI)
{
mUrl = aURI;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::OpenInputStream(nsIInputStream **_retval)
{
nsresult rv = NS_OK;
@@ -153,12 +162,13 @@ nsDateTimeChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
rv = channel->SetNotificationCallbacks(mCallbacks);
if (NS_FAILED(rv)) return rv;
return channel->OpenInputStream(startPosition, readCount, _retval);
return channel->OpenInputStream(_retval);
}
NS_IMETHODIMP
nsDateTimeChannel::OpenOutputStream(PRUint32 startPosition, nsIOutputStream **_retval)
nsDateTimeChannel::OpenOutputStream(nsIOutputStream **_retval)
{
NS_NOTREACHED("nsDateTimeChannel::OpenOutputStream");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -181,9 +191,8 @@ nsDateTimeChannel::AsyncOpen(nsIStreamObserver *observer, nsISupports* ctxt)
}
NS_IMETHODIMP
nsDateTimeChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
nsISupports *ctxt,
nsIStreamListener *aListener)
nsDateTimeChannel::AsyncRead(nsIStreamListener *aListener,
nsISupports *ctxt)
{
nsresult rv = NS_OK;
@@ -199,16 +208,15 @@ nsDateTimeChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
mListener = aListener;
return channel->AsyncRead(startPosition, readCount, ctxt, this);
return channel->AsyncRead(this, ctxt);
}
NS_IMETHODIMP
nsDateTimeChannel::AsyncWrite(nsIInputStream *fromStream,
PRUint32 startPosition,
PRInt32 writeCount,
nsISupports *ctxt,
nsIStreamObserver *observer)
nsIStreamObserver *observer,
nsISupports *ctxt)
{
NS_NOTREACHED("nsDateTimeChannel::AsyncWrite");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -252,6 +260,90 @@ nsDateTimeChannel::GetContentLength(PRInt32 *aContentLength)
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::SetContentLength(PRInt32 aContentLength)
{
NS_NOTREACHED("nsDateTimeChannel::SetContentLength");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetTransferOffset(PRUint32 *aTransferOffset)
{
NS_NOTREACHED("nsDateTimeChannel::GetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::SetTransferOffset(PRUint32 aTransferOffset)
{
NS_NOTREACHED("nsDateTimeChannel::SetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetTransferCount(PRInt32 *aTransferCount)
{
NS_NOTREACHED("nsDateTimeChannel::GetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::SetTransferCount(PRInt32 aTransferCount)
{
NS_NOTREACHED("nsDateTimeChannel::SetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetBufferSegmentSize(PRUint32 *aBufferSegmentSize)
{
NS_NOTREACHED("nsDateTimeChannel::GetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::SetBufferSegmentSize(PRUint32 aBufferSegmentSize)
{
NS_NOTREACHED("nsDateTimeChannel::SetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetBufferMaxSize(PRUint32 *aBufferMaxSize)
{
NS_NOTREACHED("nsDateTimeChannel::GetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::SetBufferMaxSize(PRUint32 aBufferMaxSize)
{
NS_NOTREACHED("nsDateTimeChannel::SetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetShouldCache(PRBool *aShouldCache)
{
*aShouldCache = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::GetPipeliningAllowed(PRBool *aPipeliningAllowed)
{
*aPipeliningAllowed = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::SetPipeliningAllowed(PRBool aPipeliningAllowed)
{
NS_NOTREACHED("SetPipeliningAllowed");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetLoadGroup(nsILoadGroup* *aLoadGroup)
{
@@ -303,6 +395,12 @@ nsDateTimeChannel::SetNotificationCallbacks(nsIInterfaceRequestor* aNotification
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
*aSecurityInfo = nsnull;
return NS_OK;
}
// nsIStreamObserver methods
NS_IMETHODIMP

View File

@@ -27,7 +27,7 @@
#ifndef nsDateTimeChannel_h___
#define nsDateTimeChannel_h___
#include "nsString2.h"
#include "nsString.h"
#include "nsILoadGroup.h"
#include "nsIInputStream.h"
#include "nsIInterfaceRequestor.h"
@@ -55,14 +55,7 @@ public:
static NS_METHOD
Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult);
nsresult Init(const char* verb,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize);
nsresult Init(nsIURI* uri);
protected:
nsCOMPtr<nsIInterfaceRequestor> mCallbacks;

View File

@@ -95,14 +95,7 @@ nsDateTimeHandler::NewURI(const char *aSpec, nsIURI *aBaseURI,
}
NS_IMETHODIMP
nsDateTimeHandler::NewChannel(const char* verb, nsIURI* url,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel* *result)
nsDateTimeHandler::NewChannel(nsIURI* url, nsIChannel* *result)
{
nsresult rv;
@@ -110,8 +103,7 @@ nsDateTimeHandler::NewChannel(const char* verb, nsIURI* url,
rv = nsDateTimeChannel::Create(nsnull, NS_GET_IID(nsIChannel), (void**)&channel);
if (NS_FAILED(rv)) return rv;
rv = channel->Init(verb, url, aLoadGroup, notificationCallbacks,
loadAttributes, originalURI, bufferSegmentSize, bufferMaxSize);
rv = channel->Init(url);
if (NS_FAILED(rv)) {
NS_RELEASE(channel);
return rv;

View File

@@ -37,10 +37,11 @@ static NS_DEFINE_CID(kSocketTransportServiceCID, NS_SOCKETTRANSPORTSERVICE_CID);
#define BUFFER_MAX_SIZE (64*1024)
// nsFingerChannel methods
nsFingerChannel::nsFingerChannel():
mContentLength(-1),
mActAsObserver(PR_TRUE),
mPort(-1)
nsFingerChannel::nsFingerChannel()
: mContentLength(-1),
mActAsObserver(PR_TRUE),
mPort(-1),
mStatus(NS_OK)
{
NS_INIT_REFCNT();
}
@@ -48,30 +49,23 @@ nsFingerChannel::nsFingerChannel():
nsFingerChannel::~nsFingerChannel() {
}
NS_IMPL_ISUPPORTS4(nsFingerChannel, nsIChannel, nsIRequest,
nsIStreamListener, nsIStreamObserver)
NS_IMPL_THREADSAFE_ISUPPORTS4(nsFingerChannel, nsIChannel, nsIRequest,
nsIStreamListener, nsIStreamObserver)
nsresult
nsFingerChannel::Init(const char* verb,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize)
nsFingerChannel::Init(nsIURI* uri)
{
nsresult rv;
nsXPIDLCString autoBuffer;
NS_ASSERTION(uri, "no uri");
mOriginalURI = originalURI ? originalURI : uri;
mUrl = uri;
rv = mUrl->GetPort(&mPort);
if (NS_FAILED(rv) || mPort < 1)
mPort = FINGER_PORT;
// For security reasons, we do not allow the user to specify a
// non-default port for finger: URL's.
mPort = FINGER_PORT;
rv = mUrl->GetPath(getter_Copies(autoBuffer)); // autoBuffer = user@host
if (NS_FAILED(rv)) return rv;
@@ -100,17 +94,10 @@ nsFingerChannel::Init(const char* verb,
#ifdef DEBUG_bryner
printf("Status:mUser = %s, mHost = %s\n", (const char*)mUser,
(const char*)mHost);
(const char*)mHost);
#endif
if (!*(const char *)mHost) return NS_ERROR_NOT_INITIALIZED;
rv = SetLoadAttributes(loadAttributes);
if (NS_FAILED(rv)) return rv;
rv = SetLoadGroup(aLoadGroup);
if (NS_FAILED(rv)) return rv;
rv = SetNotificationCallbacks(notificationCallbacks);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
@@ -132,24 +119,40 @@ nsFingerChannel::Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult)
NS_IMETHODIMP
nsFingerChannel::IsPending(PRBool *result)
{
NS_NOTREACHED("nsFingerChannel::IsPending");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::Cancel(void)
nsFingerChannel::GetStatus(nsresult *status)
{
return NS_ERROR_NOT_IMPLEMENTED;
*status = mStatus;
return NS_OK;
}
NS_IMETHODIMP
nsFingerChannel::Cancel(nsresult status)
{
nsresult rv = NS_ERROR_FAILURE;
mStatus = status;
if (mTransport) {
rv = mTransport->Cancel(status);
}
return rv;
}
NS_IMETHODIMP
nsFingerChannel::Suspend(void)
{
NS_NOTREACHED("nsFingerChannel::Suspend");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::Resume(void)
{
NS_NOTREACHED("nsFingerChannel::Resume");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -157,15 +160,22 @@ nsFingerChannel::Resume(void)
// nsIChannel methods:
NS_IMETHODIMP
nsFingerChannel::GetOriginalURI(nsIURI * *aURI)
nsFingerChannel::GetOriginalURI(nsIURI* *aURI)
{
*aURI = mOriginalURI;
*aURI = mOriginalURI ? mOriginalURI : mUrl;
NS_ADDREF(*aURI);
return NS_OK;
}
NS_IMETHODIMP
nsFingerChannel::GetURI(nsIURI * *aURI)
nsFingerChannel::SetOriginalURI(nsIURI* aURI)
{
mOriginalURI = aURI;
return NS_OK;
}
NS_IMETHODIMP
nsFingerChannel::GetURI(nsIURI* *aURI)
{
*aURI = mUrl;
NS_IF_ADDREF(*aURI);
@@ -173,8 +183,14 @@ nsFingerChannel::GetURI(nsIURI * *aURI)
}
NS_IMETHODIMP
nsFingerChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
nsIInputStream **_retval)
nsFingerChannel::SetURI(nsIURI* aURI)
{
mUrl = aURI;
return NS_OK;
}
NS_IMETHODIMP
nsFingerChannel::OpenInputStream(nsIInputStream **_retval)
{
nsresult rv = NS_OK;
@@ -189,38 +205,24 @@ nsFingerChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
rv = channel->SetNotificationCallbacks(mCallbacks);
if (NS_FAILED(rv)) return rv;
return channel->OpenInputStream(startPosition, readCount, _retval);
return channel->OpenInputStream(_retval);
}
NS_IMETHODIMP
nsFingerChannel::OpenOutputStream(PRUint32 startPosition, nsIOutputStream **_retval)
nsFingerChannel::OpenOutputStream(nsIOutputStream **_retval)
{
NS_NOTREACHED("nsFingerChannel::OpenOutputStream");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::AsyncOpen(nsIStreamObserver *observer, nsISupports* ctxt)
{
nsresult rv = NS_OK;
NS_WITH_SERVICE(nsISocketTransportService, socketService, kSocketTransportServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIChannel> channel;
rv = socketService->CreateTransport(mHost, mPort, mHost, BUFFER_SEG_SIZE,
BUFFER_MAX_SIZE, getter_AddRefs(channel));
if (NS_FAILED(rv)) return rv;
rv = channel->SetNotificationCallbacks(mCallbacks);
if (NS_FAILED(rv)) return rv;
return channel->AsyncOpen(observer, ctxt);
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
nsISupports *ctxt,
nsIStreamListener *aListener)
nsFingerChannel::AsyncRead(nsIStreamListener *aListener, nsISupports *ctxt)
{
nsresult rv = NS_OK;
@@ -236,17 +238,18 @@ nsFingerChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
if (NS_FAILED(rv)) return rv;
mListener = aListener;
mResponseContext = ctxt;
mTransport = channel;
return SendRequest(channel);
}
NS_IMETHODIMP
nsFingerChannel::AsyncWrite(nsIInputStream *fromStream,
PRUint32 startPosition,
PRInt32 writeCount,
nsISupports *ctxt,
nsIStreamObserver *observer)
nsIStreamObserver *observer,
nsISupports *ctxt)
{
NS_NOTREACHED("nsFingerChannel::AsyncWrite");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -290,6 +293,90 @@ nsFingerChannel::GetContentLength(PRInt32 *aContentLength)
return NS_OK;
}
NS_IMETHODIMP
nsFingerChannel::SetContentLength(PRInt32 aContentLength)
{
NS_NOTREACHED("nsFingerChannel::SetContentLength");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::GetTransferOffset(PRUint32 *aTransferOffset)
{
NS_NOTREACHED("nsFingerChannel::GetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::SetTransferOffset(PRUint32 aTransferOffset)
{
NS_NOTREACHED("nsFingerChannel::SetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::GetTransferCount(PRInt32 *aTransferCount)
{
NS_NOTREACHED("nsFingerChannel::GetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::SetTransferCount(PRInt32 aTransferCount)
{
NS_NOTREACHED("nsFingerChannel::SetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::GetBufferSegmentSize(PRUint32 *aBufferSegmentSize)
{
NS_NOTREACHED("nsFingerChannel::GetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::SetBufferSegmentSize(PRUint32 aBufferSegmentSize)
{
NS_NOTREACHED("nsFingerChannel::SetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::GetBufferMaxSize(PRUint32 *aBufferMaxSize)
{
NS_NOTREACHED("nsFingerChannel::GetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::SetBufferMaxSize(PRUint32 aBufferMaxSize)
{
NS_NOTREACHED("nsFingerChannel::SetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::GetShouldCache(PRBool *aShouldCache)
{
*aShouldCache = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsFingerChannel::GetPipeliningAllowed(PRBool *aPipeliningAllowed)
{
*aPipeliningAllowed = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsFingerChannel::SetPipeliningAllowed(PRBool aPipeliningAllowed)
{
NS_NOTREACHED("SetPipeliningAllowed");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFingerChannel::GetLoadGroup(nsILoadGroup* *aLoadGroup)
{
@@ -301,13 +388,7 @@ nsFingerChannel::GetLoadGroup(nsILoadGroup* *aLoadGroup)
NS_IMETHODIMP
nsFingerChannel::SetLoadGroup(nsILoadGroup* aLoadGroup)
{
if (mLoadGroup) // if we already had a load group remove ourselves...
(void)mLoadGroup->RemoveChannel(this, nsnull, nsnull, nsnull);
mLoadGroup = aLoadGroup;
if (mLoadGroup) {
return mLoadGroup->AddChannel(this, nsnull);
}
return NS_OK;
}
@@ -341,6 +422,12 @@ nsFingerChannel::SetNotificationCallbacks(nsIInterfaceRequestor* aNotificationCa
return NS_OK;
}
NS_IMETHODIMP
nsFingerChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
*aSecurityInfo = nsnull;
return NS_OK;
}
// nsIStreamObserver methods
NS_IMETHODIMP
@@ -366,18 +453,20 @@ nsFingerChannel::OnStopRequest(nsIChannel* aChannel, nsISupports* aContext,
#endif
nsresult rv = NS_OK;
if (!mActAsObserver) {
if (NS_FAILED(aStatus) || !mActAsObserver) {
if (mLoadGroup) {
rv = mLoadGroup->RemoveChannel(this, nsnull, aStatus, aMsg);
if (NS_FAILED(rv)) return rv;
}
return mListener->OnStopRequest(this, aContext, aStatus, aMsg);
rv = mListener->OnStopRequest(this, aContext, aStatus, aMsg);
mTransport = 0;
return rv;
} else {
// at this point we know the request has been sent.
// we're no longer acting as an observer.
mActAsObserver = PR_FALSE;
return aChannel->AsyncRead(0, -1, 0, this);
return aChannel->AsyncRead(this, mResponseContext);
}
}
@@ -401,6 +490,10 @@ nsFingerChannel::SendRequest(nsIChannel* aChannel) {
nsCOMPtr<nsIInputStream> charstream;
nsCString requestBuffer(mUser);
if (mLoadGroup) {
mLoadGroup->AddChannel(this, nsnull);
}
requestBuffer.Append(CRLF);
mRequest = requestBuffer.ToNewCString();
@@ -415,8 +508,9 @@ nsFingerChannel::SendRequest(nsIChannel* aChannel) {
printf("Sending: %s\n", requestBuffer.GetBuffer());
#endif
rv = aChannel->AsyncWrite(charstream, 0, requestBuffer.Length(), 0,
this);
rv = aChannel->SetTransferCount(requestBuffer.Length());
if (NS_FAILED(rv)) return rv;
rv = aChannel->AsyncWrite(charstream, this, 0);
return rv;
}

View File

@@ -23,7 +23,7 @@
#ifndef nsFingerChannel_h___
#define nsFingerChannel_h___
#include "nsString2.h"
#include "nsString.h"
#include "nsILoadGroup.h"
#include "nsIInputStream.h"
#include "nsIInterfaceRequestor.h"
@@ -51,14 +51,7 @@ public:
static NS_METHOD
Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult);
nsresult Init(const char* verb,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize);
nsresult Init(nsIURI* uri);
protected:
nsCOMPtr<nsIInterfaceRequestor> mCallbacks;
@@ -80,6 +73,10 @@ protected:
nsXPIDLCString mRequest;
nsCOMPtr<nsISupports> mResponseContext;
nsCOMPtr<nsIChannel> mTransport;
nsresult mStatus;
protected:
nsresult SendRequest(nsIChannel* aChannel);
};

View File

@@ -95,14 +95,7 @@ nsFingerHandler::NewURI(const char *aSpec, nsIURI *aBaseURI,
}
NS_IMETHODIMP
nsFingerHandler::NewChannel(const char* verb, nsIURI* url,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel* *result)
nsFingerHandler::NewChannel(nsIURI* url, nsIChannel* *result)
{
nsresult rv;
@@ -110,8 +103,7 @@ nsFingerHandler::NewChannel(const char* verb, nsIURI* url,
rv = nsFingerChannel::Create(nsnull, NS_GET_IID(nsIChannel), (void**)&channel);
if (NS_FAILED(rv)) return rv;
rv = channel->Init(verb, url, aLoadGroup, notificationCallbacks,
loadAttributes, originalURI, bufferSegmentSize, bufferMaxSize);
rv = channel->Init(url);
if (NS_FAILED(rv)) {
NS_RELEASE(channel);
return rv;

View File

@@ -28,13 +28,31 @@
#include "nsIMIMEService.h"
#include "nsAutoLock.h"
#include "nsIFileStreams.h"
#include "nsIPrincipal.h"
#include "nsMimeTypes.h"
#include "nsScriptSecurityManager.h"
#include "nsIAggregatePrincipal.h"
static NS_DEFINE_CID(kFileTransportServiceCID, NS_FILETRANSPORTSERVICE_CID);
static NS_DEFINE_CID(kMIMEServiceCID, NS_MIMESERVICE_CID);
static NS_DEFINE_CID(kZipReaderCID, NS_ZIPREADER_CID);
static NS_DEFINE_CID(kFileChannelCID, NS_FILECHANNEL_CID);
static NS_DEFINE_CID(kScriptSecurityManagerCID, NS_SCRIPTSECURITYMANAGER_CID);
#if defined(PR_LOGGING)
#include "nsXPIDLString.h"
//
// Log module for SocketTransport logging...
//
// To enable logging (see prlog.h for full details):
//
// set NSPR_LOG_MODULES=nsJarProtocol:5
// set NSPR_LOG_FILE=nspr.log
//
// this enables PR_LOG_DEBUG level information and places all output in
// the file nspr.log
//
PRLogModuleInfo* gJarProtocolLog = nsnull;
#endif /* PR_LOGGING */
////////////////////////////////////////////////////////////////////////////////
@@ -55,35 +73,57 @@ public:
nsresult rv = NS_OK;
nsAutoMonitor monitor(mJARChannel->mMonitor);
#ifdef PR_LOGGING
nsCOMPtr<nsIURI> jarURI;
rv = jarCacheTransport->GetURI(getter_AddRefs(jarURI));
if (NS_SUCCEEDED(rv)) {
nsXPIDLCString jarURLStr;
rv = jarURI->GetSpec(getter_Copies(jarURLStr));
if (NS_SUCCEEDED(rv)) {
PR_LOG(gJarProtocolLog, PR_LOG_DEBUG,
("nsJarProtocol: jar download complete %s status=%x",
(const char*)jarURLStr, status));
}
}
#endif
if (NS_SUCCEEDED(status) && mJARChannel->mJarCacheTransport) {
NS_ASSERTION(jarCacheTransport == (mJARChannel->mJarCacheTransport).get(),
"wrong transport");
// after successfully downloading the jar file to the cache,
// start the extraction process:
nsCOMPtr<nsIFileChannel> jarCacheFile;
rv = NS_NewFileChannel(mJarCacheFile,
PR_RDONLY,
nsnull, // XXX content type
0, // XXX content length
mJARChannel->mLoadGroup,
mJARChannel->mCallbacks,
mJARChannel->mLoadAttributes,
nsnull,
mJARChannel->mBufferSegmentSize,
mJARChannel->mBufferMaxSize,
getter_AddRefs(jarCacheFile));
rv = NS_NewLocalFileChannel(getter_AddRefs(jarCacheFile),
mJarCacheFile,
PR_RDONLY,
0);
if (NS_FAILED(rv)) return rv;
rv = jarCacheFile->SetLoadGroup(mJARChannel->mLoadGroup);
if (NS_FAILED(rv)) return rv;
rv = jarCacheFile->SetBufferSegmentSize(mJARChannel->mBufferSegmentSize);
if (NS_FAILED(rv)) return rv;
rv = jarCacheFile->SetBufferMaxSize(mJARChannel->mBufferMaxSize);
if (NS_FAILED(rv)) return rv;
rv = jarCacheFile->SetLoadAttributes(mJARChannel->mLoadAttributes);
if (NS_FAILED(rv)) return rv;
rv = jarCacheFile->SetNotificationCallbacks(mJARChannel->mCallbacks);
if (NS_FAILED(rv)) return rv;
rv = mJARChannel->ExtractJARElement(jarCacheFile);
mJARChannel->SetJARBaseFile(jarCacheFile);
rv = mOnJARFileAvailable(mJARChannel, mClosure);
}
mJARChannel->mJarCacheTransport = nsnull;
return rv;
}
nsJARDownloadObserver(nsIFile* jarCacheFile, nsJARChannel* jarChannel) {
nsJARDownloadObserver(nsIFile* jarCacheFile, nsJARChannel* jarChannel,
OnJARFileAvailableFun onJARFileAvailable,
void* closure)
: mJarCacheFile(jarCacheFile),
mJARChannel(jarChannel),
mOnJARFileAvailable(onJARFileAvailable),
mClosure(closure)
{
NS_INIT_REFCNT();
mJarCacheFile = jarCacheFile;
mJARChannel = jarChannel;
NS_ADDREF(mJARChannel);
}
@@ -92,27 +132,41 @@ public:
}
protected:
nsCOMPtr<nsIFile> mJarCacheFile;
nsJARChannel* mJARChannel;
nsCOMPtr<nsIFile> mJarCacheFile;
nsJARChannel* mJARChannel;
OnJARFileAvailableFun mOnJARFileAvailable;
void* mClosure;
};
NS_IMPL_ISUPPORTS1(nsJARDownloadObserver, nsIStreamObserver)
NS_IMPL_THREADSAFE_ISUPPORTS1(nsJARDownloadObserver, nsIStreamObserver)
////////////////////////////////////////////////////////////////////////////////
nsJARChannel::nsJARChannel()
: mCommand(nsnull),
mContentType(nsnull),
: mContentType(nsnull),
mContentLength(-1),
mLoadAttributes(LOAD_NORMAL),
mStartPosition(0),
mReadCount(-1),
mJAREntry(nsnull),
mMonitor(nsnull)
mMonitor(nsnull),
mStatus(NS_OK)
{
NS_INIT_REFCNT();
#if defined(PR_LOGGING)
//
// Initialize the global PRLogModule for socket transport logging
// if necessary...
//
if (nsnull == gJarProtocolLog) {
gJarProtocolLog = PR_NewLogModule("nsJarProtocol");
}
#endif /* PR_LOGGING */
}
nsJARChannel::~nsJARChannel()
{
if (mCommand)
nsCRT::free(mCommand);
if (mContentType)
nsCRT::free(mContentType);
if (mJAREntry)
@@ -148,33 +202,10 @@ nsJARChannel::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
}
nsresult
nsJARChannel::Init(nsIJARProtocolHandler* aHandler,
const char* command,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize)
nsJARChannel::Init(nsIJARProtocolHandler* aHandler, nsIURI* uri)
{
nsresult rv;
mURI = do_QueryInterface(uri, &rv);
if (NS_FAILED(rv)) return rv;
mCommand = nsCRT::strdup(command);
if (mCommand == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
mOriginalURI = originalURI ? originalURI : uri;
mBufferSegmentSize = bufferSegmentSize;
mBufferMaxSize = bufferMaxSize;
rv = SetLoadAttributes(loadAttributes);
if (NS_FAILED(rv)) return rv;
rv = SetLoadGroup(aLoadGroup);
if (NS_FAILED(rv)) return rv;
rv = SetNotificationCallbacks(notificationCallbacks);
if (NS_FAILED(rv)) return rv;
mMonitor = PR_NewMonitor();
@@ -190,27 +221,35 @@ nsJARChannel::Init(nsIJARProtocolHandler* aHandler,
NS_IMETHODIMP
nsJARChannel::IsPending(PRBool* result)
{
return NS_ERROR_NOT_IMPLEMENTED;
NS_NOTREACHED("nsJARChannel::IsPending");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsJARChannel::Cancel()
nsJARChannel::GetStatus(nsresult *status)
{
*status = mStatus;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::Cancel(nsresult status)
{
nsresult rv;
nsAutoMonitor monitor(mMonitor);
if (mJarCacheTransport) {
rv = mJarCacheTransport->Cancel();
rv = mJarCacheTransport->Cancel(status);
if (NS_FAILED(rv)) return rv;
mJarCacheTransport = nsnull;
}
if (mJarExtractionTransport) {
rv = mJarExtractionTransport->Cancel();
rv = mJarExtractionTransport->Cancel(status);
if (NS_FAILED(rv)) return rv;
mJarExtractionTransport = nsnull;
}
return NS_OK;
mStatus = status;
return rv;
}
NS_IMETHODIMP
@@ -255,11 +294,18 @@ nsJARChannel::Resume()
NS_IMETHODIMP
nsJARChannel::GetOriginalURI(nsIURI* *aOriginalURI)
{
*aOriginalURI = mOriginalURI;
*aOriginalURI = mOriginalURI ? mOriginalURI : nsCOMPtr<nsIURI>(mURI);
NS_ADDREF(*aOriginalURI);
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::SetOriginalURI(nsIURI* aOriginalURI)
{
mOriginalURI = aOriginalURI;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::GetURI(nsIURI* *aURI)
{
@@ -269,30 +315,82 @@ nsJARChannel::GetURI(nsIURI* *aURI)
}
NS_IMETHODIMP
nsJARChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
nsIInputStream* *result)
nsJARChannel::SetURI(nsIURI* aURI)
{
return NS_ERROR_NOT_IMPLEMENTED;
nsresult rv;
mURI = do_QueryInterface(aURI, &rv);
return rv;
}
static nsresult
OpenJARElement(nsJARChannel* channel, void* closure)
{
nsresult rv;
nsIInputStream* *result = (nsIInputStream**)closure;
nsAutoCMonitor mon(channel);
rv = channel->Open(nsnull, nsnull);
if (NS_FAILED(rv)) return rv;
rv = channel->GetInputStream(result);
mon.Notify(); // wake up OpenInputStream
return rv;
}
NS_IMETHODIMP
nsJARChannel::OpenOutputStream(PRUint32 startPosition, nsIOutputStream* *result)
nsJARChannel::OpenInputStream(nsIInputStream* *result)
{
return NS_ERROR_NOT_IMPLEMENTED;
nsAutoCMonitor mon(this);
nsresult rv;
*result = nsnull;
rv = EnsureJARFileAvailable(OpenJARElement, result);
if (NS_FAILED(rv)) return rv;
if (*result == nsnull)
mon.Wait();
return rv;
}
NS_IMETHODIMP
nsJARChannel::OpenOutputStream(nsIOutputStream* *result)
{
NS_NOTREACHED("nsJARChannel::OpenOutputStream");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsJARChannel::AsyncOpen(nsIStreamObserver* observer, nsISupports* ctxt)
{
return NS_ERROR_NOT_IMPLEMENTED;
NS_NOTREACHED("nsJARChannel::AsyncOpen");
return NS_ERROR_NOT_IMPLEMENTED;
}
static nsresult
ReadJARElement(nsJARChannel* channel, void* closure)
{
nsresult rv;
rv = channel->AsyncReadJARElement();
return rv;
}
NS_IMETHODIMP
nsJARChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
nsISupports* ctxt,
nsIStreamListener* listener)
nsJARChannel::AsyncRead(nsIStreamListener* listener, nsISupports* ctxt)
{
mUserContext = ctxt;
mUserListener = listener;
return EnsureJARFileAvailable(ReadJARElement, nsnull);
}
nsresult
nsJARChannel::EnsureJARFileAvailable(OnJARFileAvailableFun onJARFileAvailable,
void* closure)
{
nsresult rv;
#ifdef PR_LOGGING
nsXPIDLCString jarURLStr;
mURI->GetSpec(getter_Copies(jarURLStr));
PR_LOG(gJarProtocolLog, PR_LOG_DEBUG,
("nsJarProtocol: EnsureJARFileAvailable %s", (const char*)jarURLStr));
#endif
rv = mURI->GetJARFile(getter_AddRefs(mJARBaseURI));
if (NS_FAILED(rv)) return rv;
@@ -300,21 +398,28 @@ nsJARChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIChannel> jarBaseChannel;
rv = NS_OpenURI(getter_AddRefs(jarBaseChannel),
mJARBaseURI, mLoadGroup, mCallbacks, mLoadAttributes);
rv = NS_OpenURI(getter_AddRefs(jarBaseChannel), mJARBaseURI, nsnull);
if (NS_FAILED(rv)) return rv;
rv = jarBaseChannel->SetLoadGroup(mLoadGroup);
if (NS_FAILED(rv)) return rv;
rv = jarBaseChannel->SetLoadAttributes(mLoadAttributes);
if (NS_FAILED(rv)) return rv;
rv = jarBaseChannel->SetNotificationCallbacks(mCallbacks);
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIFileChannel> jarBaseFile = do_QueryInterface(jarBaseChannel, &rv);
if (mLoadGroup)
(void)mLoadGroup->AddChannel(this, nsnull);
// XXX need to set a state variable here to say we're reading
mStartPosition = startPosition;
mReadCount = readCount;
mUserContext = ctxt;
mUserListener = listener;
// mJARBaseFile = do_QueryInterface(jarBaseChannel, &rv);
if (NS_SUCCEEDED(rv)) {
PRBool shouldCache;
rv = jarBaseChannel->GetShouldCache(&shouldCache);
if (NS_SUCCEEDED(rv) && !shouldCache) {
// then we've already got a local jar file -- no need to download it
rv = ExtractJARElement(jarBaseFile);
PR_LOG(gJarProtocolLog, PR_LOG_DEBUG,
("nsJarProtocol: extracting local jar file %s", (const char*)jarURLStr));
rv = onJARFileAvailable(this, closure);
}
else {
// otherwise, we need to download the jar file
@@ -330,26 +435,19 @@ nsJARChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
if (NS_SUCCEEDED(rv) && filePresent)
{
// then we've already got the file in the local cache -- no need to download it
nsCOMPtr<nsIFileChannel> fileChannel;
rv = nsComponentManager::CreateInstance(kFileChannelCID,
nsnull,
NS_GET_IID(nsIFileChannel),
getter_AddRefs(fileChannel));
rv = NS_NewLocalFileChannel(getter_AddRefs(mJARBaseFile),
jarCacheFile,
PR_RDONLY,
0);
if (NS_FAILED(rv)) return rv;
rv = mJARBaseFile->SetBufferSegmentSize(mBufferSegmentSize);
if (NS_FAILED(rv)) return rv;
rv = mJARBaseFile->SetBufferMaxSize(mBufferMaxSize);
if (NS_FAILED(rv)) return rv;
rv = fileChannel->Init(jarCacheFile,
PR_RDONLY,
nsnull, // contentType
-1, // contentLength
nsnull, // loadGroup
nsnull, // notificationCallbacks
nsIChannel::LOAD_NORMAL,
nsnull, // originalURI
mBufferSegmentSize,
mBufferMaxSize);
if (NS_FAILED(rv)) return rv;
rv = ExtractJARElement(fileChannel);
PR_LOG(gJarProtocolLog, PR_LOG_DEBUG,
("nsJarProtocol: jar file already in cache %s", (const char*)jarURLStr));
rv = onJARFileAvailable(this, closure);
return rv;
}
@@ -361,23 +459,29 @@ nsJARChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
// use a file transport to serve as a data pump for the download (done
// on some other thread)
nsCOMPtr<nsIChannel> jarCacheTransport;
rv = fts->CreateTransport(jarCacheFile, PR_RDONLY, mCommand,
mBufferSegmentSize, mBufferMaxSize,
rv = fts->CreateTransport(jarCacheFile, PR_RDONLY, 0,
getter_AddRefs(mJarCacheTransport));
if (NS_FAILED(rv)) return rv;
rv = mJarCacheTransport->SetBufferSegmentSize(mBufferSegmentSize);
if (NS_FAILED(rv)) return rv;
rv = mJarCacheTransport->SetBufferMaxSize(mBufferMaxSize);
if (NS_FAILED(rv)) return rv;
rv = mJarCacheTransport->SetNotificationCallbacks(mCallbacks);
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIStreamObserver> downloadObserver = new nsJARDownloadObserver(jarCacheFile, this);
nsCOMPtr<nsIStreamObserver> downloadObserver =
new nsJARDownloadObserver(jarCacheFile, this, onJARFileAvailable, closure);
if (downloadObserver == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
PR_LOG(gJarProtocolLog, PR_LOG_DEBUG,
("nsJarProtocol: downloading jar file %s", (const char*)jarURLStr));
nsCOMPtr<nsIInputStream> jarBaseIn;
rv = jarBaseChannel->OpenInputStream(0, -1, getter_AddRefs(jarBaseIn));
rv = jarBaseChannel->OpenInputStream(getter_AddRefs(jarBaseIn));
if (NS_FAILED(rv)) return rv;
rv = mJarCacheTransport->AsyncWrite(jarBaseIn, 0, -1, nsnull, downloadObserver);
rv = mJarCacheTransport->AsyncWrite(jarBaseIn, nsnull, downloadObserver);
}
return rv;
}
@@ -419,36 +523,68 @@ nsJARChannel::GetCacheFile(nsIFile* *cacheFile)
}
nsresult
nsJARChannel::ExtractJARElement(nsIFileChannel* jarBaseFile)
nsJARChannel::AsyncReadJARElement()
{
nsresult rv;
nsAutoMonitor monitor(mMonitor);
mJARBaseFile = jarBaseFile;
NS_ASSERTION(mJARBaseFile, "mJARBaseFile is null");
if (mLoadGroup) {
nsCOMPtr<nsILoadGroupListenerFactory> factory;
//
// Create a load group "proxy" listener...
//
rv = mLoadGroup->GetGroupListenerFactory(getter_AddRefs(factory));
if (factory) {
nsIStreamListener *newListener;
rv = factory->CreateLoadGroupListener(mUserListener, &newListener);
if (NS_SUCCEEDED(rv)) {
mUserListener = newListener;
NS_RELEASE(newListener);
}
}
rv = mLoadGroup->AddChannel(this, nsnull);
if (NS_FAILED(rv)) return rv;
}
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
rv = fts->CreateTransportFromFileSystem(this, mCommand,
mBufferSegmentSize, mBufferMaxSize,
rv = fts->CreateTransportFromFileSystem(this,
getter_AddRefs(mJarExtractionTransport));
if (NS_FAILED(rv)) return rv;
rv = mJarExtractionTransport->SetBufferSegmentSize(mBufferSegmentSize);
if (NS_FAILED(rv)) return rv;
rv = mJarExtractionTransport->SetBufferMaxSize(mBufferMaxSize);
if (NS_FAILED(rv)) return rv;
rv = mJarExtractionTransport->SetNotificationCallbacks(mCallbacks);
if (NS_FAILED(rv)) return rv;
rv = mJarExtractionTransport->AsyncRead(mStartPosition, mReadCount, nsnull, this);
#ifdef PR_LOGGING
nsXPIDLCString jarURLStr;
mURI->GetSpec(getter_Copies(jarURLStr));
PR_LOG(gJarProtocolLog, PR_LOG_DEBUG,
("nsJarProtocol: AsyncRead jar entry %s", (const char*)jarURLStr));
#endif
rv = mJarExtractionTransport->SetTransferOffset(mStartPosition);
if (NS_FAILED(rv)) return rv;
rv = mJarExtractionTransport->SetTransferCount(mReadCount);
if (NS_FAILED(rv)) return rv;
rv = mJarExtractionTransport->AsyncRead(this, nsnull);
return rv;
}
NS_IMETHODIMP
nsJARChannel::AsyncWrite(nsIInputStream* fromStream, PRUint32 startPosition,
PRInt32 writeCount,
nsISupports* ctxt,
nsIStreamObserver* observer)
nsJARChannel::AsyncWrite(nsIInputStream* fromStream,
nsIStreamObserver* observer,
nsISupports* ctxt)
{
return NS_ERROR_NOT_IMPLEMENTED;
NS_NOTREACHED("nsJARChannel::AsyncWrite");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
@@ -536,6 +672,93 @@ nsJARChannel::GetContentLength(PRInt32* aContentLength)
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::SetContentLength(PRInt32 aContentLength)
{
NS_NOTREACHED("nsJARChannel::SetContentLength");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsJARChannel::GetTransferOffset(PRUint32 *aTransferOffset)
{
*aTransferOffset = mStartPosition;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::SetTransferOffset(PRUint32 aTransferOffset)
{
mStartPosition = aTransferOffset;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::GetTransferCount(PRInt32 *aTransferCount)
{
*aTransferCount = mReadCount;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::SetTransferCount(PRInt32 aTransferCount)
{
mReadCount = aTransferCount;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::GetBufferSegmentSize(PRUint32 *aBufferSegmentSize)
{
*aBufferSegmentSize = mBufferSegmentSize;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::SetBufferSegmentSize(PRUint32 aBufferSegmentSize)
{
mBufferSegmentSize = aBufferSegmentSize;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::GetBufferMaxSize(PRUint32 *aBufferMaxSize)
{
*aBufferMaxSize = mBufferMaxSize;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::SetBufferMaxSize(PRUint32 aBufferMaxSize)
{
mBufferMaxSize = aBufferMaxSize;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::GetShouldCache(PRBool *aShouldCache)
{
// Jar files report that you shouldn't cache them because this is really
// a question about the jar entry, and the jar entry is always in a jar
// file on disk.
*aShouldCache = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::GetPipeliningAllowed(PRBool *aPipeliningAllowed)
{
*aPipeliningAllowed = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::SetPipeliningAllowed(PRBool aPipeliningAllowed)
{
NS_NOTREACHED("SetPipeliningAllowed");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsJARChannel::GetLoadGroup(nsILoadGroup* *aLoadGroup)
{
@@ -554,21 +777,45 @@ nsJARChannel::SetLoadGroup(nsILoadGroup* aLoadGroup)
NS_IMETHODIMP
nsJARChannel::GetOwner(nsISupports* *aOwner)
{
nsCOMPtr<nsIPrincipal> principal;
nsresult rv = mJAR->GetPrincipal(mJAREntry, getter_AddRefs(principal));
if (NS_SUCCEEDED(rv) && principal)
rv = principal->QueryInterface(NS_GET_IID(nsISupports), (void **)aOwner);
else
*aOwner = nsnull;
if (!mOwner)
{
nsCOMPtr<nsIPrincipal> certificate;
PRInt16 result;
nsresult rv = mJAR->GetCertificatePrincipal(mJAREntry,
getter_AddRefs(certificate),
&result);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
if (certificate)
{ // Get the codebase principal
NS_WITH_SERVICE(nsIScriptSecurityManager, secMan,
kScriptSecurityManagerCID, &rv);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
nsCOMPtr<nsIPrincipal> codebase;
rv = secMan->GetCodebasePrincipal(mJARBaseURI,
getter_AddRefs(codebase));
if (NS_FAILED(rv)) return rv;
// Join the certificate and the codebase
nsCOMPtr<nsIAggregatePrincipal> agg;
agg = do_QueryInterface(certificate, &rv);
NS_ASSERTION(NS_SUCCEEDED(rv),
"Certificate principal is not an aggregate");
rv = agg->SetCodebase(codebase);
if (NS_FAILED(rv)) return rv;
mOwner = do_QueryInterface(agg, &rv);
if (NS_FAILED(rv)) return rv;
}
}
*aOwner = mOwner;
NS_IF_ADDREF(*aOwner);
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::SetOwner(nsISupports* aOwner)
{
//XXX: is this OK?
return NS_ERROR_FAILURE;
mOwner = aOwner;
return NS_OK;
}
NS_IMETHODIMP
@@ -586,6 +833,12 @@ nsJARChannel::SetNotificationCallbacks(nsIInterfaceRequestor* aNotificationCallb
return NS_OK;
}
NS_IMETHODIMP
nsJARChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
*aSecurityInfo = nsnull;
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
// nsIStreamObserver methods:
@@ -603,7 +856,26 @@ nsJARChannel::OnStopRequest(nsIChannel* jarExtractionTransport,
const PRUnichar* aMsg)
{
nsresult rv;
#ifdef PR_LOGGING
nsCOMPtr<nsIURI> jarURI;
nsXPIDLCString jarURLStr;
rv = mURI->GetSpec(getter_Copies(jarURLStr));
if (NS_SUCCEEDED(rv)) {
PR_LOG(gJarProtocolLog, PR_LOG_DEBUG,
("nsJarProtocol: jar extraction complete %s status=%x",
(const char*)jarURLStr, status));
}
#endif
rv = mUserListener->OnStopRequest(this, mUserContext, status, aMsg);
if (mLoadGroup) {
if (NS_SUCCEEDED(rv)) {
mLoadGroup->RemoveChannel(this, context, status, aMsg);
}
}
mUserListener = nsnull;
mUserContext = nsnull;
mJarExtractionTransport = nsnull;
return rv;
}
@@ -629,6 +901,8 @@ NS_IMETHODIMP
nsJARChannel::Open(char* *contentType, PRInt32 *contentLength)
{
nsresult rv;
NS_ASSERTION(mJARBaseFile, "mJARBaseFile is null");
rv = nsComponentManager::CreateInstance(kZipReaderCID,
nsnull,
NS_GET_IID(nsIZipReader),
@@ -652,10 +926,16 @@ nsJARChannel::Open(char* *contentType, PRInt32 *contentLength)
rv = mJAR->GetEntry(mJAREntry, getter_AddRefs(entry));
if (NS_FAILED(rv)) return rv;
rv = entry->GetRealSize((PRUint32*)contentLength);
if (NS_FAILED(rv)) return rv;
if (contentLength) {
rv = entry->GetRealSize((PRUint32*)contentLength);
if (NS_FAILED(rv)) return rv;
}
return GetContentType(contentType);
if (contentType) {
rv = GetContentType(contentType);
if (NS_FAILED(rv)) return rv;
}
return rv;
}
@@ -669,13 +949,20 @@ nsJARChannel::Close(nsresult status)
NS_IMETHODIMP
nsJARChannel::GetInputStream(nsIInputStream* *aInputStream)
{
#ifdef PR_LOGGING
nsXPIDLCString jarURLStr;
mURI->GetSpec(getter_Copies(jarURLStr));
PR_LOG(gJarProtocolLog, PR_LOG_DEBUG,
("nsJarProtocol: GetInputStream jar entry %s", (const char*)jarURLStr));
#endif
return mJAR->GetInputStream(mJAREntry, aInputStream);
}
NS_IMETHODIMP
nsJARChannel::GetOutputStream(nsIOutputStream* *aOutputStream)
{
return NS_ERROR_NOT_IMPLEMENTED;
NS_NOTREACHED("nsJARChannel::GetOutputStream");
return NS_ERROR_NOT_IMPLEMENTED;
}
////////////////////////////////////////////////////////////////////////////////
@@ -684,7 +971,8 @@ nsJARChannel::GetOutputStream(nsIOutputStream* *aOutputStream)
NS_IMETHODIMP
nsJARChannel::EnumerateEntries(const char *aRoot, nsISimpleEnumerator **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
NS_NOTREACHED("nsJARChannel::EnumerateEntries");
return NS_ERROR_NOT_IMPLEMENTED;
}
////////////////////////////////////////////////////////////////////////////////

View File

@@ -38,6 +38,7 @@
#include "prmon.h"
class nsIFileChannel;
class nsJARChannel;
#define NS_JARCHANNEL_CID \
{ /* 0xc7e410d5-0x85f2-11d3-9f63-006008a6efe9 */ \
@@ -49,6 +50,9 @@ class nsIFileChannel;
#define JAR_DIRECTORY "jarCache"
typedef nsresult
(*OnJARFileAvailableFun)(nsJARChannel* channel, void* closure);
class nsJARChannel : public nsIJARChannel,
public nsIStreamListener,
public nsIFileSystem
@@ -69,28 +73,23 @@ public:
static NS_METHOD
Create(nsISupports* aOuter, REFNSIID aIID, void **aResult);
nsresult Init(nsIJARProtocolHandler* aHandler,
const char* command,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize);
nsresult ExtractJARElement(nsIFileChannel* jarFileChannel);
nsresult Init(nsIJARProtocolHandler* aHandler, nsIURI* uri);
nsresult EnsureJARFileAvailable(OnJARFileAvailableFun fun,
void* closure);
nsresult AsyncReadJARElement();
nsresult GetCacheFile(nsIFile* *cacheFile);
void SetJARBaseFile(nsIFileChannel* channel) { mJARBaseFile = channel; }
friend class nsJARDownloadObserver;
protected:
char* mCommand;
nsCOMPtr<nsIJARURI> mURI;
nsCOMPtr<nsILoadGroup> mLoadGroup;
nsCOMPtr<nsIInterfaceRequestor> mCallbacks;
nsCOMPtr<nsIURI> mOriginalURI;
nsLoadFlags mLoadAttributes;
nsCOMPtr<nsISupports> mOwner;
PRUint32 mStartPosition;
PRInt32 mReadCount;
@@ -105,6 +104,7 @@ protected:
nsCOMPtr<nsIZipReader> mJAR;
PRUint32 mBufferSegmentSize;
PRUint32 mBufferMaxSize;
nsresult mStatus;
PRMonitor* mMonitor;
nsCOMPtr<nsIChannel> mJarCacheTransport;

View File

@@ -117,14 +117,7 @@ nsJARProtocolHandler::NewURI(const char *aSpec, nsIURI *aBaseURI,
}
NS_IMETHODIMP
nsJARProtocolHandler::NewChannel(const char* verb, nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel* *result)
nsJARProtocolHandler::NewChannel(nsIURI* uri, nsIChannel* *result)
{
nsresult rv;
@@ -132,8 +125,7 @@ nsJARProtocolHandler::NewChannel(const char* verb, nsIURI* uri,
rv = nsJARChannel::Create(nsnull, NS_GET_IID(nsIJARChannel), (void**)&channel);
if (NS_FAILED(rv)) return rv;
rv = channel->Init(this, verb, uri, aLoadGroup, notificationCallbacks,
loadAttributes, originalURI, bufferSegmentSize, bufferMaxSize);
rv = channel->Init(this, uri);
if (NS_FAILED(rv)) {
NS_RELEASE(channel);
return rv;

View File

@@ -34,140 +34,83 @@ interface nsIFile;
typedef unsigned long nsLoadFlags;
/**
* nsIChannel is the abstract base class for transports and URLs.
* It's abstract in that it doesn't provide a means to specify the
* location/destination of the data being accessed.
* The nsIChannel interface allows the user to construct I/O requests for
* specific protocols, and manage them in a uniform way. Once a channel
* is created (via nsIIOService::NewChannel), parameters for that request
* may be set by using the channel attributes, or by QueryInterfacing to a
* subclass of nsIChannel for protocol-specific parameters. Then the actual
* request can be issued in one of several ways:
*
* - AsyncRead and AsyncWrite allow for asynchronous requests, calling
* back the user's stream listener or observer,
* - OpenInputStream and OpenOutputStream allow for synchronous reads
* and writes on the underlying channel.
*
* After a request has been completed, the channel is still valid for
* accessing protocol-specific results. For example, QueryInterfacing to
* nsIHTTPChannel allows response headers to be retrieved that result from
* http transactions.
*
* Note that a channel is really only valid for one request. Reusing a channel
* after a request has completed for a subsequent request may have undefined
* results, depending on the channel implementation.
*
* Also of note are a special kind of channel called "transports." Transports
* also implement the nsIChannel interface, but operate at a lower level from
* protocol channels. The socket and file transports are notable implementations
* of transports and allow higher level channels to be implemented. The cache
* may also behave as a transport, and possibly things like sound playing services
* etc. Transports usually operate in a separate thread and often multiplex
* multiple requests for the same kind of service or resources.
*/
[scriptable, uuid(2d905684-8b5c-11d3-8cd9-0060b0fc14a3)]
[scriptable, uuid(1788e79e-f947-11d3-8cda-0060b0fc14a3)]
interface nsIChannel : nsIRequest
{
////////////////////////////////////////////////////////////////////////////
// nsIChannel accessors
////////////////////////////////////////////////////////////////////////////
/**
* Returns the original URL used to construct the channel.
*/
readonly attribute nsIURI originalURI;
/**
* Returns the URL to which the channel currently refers.
*/
readonly attribute nsIURI URI;
/**
* Opens a blocking input stream to the URL's specified source.
* @param startPosition - The offset from the start of the data
* from which to read.
* @param readCount - The number of bytes to read. If -1, everything
* up to the end of the data is read. If greater than the end of
* the data, the amount available is returned in the stream.
*/
nsIInputStream openInputStream(in unsigned long startPosition,
in long readCount);
/**
* Opens a blocking output stream to the URL's specified destination.
* @param startPosition - The offset from the start of the data
* from which to begin writing.
*/
nsIOutputStream openOutputStream(in unsigned long startPosition);
/**
* Opens the channel asynchronously. The nsIStreamObserver's OnStartRequest
* method is called back when the channel actually becomes open, providing
* the content type. Its OnStopRequest method is called when the channel
* becomes closed.
*/
void asyncOpen(in nsIStreamObserver observer,
in nsISupports ctxt);
/**
* Reads asynchronously from the URL's specified source. Notifications
* are provided to the stream listener on the thread of the specified
* event queue.
* The startPosition argument designates the offset in the source where
* the data will be read.
* If the readCount == -1 then all the available data is delivered to
* the stream listener.
*/
void asyncRead(in unsigned long startPosition,
in long readCount,
in nsISupports ctxt,
in nsIStreamListener listener);
/**
* Writes asynchronously to the URL's specified destination. Notifications
* are provided to the stream observer on the thread of the specified
* event queue.
* The startPosition argument designates the offset in the destination where
* the data will be written.
* If the writeCount == -1, then all the available data in the input
* stream is written.
*/
void asyncWrite(in nsIInputStream fromStream,
in unsigned long startPosition,
in long writeCount,
in nsISupports ctxt,
in nsIStreamObserver observer);
/**
* Load attribute flags. These may be or'd together.
* This is used in the case of a redirect or URI "resolution" (e.g.
* resolving a resource: URI to a file: URI) so that the original
* pre-redirect URI can still be obtained.
*
* Note that more will follow for each protocol's implementation of a channel,
* although channel writers have to be careful to not let the flag bits
* overlap. Otherwise, users won't be able to create a single flag word
* of load attributes that applies to a number of different channel types.
* Note that this is distinctly different from the http referrer
* (referring URI) which is typically the page that contained the
* original URI (accessible from nsIHTTPChannel).
*/
const unsigned long LOAD_NORMAL = 0; /* no special load attributes -- use defaults */
const unsigned long LOAD_BACKGROUND = 1 << 0; /* don't deliver status notifications to the
* nsIProgressEventSink, or keep this load from
* completing the nsILoadGroup it may belong to */
attribute nsIURI originalURI;
const unsigned long LOAD_DOCUMENT_URI = 1 << 1;
const unsigned long LOAD_RETARGETED_DOCUMENT_URI = 1 << 2; /* if the end consumer for this
load has been retargeted after
discovering it's content, this flag
will be set */
//
// The following flags control caching behavior. Not all protocols pay
// attention to all these flags, but they are applicable to more than one
// protocol, so they are defined here.
//
/**
* Returns the URL to which the channel currently refers. If a redirect
* or URI resolution occurs, this accessor returns the current location
* to which the channel is referring.
*/
attribute nsIURI URI;
// Don't store data in the disk cache. This can be used to preserve
// privacy, e.g. so that no https transactions are recorded, or to avoid
// caching a stream to disk that is already stored in a local file,
// e.g. the mailbox: protocol.
const unsigned long INHIBIT_PERSISTENT_CACHING = 1 << 8;
/**
* Accesses the start offset from the beginning of the data from/to which
* reads/writes will occur. Users may set the transferOffset before making
* any of the following requests: asyncOpen, asyncRead, asyncWrite,
* openInputStream, openOutputstream.
*/
attribute unsigned long transferOffset;
// Force an end-to-end download of content data from the origin server (and
// any intervening proxies that sit between it and the client), e.g. this
// flag is used for a shift-reload.
const unsigned long FORCE_RELOAD = 1 << 9;
// Force revalidation with server (or proxy) to verify that cached content
// is up-to-date, e.g. by comparing last-modified date on server with that
// of the cached version. For example, this flag is used when the reload
// button is pressed.
const unsigned long FORCE_VALIDATION = 1 << 10;
// If the CACHE_AS_FILE flag is set, any stream content is stored in the
// cache as a single disk file. Content will not be cached in the memory
// cache nor will it be stored in any other type of cache, e.g. a flat-file
// cache database. This is used to implement the jar protocol handler and
// to provide the stream-as-file semantics required by the classic browser
// plugin API.
const unsigned long CACHE_AS_FILE = 1 << 11;
// When cache data is potentially out of date, it can be revalidated with
// the origin server to see if the content needs to be reloaded. The
// following four flags control how often this validation occurs.
// These flags are commonly used for "normal" loading. Note that
// the VALIDATE_HEURISTICALLY and VALIDATE_ONCE_PER_SESSION flags can be
// combined to validate heuristically but no more than once per session.
//
const unsigned long VALIDATE_NEVER = 1 << 12;
const unsigned long VALIDATE_ALWAYS = 1 << 13;
const unsigned long VALIDATE_ONCE_PER_SESSION = 1 << 14;
const unsigned long VALIDATE_HEURISTICALLY = 1 << 15;
/**
* Accesses the count of bytes to be transfered. For openInputStream and
* asyncRead, this specifies the amount to read, for asyncWrite, this
* specifies the amount to write (note that for openOutputStream, the
* end of the data can be signified simply by closing the stream).
* If the transferCount is set after reading has been initiated, the
* amount specified will become the current remaining amount to read
* before the channel is closed (this can be useful if the content
* length is encoded at the start of the stream).
*
* A transferCount value of -1 means the amount is unspecified, i.e.
* read or write all the data that is available.
*/
attribute long transferCount;
/**
* Accesses the load attributes for the channel. E.g. setting the load
@@ -187,15 +130,19 @@ interface nsIChannel : nsIRequest
attribute string contentType;
/**
* Returns the length of the data assiciated with the channel if available.
* Returns the length of the data associated with the channel if available.
* If the length is unknown then -1 is returned.
*/
readonly attribute long contentLength;
attribute long contentLength;
/**
* Accesses the owner corresponding to the entity that is
* responsible for this channel. Used by security code to grant
* or diminish privileges to mobile code loaded from this channel.
* or deny privileges to mobile code loaded from this channel.
*
* Note: This is a strong reference to the owner, so if the owner is also
* holding a pointer to the channel, care must be taken to explicitly drop
* its reference to the channel -- otherwise a leak will result.
*/
attribute nsISupports owner;
@@ -210,6 +157,184 @@ interface nsIChannel : nsIRequest
* notifications.
*/
attribute nsIInterfaceRequestor notificationCallbacks;
/**
* Any security information about this channel. This can be null.
*/
readonly attribute nsISupports securityInfo;
/**
* Accesses the buffer segment size. The buffer segment size is used as
* the initial size for any transfer buffers, and the increment size for
* whenever the buffer space needs to be grown.
* (Note this parameter is passed along to any underlying nsIPipe objects.)
* If unspecified, the channel implementation picks a default.
*/
attribute unsigned long bufferSegmentSize;
/**
* Accesses the buffer maximum size. The buffer maximum size is the limit
* size that buffer will be grown to before suspending the channel.
* (Note this parameter is passed along to any underlying nsIPipe objects.)
* If unspecified, the channel implementation picks a default.
*/
attribute unsigned long bufferMaxSize;
/**
* Returns true if the data from this channel should be cached. Local files
* report false because they exist on the local disk and need not be cached.
* Input stream channels, data protocol, datetime protocol and finger
* protocol channels also should not be cached. Http and ftp on the other
* hand should. Note that the value of this attribute doesn't reflect any
* http headers that may specify that this channel should not be cached.
*/
readonly attribute boolean shouldCache;
/**
* Setting pipeliningAllowed causes the load of a URL (issued via asyncOpen,
* asyncRead or asyncWrite) to be deferred in order to allow the request to
* be pipelined for greater throughput efficiency. Pipelined requests will
* be forced to load when the first non-pipelined request is issued.
*/
attribute boolean pipeliningAllowed;
////////////////////////////////////////////////////////////////////////////
// Load attribute flags. These may be or'd together.
////////////////////////////////////////////////////////////////////////////
/**
* Note that more will follow for each protocol's implementation of a channel,
* although channel writers have to be careful to not let the flag bits
* overlap. Otherwise, users won't be able to create a single flag word
* of load attributes that applies to a number of different channel types.
*/
/**
* No special load attributes -- use defaults:
*/
const unsigned long LOAD_NORMAL = 0;
/**
* Don't deliver status notifications to the nsIProgressEventSink, or keep
* this load from completing the nsILoadGroup it may belong to:
*/
const unsigned long LOAD_BACKGROUND = 1 << 0;
const unsigned long LOAD_DOCUMENT_URI = 1 << 1;
/**
* If the end consumer for this load has been retargeted after discovering
* it's content, this flag will be set:
*/
const unsigned long LOAD_RETARGETED_DOCUMENT_URI = 1 << 2;
////////////////////////////////////////////////////////////////////////////
/**
* The following flags control caching behavior. Not all protocols pay
* attention to all these flags, but they are applicable to more than one
* protocol, so they are defined here.
*/
/**
* Don't store data in the disk cache. This can be used to preserve
* privacy, e.g. so that no https transactions are recorded, or to avoid
* caching a stream to disk that is already stored in a local file,
* e.g. the mailbox: protocol.
*/
const unsigned long INHIBIT_PERSISTENT_CACHING = 1 << 8;
/**
* Force an end-to-end download of content data from the origin server (and
* any intervening proxies that sit between it and the client), e.g. this
* flag is used for a shift-reload.
*/
const unsigned long FORCE_RELOAD = 1 << 9;
/**
* Force revalidation with server (or proxy) to verify that cached content
* is up-to-date, e.g. by comparing last-modified date on server with that
* of the cached version. For example, this flag is used when the reload
* button is pressed.
*/
const unsigned long FORCE_VALIDATION = 1 << 10;
/**
* If the CACHE_AS_FILE flag is set, any stream content is stored in the
* cache as a single disk file. Content will not be cached in the memory
* cache nor will it be stored in any other type of cache, e.g. a flat-file
* cache database. This is used to implement the jar protocol handler and
* to provide the stream-as-file semantics required by the classic browser
* plugin API.
*/
const unsigned long CACHE_AS_FILE = 1 << 11;
/**
* When cache data is potentially out of date, it can be revalidated with
* the origin server to see if the content needs to be reloaded. The
* following four flags control how often this validation occurs.
* These flags are commonly used for "normal" loading. Note that
* the VALIDATE_HEURISTICALLY and VALIDATE_ONCE_PER_SESSION flags can be
* combined to validate heuristically but no more than once per session.
*/
const unsigned long VALIDATE_NEVER = 1 << 12;
const unsigned long VALIDATE_ALWAYS = 1 << 13;
const unsigned long VALIDATE_ONCE_PER_SESSION = 1 << 14;
const unsigned long VALIDATE_HEURISTICALLY = 1 << 15;
////////////////////////////////////////////////////////////////////////////
// nsIChannel operations
////////////////////////////////////////////////////////////////////////////
/**
* Opens a blocking input stream to the URL's specified source.
* @param startPosition - The offset from the start of the data
* from which to read.
* @param readCount - The number of bytes to read. If -1, everything
* up to the end of the data is read. If greater than the end of
* the data, the amount available is returned in the stream.
*/
nsIInputStream openInputStream();
/**
* Opens a blocking output stream to the URL's specified destination.
* @param startPosition - The offset from the start of the data
* from which to begin writing.
*/
nsIOutputStream openOutputStream();
/**
* Opens the channel asynchronously. The nsIStreamObserver's OnStartRequest
* method is called back when the channel actually becomes open, providing
* the content type. Its OnStopRequest method is called when the channel
* becomes closed.
*/
void asyncOpen(in nsIStreamObserver observer,
in nsISupports ctxt);
/**
* Reads asynchronously from the URL's specified source. Notifications
* are provided to the stream listener on the thread of the specified
* event queue.
* The startPosition argument designates the offset in the source where
* the data will be read.
* If the readCount == -1 then all the available data is delivered to
* the stream listener.
*/
void asyncRead(in nsIStreamListener listener,
in nsISupports ctxt);
/**
* Writes asynchronously to the URL's specified destination. Notifications
* are provided to the stream observer on the thread of the specified
* event queue.
* The startPosition argument designates the offset in the destination where
* the data will be written.
* If the writeCount == -1, then all the available data in the input
* stream is written.
*/
void asyncWrite(in nsIInputStream fromStream,
in nsIStreamObserver observer,
in nsISupports ctxt);
};
////////////////////////////////////////////////////////////////////////////////
@@ -220,29 +345,23 @@ interface nsIChannel : nsIRequest
* associated content type. Input stream channels only allow the input stream
* to be accessed, not the output stream.
*/
[scriptable, uuid(bfbf843a-8b89-11d3-8cd9-0060b0fc14a3)]
[scriptable, uuid(43070d6a-f947-11d3-8cda-0060b0fc14a3)]
interface nsIInputStreamChannel : nsIChannel
{
void init(in nsIURI uri,
in string contentType,
in long contentLength,
in nsIInputStream inStr,
in nsILoadGroup aLoadGroup,
in nsIInterfaceRequestor notificationCallbacks,
in nsLoadFlags loadAttributes,
in nsIURI originalURI,
in unsigned long bufferSegmentSize,
in unsigned long bufferMaxSize);
in string contentType,
in long contentLength);
};
%{C++
#define NS_INPUTSTREAMCHANNEL_CID \
{ /* 436d84f8-8b8a-11d3-8cd9-0060b0fc14a3 */ \
0x436d84f8, \
0x8b8a, \
{ /* 54d0d8e6-f947-11d3-8cda-0060b0fc14a3 */ \
0x54d0d8e6, \
0xf947, \
0x11d3, \
{0x8c, 0xd9, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
{0x8c, 0xda, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
}
%}
@@ -254,32 +373,27 @@ interface nsIInputStreamChannel : nsIChannel
* of a simple nsIChannel that is constructed from a single nsIFile and
* associated content type.
*/
[scriptable, uuid(6eef6444-c7e3-11d3-8cda-0060b0fc14a3)]
[scriptable, uuid(68a26506-f947-11d3-8cda-0060b0fc14a3)]
interface nsIFileChannel : nsIChannel
{
void init(in nsIFile file,
in long mode,
in string contentType,
in long contentLength,
in nsILoadGroup aLoadGroup,
in nsIInterfaceRequestor notificationCallbacks,
in nsLoadFlags loadAttributes,
in nsIURI originalURI,
in unsigned long bufferSegmentSize,
in unsigned long bufferMaxSize);
in long ioFlags,
in long perm);
readonly attribute nsIFile file;
attribute long ioFlags;
attribute long permissions;
};
%{C++
#define NS_FILECHANNEL_CLASSNAME "File Channel"
#define NS_FILECHANNEL_PROGID "component://netscape/network/file-channel"
#define NS_LOCALFILECHANNEL_CLASSNAME "Local File Channel"
#define NS_LOCALFILECHANNEL_PROGID "component://netscape/network/local-file-channel"
#define NS_FILECHANNEL_CID \
{ /* 7036066e-c7e3-11d3-8cda-0060b0fc14a3 */ \
0x7036066e, \
0xc7e3, \
#define NS_LOCALFILECHANNEL_CID \
{ /* 6d5b2d44-f947-11d3-8cda-0060b0fc14a3 */ \
0x6d5b2d44, \
0xf947, \
0x11d3, \
{0x8c, 0xda, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
}

View File

@@ -27,13 +27,13 @@
[scriptable, uuid(e3d56a20-c7ec-11d3-8cda-0060b0fc14a3)]
interface nsIFileInputStream : nsIInputStream
{
void init(in nsILocalFile file);
void init(in nsIFile file, in long ioFlags, in long perm);
};
[scriptable, uuid(e6f68040-c7ec-11d3-8cda-0060b0fc14a3)]
interface nsIFileOutputStream : nsIOutputStream
{
void init(in nsILocalFile file, in long flags, in long mode);
void init(in nsIFile file, in long ioFlags, in long perm);
};
[scriptable, uuid(e9de5df0-c7ec-11d3-8cda-0060b0fc14a3)]
@@ -66,10 +66,10 @@ interface nsIBufferedOutputStream : nsIOutputStream
////////////////////////////////////////////////////////////////////////////////
#define NS_FILEINPUTSTREAM_CLASSNAME "File Input Stream"
#define NS_FILEINPUTSTREAM_PROGID "component://netscape/network/file-input-stream"
#define NS_LOCALFILEINPUTSTREAM_CLASSNAME "Local File Input Stream"
#define NS_LOCALFILEINPUTSTREAM_PROGID "component://netscape/network/file-input-stream"
#define NS_FILEINPUTSTREAM_CID \
#define NS_LOCALFILEINPUTSTREAM_CID \
{ /* be9a53ae-c7e9-11d3-8cda-0060b0fc14a3 */ \
0xbe9a53ae, \
0xc7e9, \
@@ -77,10 +77,10 @@ interface nsIBufferedOutputStream : nsIOutputStream
{0x8c, 0xda, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
}
#define NS_FILEOUTPUTSTREAM_CLASSNAME "File Output Stream"
#define NS_FILEOUTPUTSTREAM_PROGID "component://netscape/network/file-output-stream"
#define NS_LOCALFILEOUTPUTSTREAM_CLASSNAME "Local File Output Stream"
#define NS_LOCALFILEOUTPUTSTREAM_PROGID "component://netscape/network/file-output-stream"
#define NS_FILEOUTPUTSTREAM_CID \
#define NS_LOCALFILEOUTPUTSTREAM_CID \
{ /* c272fee0-c7e9-11d3-8cda-0060b0fc14a3 */ \
0xc272fee0, \
0xc7e9, \
@@ -123,32 +123,24 @@ interface nsIBufferedOutputStream : nsIOutputStream
#include "nsILocalFile.h"
#include "nsIInputStream.h"
#include "nsIOutputStream.h"
#include "prio.h" // for read/write modes, etc.
#include "prio.h" // for read/write flags, permissions, etc.
// This will QI the file argument to an nsILocalFile in the Init method.
inline nsresult
NS_NewFileChannel(nsIFile* file,
PRInt32 mode,
const char* contentType,
PRUint32 contentLength,
nsILoadGroup* group,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIFileChannel **result)
NS_NewLocalFileChannel(nsIFileChannel **result,
nsIFile* file,
PRInt32 ioFlags = -1,
PRInt32 perm = -1)
{
nsresult rv;
nsCOMPtr<nsIFileChannel> channel;
static NS_DEFINE_CID(kFileChannelCID, NS_FILECHANNEL_CID);
rv = nsComponentManager::CreateInstance(kFileChannelCID,
static NS_DEFINE_CID(kLocalFileChannelCID, NS_LOCALFILECHANNEL_CID);
rv = nsComponentManager::CreateInstance(kLocalFileChannelCID,
nsnull,
NS_GET_IID(nsIFileChannel),
getter_AddRefs(channel));
if (NS_FAILED(rv)) return rv;
rv = channel->Init(file, mode, contentType, contentLength, group,
notificationCallbacks, loadAttributes, originalURI,
bufferSegmentSize, bufferMaxSize);
rv = channel->Init(file, ioFlags, perm);
if (NS_FAILED(rv)) return rv;
*result = channel;
@@ -156,20 +148,22 @@ NS_NewFileChannel(nsIFile* file,
return NS_OK;
}
// This will QI the file argument to an nsILocalFile in the Init method.
inline nsresult
NS_NewFileInputStream(nsIFile* file, nsIInputStream* *result)
NS_NewLocalFileInputStream(nsIInputStream* *result,
nsIFile* file,
PRInt32 ioFlags = -1,
PRInt32 perm = -1)
{
nsresult rv;
nsCOMPtr<nsIFileInputStream> in;
static NS_DEFINE_CID(kFileInputStreamCID, NS_FILEINPUTSTREAM_CID);
rv = nsComponentManager::CreateInstance(kFileInputStreamCID,
static NS_DEFINE_CID(kLocalFileInputStreamCID, NS_LOCALFILEINPUTSTREAM_CID);
rv = nsComponentManager::CreateInstance(kLocalFileInputStreamCID,
nsnull,
NS_GET_IID(nsIFileInputStream),
getter_AddRefs(in));
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsILocalFile> localFile = do_QueryInterface(file, &rv);
if (NS_FAILED(rv)) return rv;
rv = in->Init(localFile);
rv = in->Init(file, ioFlags, perm);
if (NS_FAILED(rv)) return rv;
*result = in;
@@ -177,21 +171,22 @@ NS_NewFileInputStream(nsIFile* file, nsIInputStream* *result)
return NS_OK;
}
// This will QI the file argument to an nsILocalFile in the Init method.
inline nsresult
NS_NewFileOutputStream(nsIFile* file, PRInt32 flags, PRInt32 mode,
nsIOutputStream* *result)
NS_NewLocalFileOutputStream(nsIOutputStream* *result,
nsIFile* file,
PRInt32 ioFlags = -1,
PRInt32 perm = -1)
{
nsresult rv;
nsCOMPtr<nsIFileOutputStream> out;
static NS_DEFINE_CID(kFileOutputStreamCID, NS_FILEOUTPUTSTREAM_CID);
rv = nsComponentManager::CreateInstance(kFileOutputStreamCID,
static NS_DEFINE_CID(kLocalFileOutputStreamCID, NS_LOCALFILEOUTPUTSTREAM_CID);
rv = nsComponentManager::CreateInstance(kLocalFileOutputStreamCID,
nsnull,
NS_GET_IID(nsIFileOutputStream),
getter_AddRefs(out));
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsILocalFile> localFile = do_QueryInterface(file, &rv);
if (NS_FAILED(rv)) return rv;
rv = out->Init(localFile, flags, mode);
rv = out->Init(file, ioFlags, perm);
if (NS_FAILED(rv)) return rv;
*result = out;
@@ -202,8 +197,9 @@ NS_NewFileOutputStream(nsIFile* file, PRInt32 flags, PRInt32 mode,
////////////////////////////////////////////////////////////////////////////////
inline nsresult
NS_NewBufferedInputStream(nsIInputStream* str, PRUint32 bufferSize,
nsIInputStream* *result)
NS_NewBufferedInputStream(nsIInputStream* *result,
nsIInputStream* str,
PRUint32 bufferSize)
{
nsresult rv;
nsCOMPtr<nsIBufferedInputStream> in;
@@ -222,8 +218,9 @@ NS_NewBufferedInputStream(nsIInputStream* str, PRUint32 bufferSize,
}
inline nsresult
NS_NewBufferedOutputStream(nsIOutputStream* str, PRUint32 bufferSize,
nsIOutputStream* *result)
NS_NewBufferedOutputStream(nsIOutputStream* *result,
nsIOutputStream* str,
PRUint32 bufferSize)
{
nsresult rv;
nsCOMPtr<nsIBufferedOutputStream> out;

View File

@@ -36,24 +36,16 @@ interface nsIFile;
interface nsIFileTransportService : nsISupports
{
nsIChannel createTransport(in nsIFile file,
in long mode,
in string command,
in unsigned long bufferSegmentSize,
in unsigned long bufferMaxSize);
in long ioFlags,
in long perm);
// This version can be used with an existing input stream to serve
// as a data pump:
nsIChannel createTransportFromStream(in nsIInputStream fromStream,
in string contentType,
in long contentLength,
in string command,
in unsigned long bufferSegmentSize,
in unsigned long bufferMaxSize);
in long contentLength);
nsIChannel createTransportFromFileSystem(in nsIFileSystem fsObj,
in string command,
in unsigned long bufferSegmentSize,
in unsigned long bufferMaxSize);
nsIChannel createTransportFromFileSystem(in nsIFileSystem fsObj);
void dispatchRequest(in nsIRunnable runnable);
void suspend(in nsIRunnable trans);

View File

@@ -42,20 +42,6 @@ interface nsIOutputStream;
[scriptable, uuid(ab7c3a84-d488-11d3-8cda-0060b0fc14a3)]
interface nsIIOService : nsISupports
{
/**
* constants for the Escape mask in the call to URLEscape
*/
const short url_Scheme = (1<<0);
const short url_Username = (1<<1);
const short url_Password = (1<<2);
const short url_Host = (1<<3);
const short url_Directory = (1<<4);
const short url_FileBaseName = (1<<5);
const short url_FileExtension = (1<<6);
const short url_Param = (1<<7);
const short url_Query = (1<<8);
const short url_Ref = (1<<9);
/**
* Returns a protocol handler for a given URI scheme.
*/
@@ -81,28 +67,20 @@ interface nsIIOService : nsISupports
* URL to become different from the original URL. If NULL, the aURI parameter
* will be used as the originalURI instead.
*/
nsIChannel newChannelFromURI(in string verb,
in nsIURI aURI,
in nsILoadGroup aLoadGroup,
in nsIInterfaceRequestor notificationCallbacks,
in nsLoadFlags loadAttributes,
in nsIURI originalURI,
in unsigned long bufferSegmentSize,
in unsigned long bufferMaxSize);
nsIChannel newChannelFromURI(in nsIURI aURI);
/**
* Convenience routine that first creates a URI by calling NewURI, and
* then passes the URI to NewChannelFromURI.
*
* @param originalURI - Specifies the original URI which caused the creation
* of this channel. This can occur when the construction of one channel
* (e.g. for resource:) causes another channel to be created on its behalf
* (e.g. a file: channel), or if a redirect occurs, causing the current
* URL to become different from the original URL. If NULL, the aURI parameter
* will be used as the originalURI instead.
*/
nsIChannel newChannel(in string verb,
in string aSpec,
in nsIURI aBaseURI,
in nsILoadGroup aLoadGroup,
in nsIInterfaceRequestor notificationCallbacks,
in nsLoadFlags loadAttributes,
in nsIURI originalURI,
in unsigned long bufferSegmentSize,
in unsigned long bufferMaxSize);
nsIChannel newChannel(in string aSpec, in nsIURI aBaseURI);
/**
* Returns true if networking is in "offline" mode. When in offline mode, attempts
@@ -135,6 +113,21 @@ interface nsIIOService : nsISupports
out unsigned long schemeEndPos,
out string scheme);
/**
* Constants for the mask in the call to Escape
*/
const short url_Scheme = (1<<0);
const short url_Username = (1<<1);
const short url_Password = (1<<2);
const short url_Host = (1<<3);
const short url_Directory = (1<<4);
const short url_FileBaseName = (1<<5);
const short url_FileExtension = (1<<6);
const short url_Param = (1<<7);
const short url_Query = (1<<8);
const short url_Ref = (1<<9);
const short url_Forced = (1<<10);
/**
* Encode characters into % escaped hexcodes.
*/
@@ -172,4 +165,5 @@ interface nsIIOService : nsISupports
{0x93, 0x37, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40} \
}
#define DUD 3.14
%}

View File

@@ -52,14 +52,7 @@ interface nsIProtocolHandler : nsISupports
* URL to become different from the original URL. If NULL, the aURI parameter
* will be used as the originalURI instead.
*/
nsIChannel newChannel(in string verb,
in nsIURI aURI,
in nsILoadGroup aLoadGroup,
in nsIInterfaceRequestor notificationCallbacks,
in nsLoadFlags loadAttributes,
in nsIURI originalURI,
in unsigned long bufferSegmentSize,
in unsigned long bufferMaxSize);
nsIChannel newChannel(in nsIURI aURI);
};
%{C++

View File

@@ -33,10 +33,18 @@ interface nsIRequest : nsISupports
boolean isPending();
/**
* Cancels the current request. This will close any open input or
* output streams and terminate any async requests.
* Returns any error status associated with the request.
*/
void cancel();
readonly attribute nsresult status;
/**
* Cancels the current request. This will close any open input or
* output streams and terminate any async requests. Users should
* normally pass NS_BINDING_ABORTED, although other errors may also
* be passed. The error passed in will become the value of the
* status attribute.
*/
void cancel(in nsresult status);
/**
* Suspends the current requests. This may have the effect of closing

View File

@@ -27,9 +27,29 @@ interface nsISocketTransport : nsISupports
{
attribute boolean reuseConnection;
/**
* socket read/write timeout in seconds; 0 = no timeout
*/
attribute unsigned long socketTimeout;
/**
* socket connect timeout in seconds; 0 = no timeout
*/
attribute unsigned long socketConnectTimeout;
/**
* Is used to tell the channel to stop reading data after a certain point;
* needed by HTTP/1.1
*/
attribute long bytesAllowed;
attribute long bytesExpected;
attribute unsigned long reuseCount;
/**
* Checks if the socket is still alive
*
* @param seconds amount of time after which the socket is always deemed to be
* dead (no further checking is done in this case); seconds = 0
* will cause it not to do the timeout checking at all
*/
boolean isAlive (in unsigned long seconds);
};

View File

@@ -56,8 +56,9 @@ interface nsISocketTransportService : nsISupports
*/
boolean reuseTransport(in nsIChannel i_Transport);
void shutdown ();
void wakeup (in nsIChannel i_Transport);
void init();
void shutdown();
void wakeup(in nsIChannel i_Transport);
};
%{C++

View File

@@ -55,6 +55,11 @@ interface nsIStreamLoader : nsISupports
* Gets the number of bytes read so far.
*/
readonly attribute unsigned long numBytesRead;
/**
* Gets the owner of this file
*/
readonly attribute nsISupports owner;
};
%{C++

View File

@@ -142,6 +142,7 @@ interface nsIFile;
* nsIFileURL is used for the file: protocol, and gives access to the
* underlying nsIFile object.
*/
[scriptable, uuid(d26b2e2e-1dd1-11b2-88f3-8545a7ba7949)]
interface nsIFileURL : nsIURL
{
attribute nsIFile file;

View File

@@ -37,47 +37,94 @@
#include "nsCOMPtr.h"
#include "nsIHTTPProtocolHandler.h"
#include "nsIStreamLoader.h"
#include "prio.h" // for read/write flags, permissions, etc.
inline nsresult
NS_NewURI(nsIURI* *result, const char* spec, nsIURI* baseURI = nsnull)
NS_NewURI(nsIURI* *result,
const char* spec,
nsIURI* baseURI = nsnull,
nsIIOService* ioService = nsnull) // pass in nsIIOService to optimize callers
{
nsresult rv;
nsIIOService* serv = ioService;
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
if (serv == nsnull) {
rv = nsServiceManager::GetService(kIOServiceCID, NS_GET_IID(nsIIOService),
(nsISupports**)&serv);
if (NS_FAILED(rv)) return rv;
}
rv = serv->NewURI(spec, baseURI, result);
if (ioService == nsnull) {
(void)nsServiceManager::ReleaseService(kIOServiceCID, serv);
}
return rv;
}
inline nsresult
NS_NewURI(nsIURI* *result, const nsString& spec, nsIURI* baseURI = nsnull)
NS_NewURI(nsIURI* *result,
const nsString& spec,
nsIURI* baseURI = nsnull,
nsIIOService* ioService = nsnull) // pass in nsIIOService to optimize callers
{
char* specStr = spec.ToNewUTF8String(); // this forces a single byte char*
if (specStr == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
nsresult rv = NS_NewURI(result, specStr, baseURI);
nsresult rv = NS_NewURI(result, specStr, baseURI, ioService);
nsAllocator::Free(specStr);
return rv;
}
inline nsresult
NS_OpenURI(nsIChannel* *result, nsIURI* uri, nsILoadGroup *aGroup,
nsIInterfaceRequestor *capabilities = nsnull,
NS_OpenURI(nsIChannel* *result,
nsIURI* uri,
nsIIOService* ioService = nsnull, // pass in nsIIOService to optimize callers
nsILoadGroup* loadGroup = nsnull,
nsIInterfaceRequestor* notificationCallbacks = nsnull,
nsLoadFlags loadAttributes = nsIChannel::LOAD_NORMAL,
PRUint32 bufferSegmentSize = 0,
PRUint32 bufferMaxSize = 0)
{
nsresult rv;
nsIIOService* serv = ioService;
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
if (serv == nsnull) {
rv = nsServiceManager::GetService(kIOServiceCID, NS_GET_IID(nsIIOService),
(nsISupports**)&serv);
if (NS_FAILED(rv)) return rv;
}
nsIChannel* channel = nsnull;
rv = serv->NewChannelFromURI(uri, &channel);
if (NS_FAILED(rv)) return rv;
nsIChannel* channel;
rv = serv->NewChannelFromURI("load", uri, aGroup, capabilities,
loadAttributes, nsnull,
bufferSegmentSize, bufferMaxSize, &channel);
if (NS_FAILED(rv)) return rv;
if (loadGroup) {
rv = channel->SetLoadGroup(loadGroup);
if (NS_FAILED(rv)) return rv;
}
if (notificationCallbacks) {
rv = channel->SetNotificationCallbacks(notificationCallbacks);
if (NS_FAILED(rv)) return rv;
}
if (loadAttributes != nsIChannel::LOAD_NORMAL) {
rv = channel->SetLoadAttributes(loadAttributes);
if (NS_FAILED(rv)) return rv;
}
if (bufferSegmentSize != 0) {
rv = channel->SetBufferSegmentSize(bufferSegmentSize);
if (NS_FAILED(rv)) return rv;
}
if (bufferMaxSize != 0) {
rv = channel->SetBufferMaxSize(bufferMaxSize);
if (NS_FAILED(rv)) return rv;
}
if (ioService == nsnull) {
(void)nsServiceManager::ReleaseService(kIOServiceCID, serv);
}
*result = channel;
return rv;
@@ -90,17 +137,25 @@ NS_OpenURI(nsIChannel* *result, nsIURI* uri, nsILoadGroup *aGroup,
// blown asyncrhonous consumer (via nsIStreamListener)
// look at nsIStreamLoader instead.
inline nsresult
NS_OpenURI(nsIInputStream* *result, nsIURI* uri)
NS_OpenURI(nsIInputStream* *result,
nsIURI* uri,
nsIIOService* ioService = nsnull, // pass in nsIIOService to optimize callers
nsILoadGroup* loadGroup = nsnull,
nsIInterfaceRequestor* notificationCallbacks = nsnull,
nsLoadFlags loadAttributes = nsIChannel::LOAD_NORMAL,
PRUint32 bufferSegmentSize = 0,
PRUint32 bufferMaxSize = 0)
{
nsresult rv;
nsIChannel* channel;
nsCOMPtr<nsIChannel> channel;
rv = NS_OpenURI(&channel, uri, nsnull);
rv = NS_OpenURI(getter_AddRefs(channel), uri, ioService,
loadGroup, notificationCallbacks, loadAttributes,
bufferSegmentSize, bufferMaxSize);
if (NS_FAILED(rv)) return rv;
nsIInputStream* inStr;
rv = channel->OpenInputStream(0, -1, &inStr);
NS_RELEASE(channel);
rv = channel->OpenInputStream(&inStr);
if (NS_FAILED(rv)) return rv;
*result = inStr;
@@ -108,71 +163,109 @@ NS_OpenURI(nsIInputStream* *result, nsIURI* uri)
}
inline nsresult
NS_OpenURI(nsIStreamListener* aConsumer, nsISupports* context, nsIURI* uri,
nsILoadGroup *aGroup)
NS_OpenURI(nsIStreamListener* aConsumer,
nsISupports* context,
nsIURI* uri,
nsIIOService* ioService = nsnull, // pass in nsIIOService to optimize callers
nsILoadGroup* loadGroup = nsnull,
nsIInterfaceRequestor* notificationCallbacks = nsnull,
nsLoadFlags loadAttributes = nsIChannel::LOAD_NORMAL,
PRUint32 bufferSegmentSize = 0,
PRUint32 bufferMaxSize = 0)
{
nsresult rv;
nsIChannel* channel;
nsCOMPtr<nsIChannel> channel;
rv = NS_OpenURI(&channel, uri, aGroup);
rv = NS_OpenURI(getter_AddRefs(channel), uri, ioService,
loadGroup, notificationCallbacks, loadAttributes,
bufferSegmentSize, bufferMaxSize);
if (NS_FAILED(rv)) return rv;
rv = channel->AsyncRead(0, -1, context, aConsumer);
NS_RELEASE(channel);
rv = channel->AsyncRead(aConsumer, context);
return rv;
}
inline nsresult
NS_MakeAbsoluteURI(const char* spec, nsIURI* baseURI, char* *result)
NS_MakeAbsoluteURI(char* *result,
const char* spec,
nsIURI* baseURI = nsnull,
nsIIOService* ioService = nsnull) // pass in nsIIOService to optimize callers
{
nsresult rv;
NS_ASSERTION(baseURI, "It doesn't make sense to not supply a base URI");
if (spec == nsnull)
return baseURI->GetSpec(result);
nsIIOService* serv = ioService;
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
if (serv == nsnull) {
rv = nsServiceManager::GetService(kIOServiceCID, NS_GET_IID(nsIIOService),
(nsISupports**)&serv);
if (NS_FAILED(rv)) return rv;
}
PRUint32 startPos, endPos;
rv = serv->ExtractScheme(spec, &startPos, &endPos, nsnull);
if (NS_SUCCEEDED(rv)) {
// if spec has a scheme, then it's already absolute
*result = nsCRT::strdup(spec);
return (*result == nsnull) ? NS_ERROR_OUT_OF_MEMORY : NS_OK;
rv = (*result == nsnull) ? NS_ERROR_OUT_OF_MEMORY : NS_OK;
}
return baseURI->Resolve(spec, result);
else {
rv = baseURI->Resolve(spec, result);
}
if (ioService == nsnull) {
(void)nsServiceManager::ReleaseService(kIOServiceCID, serv);
}
return rv;
}
inline nsresult
NS_MakeAbsoluteURI(const nsString& spec, nsIURI* baseURI, nsString& result)
NS_MakeAbsoluteURI(nsString& result,
const nsString& spec,
nsIURI* baseURI = nsnull,
nsIIOService* ioService = nsnull) // pass in nsIIOService to optimize callers
{
char* resultStr;
char* specStr = spec.ToNewUTF8String();
if (!specStr) {
return NS_ERROR_OUT_OF_MEMORY;
}
nsresult rv = NS_MakeAbsoluteURI(specStr, baseURI, &resultStr);
nsresult rv = NS_MakeAbsoluteURI(&resultStr, specStr, baseURI, ioService);
nsAllocator::Free(specStr);
if (NS_FAILED(rv)) return rv;
result = resultStr;
result.AssignWithConversion(resultStr);
nsAllocator::Free(resultStr);
return rv;
}
inline nsresult
NS_NewPostDataStream(PRBool isFile, const char *data, PRUint32 encodeFlags,
nsIInputStream **result)
NS_NewPostDataStream(nsIInputStream **result,
PRBool isFile,
const char *data,
PRUint32 encodeFlags,
nsIIOService* ioService = nsnull) // pass in nsIIOService to optimize callers
{
nsresult rv;
nsIIOService* serv = ioService;
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
if (serv == nsnull) {
rv = nsServiceManager::GetService(kIOServiceCID, NS_GET_IID(nsIIOService),
(nsISupports**)&serv);
if (NS_FAILED(rv)) return rv;
}
nsCOMPtr<nsIProtocolHandler> handler;
rv = serv->GetProtocolHandler("http", getter_AddRefs(handler));
if (ioService == nsnull) {
(void)nsServiceManager::ReleaseService(kIOServiceCID, serv);
}
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIHTTPProtocolHandler> http = do_QueryInterface(handler, &rv);
@@ -182,17 +275,11 @@ NS_NewPostDataStream(PRBool isFile, const char *data, PRUint32 encodeFlags,
}
inline nsresult
NS_NewInputStreamChannel(nsIURI* uri,
const char* contentType,
PRInt32 contentLength,
NS_NewInputStreamChannel(nsIChannel **result,
nsIURI* uri,
nsIInputStream* inStr,
nsILoadGroup* group,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel **result)
const char* contentType,
PRInt32 contentLength)
{
nsresult rv;
nsCOMPtr<nsIInputStreamChannel> channel;
@@ -202,9 +289,7 @@ NS_NewInputStreamChannel(nsIURI* uri,
NS_GET_IID(nsIInputStreamChannel),
getter_AddRefs(channel));
if (NS_FAILED(rv)) return rv;
rv = channel->Init(uri, contentType, contentLength, inStr, group,
notificationCallbacks, loadAttributes, originalURI,
bufferSegmentSize, bufferMaxSize);
rv = channel->Init(uri, inStr, contentType, contentLength);
if (NS_FAILED(rv)) return rv;
*result = channel;
@@ -213,7 +298,7 @@ NS_NewInputStreamChannel(nsIURI* uri,
}
inline nsresult
NS_NewLoadGroup(nsIStreamObserver* obs, nsILoadGroup* *result)
NS_NewLoadGroup(nsILoadGroup* *result, nsIStreamObserver* obs)
{
nsresult rv;
nsCOMPtr<nsILoadGroup> group;
@@ -259,8 +344,9 @@ NS_NewStreamLoader(nsIStreamLoader* *result,
}
inline nsresult
NS_NewAsyncStreamObserver(nsIStreamObserver *receiver, nsIEventQueue *eventQueue,
nsIStreamObserver **result)
NS_NewAsyncStreamObserver(nsIStreamObserver **result,
nsIStreamObserver *receiver,
nsIEventQueue *eventQueue)
{
nsresult rv;
nsCOMPtr<nsIAsyncStreamObserver> obs;
@@ -279,8 +365,9 @@ NS_NewAsyncStreamObserver(nsIStreamObserver *receiver, nsIEventQueue *eventQueue
}
inline nsresult
NS_NewAsyncStreamListener(nsIStreamListener *receiver, nsIEventQueue *eventQueue,
nsIStreamListener **result)
NS_NewAsyncStreamListener(nsIStreamListener **result,
nsIStreamListener *receiver,
nsIEventQueue *eventQueue)
{
nsresult rv;
nsCOMPtr<nsIAsyncStreamListener> lsnr;

View File

@@ -95,7 +95,18 @@ void PR_CALLBACK nsStreamListenerEvent::HandlePLEvent(PLEvent* aEvent)
NS_ASSERTION(nsnull != ev,"null event.");
nsresult rv = ev->HandleEvent();
ev->mListener->SetStatus(rv);
//
// If the consumer fails, then cancel the transport. This is necessary
// in case where the socket transport is blocked waiting for room in the
// pipe, but the consumer fails without consuming all the data.
//
// Unless the transport is cancelled, it will block forever, waiting for
// the pipe to empty...
//
if (NS_FAILED(rv)) {
nsresult cancelRv = ev->mChannel->Cancel(rv);
NS_ASSERTION(NS_SUCCEEDED(cancelRv), "Cancel failed");
}
}
void PR_CALLBACK nsStreamListenerEvent::DestroyPLEvent(PLEvent* aEvent)
@@ -128,15 +139,9 @@ nsStreamListenerEvent::Fire(nsIEventQueue* aEventQueue)
////////////////////////////////////////////////////////////////////////////////
nsAsyncStreamObserver::~nsAsyncStreamObserver()
{
}
NS_IMPL_THREADSAFE_ADDREF(nsAsyncStreamObserver)
NS_IMPL_THREADSAFE_RELEASE(nsAsyncStreamObserver)
NS_IMPL_QUERY_INTERFACE2(nsAsyncStreamObserver,
nsIAsyncStreamObserver,
nsIStreamObserver)
NS_IMPL_THREADSAFE_ISUPPORTS2(nsAsyncStreamObserver,
nsIAsyncStreamObserver,
nsIStreamObserver)
NS_IMPL_ADDREF_INHERITED(nsAsyncStreamListener, nsAsyncStreamObserver);
NS_IMPL_RELEASE_INHERITED(nsAsyncStreamListener, nsAsyncStreamObserver);
@@ -199,15 +204,23 @@ nsOnStartRequestEvent::HandleEvent()
("netlibEvent: Handle Start [event=%x]", this));
#endif
nsIStreamObserver* receiver = (nsIStreamObserver*)mListener->GetReceiver();
return receiver->OnStartRequest(mChannel, mContext);
nsresult status;
nsresult rv = mChannel->GetStatus(&status);
NS_ASSERTION(NS_SUCCEEDED(rv), "GetStatus failed");
if (NS_SUCCEEDED(rv) && NS_SUCCEEDED(status)) {
rv = receiver->OnStartRequest(mChannel, mContext);
}
else {
NS_WARNING("not calling OnStartRequest");
}
return rv;
}
NS_IMETHODIMP
nsAsyncStreamObserver::OnStartRequest(nsIChannel* channel, nsISupports* context)
{
nsresult rv = GetStatus();
if (NS_FAILED(rv)) return rv;
nsresult rv;
nsOnStartRequestEvent* event =
new nsOnStartRequestEvent(this, channel, context);
if (event == nsnull)
@@ -279,14 +292,16 @@ nsOnStopRequestEvent::HandleEvent()
("netlibEvent: Handle Stop [event=%x]", this));
#endif
nsIStreamObserver* receiver = (nsIStreamObserver*)mListener->GetReceiver();
nsresult rv = mListener->GetStatus();
nsresult status = NS_OK;
nsresult rv = mChannel->GetStatus(&status);
NS_ASSERTION(NS_SUCCEEDED(rv), "GetStatus failed");
//
// If the consumer returned a failure code, then pass it out in the
// OnStopRequest(...) notification...
//
if (NS_FAILED(rv)) {
mStatus = rv;
if (NS_SUCCEEDED(rv) && NS_FAILED(status)) {
mStatus = status;
}
return receiver->OnStopRequest(mChannel, mContext, mStatus, mMessage);
}
@@ -378,25 +393,20 @@ nsOnDataAvailableEvent::HandleEvent()
("netlibEvent: Handle Data [event=%x]", this));
#endif
nsIStreamListener* receiver = (nsIStreamListener*)mListener->GetReceiver();
nsresult rv = mListener->GetStatus();
nsresult status;
nsresult rv = mChannel->GetStatus(&status);
NS_ASSERTION(NS_SUCCEEDED(rv), "GetStatus failed");
//
// Only send OnDataAvailable(... ) notifications if all previous calls
// have succeeded...
//
if (NS_SUCCEEDED(rv)) {
if (NS_SUCCEEDED(rv) && NS_SUCCEEDED(status)) {
rv = receiver->OnDataAvailable(mChannel, mContext,
mIStream, mSourceOffset, mLength);
//
// If the consumer fails, then cancel the transport. This is necessary
// in case where the socket transport is blocked waiting for room in the
// pipe, but the consumer fails without consuming all the data.
//
// Unless the transport is cancelled, it will block forever, waiting for
// the pipe to empty...
//
if (NS_FAILED(rv)) {
mChannel->Cancel();
}
}
else {
NS_WARNING("not calling OnDataAvailable");
}
return rv;
}
@@ -407,9 +417,7 @@ nsAsyncStreamListener::OnDataAvailable(nsIChannel* channel, nsISupports* context
PRUint32 aSourceOffset,
PRUint32 aLength)
{
nsresult rv = GetStatus();
if (NS_FAILED(rv)) return rv;
nsresult rv;
nsOnDataAvailableEvent* event =
new nsOnDataAvailableEvent(this, channel, context);
if (event == nsnull)

View File

@@ -40,24 +40,20 @@ public:
// nsAsyncStreamObserver methods:
nsAsyncStreamObserver()
: mStatus(NS_OK)
{
NS_INIT_REFCNT();
}
virtual ~nsAsyncStreamObserver();
virtual ~nsAsyncStreamObserver() {}
static NS_METHOD
Create(nsISupports *aOuter, REFNSIID aIID, void **aResult);
nsISupports* GetReceiver() { return mReceiver.get(); }
nsresult GetStatus() { return mStatus; }
void SetStatus(nsresult value) { if (NS_SUCCEEDED(mStatus)) mStatus = value; }
protected:
nsCOMPtr<nsIEventQueue> mEventQueue;
nsCOMPtr<nsIStreamObserver> mReceiver;
nsresult mStatus;
};
////////////////////////////////////////////////////////////////////////////////
@@ -94,7 +90,13 @@ public:
}
// nsAsyncStreamListener methods:
nsAsyncStreamListener() {}
nsAsyncStreamListener() {
MOZ_COUNT_CTOR(nsAsyncStreamListener);
}
virtual ~nsAsyncStreamListener() {
MOZ_COUNT_DTOR(nsAsyncStreamListener);
}
static NS_METHOD
Create(nsISupports *aOuter, REFNSIID aIID, void **aResult);

View File

@@ -227,6 +227,9 @@ nsAuthURLParser::ParseAtHost(const char* i_Spec, char* *o_Host,
if (!brk) // everything is a host
{
rv = ExtractString((char*)i_Spec, o_Host, len);
if (PL_strlen(*o_Host)==0) {
return NS_ERROR_MALFORMED_URI;
}
ToLowerCase(*o_Host);
return rv;
}
@@ -239,6 +242,9 @@ nsAuthURLParser::ParseAtHost(const char* i_Spec, char* *o_Host,
rv = ExtractString((char*)i_Spec, o_Host, (brk - i_Spec));
if (NS_FAILED(rv))
return rv;
if (PL_strlen(*o_Host)==0) {
return NS_ERROR_MALFORMED_URI;
}
ToLowerCase(*o_Host);
rv = ParseAtPath(brk, o_Path);
return rv;
@@ -248,6 +254,9 @@ nsAuthURLParser::ParseAtHost(const char* i_Spec, char* *o_Host,
rv = ExtractString((char*)i_Spec, o_Host, (brk - i_Spec));
if (NS_FAILED(rv))
return rv;
if (PL_strlen(*o_Host)==0) {
return NS_ERROR_MALFORMED_URI;
}
ToLowerCase(*o_Host);
rv = ParseAtPort(brk+1, o_Port, o_Path);
return rv;
@@ -268,21 +277,37 @@ nsAuthURLParser::ParseAtPort(const char* i_Spec, PRInt32 *o_Port,
char* brk = PL_strpbrk(i_Spec, delimiters);
if (!brk) // everything is a Port
{
*o_Port = ExtractPortFrom(i_Spec);
if (*o_Port <= 0)
return NS_ERROR_MALFORMED_URI;
else
if (PL_strlen(i_Spec)==0) {
*o_Port = -1;
return NS_OK;
} else {
*o_Port = ExtractPortFrom(i_Spec);
if (*o_Port <= 0)
return NS_ERROR_MALFORMED_URI;
else
return NS_OK;
}
}
char* e_Port = nsnull;
switch (*brk)
{
case '/' :
case '?' :
// Get the Port, the rest is Path
*o_Port = ExtractPortFrom(i_Spec);
if (*o_Port <= 0)
return NS_ERROR_MALFORMED_URI;
rv = ExtractString((char*)i_Spec, &e_Port, brk-i_Spec);
if (NS_FAILED(rv)) {
CRTFREEIF(e_Port);
return rv;
}
if (PL_strlen(e_Port)==0) {
*o_Port = -1;
} else {
*o_Port = ExtractPortFrom(e_Port);
if (*o_Port <= 0)
return NS_ERROR_MALFORMED_URI;
}
CRTFREEIF(e_Port);
rv = ParseAtPath(brk, o_Path);
return rv;
break;

View File

@@ -279,7 +279,7 @@ nsBufferedOutputStream::Write(const char *buf, PRUint32 count, PRUint32 *result)
while (count > 0) {
PRUint32 amt = PR_MIN(count, mFillPoint - mCursor);
if (amt > 0) {
nsCRT::memcpy(mBuffer + mCursor, buf, amt);
nsCRT::memcpy(mBuffer + mCursor, buf + written, amt);
written += amt;
count -= amt;
mCursor += amt;

View File

@@ -219,7 +219,7 @@ nsDirectoryIndexStream::Read(char* aBuf, PRUint32 aCount, PRUint32* aReadCount)
}
// The "content-length" field
mBuf.Append(fileInfoSize, 10);
mBuf.AppendWithConversion(fileInfoSize, 10);
mBuf.Append(' ');
// The "last-modified" field

View File

@@ -102,10 +102,19 @@ nsFileInputStream::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
}
NS_IMETHODIMP
nsFileInputStream::Init(nsILocalFile* file)
nsFileInputStream::Init(nsIFile* file, PRInt32 ioFlags, PRInt32 perm)
{
NS_ASSERTION(mFD == nsnull, "already inited");
return file->OpenNSPRFileDesc(PR_RDONLY, 0, &mFD);
if (mFD != nsnull)
return NS_ERROR_FAILURE;
nsresult rv;
nsCOMPtr<nsILocalFile> localFile = do_QueryInterface(file, &rv);
if (NS_FAILED(rv)) return rv;
if (ioFlags == -1)
ioFlags = PR_RDONLY;
if (perm == -1)
perm = 0;
return localFile->OpenNSPRFileDesc(ioFlags, perm, &mFD);
}
NS_IMETHODIMP
@@ -165,12 +174,19 @@ nsFileOutputStream::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
}
NS_IMETHODIMP
nsFileOutputStream::Init(nsILocalFile* file, PRInt32 flags, PRInt32 mode)
nsFileOutputStream::Init(nsIFile* file, PRInt32 ioFlags, PRInt32 perm)
{
NS_ASSERTION(mFD == nsnull, "already inited");
if (mFD != nsnull)
return NS_ERROR_FAILURE;
return file->OpenNSPRFileDesc(flags, mode, &mFD);
nsresult rv;
nsCOMPtr<nsILocalFile> localFile = do_QueryInterface(file, &rv);
if (NS_FAILED(rv)) return rv;
if (ioFlags == -1)
ioFlags = PR_WRONLY | PR_CREATE_FILE;
if (perm == -1)
perm = 0664;
return localFile->OpenNSPRFileDesc(ioFlags, perm, &mFD);
}
NS_IMETHODIMP

View File

@@ -58,7 +58,7 @@ static NS_DEFINE_CID(kProxyObjectManagerCID, NS_PROXYEVENT_MANAGER_CID);
#if defined(PR_LOGGING)
//
// Log module for SocketTransport logging...
// Log module for nsFileTransport logging...
//
// To enable logging (see prlog.h for full details):
//
@@ -74,7 +74,7 @@ PRLogModuleInfo* gFileTransportLog = nsnull;
////////////////////////////////////////////////////////////////////////////////
#define DEFAULT_TYPE "text/html"
#define DEFAULT_TYPE "application/x-unknown-content-type"
class nsLocalFileSystem : public nsIFileSystem
{
@@ -109,41 +109,20 @@ public:
*contentLength = -1;
}
else {
char* fileName;
rv = mFile->GetLeafName(&fileName);
if (NS_FAILED(rv)) return rv;
if (fileName != nsnull) {
PRInt32 len = nsCRT::strlen(fileName);
const char* ext = nsnull;
for (PRInt32 i = len; i >= 0; i--) {
if (fileName[i] == '.') {
ext = &fileName[i + 1];
break;
}
}
if (ext) {
NS_WITH_SERVICE(nsIMIMEService, mimeServ, kMIMEServiceCID, &rv);
if (NS_SUCCEEDED(rv)) {
rv = mimeServ->GetTypeFromExtension(ext, contentType);
}
}
else
rv = NS_ERROR_FAILURE;
nsCRT::free(fileName);
} else {
rv = NS_ERROR_FAILURE;
}
if (NS_FAILED(rv)) {
// if all else fails treat it as text/html?
*contentType = nsCRT::strdup(DEFAULT_TYPE);
if (*contentType == nsnull)
rv = NS_ERROR_OUT_OF_MEMORY;
else
rv = NS_OK;
}
NS_WITH_SERVICE(nsIMIMEService, mimeServ, kMIMEServiceCID, &rv);
if (NS_SUCCEEDED(rv)) {
rv = mimeServ->GetTypeFromFile(mFile, contentType);
}
if (NS_FAILED(rv)) {
// if all else fails treat it as text/html?
*contentType = nsCRT::strdup(DEFAULT_TYPE);
if (*contentType == nsnull)
rv = NS_ERROR_OUT_OF_MEMORY;
else
rv = NS_OK;
}
}
PR_LOG(gFileTransportLog, PR_LOG_DEBUG,
("nsFileTransport: logically opening %s: type=%s len=%d",
@@ -171,15 +150,27 @@ public:
}
nsCOMPtr<nsIInputStream> fileIn;
rv = NS_NewFileInputStream(mFile, getter_AddRefs(fileIn));
if (NS_FAILED(rv)) return rv;
rv = NS_NewLocalFileInputStream(getter_AddRefs(fileIn), mFile, mIOFlags, mPerm);
if (NS_FAILED(rv))
{
#if DEBUG
char* filePath = nsnull;
mFile->GetPath(&filePath);
if (filePath)
{
printf("Opening %s failed\n", filePath);
nsAllocator::Free(filePath);
}
#endif
return rv;
}
#ifdef NO_BUFFERING
*aInputStream = fileIn;
NS_ADDREF(*aInputStream);
#else
rv = NS_NewBufferedInputStream(fileIn, NS_OUTPUT_STREAM_BUFFER_SIZE,
aInputStream);
rv = NS_NewBufferedInputStream(aInputStream,
fileIn, NS_OUTPUT_STREAM_BUFFER_SIZE);
#endif
// printf("opening %s for reading\n", (const char*)mSpec);
@@ -198,18 +189,16 @@ public:
}
nsCOMPtr<nsIOutputStream> fileOut;
rv = NS_NewFileOutputStream(mFile,
PR_CREATE_FILE | PR_WRONLY,
0664,
getter_AddRefs(fileOut));
rv = NS_NewLocalFileOutputStream(getter_AddRefs(fileOut),
mFile, mIOFlags, mPerm);
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIOutputStream> bufStr;
#ifdef NO_BUFFERING
bufStr = fileOut;
#else
rv = NS_NewBufferedOutputStream(fileOut, NS_OUTPUT_STREAM_BUFFER_SIZE,
getter_AddRefs(bufStr));
rv = NS_NewBufferedOutputStream(getter_AddRefs(bufStr),
fileOut, NS_OUTPUT_STREAM_BUFFER_SIZE);
if (NS_FAILED(rv)) return rv;
#endif
@@ -223,7 +212,8 @@ public:
return rv;
}
nsLocalFileSystem(nsIFile* file) : mFile(file) {
nsLocalFileSystem(nsIFile* file, PRInt32 ioFlags, PRInt32 perm)
: mFile(file), mIOFlags(ioFlags), mPerm(perm) {
NS_INIT_REFCNT();
//#ifdef PR_LOGGING
(void)mFile->GetPath(&mSpec);
@@ -236,8 +226,9 @@ public:
//#endif
}
static nsresult Create(nsIFile* file, nsIFileSystem* *result) {
nsLocalFileSystem* fs = new nsLocalFileSystem(file);
static nsresult Create(nsIFile* file, PRInt32 ioFlags, PRInt32 perm,
nsIFileSystem* *result) {
nsLocalFileSystem* fs = new nsLocalFileSystem(file, ioFlags, perm);
if (fs == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(fs);
@@ -247,6 +238,8 @@ public:
protected:
nsCOMPtr<nsIFile> mFile;
PRInt32 mIOFlags;
PRInt32 mPerm;
//#ifdef PR_LOGGING
char* mSpec;
//#endif
@@ -329,6 +322,10 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsInputStreamFileSystem, nsIFileSystem);
nsFileTransport::nsFileTransport()
: mContentType(nsnull),
mBufferSegmentSize(NS_FILE_TRANSPORT_DEFAULT_SEGMENT_SIZE),
mBufferMaxSize(NS_FILE_TRANSPORT_DEFAULT_BUFFER_SIZE),
mIOFlags(-1),
mPerm(-1),
mState(CLOSED),
mCommand(NONE),
mSuspended(PR_FALSE),
@@ -336,7 +333,7 @@ nsFileTransport::nsFileTransport()
mStatus(NS_OK),
mOffset(0),
mTotalAmount(-1),
mTransferAmount(0),
mTransferAmount(-1),
mBuffer(nsnull)
{
NS_INIT_REFCNT();
@@ -355,50 +352,50 @@ nsFileTransport::nsFileTransport()
}
nsresult
nsFileTransport::Init(nsIFile* file, PRInt32 mode, const char* command,
PRUint32 bufferSegmentSize, PRUint32 bufferMaxSize)
nsFileTransport::Init(nsIFile* file, PRInt32 ioFlags, PRInt32 perm)
{
nsresult rv;
mFile = file;
mIOFlags = ioFlags;
mPerm = perm;
#if 0
nsCOMPtr<nsIFileChannel> channel;
rv = NS_NewFileChannel(file,
mode,
nsnull, // contentType -- infer
0, // contentLength -- infer
nsnull, // loadGroup
nsnull, // notificationCallbacks
nsIChannel::LOAD_NORMAL,
nsnull, // originalURI
bufferSegmentSize,
bufferMaxSize,
getter_AddRefs(channel));
rv = NS_NewLocalFileChannel(file,
ioFlags,
perm,
nsnull, // contentType -- infer
0, // contentLength -- infer
nsnull, // loadGroup
nsnull, // notificationCallbacks
nsIChannel::LOAD_NORMAL,
nsnull, // originalURI
bufferSegmentSize,
bufferMaxSize,
getter_AddRefs(channel));
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIFileSystem> fsObj = do_QueryInterface(channel, &rv);
#else
nsCOMPtr<nsIFileSystem> fsObj;
rv = nsLocalFileSystem::Create(file, getter_AddRefs(fsObj));
rv = nsLocalFileSystem::Create(file, ioFlags, perm, getter_AddRefs(fsObj));
#endif
if (NS_FAILED(rv)) return rv;
return Init(fsObj, command, bufferSegmentSize, bufferMaxSize);
return Init(fsObj);
}
nsresult
nsFileTransport::Init(nsIInputStream* fromStream, const char* contentType,
PRInt32 contentLength, const char* command,
PRUint32 bufferSegmentSize, PRUint32 bufferMaxSize)
PRInt32 contentLength)
{
nsresult rv;
nsCOMPtr<nsIFileSystem> fsObj;
rv = nsInputStreamFileSystem::Create(fromStream, contentType, contentLength,
getter_AddRefs(fsObj));
if (NS_FAILED(rv)) return rv;
return Init(fsObj, command, bufferSegmentSize, bufferMaxSize);
return Init(fsObj);
}
nsresult
nsFileTransport::Init(nsIFileSystem* fsObj, const char* command,
PRUint32 bufferSegmentSize, PRUint32 bufferMaxSize)
nsFileTransport::Init(nsIFileSystem* fsObj)
{
nsresult rv = NS_OK;
if (mMonitor == nsnull) {
@@ -407,10 +404,6 @@ nsFileTransport::Init(nsIFileSystem* fsObj, const char* command,
return NS_ERROR_OUT_OF_MEMORY;
}
mFileObject = fsObj;
mBufferSegmentSize = bufferSegmentSize != 0
? bufferSegmentSize : NS_FILE_TRANSPORT_DEFAULT_SEGMENT_SIZE;
mBufferMaxSize = bufferMaxSize != 0
? bufferMaxSize : NS_FILE_TRANSPORT_DEFAULT_BUFFER_SIZE;
#ifdef PR_LOGGING
if (mFile)
(void)mFile->GetPath(&mSpec);
@@ -470,7 +463,14 @@ nsFileTransport::IsPending(PRBool *result)
}
NS_IMETHODIMP
nsFileTransport::Cancel()
nsFileTransport::GetStatus(nsresult *status)
{
*status = mStatus;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::Cancel(nsresult status)
{
nsAutoMonitor mon(mMonitor);
@@ -480,7 +480,7 @@ nsFileTransport::Cancel()
}
if (NS_SUCCEEDED(rv)) {
// if there's no other error pending, say that we aborted
mStatus = NS_BINDING_ABORTED;
mStatus = status;
}
if (mState == READING)
mState = END_READ;
@@ -535,8 +535,7 @@ nsFileTransport::Resume()
////////////////////////////////////////////////////////////////////////////////
NS_IMETHODIMP
nsFileTransport::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
nsIInputStream **result)
nsFileTransport::OpenInputStream(nsIInputStream **result)
{
nsAutoMonitor mon(mMonitor);
@@ -550,7 +549,7 @@ nsFileTransport::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
if (NS_FAILED(rv)) return rv;
if (!exists)
return NS_ERROR_FAILURE; // XXX probably need NS_BASE_STREAM_FILE_NOT_FOUND or something
return NS_ERROR_FILE_NOT_FOUND;
rv = NS_NewPipe(getter_AddRefs(mBufferInputStream),
getter_AddRefs(mBufferOutputStream),
@@ -563,15 +562,13 @@ nsFileTransport::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
mState = OPENING;
mCommand = INITIATE_READ;
mOffset = startPosition;
mTransferAmount = readCount;
mListener = null_nsCOMPtr();
*result = mBufferInputStream.get();
NS_ADDREF(*result);
PR_LOG(gFileTransportLog, PR_LOG_DEBUG,
("nsFileTransport: OpenInputStream [this=%x %s] startPosition=%d readCount=%d",
this, (const char*)mSpec, startPosition, readCount));
("nsFileTransport: OpenInputStream [this=%x %s] mOffset=%d mTransferAmount=%d",
this, (const char*)mSpec, mOffset, mTransferAmount));
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
@@ -582,7 +579,7 @@ nsFileTransport::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
}
NS_IMETHODIMP
nsFileTransport::OpenOutputStream(PRUint32 startPosition, nsIOutputStream **result)
nsFileTransport::OpenOutputStream(nsIOutputStream **result)
{
nsAutoMonitor mon(mMonitor);
@@ -592,25 +589,22 @@ nsFileTransport::OpenOutputStream(PRUint32 startPosition, nsIOutputStream **resu
return NS_ERROR_IN_PROGRESS;
nsCOMPtr<nsIOutputStream> fileOut;
rv = NS_NewFileOutputStream(mFile,
PR_CREATE_FILE | PR_WRONLY,
0664,
getter_AddRefs(fileOut));
rv = NS_NewLocalFileOutputStream(getter_AddRefs(fileOut),
mFile, mIOFlags, mPerm);
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIOutputStream> bufStr;
#ifdef NO_BUFFERING
bufStr = fileOut;
#else
rv = NS_NewBufferedOutputStream(fileOut, NS_OUTPUT_STREAM_BUFFER_SIZE,
getter_AddRefs(bufStr));
rv = NS_NewBufferedOutputStream(getter_AddRefs(bufStr),
fileOut, NS_OUTPUT_STREAM_BUFFER_SIZE);
if (NS_FAILED(rv)) return rv;
#endif
*result = bufStr;
NS_ADDREF(*result);
mOffset = startPosition;
if (mOffset > 0) {
// if we need to set a starting offset, QI for nsISeekableStream
nsCOMPtr<nsISeekableStream> ras =
@@ -642,7 +636,8 @@ nsFileTransport::AsyncOpen(nsIStreamObserver *observer, nsISupports* ctxt)
return NS_ERROR_IN_PROGRESS;
NS_ASSERTION(observer, "need to supply an nsIStreamObserver");
rv = NS_NewAsyncStreamObserver(observer, NS_CURRENT_EVENTQ, getter_AddRefs(mOpenObserver));
rv = NS_NewAsyncStreamObserver(getter_AddRefs(mOpenObserver),
observer, NS_CURRENT_EVENTQ);
if (NS_FAILED(rv)) return rv;
NS_ASSERTION(mOpenContext == nsnull, "context not released");
@@ -664,9 +659,7 @@ nsFileTransport::AsyncOpen(nsIStreamObserver *observer, nsISupports* ctxt)
}
NS_IMETHODIMP
nsFileTransport::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
nsISupports *ctxt,
nsIStreamListener *listener)
nsFileTransport::AsyncRead(nsIStreamListener *listener, nsISupports *ctxt)
{
nsAutoMonitor mon(mMonitor);
@@ -677,7 +670,8 @@ nsFileTransport::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
return NS_ERROR_IN_PROGRESS;
NS_ASSERTION(listener, "need to supply an nsIStreamListener");
rv = NS_NewAsyncStreamListener(listener, nsnull, getter_AddRefs(mListener));
rv = NS_NewAsyncStreamListener(getter_AddRefs(mListener),
listener, nsnull);
if (NS_FAILED(rv)) return rv;
rv = NS_NewPipe(getter_AddRefs(mBufferInputStream),
@@ -697,12 +691,10 @@ nsFileTransport::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
if (mState == CLOSED)
mState = OPENING;
mCommand = INITIATE_READ;
mOffset = startPosition;
mTransferAmount = readCount;
PR_LOG(gFileTransportLog, PR_LOG_DEBUG,
("nsFileTransport: AsyncRead [this=%x %s] startPosition=%d readCount=%d",
this, (const char*)mSpec, startPosition, readCount));
("nsFileTransport: AsyncRead [this=%x %s] mOffset=%d mTransferAmount=%d",
this, (const char*)mSpec, mOffset, mTransferAmount));
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
@@ -714,9 +706,8 @@ nsFileTransport::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
NS_IMETHODIMP
nsFileTransport::AsyncWrite(nsIInputStream *fromStream,
PRUint32 startPosition, PRInt32 writeCount,
nsISupports *ctxt,
nsIStreamObserver *observer)
nsIStreamObserver *observer,
nsISupports *ctxt)
{
nsAutoMonitor mon(mMonitor);
@@ -727,7 +718,8 @@ nsFileTransport::AsyncWrite(nsIInputStream *fromStream,
return NS_ERROR_IN_PROGRESS;
if (observer) {
rv = NS_NewAsyncStreamObserver(observer, NS_CURRENT_EVENTQ, getter_AddRefs(mObserver));
rv = NS_NewAsyncStreamObserver(getter_AddRefs(mObserver),
observer, NS_CURRENT_EVENTQ);
if (NS_FAILED(rv)) return rv;
}
@@ -737,8 +729,6 @@ nsFileTransport::AsyncWrite(nsIInputStream *fromStream,
if (mState == CLOSED)
mState = OPENING;
mCommand = INITIATE_WRITE;
mOffset = startPosition;
mTransferAmount = writeCount;
mSource = fromStream;
PR_LOG(gFileTransportLog, PR_LOG_DEBUG,
@@ -935,11 +925,12 @@ nsFileTransport::Process(void)
}
if (mProgress) {
// XXX fix up this message for i18n
nsAutoString msg = "Read ";
nsAutoString msg;
msg.AssignWithConversion("Read ");
#ifdef PR_LOGGING
msg += (const char*)mSpec;
msg.AppendWithConversion(NS_STATIC_CAST(const char*, mSpec));
#endif
(void)mProgress->OnStatus(this, mContext, msg.mUStr);
(void)mProgress->OnStatus(this, mContext, msg.GetUnicode());
}
mContext = null_nsCOMPtr();
@@ -1079,11 +1070,12 @@ nsFileTransport::Process(void)
}
if (mProgress) {
// XXX fix up this message for i18n
nsAutoString msg = "Wrote ";
nsAutoString msg;
msg.AssignWithConversion("Wrote ");
#ifdef PR_LOGGING
msg += (const char*)mSpec;
msg.AppendWithConversion(NS_STATIC_CAST(const char*, mSpec));
#endif
(void)mProgress->OnStatus(this, mContext, msg.mUStr);
(void)mProgress->OnStatus(this, mContext, msg.GetUnicode());
}
mContext = null_nsCOMPtr();
@@ -1158,27 +1150,44 @@ nsFileTransport::OnClose(nsIPipe* pipe)
////////////////////////////////////////////////////////////////////////////////
NS_IMETHODIMP
nsFileTransport::GetOriginalURI(nsIURI * *aURI)
nsFileTransport::GetOriginalURI(nsIURI* *aURI)
{
NS_NOTREACHED("GetOriginalURI");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFileTransport::GetURI(nsIURI * *aURI)
nsFileTransport::SetOriginalURI(nsIURI* aURI)
{
NS_NOTREACHED("SetOriginalURI");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFileTransport::GetURI(nsIURI* *aURI)
{
// NS_NOTREACHED("GetURI");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFileTransport::SetURI(nsIURI* aURI)
{
NS_NOTREACHED("SetURI");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFileTransport::GetLoadAttributes(nsLoadFlags *aLoadAttributes)
{
return NS_ERROR_NOT_IMPLEMENTED;
*aLoadAttributes = LOAD_NORMAL;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::SetLoadAttributes(nsLoadFlags aLoadAttributes)
{
return NS_ERROR_NOT_IMPLEMENTED;
return NS_OK; // ignored for now
}
NS_IMETHODIMP
@@ -1209,27 +1218,115 @@ nsFileTransport::GetContentLength(PRInt32 *aContentLength)
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::SetContentLength(PRInt32 aContentLength)
{
NS_NOTREACHED("SetContentLength");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFileTransport::GetTransferOffset(PRUint32 *aTransferOffset)
{
*aTransferOffset = mOffset;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::SetTransferOffset(PRUint32 aTransferOffset)
{
mOffset = aTransferOffset;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::GetTransferCount(PRInt32 *aTransferCount)
{
*aTransferCount = mTransferAmount;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::SetTransferCount(PRInt32 aTransferCount)
{
mTransferAmount = aTransferCount;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::GetBufferSegmentSize(PRUint32 *aBufferSegmentSize)
{
*aBufferSegmentSize = mBufferSegmentSize;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::SetBufferSegmentSize(PRUint32 aBufferSegmentSize)
{
mBufferSegmentSize = aBufferSegmentSize;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::GetBufferMaxSize(PRUint32 *aBufferMaxSize)
{
*aBufferMaxSize = mBufferMaxSize;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::SetBufferMaxSize(PRUint32 aBufferMaxSize)
{
mBufferMaxSize = aBufferMaxSize;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::GetShouldCache(PRBool *aShouldCache)
{
*aShouldCache = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::GetPipeliningAllowed(PRBool *aPipeliningAllowed)
{
*aPipeliningAllowed = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::SetPipeliningAllowed(PRBool aPipeliningAllowed)
{
NS_NOTREACHED("SetPipeliningAllowed");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFileTransport::GetOwner(nsISupports * *aOwner)
{
NS_NOTREACHED("GetOwner");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFileTransport::SetOwner(nsISupports * aOwner)
{
NS_NOTREACHED("SetOwner");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFileTransport::GetLoadGroup(nsILoadGroup * *aLoadGroup)
{
NS_NOTREACHED("GetLoadGroup");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsFileTransport::SetLoadGroup(nsILoadGroup* aLoadGroup)
{
NS_NOTREACHED("SetLoadGroup");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -1267,4 +1364,11 @@ nsFileTransport::SetNotificationCallbacks(nsIInterfaceRequestor* aNotificationCa
return NS_OK;
}
NS_IMETHODIMP
nsFileTransport::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
*aSecurityInfo = nsnull;
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////

View File

@@ -62,20 +62,12 @@ public:
Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult);
nsresult Init(nsIFile* file,
PRInt32 mode,
const char* command,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize);
PRInt32 ioFlags,
PRInt32 perm);
nsresult Init(nsIInputStream* fromStream,
const char* contentType,
PRInt32 contentLength,
const char* command,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize);
nsresult Init(nsIFileSystem* fsObj,
const char* command,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize);
PRInt32 contentLength);
nsresult Init(nsIFileSystem* fsObj);
void Process(void);
void DoClose(void);
@@ -107,6 +99,8 @@ protected:
char* mContentType;
PRUint32 mBufferSegmentSize;
PRUint32 mBufferMaxSize;
PRInt32 mIOFlags;
PRInt32 mPerm;
nsCOMPtr<nsIStreamObserver> mOpenObserver;
nsCOMPtr<nsISupports> mOpenContext;

View File

@@ -83,10 +83,8 @@ nsFileTransportService::Create(nsISupports *aOuter, REFNSIID aIID, void **aResul
NS_IMETHODIMP
nsFileTransportService::CreateTransport(nsIFile* file,
PRInt32 mode,
const char* command,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
PRInt32 ioFlags,
PRInt32 perm,
nsIChannel** result)
{
nsresult rv;
@@ -94,7 +92,7 @@ nsFileTransportService::CreateTransport(nsIFile* file,
if (trans == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(trans);
rv = trans->Init(file, mode, command, bufferSegmentSize, bufferMaxSize);
rv = trans->Init(file, ioFlags, perm);
if (NS_FAILED(rv)) {
NS_RELEASE(trans);
return rv;
@@ -107,9 +105,6 @@ NS_IMETHODIMP
nsFileTransportService::CreateTransportFromStream(nsIInputStream *fromStream,
const char* contentType,
PRInt32 contentLength,
const char *command,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel** result)
{
nsresult rv;
@@ -117,8 +112,7 @@ nsFileTransportService::CreateTransportFromStream(nsIInputStream *fromStream,
if (trans == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(trans);
rv = trans->Init(fromStream, contentType, contentLength, command,
bufferSegmentSize, bufferMaxSize);
rv = trans->Init(fromStream, contentType, contentLength);
if (NS_FAILED(rv)) {
NS_RELEASE(trans);
return rv;
@@ -129,9 +123,6 @@ nsFileTransportService::CreateTransportFromStream(nsIInputStream *fromStream,
NS_IMETHODIMP
nsFileTransportService::CreateTransportFromFileSystem(nsIFileSystem *fsObj,
const char *command,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel **result)
{
nsresult rv;
@@ -139,7 +130,7 @@ nsFileTransportService::CreateTransportFromFileSystem(nsIFileSystem *fsObj,
if (trans == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(trans);
rv = trans->Init(fsObj, command, bufferSegmentSize, bufferMaxSize);
rv = trans->Init(fsObj);
if (NS_FAILED(rv)) {
NS_RELEASE(trans);
return rv;

View File

@@ -23,7 +23,6 @@
#include "nsIOService.h"
#include "nsIProtocolHandler.h"
#include "nscore.h"
#include "nsString2.h"
#include "nsIServiceManager.h"
#include "nsIEventQueueService.h"
#include "nsIFileTransportService.h"
@@ -140,7 +139,7 @@ nsIOService::ExtractScheme(const char* inURI, PRUint32 *startPos, PRUint32 *endP
const char* uri = inURI;
// skip leading white space
while (nsString::IsSpace(*uri))
while (nsCRT::IsAsciiSpace(*uri))
uri++;
PRUint32 start = uri - inURI;
@@ -166,7 +165,7 @@ nsIOService::ExtractScheme(const char* inURI, PRUint32 *startPos, PRUint32 *endP
}
return NS_OK;
}
else if (nsString::IsAlpha(c)) {
else if (nsCRT::IsAsciiAlpha(c)) {
length++;
}
else
@@ -217,14 +216,7 @@ nsIOService::NewURI(const char* aSpec, nsIURI* aBaseURI,
}
NS_IMETHODIMP
nsIOService::NewChannelFromURI(const char* verb, nsIURI *aURI,
nsILoadGroup *aGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel **result)
nsIOService::NewChannelFromURI(nsIURI *aURI, nsIChannel **result)
{
nsresult rv;
@@ -236,22 +228,12 @@ nsIOService::NewChannelFromURI(const char* verb, nsIURI *aURI,
rv = GetProtocolHandler((const char*)scheme, getter_AddRefs(handler));
if (NS_FAILED(rv)) return rv;
rv = handler->NewChannel(verb, aURI, aGroup, notificationCallbacks,
loadAttributes, originalURI,
bufferSegmentSize, bufferMaxSize, result);
rv = handler->NewChannel(aURI, result);
return rv;
}
NS_IMETHODIMP
nsIOService::NewChannel(const char* verb, const char *aSpec,
nsIURI *aBaseURI,
nsILoadGroup *aGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel **result)
nsIOService::NewChannel(const char *aSpec, nsIURI *aBaseURI, nsIChannel **result)
{
nsresult rv;
nsCOMPtr<nsIURI> uri;
@@ -259,9 +241,7 @@ nsIOService::NewChannel(const char* verb, const char *aSpec,
rv = NewURI(aSpec, aBaseURI, getter_AddRefs(uri), getter_AddRefs(handler));
if (NS_FAILED(rv)) return rv;
rv = handler->NewChannel(verb, uri, aGroup, notificationCallbacks,
loadAttributes, originalURI,
bufferSegmentSize, bufferMaxSize, result);
rv = handler->NewChannel(uri, result);
return rv;
}
@@ -275,11 +255,10 @@ nsIOService::GetOffline(PRBool *offline)
NS_IMETHODIMP
nsIOService::SetOffline(PRBool offline)
{
mOffline = offline;
nsresult rv1 = NS_OK;
nsresult rv2 = NS_OK;
if (offline) {
// be sure to try and shutdown both (even if the first fails)
nsresult rv1 = NS_OK;
nsresult rv2 = NS_OK;
if (mSocketTransportService)
rv1 = mSocketTransportService->Shutdown();
if (mDNSService)
@@ -287,12 +266,48 @@ nsIOService::SetOffline(PRBool offline)
if (NS_FAILED(rv1)) return rv1;
if (NS_FAILED(rv2)) return rv2;
}
else if (!offline && mOffline) {
// go online
if (mSocketTransportService)
rv1 = mSocketTransportService->Init();
if (NS_FAILED(rv1)) return rv1;
if (mDNSService)
rv2 = mDNSService->Init();
if (NS_FAILED(rv2)) return rv2; //XXX should we shutdown the socket transport service?
}
mOffline = offline;
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
// URL parsing utilities
/* encode characters into % escaped hexcodes */
/* use the following masks to specify which
part of an URL you want to escape:
url_Scheme = 1
url_Username = 2
url_Password = 4
url_Host = 8
url_Directory = 16
url_FileBaseName = 32
url_FileExtension = 64
url_Param = 128
url_Query = 256
url_Ref = 512
*/
/* by default this function will not escape parts of a string
that already look escaped, which means it already includes
a valid hexcode. This is done to avoid multiple escapes of
a string. Use the following mask to force escaping of a
string:
url_Forced = 1024
*/
NS_IMETHODIMP
nsIOService::Escape(const char *str, PRInt16 mask, char** result)
{

View File

@@ -24,7 +24,7 @@
#define nsIOService_h__
#include "nsIIOService.h"
#include "nsString2.h"
#include "nsString.h"
#include "nsISocketTransportService.h"
#include "nsIFileTransportService.h"
#include "nsIDNSService.h"

View File

@@ -36,7 +36,8 @@ static NS_DEFINE_CID(kFileTransportServiceCID, NS_FILETRANSPORTSERVICE_CID);
// nsInputStreamChannel methods:
nsInputStreamChannel::nsInputStreamChannel()
: mContentType(nsnull), mContentLength(-1), mLoadAttributes(LOAD_NORMAL)
: mContentType(nsnull), mContentLength(-1), mLoadAttributes(LOAD_NORMAL),
mBufferSegmentSize(0), mBufferMaxSize(0), mStatus(NS_OK)
{
NS_INIT_REFCNT();
}
@@ -61,31 +62,12 @@ nsInputStreamChannel::Create(nsISupports *aOuter, REFNSIID aIID,
NS_IMETHODIMP
nsInputStreamChannel::Init(nsIURI* uri,
const char* contentType,
PRInt32 contentLength,
nsIInputStream* in,
nsILoadGroup *aGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize)
const char* contentType,
PRInt32 contentLength)
{
nsresult rv;
mOriginalURI = originalURI ? originalURI : uri;
mURI = uri;
mContentLength = contentLength;
mBufferSegmentSize = bufferSegmentSize;
mBufferMaxSize = bufferMaxSize;
rv = SetLoadAttributes(loadAttributes);
if (NS_FAILED(rv)) return rv;
rv = SetLoadGroup(aGroup);
if (NS_FAILED(rv)) return rv;
rv = SetNotificationCallbacks(notificationCallbacks);
if (NS_FAILED(rv)) return rv;
if (contentType) {
mContentType = nsCRT::strdup(contentType);
@@ -122,10 +104,18 @@ nsInputStreamChannel::IsPending(PRBool *result)
}
NS_IMETHODIMP
nsInputStreamChannel::Cancel(void)
nsInputStreamChannel::GetStatus(nsresult *status)
{
*status = mStatus;
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::Cancel(nsresult status)
{
mStatus = status;
if (mFileTransport)
return mFileTransport->Cancel();
return mFileTransport->Cancel(status);
return NS_OK;
}
@@ -149,21 +139,35 @@ nsInputStreamChannel::Resume(void)
// nsIChannel methods:
NS_IMETHODIMP
nsInputStreamChannel::GetOriginalURI(nsIURI * *aURI)
nsInputStreamChannel::GetOriginalURI(nsIURI* *aURI)
{
*aURI = mOriginalURI;
*aURI = mOriginalURI ? mOriginalURI : mURI;
NS_IF_ADDREF(*aURI);
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::GetURI(nsIURI * *aURI)
nsInputStreamChannel::SetOriginalURI(nsIURI* aURI)
{
mOriginalURI = aURI;
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::GetURI(nsIURI* *aURI)
{
*aURI = mURI;
NS_IF_ADDREF(*aURI);
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::SetURI(nsIURI* aURI)
{
mURI = aURI;
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::AsyncOpen(nsIStreamObserver *observer, nsISupports* ctxt)
{
@@ -175,37 +179,41 @@ nsInputStreamChannel::AsyncOpen(nsIStreamObserver *observer, nsISupports* ctxt)
if (NS_FAILED(rv)) return rv;
rv = fts->CreateTransportFromStream(mInputStream, mContentType, mContentLength,
"load", mBufferSegmentSize, mBufferMaxSize,
getter_AddRefs(mFileTransport));
if (NS_FAILED(rv)) return rv;
if (mBufferSegmentSize > 0) {
rv = mFileTransport->SetBufferSegmentSize(mBufferSegmentSize);
if (NS_FAILED(rv)) return rv;
}
if (mBufferMaxSize > 0) {
rv = mFileTransport->SetBufferMaxSize(mBufferMaxSize);
if (NS_FAILED(rv)) return rv;
}
return mFileTransport->AsyncOpen(observer, ctxt);
}
NS_IMETHODIMP
nsInputStreamChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
nsIInputStream **result)
nsInputStreamChannel::OpenInputStream(nsIInputStream **result)
{
// if we had seekable streams, we could seek here:
NS_ASSERTION(startPosition == 0, "Can't seek in nsInputStreamChannel");
*result = mInputStream;
NS_ADDREF(*result);
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::OpenOutputStream(PRUint32 startPosition, nsIOutputStream **_retval)
nsInputStreamChannel::OpenOutputStream(nsIOutputStream **_retval)
{
// we don't do output
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP
nsInputStreamChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
nsISupports *ctxt, nsIStreamListener *listener)
nsInputStreamChannel::AsyncRead(nsIStreamListener *listener, nsISupports *ctxt)
{
nsresult rv;
NS_ASSERTION(listener, "no listener");
mRealListener = listener;
if (mLoadGroup) {
@@ -232,18 +240,24 @@ nsInputStreamChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
if (NS_FAILED(rv)) return rv;
rv = fts->CreateTransportFromStream(mInputStream, mContentType, mContentLength,
"load", mBufferSegmentSize, mBufferMaxSize,
getter_AddRefs(mFileTransport));
if (NS_FAILED(rv)) return rv;
if (mBufferSegmentSize > 0) {
rv = mFileTransport->SetBufferSegmentSize(mBufferSegmentSize);
if (NS_FAILED(rv)) return rv;
}
if (mBufferMaxSize > 0) {
rv = mFileTransport->SetBufferMaxSize(mBufferMaxSize);
if (NS_FAILED(rv)) return rv;
}
}
return mFileTransport->AsyncRead(startPosition, readCount, ctxt, this);
return mFileTransport->AsyncRead(this, ctxt);
}
NS_IMETHODIMP
nsInputStreamChannel::AsyncWrite(nsIInputStream *fromStream, PRUint32 startPosition,
PRInt32 writeCount, nsISupports *ctxt,
nsIStreamObserver *observer)
nsInputStreamChannel::AsyncWrite(nsIInputStream *fromStream,
nsIStreamObserver *observer, nsISupports *ctxt)
{
// we don't do output
return NS_ERROR_FAILURE;
@@ -293,6 +307,90 @@ nsInputStreamChannel::GetContentLength(PRInt32 *aContentLength)
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::SetContentLength(PRInt32 aContentLength)
{
NS_NOTREACHED("SetContentLength");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsInputStreamChannel::GetTransferOffset(PRUint32 *aTransferOffset)
{
NS_NOTREACHED("GetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsInputStreamChannel::SetTransferOffset(PRUint32 aTransferOffset)
{
NS_NOTREACHED("SetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsInputStreamChannel::GetTransferCount(PRInt32 *aTransferCount)
{
NS_NOTREACHED("GetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsInputStreamChannel::SetTransferCount(PRInt32 aTransferCount)
{
NS_NOTREACHED("SetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsInputStreamChannel::GetBufferSegmentSize(PRUint32 *aBufferSegmentSize)
{
*aBufferSegmentSize = mBufferSegmentSize;
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::SetBufferSegmentSize(PRUint32 aBufferSegmentSize)
{
mBufferSegmentSize = aBufferSegmentSize;
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::GetBufferMaxSize(PRUint32 *aBufferMaxSize)
{
*aBufferMaxSize = mBufferMaxSize;
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::SetBufferMaxSize(PRUint32 aBufferMaxSize)
{
mBufferMaxSize = aBufferMaxSize;
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::GetShouldCache(PRBool *aShouldCache)
{
*aShouldCache = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::GetPipeliningAllowed(PRBool *aPipeliningAllowed)
{
*aPipeliningAllowed = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::SetPipeliningAllowed(PRBool aPipeliningAllowed)
{
NS_NOTREACHED("SetPipeliningAllowed");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsInputStreamChannel::GetLoadGroup(nsILoadGroup* *aLoadGroup)
{
@@ -338,6 +436,14 @@ nsInputStreamChannel::SetNotificationCallbacks(nsIInterfaceRequestor* aNotificat
return NS_OK;
}
NS_IMETHODIMP
nsInputStreamChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
*aSecurityInfo = nsnull;
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
// nsIStreamListener methods:
////////////////////////////////////////////////////////////////////////////////

View File

@@ -63,6 +63,7 @@ protected:
PRUint32 mBufferSegmentSize;
PRUint32 mBufferMaxSize;
PRUint32 mLoadAttributes;
nsresult mStatus;
};
#endif // nsInputStreamChannel_h__

View File

@@ -75,7 +75,7 @@ nsLoadGroup::~nsLoadGroup()
{
nsresult rv;
rv = Cancel();
rv = Cancel(NS_BINDING_ABORTED);
NS_ASSERTION(NS_SUCCEEDED(rv), "Cancel failed");
NS_IF_RELEASE(mChannels);
@@ -161,9 +161,15 @@ nsLoadGroup::IsPending(PRBool *aResult)
return NS_OK;
}
NS_IMETHODIMP
nsLoadGroup::GetStatus(nsresult *status)
{
*status = NS_OK;
return NS_OK;
}
NS_IMETHODIMP
nsLoadGroup::Cancel()
nsLoadGroup::Cancel(nsresult status)
{
nsresult rv, firstError;
PRUint32 count;
@@ -212,10 +218,10 @@ nsLoadGroup::Cancel()
//
// XXX: What should the context and error message be?
//
(void)RemoveChannel(channel, nsnull, NS_BINDING_ABORTED, nsnull);
(void)RemoveChannel(channel, nsnull, status, nsnull);
// Cancel the channel...
rv = channel->Cancel();
rv = channel->Cancel(status);
// Remember the first failure and return it...
if (NS_FAILED(rv) && NS_SUCCEEDED(firstError)) {
@@ -442,13 +448,14 @@ nsLoadGroup::AddChannel(nsIChannel *channel, nsISupports* ctxt)
// If the notification fails then DO NOT add the channel to
// the load group.
//
if (mObserver) {
nsCOMPtr<nsIStreamObserver> observer (do_QueryReferent(mObserver));
if (observer) {
PR_LOG(gLoadGroupLog, PR_LOG_DEBUG,
("LOADGROUP [%x]: Firing OnStartRequest for channel %x."
"(foreground count=%d).\n",
this, channel, mForegroundCount));
rv = mObserver->OnStartRequest(channel, ctxt);
rv = observer->OnStartRequest(channel, ctxt);
if (NS_FAILED(rv)) {
PR_LOG(gLoadGroupLog, PR_LOG_ERROR,
("LOADGROUP [%x]: OnStartRequest for channel %x FAILED.\n",
@@ -526,13 +533,14 @@ nsLoadGroup::RemoveChannel(nsIChannel *channel, nsISupports* ctxt,
mForegroundCount -= 1;
// Fire the OnStopRequest out to the observer...
if (mObserver) {
nsCOMPtr<nsIStreamObserver> observer (do_QueryReferent(mObserver));
if (observer) {
PR_LOG(gLoadGroupLog, PR_LOG_DEBUG,
("LOADGROUP [%x]: Firing OnStopRequest for channel %x."
"(foreground count=%d).\n",
this, channel, mForegroundCount));
rv = mObserver->OnStopRequest(channel, ctxt, status, errorMsg);
rv = observer->OnStopRequest(channel, ctxt, status, errorMsg);
if (NS_FAILED(rv)) {
PR_LOG(gLoadGroupLog, PR_LOG_ERROR,
("LOADGROUP [%x]: OnStopRequest for channel %x FAILED.\n",
@@ -590,7 +598,8 @@ nsLoadGroup::SetGroupObserver(nsIStreamObserver* aObserver)
eventQueue, aObserver);
}
#else
mObserver = aObserver;
//mObserver = aObserver;
mObserver = getter_AddRefs(NS_GetWeakReference(aObserver));
#endif
return rv;
@@ -600,10 +609,10 @@ nsLoadGroup::SetGroupObserver(nsIStreamObserver* aObserver)
NS_IMETHODIMP
nsLoadGroup::GetGroupObserver(nsIStreamObserver* *aResult)
{
*aResult = mObserver;
NS_IF_ADDREF(*aResult);
return NS_OK;
nsCOMPtr<nsIStreamObserver> observer (do_QueryReferent(mObserver));
*aResult = observer;
NS_IF_ADDREF(*aResult);
return NS_OK;
}

View File

@@ -67,8 +67,8 @@ protected:
nsISupportsArray* mChannels;
//// nsWeakPtr mObserver;
nsCOMPtr<nsIStreamObserver> mObserver;
nsWeakPtr mObserver;
// nsCOMPtr<nsIStreamObserver> mObserver;
nsCOMPtr<nsIChannel> mDefaultLoadChannel;
nsWeakPtr mGroupListenerFactory;

View File

@@ -24,7 +24,7 @@
#include "nsNetModuleMgr.h"
#include "nsNetModRegEntry.h"
#include "nsEnumeratorUtils.h" // for nsArrayEnumerator
#include "nsString2.h"
#include "nsString.h"
#include "nsXPIDLString.h"
#include "nsIEventQueue.h"

View File

@@ -114,7 +114,10 @@ nsNoAuthURLParser::ParseAtHost(const char* i_Spec, char* *o_Host,
PRInt32 *o_Port, char* *o_Path)
{
nsresult rv = NS_OK;
// There is no Host
// There is no Host, but take care of a localhost
if ((nsCRT::strcasecmp(i_Spec,"localhost")==0) ||
(PL_strcasestr(i_Spec,"localhost/")==i_Spec))
return ParseAtPath(i_Spec+9,o_Path);
rv = ParseAtPath(i_Spec, o_Path);
return rv;
}

View File

@@ -159,7 +159,7 @@ nsProtocolProxyService::CanUseProxy(nsIURI* aURI)
char* np= mFilters;
while (*np)
{
while (*np && (*np == ',' || nsString::IsSpace(*np)))
while (*np && (*np == ',' || nsCRT::IsAsciiSpace(*np)))
np++;
char* endproxy = np+1;
@@ -167,7 +167,7 @@ nsProtocolProxyService::CanUseProxy(nsIURI* aURI)
PRInt32 nport = 0; // no proxy port
// find the end of this element.
while (*endproxy && (*endproxy != ',' &&
!nsString::IsSpace(*endproxy)))
!nsCRT::IsAsciiSpace(*endproxy)))
{
if (*endproxy == ':')
portLocation=endproxy;

View File

@@ -80,9 +80,10 @@ nsSimpleURI::GetSpec(char* *result)
nsAutoString string;
// NS_LOCK_INSTANCE();
string.SetString(mScheme);
string.Append(':');
string.Append(mPath);
// STRING USE WARNING: perhaps |string| should be |nsCAutoString|? -- scc
string.AssignWithConversion(mScheme);
string.AppendWithConversion(':');
string.AppendWithConversion(mPath);
// NS_UNLOCK_INSTANCE();
*result = string.ToNewCString();
@@ -92,7 +93,9 @@ nsSimpleURI::GetSpec(char* *result)
NS_IMETHODIMP
nsSimpleURI::SetSpec(const char* aSpec)
{
nsAutoString spec(aSpec);
nsAutoString spec;
spec.AssignWithConversion(aSpec);
PRInt32 pos = spec.Find(":");
if (pos == -1)
return NS_ERROR_FAILURE;

File diff suppressed because it is too large Load Diff

View File

@@ -106,6 +106,12 @@ enum nsSocketReadWriteInfo {
eSocketDNS_Wait = 0x2020
};
//
// This is the default timeout value (in milliseconds) for sockets which have
// no activity...
//
#define DEFAULT_SOCKET_CONNECT_TIMEOUT_IN_MS 35*1000
// Forward declarations...
class nsSocketTransportService;
class nsIInterfaceRequestor;
@@ -137,7 +143,7 @@ public:
nsresult Process(PRInt16 aSelectFlags);
nsresult CheckForTimeout(PRIntervalTime aCurrentTime);
nsresult CheckForTimeout (PRIntervalTime aCurrentTime);
// Close this socket either right away or once done with the transaction.
nsresult CloseConnection(PRBool bNow=PR_TRUE);
@@ -149,8 +155,6 @@ public:
static nsSocketTransport* GetInstance(PRCList* qp) { return (nsSocketTransport*)((char*)qp - offsetof(nsSocketTransport, mListLink)); }
static void SetSocketTimeout(PRIntervalTime aTimeoutInterval);
PRBool CanBeReused(void) { return
(mCurrentState != eSocketState_Error) && !mCloseConnectionOnceDone;}
@@ -167,6 +171,9 @@ protected:
nsresult GetSocketErrorString(PRUint32 iCode, PRUnichar** oString) const;
private:
PRIntervalTime mSocketTimeout;
PRIntervalTime mSocketConnectTimeout;
// Access methods for manipulating the ReadWriteInfo...
inline void SetReadType(nsSocketReadWriteInfo aType) {
mReadWriteState = (mReadWriteState & ~eSocketRead_Type_Mask) | aType;
@@ -193,7 +200,7 @@ private:
protected:
PRBool mCancelOperation;
nsresult mCancelStatus;
PRBool mCloseConnectionOnceDone;
nsSocketState mCurrentState;
nsCOMPtr<nsIRequest> mDNSRequest;
@@ -203,12 +210,13 @@ protected:
PRIntervalTime mLastActiveTime;
PRCList mListLink;
PRUint32 mLoadAttributes;
PRLock* mLock;
PRMonitor* mMonitor;
PRNetAddr mNetAddress;
nsCOMPtr<nsISupports> mOpenContext;
nsCOMPtr<nsIStreamObserver> mOpenObserver;
nsSocketOperation mOperation;
nsCOMPtr<nsISupports> mOwner;
nsCOMPtr<nsISupports> mSecurityInfo;
PRInt32 mPort;
char* mPrintHost; // not the proxy
nsCOMPtr<nsISupports> mReadContext;
@@ -226,7 +234,9 @@ protected:
PRInt32 mSuspendCount;
PRInt32 mWriteCount;
nsCOMPtr<nsISupports> mWriteContext;
PRInt32 mBytesAllowed;
PRInt32 mBytesExpected;
PRUint32 mReuseCount;
PRUint32 mLastReuseCount;
// The following four members are used when AsyncWrite(...) is called
// with an nsIInputStream which does not also support the

View File

@@ -49,8 +49,6 @@ nsSocketTransportService::nsSocketTransportService()
mActiveTransportList = nsnull;
mThreadRunning = PR_FALSE;
SetSocketTimeoutInterval(PR_MillisecondsToInterval(DEFAULT_SOCKET_TIMEOUT_IN_MS));
}
@@ -107,7 +105,8 @@ nsSocketTransportService::Create(nsISupports *aOuter, REFNSIID aIID, void **aRes
return rv;
}
nsresult nsSocketTransportService::Init(void)
NS_IMETHODIMP
nsSocketTransportService::Init(void)
{
nsresult rv = NS_OK;
@@ -226,6 +225,7 @@ nsresult nsSocketTransportService::ProcessWorkQ(void)
// available in the select set...
//
PR_Lock(mThreadLock);
NS_ASSERTION(MAX_OPEN_CONNECTIONS > mSelectFDSetCount, "reached max open connections");
while (!PR_CLIST_IS_EMPTY(&mWorkQ) &&
(MAX_OPEN_CONNECTIONS > mSelectFDSetCount)) {
nsSocketTransport* transport;
@@ -270,6 +270,7 @@ nsresult nsSocketTransportService::AddToSelectList(nsSocketTransport* aTransport
{
nsresult rv = NS_OK;
NS_ASSERTION(MAX_OPEN_CONNECTIONS > mSelectFDSetCount, "reached max open connections");
if (aTransport && (MAX_OPEN_CONNECTIONS > mSelectFDSetCount) ) {
PRPollDesc* pfd;
int i;
@@ -342,24 +343,6 @@ nsresult nsSocketTransportService::RemoveFromSelectList(nsSocketTransport* aTran
}
nsresult
nsSocketTransportService::GetSocketTimeoutInterval(PRIntervalTime* aResult)
{
*aResult = mSocketTimeoutInterval;
return NS_OK;
}
nsresult
nsSocketTransportService::SetSocketTimeoutInterval(PRIntervalTime aTime)
{
mSocketTimeoutInterval = aTime;
// Update the timeout value in the socket transport...
nsSocketTransport::SetSocketTimeout(aTime);
return NS_OK;
}
//
// --------------------------------------------------------------------------
// nsISupports implementation...
@@ -386,7 +369,7 @@ nsSocketTransportService::Run(void)
mSelectFDSet[0].fd = mThreadEvent;
mSelectFDSet[0].in_flags = PR_POLL_READ;
mSelectFDSetCount = 1;
pollTimeout = mSocketTimeoutInterval;
pollTimeout = PR_MillisecondsToInterval (DEFAULT_POLL_TIMEOUT_IN_MS);
#else
//
// For now, rather than breaking out of the call to PR_Poll(...) just set

View File

@@ -38,17 +38,12 @@
#define USE_POLLABLE_EVENT
#endif
//
// This is the default timeout value (in milliseconds) for sockets which have
// no activity...
//
#define DEFAULT_SOCKET_TIMEOUT_IN_MS 35*1000
//
// This is the Maximum number of Socket Transport instances that can be active
// at once...
//
#define MAX_OPEN_CONNECTIONS 50
#define DEFAULT_POLL_TIMEOUT_IN_MS 35*1000
// Forward declarations...
@@ -69,8 +64,6 @@ public:
static NS_METHOD
Create(nsISupports *aOuter, REFNSIID aIID, void **aResult);
nsresult Init(void);
nsresult AddToWorkQ(nsSocketTransport* aTransport);
// XXX: Should these use intervals or Milliseconds?
@@ -91,8 +84,6 @@ protected:
PRLock* mThreadLock;
PRBool mThreadRunning;
PRIntervalTime mSocketTimeoutInterval;
PRCList mWorkQ;
PRInt32 mSelectFDSetCount;

View File

@@ -197,7 +197,8 @@ nsStdURL::AggregatedQueryInterface(const nsIID& aIID, void** aInstancePtr)
*aInstancePtr = GetInner();
else if (aIID.Equals(kThisStdURLImplementationCID) || // used by Equals
aIID.Equals(NS_GET_IID(nsIURL)) ||
aIID.Equals(NS_GET_IID(nsIURI)))
aIID.Equals(NS_GET_IID(nsIURI)) ||
aIID.Equals(NS_GET_IID(nsIFileURL)))
*aInstancePtr = NS_STATIC_CAST(nsIURL*, this);
else {
*aInstancePtr = nsnull;
@@ -218,7 +219,7 @@ nsStdURL::Equals(nsIURI *i_OtherURI, PRBool *o_Equals)
if (NS_FAILED(rv)) return rv;
rv = this->GetSpec(getter_Copies(spec2));
if (NS_FAILED(rv)) return rv;
eq = nsAutoString(spec).Equals(spec2);
eq = nsCAutoString(spec).Equals(spec2);
}
*o_Equals = eq;
return NS_OK;
@@ -457,7 +458,7 @@ nsStdURL::SetDirectory(const char* i_Directory)
if (mDirectory)
nsCRT::free(mDirectory);
nsAutoString dir;
nsCAutoString dir;
if ('/' != *i_Directory)
dir += "/";
@@ -1012,11 +1013,36 @@ nsStdURL::SetFile(nsIFile * aFile)
// set up this URL to denote the nsIFile
SetScheme("file");
CRTFREEIF(mUsername);
CRTFREEIF(mPassword);
CRTFREEIF(mHost);
mPort = -1;
char* ePath = nsnull;
nsCAutoString escPath;
rv = aFile->GetPath(&ePath);
if (NS_SUCCEEDED(rv)) {
rv = SetPath(ePath);
#if defined (XP_PC)
// Replace \ with / to convert to an url
char* s = ePath;
while (*s)
{
if (*s == '\\')
*s = '/';
s++;
}
#endif
#if defined( XP_MAC )
// Swap the / and colons to convert to an url
SwapSlashColon(ePath);
#endif
// Escape the path with the directory mask
rv = nsURLEscape(ePath,nsIIOService::url_Directory+
nsIIOService::url_Forced,escPath);
if (NS_SUCCEEDED(rv)) {
rv = SetPath(escPath.GetBuffer());
}
}
CRTFREEIF(ePath);
return rv;

View File

@@ -25,10 +25,9 @@
#include "nsIURL.h"
#include "nsNetUtil.h"
#include "nsIChannel.h"
#include "nsIServiceManager.h"
#include "nsIIOService.h"
#include "nsProxiedService.h"
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
static NS_DEFINE_CID(kProxyObjectManagerCID, NS_PROXYEVENT_MANAGER_CID);
NS_IMETHODIMP
nsStreamLoader::Init(nsIURI* aURL,
@@ -44,23 +43,24 @@ nsStreamLoader::Init(nsIURI* aURL,
mObserver = observer;
mContext = context;
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIChannel> channel;
rv = serv->NewChannelFromURI("load", aURL, aGroup, notificationCallbacks,
loadAttributes, nsnull,
bufferSegmentSize, bufferMaxSize, getter_AddRefs(channel));
if (NS_FAILED(rv)) return rv;
rv = channel->AsyncRead(0, -1, nsnull, this);
rv = NS_OpenURI(this, nsnull, aURL, nsnull, aGroup, notificationCallbacks,
loadAttributes, bufferSegmentSize, bufferMaxSize);
if (NS_FAILED(rv) && mObserver) {
nsresult rv2 = mObserver->OnStreamComplete(this, mContext, rv,
mData.Length(),
mData.GetBuffer());
if (NS_FAILED(rv2))
rv = rv2; // take the user's error instead
// don't callback synchronously as it puts the caller
// in a recursive situation and breaks the asynchronous
// semantics of nsIStreamLoader
nsresult rv2 = NS_OK;
NS_WITH_SERVICE(nsIProxyObjectManager, pIProxyObjectManager,
kProxyObjectManagerCID, &rv);
if (NS_FAILED(rv2)) return rv2;
nsCOMPtr<nsIStreamLoaderObserver> pObserver;
rv2 = pIProxyObjectManager->GetProxyObject(NS_CURRENT_EVENTQ,
NS_GET_IID(nsIStreamLoaderObserver), observer,
PROXY_ASYNC | PROXY_ALWAYS, getter_AddRefs(pObserver));
if (NS_FAILED(rv2)) return rv2;
rv = pObserver->OnStreamComplete(this, mContext, rv, 0, nsnull);
}
return rv;
@@ -96,6 +96,14 @@ nsStreamLoader::GetNumBytesRead(PRUint32* aNumBytes)
return NS_OK;
}
NS_IMETHODIMP
nsStreamLoader::GetOwner(nsISupports** aOwner)
{
*aOwner = mOwner.get();
NS_IF_ADDREF(*aOwner);
return NS_OK;
}
NS_IMETHODIMP
nsStreamLoader::OnStartRequest(nsIChannel* channel, nsISupports *ctxt)
{
@@ -106,6 +114,7 @@ NS_IMETHODIMP
nsStreamLoader::OnStopRequest(nsIChannel* channel, nsISupports *ctxt,
nsresult status, const PRUnichar *errorMsg)
{
(void)channel->GetOwner(getter_AddRefs(mOwner));
nsresult rv = mObserver->OnStreamComplete(this, mContext, status,
mData.Length(),
mData.GetBuffer());
@@ -123,16 +132,11 @@ nsStreamLoader::OnDataAvailable(nsIChannel* channel, nsISupports *ctxt,
char buffer[BUF_SIZE];
PRUint32 len, lenRead;
inStr->Available(&len);
rv = inStr->Available(&len);
if (NS_FAILED(rv)) return rv;
while (len > 0) {
if (len < BUF_SIZE) {
lenRead = len;
}
else {
lenRead = BUF_SIZE;
}
lenRead = PR_MIN(len, BUF_SIZE);
rv = inStr->Read(buffer, lenRead, &lenRead);
if (NS_FAILED(rv) || lenRead == 0) {
return rv;

View File

@@ -47,6 +47,7 @@ protected:
nsCOMPtr<nsIStreamLoaderObserver> mObserver;
nsCOMPtr<nsISupports> mContext; // the observer's context
nsCString mData;
nsCOMPtr<nsISupports> mOwner;
/// nsCOMPtr<nsILoadGroup> mLoadGroup;
};

View File

@@ -21,16 +21,17 @@
#include "prprf.h"
#include "nsCRT.h"
#include "nsIAllocator.h"
#include "nsIIOService.h"
/* This array tells which chars has to be escaped */
/* This array tells which chars have to be escaped */
const int EscapeChars[256] =
/* 0 1 2 3 4 5 6 7 8 9 A B C D E F */
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 1x */
0,1023, 0, 512, 761, 0,1023, 0,1023,1023,1023,1023,1023,1023, 959,1016, /* 2x !"#$%&'()*+,-./ */
1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1008, 896, 0,1008, 0, 768, /* 3x 0123456789:;<=>? */
0,1023, 0, 512, 761, 0,1023, 0,1023,1023,1023,1023,1023,1023, 959, 912, /* 2x !"#$%&'()*+,-./ */
1023,1023,1023,1023,1023,1023,1023,1023,1023,1023, 912, 896, 0,1008, 0, 768, /* 3x 0123456789:;<=>? */
992,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023, /* 4x @ABCDEFGHIJKLMNO */
1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023, 896, 896, 896, 896,1023, /* 5x PQRSTUVWXYZ[\]^_ */
0,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023,1023, /* 6x `abcdefghijklmno */
@@ -52,6 +53,30 @@ const int EscapeChars[256] =
#define HEX_ESCAPE '%'
/* returns an escaped string */
/* use the following masks to specify which
part of an URL you want to escape:
url_Scheme = 1
url_Username = 2
url_Password = 4
url_Host = 8
url_Directory = 16
url_FileBaseName = 32
url_FileExtension = 64
url_Param = 128
url_Query = 256
url_Ref = 512
*/
/* by default this function will not escape parts of a string
that already look escaped, which means it already includes
a valid hexcode. This is done to avoid multiple escapes of
a string. Use the following mask to force escaping of a
string:
url_Forced = 1024
*/
NS_NET nsresult
nsURLEscape(const char* str, PRInt16 mask, nsCString &result)
{
@@ -64,6 +89,10 @@ nsURLEscape(const char* str, PRInt16 mask, nsCString &result)
char* hexChars = "0123456789ABCDEF";
static const char CheckHexChars[] = "0123456789ABCDEFabcdef";
int len = PL_strlen(str);
PRBool forced = PR_FALSE;
if (mask & nsIIOService::url_Forced)
forced = PR_TRUE;
register const unsigned char* src = (const unsigned char *) str;
@@ -88,7 +117,7 @@ nsURLEscape(const char* str, PRInt16 mask, nsCString &result)
/* if the char has not to be escaped or whatever follows % is
a valid escaped string, just copy the char */
if (IS_OK(c) || (c == HEX_ESCAPE && (pc1) && (pc2) &&
if (IS_OK(c) || (c == HEX_ESCAPE && !(forced) && (pc1) && (pc2) &&
PL_strpbrk(pc1, CheckHexChars) != 0 &&
PL_strpbrk(pc2, CheckHexChars) != 0)) {
tempBuffer[tempBufferPos++]=c;

View File

@@ -30,6 +30,30 @@ extern "C" {
#endif
/* encode characters into % escaped hexcodes */
/* use the following masks to specify which
part of an URL you want to escape:
url_Scheme = 1
url_Username = 2
url_Password = 4
url_Host = 8
url_Directory = 16
url_FileBaseName = 32
url_FileExtension = 64
url_Param = 128
url_Query = 256
url_Ref = 512
*/
/* by default this function will not escape parts of a string
that already look escaped, which means it already includes
a valid hexcode. This is done to avoid multiple escapes of
a string. Use the following mask to force escaping of a
string:
url_Forced = 1024
*/
NS_NET nsresult nsURLEscape (const char* str, PRInt16 mask, nsCString &result);
/* helper call function */
@@ -58,4 +82,3 @@ NS_NET void ToLowerCase(char* str);
#endif
#endif

View File

@@ -105,13 +105,13 @@ static nsModuleComponentInfo gNetModuleInfo[] = {
NS_LOADGROUP_CID,
"component://netscape/network/load-group",
nsLoadGroup::Create },
{ NS_FILEINPUTSTREAM_CLASSNAME,
NS_FILEINPUTSTREAM_CID,
NS_FILEINPUTSTREAM_PROGID,
{ NS_LOCALFILEINPUTSTREAM_CLASSNAME,
NS_LOCALFILEINPUTSTREAM_CID,
NS_LOCALFILEINPUTSTREAM_PROGID,
nsFileInputStream::Create },
{ NS_FILEOUTPUTSTREAM_CLASSNAME,
NS_FILEOUTPUTSTREAM_CID,
NS_FILEOUTPUTSTREAM_PROGID,
{ NS_LOCALFILEOUTPUTSTREAM_CLASSNAME,
NS_LOCALFILEOUTPUTSTREAM_CID,
NS_LOCALFILEOUTPUTSTREAM_PROGID,
nsFileOutputStream::Create },
{ "StdURLParser",
NS_STANDARDURLPARSER_CID,

View File

@@ -24,16 +24,17 @@ include $(DEPTH)/config/autoconf.mk
MODULE = nkcache
LIBRARY_NAME = necko_cache
SHORT_LIBNAME = nkcache
IS_COMPONENT = 1
CPPSRCS = nsNetDataCacheModule.cpp
SHARED_LIBRARY_LIBS = \
$(DIST)/lib/libnkcachemgr_s.a \
$(DIST)/lib/libnkfilecache_s.a \
$(DIST)/lib/libnkmemcache_s.a \
$(DIST)/lib/libmozdbm_s.a \
$(DIST)/lib/libxpcomio_s.a \
$(DIST)/lib/libnkcachemgr_s.$(LIB_SUFFIX) \
$(DIST)/lib/libnkfilecache_s.$(LIB_SUFFIX) \
$(DIST)/lib/libnkmemcache_s.$(LIB_SUFFIX) \
$(DIST)/lib/libmozdbm_s.$(LIB_SUFFIX) \
$(DIST)/lib/libxpcomio_s.$(LIB_SUFFIX) \
$(NULL)
LOCAL_INCLUDES = \

View File

@@ -34,6 +34,7 @@
#include "netCore.h"
#include "nsIMIMEService.h"
#include "nsISupportsUtils.h"
#include "prio.h"
//static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
static NS_DEFINE_CID(kFileTransportServiceCID, NS_FILETRANSPORTSERVICE_CID);
@@ -45,12 +46,12 @@ class WriteStreamWrapper : public nsIOutputStream
{
public:
WriteStreamWrapper(nsDiskCacheRecordChannel* aChannel,
nsIOutputStream *aBaseStream) ;
nsIOutputStream *aBaseStream);
virtual ~WriteStreamWrapper() ;
virtual ~WriteStreamWrapper();
static nsresult
Create(nsDiskCacheRecordChannel* aChannel, nsIOutputStream *aBaseStream, nsIOutputStream* *aWrapper) ;
Create(nsDiskCacheRecordChannel* aChannel, nsIOutputStream *aBaseStream, nsIOutputStream* *aWrapper);
NS_DECL_ISUPPORTS
NS_DECL_NSIBASESTREAM
@@ -59,7 +60,7 @@ class WriteStreamWrapper : public nsIOutputStream
private:
nsDiskCacheRecordChannel* mChannel;
nsCOMPtr<nsIOutputStream> mBaseStream;
} ;
};
// implement nsISupports
NS_IMPL_ISUPPORTS(WriteStreamWrapper, NS_GET_IID(nsIOutputStream))
@@ -110,17 +111,18 @@ WriteStreamWrapper::Close()
nsDiskCacheRecordChannel::nsDiskCacheRecordChannel(nsDiskCacheRecord *aRecord,
nsILoadGroup *aLoadGroup)
: mRecord(aRecord) ,
mLoadGroup(aLoadGroup)
: mRecord(aRecord),
mLoadGroup(aLoadGroup),
mStatus(NS_OK)
{
NS_INIT_REFCNT() ;
NS_INIT_REFCNT();
NS_ADDREF(mRecord);
mRecord->mNumChannels++ ;
mRecord->mNumChannels++;
}
nsDiskCacheRecordChannel::~nsDiskCacheRecordChannel()
{
mRecord->mNumChannels-- ;
mRecord->mNumChannels--;
NS_RELEASE(mRecord);
}
@@ -161,13 +163,12 @@ nsDiskCacheRecordChannel::Init(void)
#endif
#endif
return rv ;
}
nsresult
nsDiskCacheRecordChannel::NotifyStorageInUse(PRInt32 aBytesUsed)
{
return mRecord->mDiskCache->mStorageInUse += aBytesUsed ;
return mRecord->mDiskCache->mStorageInUse += aBytesUsed;
}
// implement nsISupports
@@ -181,38 +182,46 @@ NS_IMPL_ISUPPORTS4(nsDiskCacheRecordChannel,
NS_IMETHODIMP
nsDiskCacheRecordChannel::IsPending(PRBool *aIsPending)
{
*aIsPending = PR_FALSE ;
*aIsPending = PR_FALSE;
if(!mFileTransport)
return NS_OK ;
return NS_OK;
return mFileTransport->IsPending(aIsPending) ;
return mFileTransport->IsPending(aIsPending);
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::Cancel(void)
nsDiskCacheRecordChannel::GetStatus(nsresult *status)
{
if(!mFileTransport)
return NS_ERROR_FAILURE ;
*status = mStatus;
return NS_OK;
}
return mFileTransport->Cancel() ;
NS_IMETHODIMP
nsDiskCacheRecordChannel::Cancel(nsresult status)
{
mStatus = status;
if(!mFileTransport)
return NS_ERROR_FAILURE;
return mFileTransport->Cancel(status);
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::Suspend(void)
{
if(!mFileTransport)
return NS_ERROR_FAILURE ;
return NS_ERROR_FAILURE;
return mFileTransport->Suspend() ;
return mFileTransport->Suspend();
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::Resume(void)
{
if(!mFileTransport)
return NS_ERROR_FAILURE ;
return NS_ERROR_FAILURE;
return mFileTransport->Resume() ;
return mFileTransport->Resume();
}
// implement nsIChannel
@@ -221,92 +230,107 @@ NS_IMETHODIMP
nsDiskCacheRecordChannel::GetOriginalURI(nsIURI* *aURI)
{
// FUR - might need to implement this - not sure
NS_NOTREACHED("nsDiskCacheRecordChannel::GetOriginalURI");
return NS_ERROR_NOT_IMPLEMENTED ;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetURI(nsIURI * *aURI)
nsDiskCacheRecordChannel::SetOriginalURI(nsIURI* aURI)
{
// FUR - might need to implement this - not sure
NS_NOTREACHED("nsDiskCacheRecordChannel::SetOriginalURI");
return NS_ERROR_NOT_IMPLEMENTED ;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetURI(nsIURI* *aURI)
{
if(!mFileTransport)
return NS_ERROR_FAILURE ;
return NS_ERROR_FAILURE;
return mFileTransport->GetURI(aURI) ;
return mFileTransport->GetURI(aURI);
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::OpenInputStream(PRUint32 aStartPosition,
PRInt32 aReadCount,
nsIInputStream* *aResult)
nsDiskCacheRecordChannel::SetURI(nsIURI* aURI)
{
nsresult rv ;
if(!mFileTransport)
return NS_ERROR_FAILURE;
return mFileTransport->SetURI(aURI);
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::OpenInputStream(nsIInputStream* *aResult)
{
nsresult rv;
if(mFileTransport)
return NS_ERROR_IN_PROGRESS ;
return NS_ERROR_IN_PROGRESS;
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv) ;
if(NS_FAILED(rv)) return rv ;
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv);
if(NS_FAILED(rv)) return rv;
// Made second parameter 0 since I really don't know what it is used for
rv = fts->CreateTransport(mSpec,0, "load", 0, 0, getter_AddRefs(mFileTransport)) ;
rv = fts->CreateTransport(mSpec, PR_RDONLY, PR_IRWXU,
getter_AddRefs(mFileTransport));
if(NS_FAILED(rv))
return rv ;
return rv;
// we don't need to worry about notification callbacks
rv = mFileTransport->OpenInputStream(aStartPosition, aReadCount, aResult) ;
rv = mFileTransport->OpenInputStream(aResult);
if(NS_FAILED(rv))
mFileTransport = nsnull ;
mFileTransport = nsnull;
return rv ;
return rv;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::OpenOutputStream(PRUint32 startPosition,
nsIOutputStream* *aResult)
nsDiskCacheRecordChannel::OpenOutputStream(nsIOutputStream* *aResult)
{
nsresult rv ;
NS_ENSURE_ARG(aResult) ;
nsresult rv;
NS_ENSURE_ARG(aResult);
if(mFileTransport)
return NS_ERROR_IN_PROGRESS ;
return NS_ERROR_IN_PROGRESS;
nsCOMPtr<nsIOutputStream> outputStream ;
nsCOMPtr<nsIOutputStream> outputStream;
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv) ;
if(NS_FAILED(rv)) return rv ;
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv);
if(NS_FAILED(rv)) return rv;
// Made second parameter 0 since I really don't know what it is used for
rv = fts->CreateTransport(mSpec,0, "load", 0, 0, getter_AddRefs(mFileTransport)) ;
rv = fts->CreateTransport(mSpec, PR_WRONLY | PR_CREATE_FILE, PR_IRWXU,
getter_AddRefs(mFileTransport));
if(NS_FAILED(rv))
return rv ;
return rv;
// we don't need to worry about notification callbacks
rv = mFileTransport->OpenOutputStream(startPosition, getter_AddRefs(outputStream)) ;
rv = mFileTransport->OpenOutputStream(getter_AddRefs(outputStream));
if(NS_FAILED(rv)) {
mFileTransport = nsnull ;
return rv ;
mFileTransport = nsnull;
return rv;
}
return WriteStreamWrapper::Create(this, outputStream, aResult) ;
return WriteStreamWrapper::Create(this, outputStream, aResult);
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::AsyncOpen(nsIStreamObserver *observer,
nsISupports *ctxt)
{
return NS_ERROR_NOT_IMPLEMENTED ;
NS_NOTREACHED("nsDiskCacheRecordChannel::AsyncOpen");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::AsyncRead(PRUint32 aStartPosition,
PRInt32 aReadCount,
nsISupports *aContext,
nsIStreamListener *aListener)
nsDiskCacheRecordChannel::AsyncRead(nsIStreamListener *aListener,
nsISupports *aContext)
{
nsresult rv ;
nsresult rv;
if(mFileTransport)
return NS_ERROR_IN_PROGRESS ;
return NS_ERROR_IN_PROGRESS;
mRealListener = aListener;
nsCOMPtr<nsIStreamListener> tempListener = this;
@@ -334,15 +358,13 @@ nsDiskCacheRecordChannel::AsyncRead(PRUint32 aStartPosition,
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
// Made second parameter 0 since I really don't know what it is used for
rv = fts->CreateTransport(mSpec,0, "load", 0, 0, getter_AddRefs(mFileTransport));
rv = fts->CreateTransport(mSpec, PR_RDONLY, PR_IRWXU,
getter_AddRefs(mFileTransport));
if (NS_FAILED(rv)) return rv;
// no callbacks
rv = mFileTransport->AsyncRead(aStartPosition,
aReadCount,
aContext,
tempListener);
rv = mFileTransport->AsyncRead(tempListener, aContext);
if (NS_FAILED(rv)) {
// release the transport so that we don't think we're in progress
@@ -353,25 +375,24 @@ nsDiskCacheRecordChannel::AsyncRead(PRUint32 aStartPosition,
NS_IMETHODIMP
nsDiskCacheRecordChannel::AsyncWrite(nsIInputStream *fromStream,
PRUint32 startPosition,
PRInt32 writeCount,
nsISupports *ctxt,
nsIStreamObserver *observer)
nsIStreamObserver *observer,
nsISupports *ctxt)
{
/*
if(!mFileTransport)
return NS_ERROR_FAILURE ;
return NS_ERROR_FAILURE;
return mFileTransport->AsyncWrite(fromStream,
startPosition,
writeCount,
ctxt,
observer) ;
observer);
*/
// I can't do this since the write is not monitored, and I won't be
// able to updata the storage.
NS_NOTREACHED("nsDiskCacheRecordChannel::AsyncWrite");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -379,7 +400,7 @@ NS_IMETHODIMP
nsDiskCacheRecordChannel::GetLoadAttributes(nsLoadFlags *aLoadAttributes)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsDiskCacheRecordChannel method unexpectedly called");
NS_NOTREACHED("nsDiskCacheRecordChannel::GetLoadAttributes");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -387,23 +408,22 @@ NS_IMETHODIMP
nsDiskCacheRecordChannel::SetLoadAttributes(nsLoadFlags aLoadAttributes)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsDiskCacheRecordChannel method unexpectedly called");
NS_NOTREACHED("nsDiskCacheRecordChannel::SetLoadAttributes");
return NS_ERROR_NOT_IMPLEMENTED;
}
#define DUMMY_TYPE "text/html"
#define DUMMY_TYPE "application/x-unknown-content-type"
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetContentType(char * *aContentType)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsDiskCacheRecordChannel method unexpectedly called");
NS_NOTREACHED("nsDiskCacheRecordChannel::GetContentType");
return NS_ERROR_NOT_IMPLEMENTED;
// This was the pre nsIFile stuff. Not sure if I have to implement this routines since
// the memory cache doesn't
#if 0
nsresult rv ;
nsresult rv;
PRBool isDirectory;
if ( NS_SUCCEEDED(mSpec->IsDirectory(&isDirectory)) && isDirectory) {
*aContentType = nsCRT::strdup("application/http-index-format");
@@ -413,8 +433,8 @@ nsDiskCacheRecordChannel::GetContentType(char * *aContentType)
// I wish I can make this simplier
char* urlStr ;
mRecord->mFile->GetURLString(&urlStr) ;
char* urlStr;
mRecord->mFile->GetURLString(&urlStr);
// file: URLs (currently) have no additional structure beyond that provided by standard
// URLs, so there is no "outer" given to CreateInstance
@@ -423,7 +443,7 @@ nsDiskCacheRecordChannel::GetContentType(char * *aContentType)
rv = nsComponentManager::CreateInstance(kStandardURLCID, nsnull,
NS_GET_IID(nsIURI),
//(void**)&url);
getter_AddRefs(url)) ;
getter_AddRefs(url));
if (NS_FAILED(rv)) return rv;
rv = url->SetSpec((char*)urlStr);
@@ -438,20 +458,19 @@ nsDiskCacheRecordChannel::GetContentType(char * *aContentType)
}
// if all else fails treat it as text/html?
*aContentType = nsCRT::strdup(DUMMY_TYPE);
if (!*aContentType) {
return NS_ERROR_OUT_OF_MEMORY;
} else {
return NS_OK;
}
#endif
#endif
}
NS_IMETHODIMP nsDiskCacheRecordChannel::SetContentType(const char * aContentType)
{
return NS_ERROR_NOT_IMPLEMENTED;
NS_NOTREACHED("nsDiskCacheRecordChannel::SetContentType");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
@@ -461,7 +480,7 @@ nsDiskCacheRecordChannel::GetContentLength(PRInt32 *aContentLength)
PRUint32 length;
PRInt64 fileSize;
rv = mRecord->mFile->GetFileSize( &fileSize) ;
rv = mRecord->mFile->GetFileSize( &fileSize);
LL_L2UI( length, fileSize );
@@ -473,19 +492,107 @@ nsDiskCacheRecordChannel::GetContentLength(PRInt32 *aContentLength)
return rv;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::SetContentLength(PRInt32 aContentLength)
{
NS_NOTREACHED("nsDiskCacheRecordChannel::SetContentLength");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetTransferOffset(PRUint32 *aTransferOffset)
{
nsresult rv = NS_ERROR_FAILURE;
if ( mFileTransport )
rv = mFileTransport->GetTransferOffset( aTransferOffset );
return rv;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::SetTransferOffset(PRUint32 aTransferOffset)
{
nsresult rv = NS_OK;
if ( mFileTransport )
rv = mFileTransport->SetTransferOffset( aTransferOffset );
return rv;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetTransferCount(PRInt32 *aTransferCount)
{
NS_NOTREACHED("nsDiskCacheRecordChannel::GetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::SetTransferCount(PRInt32 aTransferCount)
{
NS_NOTREACHED("nsDiskCacheRecordChannel::SetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetBufferSegmentSize(PRUint32 *aBufferSegmentSize)
{
NS_NOTREACHED("nsDiskCacheRecordChannel::GetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::SetBufferSegmentSize(PRUint32 aBufferSegmentSize)
{
NS_NOTREACHED("nsDiskCacheRecordChannel::SetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetBufferMaxSize(PRUint32 *aBufferMaxSize)
{
NS_NOTREACHED("nsDiskCacheRecordChannel::GetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::SetBufferMaxSize(PRUint32 aBufferMaxSize)
{
NS_NOTREACHED("nsDiskCacheRecordChannel::SetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetShouldCache(PRBool *aShouldCache)
{
*aShouldCache = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetPipeliningAllowed(PRBool *aPipeliningAllowed)
{
*aPipeliningAllowed = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::SetPipeliningAllowed(PRBool aPipeliningAllowed)
{
NS_NOTREACHED("SetPipeliningAllowed");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetOwner(nsISupports* *aOwner)
{
*aOwner = mOwner.get() ;
NS_IF_ADDREF(*aOwner) ;
return NS_OK ;
*aOwner = mOwner.get();
NS_IF_ADDREF(*aOwner);
return NS_OK;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::SetOwner(nsISupports* aOwner)
{
mOwner = aOwner ;
return NS_OK ;
mOwner = aOwner;
return NS_OK;
}
NS_IMETHODIMP
@@ -493,7 +600,7 @@ nsDiskCacheRecordChannel::GetLoadGroup(nsILoadGroup* *aLoadGroup)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsDiskCacheRecordChannel method unexpectedly called");
return NS_OK ;
return NS_OK;
}
NS_IMETHODIMP
@@ -508,7 +615,7 @@ NS_IMETHODIMP
nsDiskCacheRecordChannel::GetNotificationCallbacks(nsIInterfaceRequestor* *aNotificationCallbacks)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsDiskCacheRecordChannel method unexpectedly called");
NS_NOTREACHED("nsDiskCacheRecordChannel::GetNotificationCallbacks");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -516,8 +623,15 @@ NS_IMETHODIMP
nsDiskCacheRecordChannel::SetNotificationCallbacks(nsIInterfaceRequestor* aNotificationCallbacks)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsDiskCacheRecordChannel method unexpectedly called");
return NS_ERROR_NOT_IMPLEMENTED;
NS_NOTREACHED("nsDiskCacheRecordChannel::SetNotificationCallbacks");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDiskCacheRecordChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
*aSecurityInfo = nsnull;
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
@@ -567,7 +681,7 @@ nsDiskCacheRecordChannel::OnDataAvailable(nsIChannel* transportChannel, nsISuppo
// for the consumer to empty the pipe...
//
if (NS_FAILED(rv)) {
mFileTransport->Cancel();
mFileTransport->Cancel(rv);
}
return rv;
}

View File

@@ -66,8 +66,9 @@ class nsDiskCacheRecordChannel : public nsIChannel,
nsCOMPtr<nsILoadGroup> mLoadGroup ;
nsCOMPtr<nsISupports> mOwner ;
nsCOMPtr<nsIChannel> mFileTransport ;
nsCOMPtr< nsIFile > mSpec ;
nsCOMPtr< nsIFile > mSpec ;
nsCOMPtr<nsIStreamListener> mRealListener;
nsresult mStatus;
friend class WriteStreamWrapper ;
} ;

View File

@@ -72,74 +72,6 @@ static const char * const DISK_CACHE_SIZE_PREF = "browser.cache.disk_cache_size
static const char * const CACHE_DIR_PREF = "browser.cache.directory";
static const char * const CACHE_ENABLE_PREF = "browser.cache.disk.enable";
class nsDiskCacheRecord ;
nsNetDiskCache::nsNetDiskCache() :
mEnabled(PR_FALSE) ,
mNumEntries(0) ,
mpNextCache(0) ,
mDiskCacheFolder(0) ,
mStorageInUse(0) ,
mDB(0) ,
mDBCorrupted(PR_FALSE)
{
// set it to INF for now
mMaxEntries = (PRUint32)-1 ;
NS_INIT_REFCNT();
}
nsNetDiskCache::~nsNetDiskCache()
{
SetSizeEntry() ;
NS_IF_RELEASE(mDB) ;
// FUR
// I think that, eventually, we also want a distinguished key in the DB which
// means "clean cache shutdown". You clear this flag when the db is first
// opened and set it just before the db is closed. If the db wasn't shutdown
// cleanly in a prior session, i.e. because the app crashed, on startup you
// scan all the individual files in directories and look for "orphans",
// i.e. cache files which don't have corresponding entries in the db. That's
// also when storage-in-use and number of entries would be recomputed.
//
// We don't necessarily need all this functionality immediately, though.
if(mDBCorrupted) {
nsCOMPtr<nsISimpleEnumerator> directoryEnumerator;
nsresult rv = mDiskCacheFolder->GetDirectoryEntries( getter_AddRefs( directoryEnumerator) ) ;
if ( NS_FAILED ( rv ) )
return;
nsCString trash("trash") ;
nsCOMPtr<nsIFile> file;
PRBool hasMore;
while( NS_SUCCEEDED(directoryEnumerator->HasMoreElements( &hasMore ) ) && hasMore)
{
nsresult rv = directoryEnumerator->GetNext( getter_AddRefs(file) );
if ( NS_FAILED( rv ) )
return ;
char* filename;
rv = file->GetLeafName( &filename );
if ( NS_FAILED( rv ) )
return;
if( trash.Compare( filename, PR_FALSE, 5 ) == 0)
file->Delete( PR_TRUE );
nsCRT::free(filename) ;
}
}
}
static int folderChanged(const char *pref, void *closure)
{
@@ -159,8 +91,11 @@ static int folderChanged(const char *pref, void *closure)
// be in a world of hurt.
nsCOMPtr<nsILocalFile> cacheFolder;
char* path;
folder->GetNativePath(& path );
char* path = NULL;
rv = folder->GetNativePath(& path );
if ( NS_FAILED ( rv ) )
return rv;
rv = NS_NewLocalFile( path, getter_AddRefs(cacheFolder));
nsAllocator::Free( path );
@@ -182,6 +117,82 @@ static int enableChanged(const char *pref, void *closure)
return ( (nsNetDiskCache*)closure )->SetEnabled( enabled );
}
class nsDiskCacheRecord ;
nsNetDiskCache::nsNetDiskCache() :
mEnabled(PR_FALSE) ,
mNumEntries(0) ,
mpNextCache(0) ,
mDiskCacheFolder(0) ,
mStorageInUse(0) ,
mDB(0) ,
mDBCorrupted(PR_FALSE)
{
// set it to INF for now
mMaxEntries = (PRUint32)-1 ;
NS_INIT_REFCNT();
}
nsNetDiskCache::~nsNetDiskCache()
{
if ( mDB )
SetSizeEntry();
NS_IF_RELEASE(mDB) ;
nsresult rv;
NS_WITH_SERVICE(nsIPref, prefs, NS_PREF_PROGID, &rv);
if ( NS_SUCCEEDED (rv ) )
{
prefs->UnregisterCallback( CACHE_DIR_PREF, folderChanged, this );
prefs->UnregisterCallback( CACHE_ENABLE_PREF, enableChanged, this );
}
// FUR
// I think that, eventually, we also want a distinguished key in the DB which
// means "clean cache shutdown". You clear this flag when the db is first
// opened and set it just before the db is closed. If the db wasn't shutdown
// cleanly in a prior session, i.e. because the app crashed, on startup you
// scan all the individual files in directories and look for "orphans",
// i.e. cache files which don't have corresponding entries in the db. That's
// also when storage-in-use and number of entries would be recomputed.
//
// We don't necessarily need all this functionality immediately, though.
if(mDBCorrupted) {
nsCOMPtr<nsISimpleEnumerator> directoryEnumerator;
nsresult res = mDiskCacheFolder->GetDirectoryEntries( getter_AddRefs( directoryEnumerator) ) ;
if ( NS_FAILED ( res ) )
return;
nsCString trash("trash") ;
nsCOMPtr<nsIFile> file;
PRBool hasMore;
while( NS_SUCCEEDED(directoryEnumerator->HasMoreElements( &hasMore ) ) && hasMore)
{
nsresult rv = directoryEnumerator->GetNext( getter_AddRefs(file) );
if ( NS_FAILED( rv ) )
return ;
char* filename;
rv = file->GetLeafName( &filename );
if ( NS_FAILED( rv ) )
return;
if( trash.CompareWithConversion( filename, PR_FALSE, 5 ) == 0)
file->Delete( PR_TRUE );
nsCRT::free(filename) ;
}
}
}
nsresult nsNetDiskCache::InitPrefs()
{
nsresult rv;
@@ -245,17 +256,10 @@ NS_IMETHODIMP nsNetDiskCache::InitCacheFolder()
NS_IMETHODIMP
nsNetDiskCache::Init(void)
{
// Couldn't find a meaningful pref value for the cache location so create one in the users profile
InitPrefs();
nsresult rv =InitPrefs();
/// Couldn't find a meaningful pref value for the cache location so create one in the users profile
if (!mDiskCacheFolder.get() )
{
nsresult rv ;
{
nsCOMPtr<nsIFileSpec> cacheSubDir;
rv = NS_NewFileSpec(getter_AddRefs(cacheSubDir));
if(NS_FAILED(rv))
@@ -279,12 +283,19 @@ nsNetDiskCache::Init(void)
cacheSubDir->GetNativePath(& path );
rv = NS_NewLocalFile( path, getter_AddRefs(cacheFolder));
nsAllocator::Free( path );
PRBool exists;
if ( NS_SUCCEEDED( cacheFolder->Exists(&exists ) ) && !exists)
{
rv = cacheFolder->Create( nsIFile::DIRECTORY_TYPE, PR_IRWXU );
if ( NS_FAILED( rv ) )
return rv;
}
mDiskCacheFolder = cacheFolder;
rv =InitCacheFolder();
}
return InitCacheFolder();
return rv;
}
NS_IMETHODIMP
@@ -301,7 +312,7 @@ nsNetDiskCache::InitDB(void)
PRBool exists;
if ( NS_SUCCEEDED( mDBFile->Exists(&exists ) ) && !exists)
{
mDBFile->Create( nsIFile::NORMAL_FILE_TYPE, 0 );
mDBFile->Create( nsIFile::NORMAL_FILE_TYPE, PR_IRWXU );
}
#endif
rv = mDB->Init(mDBFile) ;
@@ -324,7 +335,9 @@ NS_IMPL_ISUPPORTS3(nsNetDiskCache,
NS_IMETHODIMP
nsNetDiskCache::GetDescription(PRUnichar* *aDescription)
{
nsAutoString description("Disk Cache") ;
nsAutoString description ;
description.AssignWithConversion("Disk Cache") ;
*aDescription = description.ToNewUnicode() ;
if(!*aDescription)
return NS_ERROR_OUT_OF_MEMORY ;
@@ -571,9 +584,9 @@ nsNetDiskCache::RemoveAll(void)
// Delete all the files in the cache directory
// Could I just delete the cache folder????? --DJM
nsCOMPtr<nsISimpleEnumerator> directoryEnumerator;
nsresult rv = mDiskCacheFolder->GetDirectoryEntries( getter_AddRefs( directoryEnumerator) ) ;
if ( NS_FAILED ( rv ) )
return rv;
nsresult res = mDiskCacheFolder->GetDirectoryEntries( getter_AddRefs( directoryEnumerator) ) ;
if ( NS_FAILED ( res ) )
return res;
nsCOMPtr<nsIFile> file;
@@ -588,7 +601,8 @@ nsNetDiskCache::RemoveAll(void)
file->Delete( PR_TRUE );
}
if ( mDBFile )
mDBFile->Delete(PR_FALSE) ;
// reinitilize
return InitCacheFolder() ;
}
@@ -657,7 +671,7 @@ nsNetDiskCache::CreateDir(nsIFile* dir_spec)
return rv;
}
rv = dir_spec->Create( nsIFile::DIRECTORY_TYPE, 0) ;
rv = dir_spec->Create( nsIFile::DIRECTORY_TYPE, PR_IRWXU) ;
return rv ;
}
@@ -755,8 +769,11 @@ nsNetDiskCache::DBRecovery(void)
// reinitilize DB
return InitDB() ;
}
// this routine will add string "trash" to current CacheSubDir names.
// e.g. 00->trash00, 1f->trash1f. and update the mDBCorrupted.

View File

@@ -34,7 +34,6 @@
#include "nsINetDataDiskCache.h"
#include "nsNetDiskCacheCID.h"
#include "nsCOMPtr.h"
#include "nsIPref.h"
#include "nsDBAccessor.h"
class nsIURI; /* forward decl */

View File

@@ -36,7 +36,7 @@ endif
LIBS = \
-lmozjs \
-lxpcom \
$(XPCOM_LIBS) \
-lmozdbm_s \
$(MOZ_NECKO_UTIL_LIBS) \
$(LOST_SYM_LIBS) \

View File

@@ -71,7 +71,9 @@ NS_IMPL_ISUPPORTS(nsMemCache, NS_GET_IID(nsINetDataCache))
NS_IMETHODIMP
nsMemCache::GetDescription(PRUnichar * *aDescription)
{
nsAutoString description("Memory Cache");
nsAutoString description;
description.AssignWithConversion("Memory Cache");
*aDescription = description.ToNewUnicode();
if (!*aDescription)
return NS_ERROR_OUT_OF_MEMORY;

View File

@@ -52,7 +52,7 @@ class AsyncReadStreamAdaptor : public nsIInputStream,
public:
AsyncReadStreamAdaptor(nsMemCacheChannel* aChannel, nsIInputStream *aSyncStream):
mSyncStream(aSyncStream), mDataAvailCursor(0),
mRemaining(0), mAvailable(0), mChannel(aChannel), mAborted(PR_FALSE), mSuspended(PR_FALSE)
mRemaining(-1), mAvailable(0), mChannel(aChannel), mAbortStatus(NS_OK), mSuspended(PR_FALSE)
{
NS_INIT_REFCNT();
NS_ADDREF(mChannel);
@@ -67,15 +67,15 @@ public:
nsresult
IsPending(PRBool* aIsPending) {
*aIsPending = (mRemaining != 0) && !mAborted;
*aIsPending = (mRemaining != 0) && NS_SUCCEEDED(mAbortStatus);
return NS_OK;
}
nsresult
Cancel(void) {
if (!mAborted) {
mAborted = PR_TRUE;
return mEventQueueStreamListener->OnStopRequest(mChannel, mContext, NS_BINDING_ABORTED, nsnull);
Cancel(nsresult status) {
if (NS_SUCCEEDED(mAbortStatus)) {
mAbortStatus = status;
return mEventQueueStreamListener->OnStopRequest(mChannel, mContext, status, nsnull);
} else {
// Cancel has already been called... Do not fire another OnStopRequest!
return NS_OK;
@@ -108,10 +108,10 @@ public:
rv = mDownstreamListener->OnDataAvailable(mChannel, aContext, inStr, sourceOffset, count);
if (NS_FAILED(rv)) {
Cancel();
Cancel(rv);
return rv;
}
if (!mSuspended && !mAborted) {
if (!mSuspended && NS_SUCCEEDED(mAbortStatus)) {
rv = NextListenerEvent();
if (NS_FAILED(rv)) {
Fail();
@@ -132,7 +132,7 @@ public:
}
if (NS_FAILED(rv))
Cancel();
Cancel(rv);
return rv;
}
@@ -160,8 +160,8 @@ public:
NS_IMETHOD
Read(char* aBuf, PRUint32 aCount, PRUint32 *aBytesRead) {
if (mAborted)
return NS_ERROR_ABORT;
if (NS_FAILED(mAbortStatus))
return NS_BASE_STREAM_CLOSED;
*aBytesRead = 0;
aCount = PR_MIN(aCount, mAvailable);
@@ -186,16 +186,26 @@ public:
return rv;
}
NS_IMETHOD
GetTransferCount(nsLoadFlags *aTransferCount) {
*aTransferCount = mRemaining;
return NS_OK;
}
NS_IMETHOD
SetTransferCount(nsLoadFlags aTransferCount) {
mRemaining = aTransferCount;
return NS_OK;
}
nsresult
AsyncRead(PRUint32 aStartPosition, PRInt32 aReadCount,
nsISupports* aContext, nsIStreamListener* aListener) {
AsyncRead(nsIStreamListener* aListener, nsISupports* aContext) {
nsresult rv;
nsIEventQueue *eventQ;
mContext = aContext;
mDownstreamListener = aListener;
mRemaining = aReadCount;
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
@@ -206,8 +216,8 @@ public:
rv = eventQService->GetThreadEventQueue(PR_CurrentThread(), &eventQ);
if (NS_FAILED(rv)) return rv;
rv = NS_NewAsyncStreamListener(NS_STATIC_CAST(nsIStreamListener*, this), eventQ,
getter_AddRefs(mEventQueueStreamListener));
rv = NS_NewAsyncStreamListener(getter_AddRefs(mEventQueueStreamListener),
NS_STATIC_CAST(nsIStreamListener*, this), eventQ);
NS_RELEASE(eventQ);
if (NS_FAILED(rv)) return rv;
@@ -221,7 +231,7 @@ protected:
nsresult
Fail(void) {
mAborted = PR_TRUE;
mAbortStatus = NS_BINDING_ABORTED;
return mEventQueueStreamListener->OnStopRequest(mChannel, mContext, NS_BINDING_FAILED, nsnull);
}
@@ -264,7 +274,7 @@ private:
PRUint32 mAvailable; // Number of bytes for which OnDataAvailable fired
nsMemCacheChannel* mChannel; // Associated memory cache channel, strong link
// but can not use nsCOMPtr
PRBool mAborted; // Abort() has been called
nsresult mAbortStatus; // Abort() has been called
PRBool mSuspended; // Suspend() has been called
};
@@ -318,7 +328,7 @@ private:
NS_IMPL_THREADSAFE_ISUPPORTS1(MemCacheWriteStreamWrapper, nsIOutputStream)
nsMemCacheChannel::nsMemCacheChannel(nsMemCacheRecord *aRecord, nsILoadGroup *aLoadGroup)
: mRecord(aRecord)
: mRecord(aRecord), mStartOffset(0), mStatus(NS_OK)
{
NS_INIT_REFCNT();
mRecord->mNumChannels++;
@@ -339,11 +349,19 @@ nsMemCacheChannel::IsPending(PRBool* aIsPending)
}
NS_IMETHODIMP
nsMemCacheChannel::Cancel(void)
nsMemCacheChannel::GetStatus(nsresult *status)
{
*status = mStatus;
return NS_OK;
}
NS_IMETHODIMP
nsMemCacheChannel::Cancel(nsresult status)
{
mStatus = status;
if (!mAsyncReadStream)
return NS_ERROR_FAILURE;
return mAsyncReadStream->Cancel();
return mAsyncReadStream->Cancel(status);
}
NS_IMETHODIMP
@@ -363,37 +381,54 @@ nsMemCacheChannel::Resume(void)
}
NS_IMETHODIMP
nsMemCacheChannel::GetOriginalURI(nsIURI * *aURI)
nsMemCacheChannel::GetOriginalURI(nsIURI* *aURI)
{
// Not required
NS_NOTREACHED("nsMemCacheChannel::GetOriginalURI");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::GetURI(nsIURI * *aURI)
nsMemCacheChannel::SetOriginalURI(nsIURI* aURI)
{
// Not required
NS_NOTREACHED("nsMemCacheChannel::SetOriginalURI");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::GetURI(nsIURI* *aURI)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::GetURI");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::OpenInputStream(PRUint32 aStartPosition, PRInt32 aReadCount,
nsIInputStream* *aResult)
nsMemCacheChannel::SetURI(nsIURI* aURI)
{
// Not required to be implemented, since it is implemented by cache manager
NS_NOTREACHED("nsMemCacheChannel::SetURI");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::OpenInputStream(nsIInputStream* *aResult)
{
nsresult rv;
NS_ENSURE_ARG(aResult);
if (mInputStream)
return NS_ERROR_NOT_AVAILABLE;
rv = mRecord->mStorageStream->NewInputStream(aStartPosition, getter_AddRefs(mInputStream));
rv = mRecord->mStorageStream->NewInputStream(mStartOffset, getter_AddRefs(mInputStream));
if (NS_FAILED(rv)) return rv;
*aResult = mInputStream;
NS_ADDREF(*aResult);
return rv;
}
NS_IMETHODIMP
nsMemCacheChannel::OpenOutputStream(PRUint32 startPosition, nsIOutputStream* *aResult)
nsMemCacheChannel::OpenOutputStream(nsIOutputStream* *aResult)
{
nsresult rv;
NS_ENSURE_ARG(aResult);
@@ -402,10 +437,10 @@ nsMemCacheChannel::OpenOutputStream(PRUint32 startPosition, nsIOutputStream* *aR
PRUint32 oldLength;
mRecord->mStorageStream->GetLength(&oldLength);
rv = mRecord->mStorageStream->GetOutputStream(startPosition, getter_AddRefs(outputStream));
rv = mRecord->mStorageStream->GetOutputStream(mStartOffset, getter_AddRefs(outputStream));
if (NS_FAILED(rv)) return rv;
if (startPosition < oldLength)
NotifyStorageInUse(startPosition - oldLength);
if (mStartOffset < oldLength)
NotifyStorageInUse(mStartOffset - oldLength);
return MemCacheWriteStreamWrapper::Create(this, outputStream, aResult);
}
@@ -414,15 +449,15 @@ NS_IMETHODIMP
nsMemCacheChannel::AsyncOpen(nsIStreamObserver *observer, nsISupports *ctxt)
{
// Not required
NS_NOTREACHED("nsMemCacheChannel::AsyncOpen");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::AsyncRead(PRUint32 aStartPosition, PRInt32 aReadCount,
nsISupports *aContext, nsIStreamListener *aListener)
nsMemCacheChannel::AsyncRead(nsIStreamListener *aListener, nsISupports *aContext)
{
nsCOMPtr<nsIInputStream> inputStream;
nsresult rv = OpenInputStream(aStartPosition, aReadCount, getter_AddRefs(inputStream));
nsresult rv = OpenInputStream(getter_AddRefs(inputStream));
if (NS_FAILED(rv)) return rv;
AsyncReadStreamAdaptor *asyncReadStreamAdaptor;
@@ -432,19 +467,102 @@ nsMemCacheChannel::AsyncRead(PRUint32 aStartPosition, PRInt32 aReadCount,
NS_ADDREF(asyncReadStreamAdaptor);
mAsyncReadStream = asyncReadStreamAdaptor;
rv = asyncReadStreamAdaptor->AsyncRead(aStartPosition, aReadCount, aContext, aListener);
rv = asyncReadStreamAdaptor->AsyncRead(aListener, aContext);
if (NS_FAILED(rv))
delete asyncReadStreamAdaptor;
return rv;
}
NS_IMETHODIMP
nsMemCacheChannel::AsyncWrite(nsIInputStream *fromStream, PRUint32 startPosition,
PRInt32 writeCount, nsISupports *ctxt,
nsIStreamObserver *observer)
nsMemCacheChannel::AsyncWrite(nsIInputStream *fromStream,
nsIStreamObserver *observer, nsISupports *ctxt)
{
// Not required to be implemented
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::AsyncWrite");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::GetTransferOffset(PRUint32 *aTransferOffset)
{
*aTransferOffset = mStartOffset;
return NS_OK;
}
NS_IMETHODIMP
nsMemCacheChannel::SetTransferOffset(PRUint32 aTransferOffset)
{
mStartOffset = aTransferOffset;
return NS_OK;
}
NS_IMETHODIMP
nsMemCacheChannel::GetTransferCount(PRInt32 *aTransferCount)
{
NS_NOTREACHED("nsMemCacheChannel::GetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::SetTransferCount(PRInt32 aTransferCount)
{
NS_NOTREACHED("nsMemCacheChannel::SetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::GetBufferSegmentSize(PRUint32 *aBufferSegmentSize)
{
NS_NOTREACHED("nsMemCacheChannel::GetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::SetBufferSegmentSize(PRUint32 aBufferSegmentSize)
{
NS_NOTREACHED("nsMemCacheChannel::SetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::GetBufferMaxSize(PRUint32 *aBufferMaxSize)
{
NS_NOTREACHED("nsMemCacheChannel::GetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::SetBufferMaxSize(PRUint32 aBufferMaxSize)
{
NS_NOTREACHED("nsMemCacheChannel::SetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::GetShouldCache(PRBool *aShouldCache)
{
*aShouldCache = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsMemCacheChannel::GetPipeliningAllowed(PRBool *aPipeliningAllowed)
{
*aPipeliningAllowed = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsMemCacheChannel::SetPipeliningAllowed(PRBool aPipeliningAllowed)
{
NS_NOTREACHED("SetPipeliningAllowed");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::SetContentLength(PRInt32 aContentLength)
{
NS_NOTREACHED("nsMemCacheChannel::SetContentLength");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -452,7 +570,7 @@ NS_IMETHODIMP
nsMemCacheChannel::GetLoadAttributes(nsLoadFlags *aLoadAttributes)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::GetLoadAttributes");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -460,7 +578,7 @@ NS_IMETHODIMP
nsMemCacheChannel::SetLoadAttributes(nsLoadFlags aLoadAttributes)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::SetLoadAttributes");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -468,7 +586,7 @@ NS_IMETHODIMP
nsMemCacheChannel::GetContentType(char* *aContentType)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::GetContentType");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -476,7 +594,7 @@ NS_IMETHODIMP
nsMemCacheChannel::SetContentType(const char *aContentType)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::SetContentType");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -484,7 +602,7 @@ NS_IMETHODIMP
nsMemCacheChannel::GetContentLength(PRInt32 *aContentLength)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::GetContentLength");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -508,7 +626,7 @@ NS_IMETHODIMP
nsMemCacheChannel::GetLoadGroup(nsILoadGroup* *aLoadGroup)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::GetLoadGroup");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -516,7 +634,7 @@ NS_IMETHODIMP
nsMemCacheChannel::SetLoadGroup(nsILoadGroup* aLoadGroup)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::SetLoadGroup");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -524,7 +642,7 @@ NS_IMETHODIMP
nsMemCacheChannel::GetNotificationCallbacks(nsIInterfaceRequestor* *aNotificationCallbacks)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::GetNotificationCallbacks");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -532,6 +650,13 @@ NS_IMETHODIMP
nsMemCacheChannel::SetNotificationCallbacks(nsIInterfaceRequestor* aNotificationCallbacks)
{
// Not required to be implemented, since it is implemented by cache manager
NS_ASSERTION(0, "nsMemCacheChannel method unexpectedly called");
NS_NOTREACHED("nsMemCacheChannel::SetNotificationCallbacks");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMemCacheChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
*aSecurityInfo = nsnull;
return NS_OK;
}

View File

@@ -53,6 +53,8 @@ protected:
nsCOMPtr<nsIInputStream> mInputStream;
nsCOMPtr<nsISupports> mOwner;
AsyncReadStreamAdaptor* mAsyncReadStream; // non-owning pointer
PRUint32 mStartOffset;
nsresult mStatus;
friend class MemCacheWriteStreamWrapper;
friend class AsyncReadStreamAdaptor;

View File

@@ -30,9 +30,14 @@
#include "nsIStreamListener.h"
#include "nsIAllocator.h"
nsCacheEntryChannel::nsCacheEntryChannel(nsCachedNetData* aCacheEntry, nsIChannel* aChannel,
nsILoadGroup* aLoadGroup):
nsChannelProxy(aChannel), mCacheEntry(aCacheEntry), mLoadGroup(aLoadGroup), mLoadAttributes(0)
nsCacheEntryChannel::nsCacheEntryChannel(
nsCachedNetData* aCacheEntry,
nsIChannel* aChannel,
nsILoadGroup* aLoadGroup):
nsChannelProxy(aChannel),
mCacheEntry(aCacheEntry),
mLoadGroup(aLoadGroup),
mLoadAttributes(0)
{
NS_ASSERTION(aCacheEntry->mChannelCount < 0xFF, "Overflowed channel counter");
mCacheEntry->mChannelCount++;
@@ -44,14 +49,20 @@ nsCacheEntryChannel::~nsCacheEntryChannel()
mCacheEntry->mChannelCount--;
}
NS_IMPL_THREADSAFE_ISUPPORTS3(nsCacheEntryChannel, nsISupports, nsIChannel, nsIRequest)
NS_IMPL_THREADSAFE_ISUPPORTS3(nsCacheEntryChannel,
nsISupports,
nsIChannel,
nsIRequest)
// A proxy for nsIOutputStream
class CacheOutputStream : public nsIOutputStream {
public:
CacheOutputStream(nsIOutputStream *aOutputStream, nsCachedNetData *aCacheEntry):
mOutputStream(aOutputStream), mCacheEntry(aCacheEntry), mStartTime(PR_IntervalNow())
CacheOutputStream(nsIOutputStream *aOutputStream,
nsCachedNetData *aCacheEntry):
mOutputStream(aOutputStream),
mCacheEntry(aCacheEntry),
mStartTime(PR_IntervalNow())
{ NS_INIT_REFCNT(); }
virtual ~CacheOutputStream() {
@@ -90,17 +101,41 @@ protected:
NS_IMPL_THREADSAFE_ISUPPORTS1(CacheOutputStream, nsIOutputStream)
NS_IMETHODIMP
nsCacheEntryChannel::OpenOutputStream(PRUint32 aStartPosition, nsIOutputStream* *aOutputStream)
nsCacheEntryChannel::GetTransferOffset(PRUint32 *aStartPosition)
{
return mChannel->GetTransferOffset(aStartPosition);
}
NS_IMETHODIMP
nsCacheEntryChannel::SetTransferOffset(PRUint32 aStartPosition)
{
mCacheEntry->mLogicalLength = aStartPosition;
return mChannel->SetTransferOffset(aStartPosition);
}
NS_IMETHODIMP
nsCacheEntryChannel::GetTransferCount(PRInt32 *aReadCount)
{
return mChannel->GetTransferCount(aReadCount);
}
NS_IMETHODIMP
nsCacheEntryChannel::SetTransferCount(PRInt32 aReadCount)
{
return mChannel->SetTransferCount(aReadCount);
}
NS_IMETHODIMP
nsCacheEntryChannel::OpenOutputStream(nsIOutputStream* *aOutputStream)
{
nsresult rv;
nsCOMPtr<nsIOutputStream> baseOutputStream;
rv = mChannel->OpenOutputStream(aStartPosition, getter_AddRefs(baseOutputStream));
rv = mChannel->OpenOutputStream(getter_AddRefs(baseOutputStream));
if (NS_FAILED(rv)) return rv;
mCacheEntry->NoteUpdate();
mCacheEntry->NoteAccess();
mCacheEntry->mLogicalLength = aStartPosition;
*aOutputStream = new CacheOutputStream(baseOutputStream, mCacheEntry);
if (!*aOutputStream)
@@ -110,16 +145,15 @@ nsCacheEntryChannel::OpenOutputStream(PRUint32 aStartPosition, nsIOutputStream*
}
NS_IMETHODIMP
nsCacheEntryChannel::OpenInputStream(PRUint32 aStartPosition, PRInt32 aReadCount,
nsIInputStream* *aInputStream)
nsCacheEntryChannel::OpenInputStream(nsIInputStream* *aInputStream)
{
mCacheEntry->NoteAccess();
return mChannel->OpenInputStream(aStartPosition, aReadCount, aInputStream);
return mChannel->OpenInputStream(aInputStream);
}
NS_IMETHODIMP
nsCacheEntryChannel::AsyncRead(PRUint32 aStartPosition, PRInt32 aReadCount,
nsISupports *aContext, nsIStreamListener *aListener)
nsCacheEntryChannel::AsyncRead(nsIStreamListener *aListener, nsISupports *aContext)
{
nsresult rv;
@@ -131,17 +165,18 @@ nsCacheEntryChannel::AsyncRead(PRUint32 aStartPosition, PRInt32 aReadCount,
mLoadGroup->GetDefaultLoadAttributes(&mLoadAttributes);
}
rv = mChannel->AsyncRead(aStartPosition, aReadCount, aContext, aListener);
rv = mChannel->AsyncRead(aListener, aContext);
return rv;
}
// No async writes allowed to the cache yet
NS_IMETHODIMP
nsCacheEntryChannel::AsyncWrite(nsIInputStream *aFromStream, PRUint32 aStartPosition,
PRInt32 aWriteCount, nsISupports *aContext,
nsIStreamObserver *aObserver)
nsCacheEntryChannel::AsyncWrite(nsIInputStream *aFromStream,
nsIStreamObserver *aObserver,
nsISupports *aContext)
{
NS_NOTREACHED("nsCacheEntryChannel::AsyncWrite");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -180,7 +215,7 @@ nsCacheEntryChannel::GetURI(nsIURI * *aURI)
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
rv = serv->NewURI(spec, 0, aURI);
rv = serv->NewURI(spec, nsnull, aURI);
nsAllocator::Free(spec);
return rv;
}
@@ -189,5 +224,6 @@ NS_IMETHODIMP
nsCacheEntryChannel::GetOriginalURI(nsIURI * *aURI)
{
// FIXME - should return original URI passed into NewChannel() ?
NS_NOTREACHED("nsCacheEntryChannel::GetOriginalURI");
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@@ -52,14 +52,15 @@ class nsCacheEntryChannel : public nsChannelProxy {
public:
NS_DECL_ISUPPORTS
NS_IMETHOD OpenOutputStream(PRUint32 aStartPosition, nsIOutputStream* *aOutputStream);
NS_IMETHOD OpenInputStream(PRUint32 aStartPosition, PRInt32 aReadCount,
nsIInputStream* *aInputStream);
NS_IMETHOD AsyncRead(PRUint32 aStartPosition, PRInt32 aReadCount,
nsISupports *aContext, nsIStreamListener *aListener);
NS_IMETHOD AsyncWrite(nsIInputStream *aFromStream, PRUint32 aStartPosition,
PRInt32 aWriteCount, nsISupports *aContext,
nsIStreamObserver *aObserver);
NS_IMETHOD GetTransferOffset(PRUint32 *aStartPosition);
NS_IMETHOD SetTransferOffset(PRUint32 aStartPosition);
NS_IMETHOD GetTransferCount(PRInt32 *aReadCount);
NS_IMETHOD SetTransferCount(PRInt32 aReadCount);
NS_IMETHOD OpenOutputStream(nsIOutputStream* *aOutputStream);
NS_IMETHOD OpenInputStream(nsIInputStream* *aInputStream);
NS_IMETHOD AsyncRead(nsIStreamListener *aListener, nsISupports *aContext);
NS_IMETHOD AsyncWrite(nsIInputStream *aFromStream,
nsIStreamObserver *aObserver, nsISupports *aContext);
NS_IMETHOD GetLoadAttributes(nsLoadFlags *aLoadAttributes);
NS_IMETHOD SetLoadAttributes(nsLoadFlags aLoadAttributes);
NS_IMETHOD GetLoadGroup(nsILoadGroup* *aLoadGroup);
@@ -75,7 +76,6 @@ protected:
private:
nsCOMPtr<nsCachedNetData> mCacheEntry;
nsCOMPtr<nsILoadGroup> mLoadGroup;
nsCOMPtr<nsIChannel> mProxyChannel;
nsLoadFlags mLoadAttributes;
};

View File

@@ -33,7 +33,7 @@
#include "nsINetDataDiskCache.h"
#include "nsIPref.h"
#include "nsIServiceManager.h"
//#define FILE_CACHE_IS_READY
#define FILE_CACHE_IS_READY
// Limit the number of entries in the cache to conserve memory space
// in the nsReplacementPolicy code
#define MAX_MEM_CACHE_ENTRIES 800
@@ -45,33 +45,6 @@
const char* CACHE_MEM_CAPACITY = "browser.cache.memory_cache_size";
const char* CACHE_DISK_CAPACITY = "browser.cache.disk_cache_size";
#define CACHE_HIGH_WATER_MARK(capacity) ((PRUint32)(0.98 * (capacity)))
#define CACHE_LOW_WATER_MARK(capacity) ((PRUint32)(0.97 * (capacity)))
nsCacheManager* gCacheManager = 0;
NS_IMPL_ISUPPORTS(nsCacheManager, NS_GET_IID(nsINetDataCacheManager))
nsCacheManager::nsCacheManager()
: mActiveCacheRecords(0),
mDiskCacheCapacity(DEFAULT_DISK_CACHE_CAPACITY),
mMemCacheCapacity(DEFAULT_MEMORY_CACHE_CAPACITY)
{
NS_ASSERTION(!gCacheManager, "Multiple cache managers created");
gCacheManager = this;
NS_INIT_REFCNT();
}
nsCacheManager::~nsCacheManager()
{
gCacheManager = 0;
delete mActiveCacheRecords;
delete mMemSpaceManager;
delete mDiskSpaceManager;
}
static int diskCacheSizeChanged(const char *pref, void *closure)
{
nsresult rv;
@@ -96,6 +69,39 @@ static int memCacheSizeChanged(const char *pref, void *closure)
return ( (nsCacheManager*)closure )->SetMemCacheCapacity( capacity );
}
#define CACHE_HIGH_WATER_MARK(capacity) ((PRUint32)(0.98 * (capacity)))
#define CACHE_LOW_WATER_MARK(capacity) ((PRUint32)(0.97 * (capacity)))
nsCacheManager* gCacheManager = 0;
NS_IMPL_ISUPPORTS(nsCacheManager, NS_GET_IID(nsINetDataCacheManager))
nsCacheManager::nsCacheManager()
: mActiveCacheRecords(0),
mDiskCacheCapacity(DEFAULT_DISK_CACHE_CAPACITY),
mMemCacheCapacity(DEFAULT_MEMORY_CACHE_CAPACITY)
{
NS_ASSERTION(!gCacheManager, "Multiple cache managers created");
gCacheManager = this;
NS_INIT_REFCNT();
}
nsCacheManager::~nsCacheManager()
{
gCacheManager = 0;
delete mActiveCacheRecords;
delete mMemSpaceManager;
delete mDiskSpaceManager;
nsresult rv;
NS_WITH_SERVICE(nsIPref, prefs, NS_PREF_PROGID, &rv);
if ( NS_SUCCEEDED (rv ) )
{
prefs->UnregisterCallback( CACHE_DISK_CAPACITY, diskCacheSizeChanged, this);
prefs->UnregisterCallback( CACHE_MEM_CAPACITY, memCacheSizeChanged, this);
}
}
nsresult nsCacheManager::InitPrefs()
{
nsresult rv;
@@ -198,7 +204,7 @@ nsresult nsCacheManager::GetCacheAndReplacementPolicy( PRUint32 aFlags, nsINetDa
PRBool diskCacheEnabled = PR_FALSE;
if ( mDiskCache.get() )
mDiskCache->GetEnabled( &diskCacheEnabled );
if (aFlags & CACHE_AS_FILE) {
if ( diskCacheEnabled )
cache = mDiskCache;

View File

@@ -156,8 +156,7 @@ class CacheMetaData {
if (mOpaqueBytes)
nsAllocator::Free(mOpaqueBytes);
if (mNext)
delete mNext;
delete mNext;
}
protected:
@@ -451,7 +450,7 @@ nsCachedNetData::Deserialize(PRBool aDeserializeFlags)
nsAllocator::Free(metaData);
nsCOMPtr<nsISupports> stringStreamSupports;
rv = NS_NewStringInputStream(getter_AddRefs(stringStreamSupports), metaDataCStr);
rv = NS_NewCStringInputStream(getter_AddRefs(stringStreamSupports), metaDataCStr);
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIInputStream> inputStream = do_QueryInterface(stringStreamSupports);
@@ -479,6 +478,7 @@ nsCachedNetData::Deserialize(PRBool aDeserializeFlags)
CacheMetaData *annotation;
annotation = new CacheMetaData(tag);
nsAllocator::Free(tag);
if (!annotation)
return NS_ERROR_OUT_OF_MEMORY;
@@ -1035,7 +1035,7 @@ nsCachedNetData::GetCache(nsINetDataCache* *aCache)
}
NS_IMETHODIMP
nsCachedNetData::NewChannel(nsILoadGroup* aLoadGroup, nsIChannel* aProxyChannel, nsIChannel* *aChannel)
nsCachedNetData::NewChannel(nsILoadGroup* aLoadGroup, nsIChannel* *aChannel)
{
nsresult rv;
nsCOMPtr<nsIChannel> channel;
@@ -1049,7 +1049,6 @@ nsCachedNetData::NewChannel(nsILoadGroup* aLoadGroup, nsIChannel* aProxyChannel,
cacheEntryChannel = new nsCacheEntryChannel(this, channel, aLoadGroup);
if (!cacheEntryChannel)
return NS_ERROR_OUT_OF_MEMORY;
cacheEntryChannel->mProxyChannel = aProxyChannel;
*aChannel = cacheEntryChannel;
NS_ADDREF(*aChannel);
@@ -1089,10 +1088,13 @@ public:
// Just in case the protocol handler forgot to set this flag...
mCacheEntry->SetFlag(nsCachedNetData::UPDATE_IN_PROGRESS);
rv = mCacheEntry->NewChannel(0, 0, getter_AddRefs(mChannel));
rv = mCacheEntry->NewChannel(0, getter_AddRefs(mChannel));
if (NS_FAILED(rv)) return rv;
return mChannel->OpenOutputStream(aStartingOffset, getter_AddRefs(mCacheStream));
rv = mChannel->SetTransferOffset(aStartingOffset);
if (NS_FAILED(rv)) return rv;
return mChannel->OpenOutputStream(getter_AddRefs(mCacheStream));
}
NS_DECL_ISUPPORTS

View File

@@ -20,6 +20,19 @@
*
* Contributor(s):
* Scott Furman, fur@netscape.com
*
*
* This Original Code has been modified by IBM Corporation.
* Modifications made by IBM described herein are
* Copyright (c) International Business Machines
* Corporation, 2000
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 03/27/2000 IBM Corp. Added PR_CALLBACK for Optlink
* use in OS2
*/
#ifndef _nsCachedNetData_h_
@@ -105,7 +118,7 @@ protected:
nsresult ClearFlag(Flag aFlag) { return SetFlag(PR_FALSE, aFlag); }
void ComputeProfit(PRUint32 aCurrentTime);
static int Compare(const void *a, const void *b, void *unused);
static int PR_CALLBACK Compare(const void *a, const void *b, void *unused);
void NoteAccess();
void NoteUpdate();

View File

@@ -38,7 +38,7 @@
nsReplacementPolicy::nsReplacementPolicy()
: mRankedEntries(0), mCaches(0), mRecordsRemovedSinceLastRanking(0),
mNumEntries(0), mCapacityRankedEntriesArray(0), mLastRankTime(0) {}
mNumEntries(0), mCapacityRankedEntriesArray(0), mLastRankTime(0), mLoadedAllDatabaseRecords( PR_FALSE ) {}
nsReplacementPolicy::~nsReplacementPolicy()
{
@@ -46,6 +46,7 @@ nsReplacementPolicy::~nsReplacementPolicy()
nsAllocator::Free(mRankedEntries);
if (mMapRecordIdToEntry)
nsAllocator::Free(mMapRecordIdToEntry);
delete mCaches;
}
nsresult

View File

@@ -210,12 +210,9 @@ interface nsICachedNetData : nsISupports
*
* Though nsIChannel provides for both async and synchronous I/O APIs, both
* may not be implemented. Only AsyncRead() and OpenOutputStream() is
* required. The aProxyChannel argument allows another channel to be
* specified as the proffered argument to nsIStreamListener methods rather
* than the cache's own channel.
* required.
*/
nsIChannel newChannel(in nsILoadGroup aLoadGroup,
in nsIChannel aProxyChannel);
nsIChannel newChannel(in nsILoadGroup aLoadGroup);
/**
* This method can be used by a caching protocol handler to store data in

View File

@@ -40,9 +40,11 @@ interface nsIDNSListener;
[scriptable, uuid(598f2f80-206f-11d3-9348-00104ba0fd40)]
interface nsIDNSService : nsISupports
{
nsIRequest lookup(in nsISupports ctxt, in string hostname,
in nsIDNSListener listener);
nsIRequest lookup(in string hostname,
in nsIDNSListener listener,
in nsISupports ctxt);
void init();
void shutdown();
};

File diff suppressed because it is too large Load Diff

View File

@@ -26,7 +26,7 @@
#include "nsIDNSService.h"
#include "nsIRunnable.h"
#include "nsIThread.h"
#include "nsVoidArray.h"
#include "nsISupportsArray.h"
#if defined(XP_MAC)
#include <OSUtils.h>
#include <OpenTransport.h>
@@ -36,6 +36,8 @@
#include <Winsock2.h>
#endif
#include "nsCOMPtr.h"
#include "nsHashtable.h"
#include "prmon.h"
//#ifdef DEBUG
#define DNS_TIMING 1 // XXX remove later
@@ -50,33 +52,30 @@ class nsDNSService : public nsIDNSService,
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIRUNNABLE
NS_DECL_NSIDNSSERVICE
// nsDNSService methods:
nsDNSService();
virtual ~nsDNSService();
nsresult Init();
nsresult LateInit();
nsresult InitDNSThread();
// Define a Create method to be used with a factory:
static NS_METHOD
Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult);
// nsIDNSService methods:
NS_DECL_NSIDNSSERVICE
protected:
friend class nsDNSLookup;
protected:
nsresult LateInit();
nsresult InitDNSThread();
nsresult GetLookupEntry(const char* hostName, nsDNSLookup* *result);
static nsDNSService * gService;
static PRBool gNeedLateInitialization;
nsCOMPtr<nsIThread> mThread;
PRLock * mThreadLock;
nsresult mState;
// nsDNSLookup cache? - list of nsDNSLookups, hash table (nsHashTable, nsStringKey)
// list of nsDNSLookups in order of expiration (PRCList?)
PRMonitor* mMonitor;
nsSupportsHashtable mLookups; // of nsDNSLookups
#if defined(XP_MAC)
friend pascal void nsDnsServiceNotifierRoutine(void * contextPtr, OTEventCode code, OTResult result, void * cookie);
@@ -94,8 +93,8 @@ protected:
void FreeMsgID(PRUint32 msgID);
friend static LRESULT CALLBACK nsDNSEventProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
LRESULT LookupComplete(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
HWND mDNSWindow;
nsVoidArray mCompletionQueue;
PRUint32 mMsgIDBitVector[4];
#endif /* XP_PC */

View File

@@ -32,6 +32,7 @@ XPIDL_MODULE = mimetype
XPIDLSRCS = \
nsIMIMEService.idl \
nsIMIMEInfo.idl \
nsIMIMEDataSource.idl \
$(NULL)
EXPORTS = \

View File

@@ -29,6 +29,7 @@ XPIDL_MODULE = mimetype
XPIDLSRCS = \
.\nsIMIMEInfo.idl \
.\nsIMIMEService.idl \
.\nsIMIMEDataSource.idl \
$(NULL)
EXPORTS = \

View File

@@ -0,0 +1,62 @@
/* -*- Mode: IDL; 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.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s): Judson Valeski
* : David Matiskella
*/
#include "nsISupports.idl"
#include "nsIMIMEInfo.idl"
#include "nsIEnumerator.idl"
#include "nsIFile.idl"
%{C++
#define NS_XMLMIMEDATASOURCE_CID \
{ /* {41654483-fa5b-11d3-a12b-a7aef7a2f2fc} */ \
0x41654483, \
0xfa5b, \
0x11d3, \
{ 0xa1, 0x2b, 0xa7, 0xae, 0xf7, 0xa2, 0xf2, 0xfc } \
}
#define NS_XMLMIMEDATASOURCE_PROGID \
"component:||netscape|mimexmldatasource"
#define NS_NATIVEMIMEDATASOURCE_PROGID \
"component:||netscape|mimenativedatasource"
%}
[scriptable, uuid(41654481-fa5b-11d3-a12b-a7aef7a2f2fc)]
interface nsIMIMEDataSource : nsISupports {
/*
Routines for retriving nsIMIMEInfo data given either
a mimetype, file extension, or a mac codes;
*/
nsIMIMEInfo GetFromMIMEType( in string aType );
nsIMIMEInfo GetFromExtension( in string aFileExt );
nsIMIMEInfo GetFromTypeCreator( in PRUint32 aType, in PRUint32 aCreator, in string aFileExt );
/*
Routines to Add and Remove elements and to get an enumerator on the data source
*/
void Add( in nsIMIMEInfo aInfo );
void Remove( in string aType );
nsISimpleEnumerator GetEnumerator();
void Serialize();
};

View File

@@ -31,6 +31,18 @@
#include "nsISupports.idl"
#include "nsIURI.idl"
%{C++
#define NS_MIMEINFO_CID \
{ /* {95df6583-0001-11d4-a12b-a66ef662f0bc} */ \
0x95df6583, \
0x0001, \
0x11d4, \
{ 0xa1, 0x2b, 0xa6, 0x6e, 0xf6, 0x62, 0xf0, 0xbc } \
}
#define NS_MIMEINFO_PROGID \
"component:||netscape|mimeinfo"
%}
[scriptable, uuid(6A57EAE0-2FE8-11d3-A164-0050041CAF44)]
interface nsIMIMEInfo : nsISupports {
/* Gives you an array of file types associated with this type.
@@ -55,18 +67,23 @@ interface nsIMIMEInfo : nsISupports {
* @return The first extension.
*/
string FirstExtension();
/*
* Append a given extension to the set of extensions
*/
void AppendExtension(in string aExtension);
/* The MIME type of this MIMEInfo.
*
* @return String representing the MIME type.
*/
readonly attribute string MIMEType;
attribute string MIMEType;
/* A human readable description of the MIME info
*
* @return The description
*/
readonly attribute wstring Description;
attribute wstring Description;
/* Gives you arbitrary data about the MIMEInfo. An example
* of this is a generic image graphically representing
@@ -76,7 +93,13 @@ interface nsIMIMEInfo : nsISupports {
* @return A URI representing the data location.
*/
readonly attribute nsIURI DataURI;
/*
* Mac Type and creator types
*/
attribute PRUint32 MacType;
attribute PRUint32 MacCreator;
/* Returns whether or not these two MIME infos are logically
* equivelent maintaining the one-to-many relationship between
* MIME types and file extensions.

View File

@@ -18,6 +18,7 @@
* Rights Reserved.
*
* Contributor(s): Judson Valeski
* : David Matiskella
*/
/* The MIME service is responsible for mapping file extensions to MIME-types
@@ -34,7 +35,8 @@
#include "nsISupports.idl"
#include "nsIMIMEInfo.idl"
#include "nsIURI.idl"
#include "nsISupportsArray.idl"
#include "nsIMIMEDataSource.idl"
#include "nsIFile.idl"
%{C++
#define NS_MIMESERVICE_CID \
@@ -81,51 +83,15 @@ interface nsIMIMEService : nsISupports {
* @return The MIME type, if any.
*/
string GetTypeFromURI(in nsIURI aURI);
/* Adds a MIME mapping to the database.
*
* @param MIME type to be registered.
* @param File extension to be associated.
* @param Description of this MIME type.
* @param Data URI typically used to retrieve an image
* graphically representing the MIME type.
*
*/
void AddMapping(in string aMIMEType, in string aExtension, in string aDesc, in nsIURI aURI);
/* Removes a MIME mapping from the database. All file extensions
* associated with this mapping are removed as well.
*
* @param MIME type to be removed.
* @return NS_OK
*/
void RemoveMapping(in string aMIMEType);
/* Maps a file extension (don't include leading dot) to a MIME entry.
*
* @param MIME type to associate this extension with.
* @param File extension to associate with MIME type.
* @return NS_ERROR_FAILURE if the MIME entry doesn't exist, or for
* general fialure. NS_OK otherwise.
*/
void AppendExtension(in string aMIMEType, in string aExtension);
/* Removes a file extension association with a MIME entry.
*
* @param The file extension to be removed.
* @return NS_ERROR_FAILURE if the MIME entry doesn't exist, or for
* general failure. NS_OK otherwise.
*/
void RemoveExtension(in string aExtension);
/* Enumerates all the MIME types in the database. Each entry
* is represented as an nsIMIMEInfo interface.
*
* @return All the registered MIME types.
*/
nsIBidirectionalEnumerator EnumerateEntries();
/* Makes the current mappings persistent.
*/
void Serialize();
//
string GetTypeFromFile ( in nsIFile aFile );
/*
* The data sources
*/
readonly attribute nsIMIMEDataSource XMLDataSource;
readonly attribute nsIMIMEDataSource NativeDataSource;
};

View File

@@ -36,6 +36,7 @@ CPPSRCS = \
nsMIMEInfoImpl.cpp \
nsMIMEService.cpp \
nsMIMEServiceModule.cpp \
nsXMLMIMEDataSource.cpp \
$(NULL)
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)

View File

@@ -38,6 +38,7 @@ CPP_OBJS = \
.\$(OBJDIR)\nsMIMEInfoImpl.obj \
.\$(OBJDIR)\nsMIMEService.obj \
.\$(OBJDIR)\nsMIMEServiceModule.obj \
.\$(OBJDIR)\nsXMLMIMEDataSource.obj \
$(NULL)
LOCAL_INCLUDES=-I.

View File

@@ -27,9 +27,12 @@
NS_IMPL_THREADSAFE_ISUPPORTS1(nsMIMEInfoImpl, nsIMIMEInfo);
// nsMIMEInfoImpl methods
nsMIMEInfoImpl::nsMIMEInfoImpl(const char *aMIMEType) {
nsMIMEInfoImpl::nsMIMEInfoImpl() {
NS_INIT_REFCNT();
}
nsMIMEInfoImpl::nsMIMEInfoImpl(const char *aMIMEType): mMIMEType( aMIMEType ) {
NS_INIT_REFCNT();
mMIMEType = getter_AddRefs(NS_NewAtom(aMIMEType));
}
PRUint32
@@ -66,7 +69,7 @@ nsMIMEInfoImpl::ExtensionExists(const char *aExtension, PRBool *_retval) {
if (!aExtension) return NS_ERROR_NULL_POINTER;
for (PRUint8 i=0; i < extCount; i++) {
nsString* ext = (nsString*)mExtensions.CStringAt(i);
nsCString* ext = (nsCString*)mExtensions.CStringAt(i);
if (ext->Equals(aExtension)) {
found = PR_TRUE;
break;
@@ -87,17 +90,29 @@ nsMIMEInfoImpl::FirstExtension(char **_retval) {
return NS_OK;
}
NS_IMETHODIMP nsMIMEInfoImpl::AppendExtension(const char *aExtension)
{
mExtensions.AppendCString( aExtension );
return NS_OK;
}
NS_IMETHODIMP
nsMIMEInfoImpl::GetMIMEType(char * *aMIMEType) {
if (!aMIMEType) return NS_ERROR_NULL_POINTER;
nsAutoString strMIMEType;
mMIMEType->ToString(strMIMEType);
*aMIMEType = strMIMEType.ToNewCString();
*aMIMEType = mMIMEType.ToNewCString();
if (!*aMIMEType) return NS_ERROR_OUT_OF_MEMORY;
return NS_OK;
}
NS_IMETHODIMP
nsMIMEInfoImpl::SetMIMEType(const char* aMIMEType) {
if (!aMIMEType) return NS_ERROR_NULL_POINTER;
mMIMEType = aMIMEType;
return NS_OK;
}
NS_IMETHODIMP
nsMIMEInfoImpl::GetDescription(PRUnichar * *aDescription) {
if (!aDescription) return NS_ERROR_NULL_POINTER;
@@ -107,6 +122,12 @@ nsMIMEInfoImpl::GetDescription(PRUnichar * *aDescription) {
return NS_OK;
}
NS_IMETHODIMP nsMIMEInfoImpl::SetDescription(const PRUnichar * aDescription)
{
mDescription = aDescription;
return NS_OK;
}
NS_IMETHODIMP
nsMIMEInfoImpl::GetDataURI(nsIURI * *aDataURI) {
return mURI->Clone(aDataURI);
@@ -120,8 +141,31 @@ nsMIMEInfoImpl::Equals(nsIMIMEInfo *aMIMEInfo, PRBool *_retval) {
nsresult rv = aMIMEInfo->GetMIMEType(getter_Copies(type));
if (NS_FAILED(rv)) return rv;
nsAutoString type1;
mMIMEType->ToString(type1);
*_retval = type1.Equals(type);
*_retval = mMIMEType.EqualsWithConversion(type);
return NS_OK;
}
NS_IMETHODIMP nsMIMEInfoImpl::GetMacType(PRUint32 *aMacType)
{
*aMacType = mMacType;
return NS_OK;
}
NS_IMETHODIMP nsMIMEInfoImpl::SetMacType(PRUint32 aMacType)
{
mMacType = aMacType;
return NS_OK;
}
NS_IMETHODIMP nsMIMEInfoImpl::GetMacCreator(PRUint32 *aMacCreator)
{
*aMacCreator = mMacCreator;
return NS_OK;
}
NS_IMETHODIMP nsMIMEInfoImpl::SetMacCreator(PRUint32 aMacCreator)
{
mMacCreator = aMacCreator;
return NS_OK;
}

View File

@@ -24,7 +24,7 @@
#include "nsIMIMEInfo.h"
#include "nsIAtom.h"
#include "nsString2.h"
#include "nsString.h"
#include "nsVoidArray.h"
#include "nsCOMPtr.h"
@@ -34,6 +34,7 @@ class nsMIMEInfoImpl : public nsIMIMEInfo {
NS_DECL_NSIMIMEINFO
// nsMIMEInfoImpl methods
nsMIMEInfoImpl();
nsMIMEInfoImpl(const char *aMIMEType);
virtual ~nsMIMEInfoImpl() {};
PRUint32 GetExtCount(); // returns the number of extensions associated.
@@ -42,9 +43,9 @@ class nsMIMEInfoImpl : public nsIMIMEInfo {
nsCStringArray mExtensions; // array of file extensions associated w/ this MIME obj
nsAutoString mDescription; // human readable description
nsCOMPtr<nsIURI> mURI; // URI pointing to data associated w/ this obj
PRUint32 mMacType, mMacCreator; // Mac file type and creator
protected:
nsCOMPtr<nsIAtom> mMIMEType;
nsString mMIMEType;
};

View File

@@ -17,25 +17,36 @@
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s): Judson Valeski
* Contributor(s):
* Judson Valeski
*
* This Original Code has been modified by IBM Corporation.
* Modifications made by IBM described herein are
* Copyright (c) International Business Machines
* Corporation, 2000
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 03/27/2000 IBM Corp. Added PR_CALLBACK for Optlink
* use in OS2
*/
#include "nsMIMEService.h"
#include "nsVoidArray.h"
#include "nsString2.h"
#include "nsString.h"
#include "nsMIMEInfoImpl.h"
#include "nsIURL.h"
#include "nsCOMPtr.h"
#include "nsXPIDLString.h"
#include "nsMimeTypes.h"
// Hash table helper functions
PRBool DeleteEntry(nsHashKey *aKey, void *aData, void* closure) {
nsMIMEInfoImpl *entry = (nsMIMEInfoImpl*)aData;
NS_ASSERTION(entry, "mapping problem");
NS_RELEASE(entry);
return PR_TRUE;
};
#ifdef XP_MAC
#include "nsILocalFileMac.h"
#endif
// nsISupports methods
NS_IMPL_THREADSAFE_ISUPPORTS1(nsMIMEService, nsIMIMEService);
@@ -58,299 +69,56 @@ nsMIMEService::nsMIMEService() {
}
nsMIMEService::~nsMIMEService() {
mInfoObjects->Reset(DeleteEntry, nsnull);
delete mInfoObjects;
}
nsresult
nsMIMEService::Init() {
nsresult rv = NS_OK;
mInfoObjects = new nsHashtable();
if (!mInfoObjects) return NS_ERROR_OUT_OF_MEMORY;
rv = NS_NewISupportsArray(getter_AddRefs(mInfoArray));
if (NS_FAILED(rv)) return rv;
return InitFromHack();
}
/* This bad boy needs to retrieve a url, and parse the data coming back, and
* add entries into the mInfoArray.
*/
nsresult
nsMIMEService::InitFromURI(nsIURI *aUri) {
return NS_ERROR_NOT_IMPLEMENTED;
}
nsresult
nsMIMEService::InitFromFile(const char *aFileName) {
#if 0
nsFileSpec dirSpec;
nsIFileSpec* spec = NS_LocateFileOrDirectory(nsSpecialFileSpec::App_UserProfileDirectory50);
if (!spec) return NS_ERROR_FAILURE;
spec->GetFileSpec(&dirSpec);
nsInputFileStream inStream(dirSpec + aFileName);
if (!inStream.is_open()) {
return NS_OK;
}
// digest the file.
#endif
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsMIMEService::AddMapping(const char* mimeType,
const char* extension,
const char* description,
nsIURI* dataURI)
{
nsresult rv = NS_OK;
// setup the new MIMEInfo object.
nsMIMEInfoImpl* anInfo = new nsMIMEInfoImpl(mimeType);
if (!anInfo) return NS_ERROR_OUT_OF_MEMORY;
anInfo->mExtensions.AppendCString(extension);
anInfo->mDescription = description;
anInfo->mURI = dataURI;
// The entry is mapped many-to-one and the MIME type is the root mapping.
// First remove any existing mapping.
rv = RemoveMapping(mimeType);
if (NS_FAILED(rv)) return rv;
// Next add the new root MIME mapping.
nsStringKey key(mimeType);
nsMIMEInfoImpl* oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, anInfo);
NS_ASSERTION(!oldInfo, "we just removed the entry, we shouldn't have one");
NS_ADDREF(anInfo);
rv = mInfoArray->AppendElement(anInfo); // update the root array.
if (NS_FAILED(rv)) return rv;
// Finally add an extension mapping.
key = extension;
oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, anInfo);
NS_ASSERTION(!oldInfo, "file extension mappings should have been cleaned up in the RemoveMapping call");
NS_ADDREF(anInfo);
return NS_OK;
}
// used to cleanup any file extension mappings when
// a root MIME entry is removed.
PRBool removeExts(nsCString& aElement, void *aData) {
nsHashtable* infoObjects = (nsHashtable*)aData;
NS_ASSERTION(infoObjects, "hash table botched up");
nsStringKey key(aElement);
nsMIMEInfoImpl* info = (nsMIMEInfoImpl*)infoObjects->Remove(&key);
NS_RELEASE(info);
return PR_TRUE;
}
NS_IMETHODIMP
nsMIMEService::RemoveMapping(const char* aMIMEType) {
nsresult rv = NS_OK;
nsStringKey key(aMIMEType);
// First remove the root MIME mapping.
nsMIMEInfoImpl* info = (nsMIMEInfoImpl*)mInfoObjects->Remove(&key);
if (!info) return NS_OK;
rv = mInfoArray->RemoveElement(info); // update the root array.
if (NS_FAILED(rv)) return rv;
// Next remove any file association mappings.
rv = info->mExtensions.EnumerateForwards(removeExts, mInfoObjects);
NS_RELEASE(info);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
NS_IMETHODIMP
nsMIMEService::AppendExtension(const char* mimeType, const char* extension) {
nsStringKey key(mimeType);
nsMIMEInfoImpl* info = (nsMIMEInfoImpl*)mInfoObjects->Get(&key);
if (!info) return NS_ERROR_FAILURE;
info->mExtensions.AppendCString(extension);
// Add another file extension mapping.
key = extension;
nsMIMEInfoImpl* oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, info);
NS_IF_RELEASE(oldInfo); // overwrite any existing mapping.
NS_ADDREF(info);
return NS_OK;
}
NS_IMETHODIMP
nsMIMEService::RemoveExtension(const char* aExtension) {
nsresult rv = NS_OK;
nsStringKey key(aExtension);
// First remove the extension mapping.
nsMIMEInfoImpl* info = (nsMIMEInfoImpl*)mInfoObjects->Remove(&key);
if (!info) return NS_ERROR_FAILURE;
// Next remove the root MIME mapping from the array and hash
// IFF this was the only file extension mapping left.
PRBool removed = info->mExtensions.RemoveCString(key.GetString());
NS_ASSERTION(removed, "mapping problem");
if (info->GetExtCount() == 0) {
// it's empty, remove the root mapping from hash and array.
nsXPIDLCString mimeType;
rv = info->GetMIMEType(getter_Copies(mimeType));
if (NS_FAILED(rv)) return rv;
key = (const char*)mimeType;
nsMIMEInfoImpl* rootEntry = (nsMIMEInfoImpl*)mInfoObjects->Remove(&key);
NS_ASSERTION(rootEntry, "mapping miss-hap");
rv = mInfoArray->RemoveElement(rootEntry); // update the root array
if (NS_FAILED(rv)) return rv;
NS_RELEASE(rootEntry);
}
NS_RELEASE(info);
return NS_OK;
}
NS_IMETHODIMP
nsMIMEService::EnumerateEntries(nsIBidirectionalEnumerator* *aEnumerator) {
return NS_NewISupportsArrayEnumerator(mInfoArray, aEnumerator);
}
NS_IMETHODIMP
nsMIMEService::Serialize() {
return NS_ERROR_NOT_IMPLEMENTED;
}
nsresult
nsMIMEService::InitFromHack() {
nsresult rv;
rv = AddMapping(TEXT_PLAIN, "txt", "Text File", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(TEXT_PLAIN, "text");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(APPLICATION_OCTET_STREAM, "exe", "Binary Executable", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "bin");
if (NS_FAILED(rv)) return rv;
#if defined(VMS)
rv = AppendExtension(APPLICATION_OCTET_STREAM, "sav");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "bck");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "pcsi");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "pcsi-dcx_axpexe");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "pcsi-dcx_vaxexe");
if (NS_FAILED(rv)) return rv;
#endif
rv = AddMapping(TEXT_HTML, "htm", "Hyper Text Markup Language", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(TEXT_HTML, "html");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(TEXT_HTML, "shtml");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_RDF, "rdf", "Resource Description Framework", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_XUL, "xul", "XML-Based User Interface Language", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_XML, "xml", "Extensible Markup Language", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_CSS, "css", "Style Sheet", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(APPLICATION_JAVASCRIPT, "js", "Javascript Source File", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(MESSAGE_RFC822, "eml", "RFC-822 data", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_GIF, "gif", "GIF Image", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_JPG, "jpeg", "JPEG Image", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(IMAGE_JPG, "jpg");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_PNG, "png", "PNG Image", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_ART, "art", "ART Image", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_TIFF, "tiff", "TIFF Image", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(IMAGE_TIFF, "tif");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(APPLICATION_POSTSCRIPT, "ps", "Postscript File", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_POSTSCRIPT, "eps");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_POSTSCRIPT, "ai");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_RTF, "rtf", "Rich Text Format", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(TEXT_RTF, "rtf");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_CPP, "cpp", "CPP file", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(TEXT_CPP, "cpp");
if (NS_FAILED(rv)) return rv;
return NS_OK;
rv = nsComponentManager::CreateInstance(NS_XMLMIMEDATASOURCE_PROGID, nsnull, nsIMIMEDataSource::GetIID(), getter_AddRefs(mXML) );
// Create native
nsComponentManager::CreateInstance(NS_NATIVEMIMEDATASOURCE_PROGID, nsnull, nsIMIMEDataSource::GetIID(), getter_AddRefs(mNative) );
return rv;
}
// nsIMIMEService methods
NS_IMETHODIMP
nsMIMEService::GetFromExtension(const char *aFileExt, nsIMIMEInfo **_retval) {
// for now we're assuming file extensions are case insensitive.
nsCAutoString fileExt(aFileExt);
fileExt.ToLowerCase();
nsStringKey key(fileExt.GetBuffer());
nsMIMEInfoImpl *entry = (nsMIMEInfoImpl*)mInfoObjects->Get(&key);
if (!entry) return NS_ERROR_FAILURE;
NS_ADDREF(entry);
*_retval = NS_STATIC_CAST(nsIMIMEInfo*, entry);
return NS_OK;
nsresult rv;
if( !mXML || NS_FAILED (rv = mXML->GetFromExtension( aFileExt, _retval ) ) )
{
if ( mNative )
rv = mNative->GetFromExtension( aFileExt, _retval );
}
return rv;
}
NS_IMETHODIMP
nsMIMEService::GetFromMIMEType(const char *aMIMEType, nsIMIMEInfo **_retval) {
nsresult rv =NS_ERROR_FAILURE;
if( !mXML || NS_FAILED (rv = mXML->GetFromMIMEType( aMIMEType, _retval ) ) )
{
if ( mNative )
rv = mNative->GetFromMIMEType( aMIMEType, _retval );
}
return rv;
}
// Helper routines implemented in terms of the above
NS_IMETHODIMP
nsMIMEService::GetTypeFromExtension(const char *aFileExt, char **aContentType) {
nsresult rv = NS_OK;;
nsCOMPtr<nsIMIMEInfo> info;
rv = GetFromExtension(aFileExt, getter_AddRefs(info));
if (NS_FAILED(rv)) return rv;
return info->GetMIMEType(aContentType);
rv = info->GetMIMEType(aContentType);
return rv;
}
NS_IMETHODIMP
@@ -359,6 +127,29 @@ nsMIMEService::GetTypeFromURI(nsIURI *aURI, char **aContentType) {
// first try to get a url out of the uri so we can skip post
// filename stuff (i.e. query string)
nsCOMPtr<nsIURL> url = do_QueryInterface(aURI, &rv);
#ifdef XP_MAC
if ( NS_SUCCEEDED( rv ) )
{
nsXPIDLCString fileExt;
url->GetFileExtension(getter_Copies(fileExt));
nsresult rv2;
nsCOMPtr<nsIFileURL> fileurl = do_QueryInterface( url, &rv2 );
if ( NS_SUCCEEDED ( rv2 ) )
{
nsCOMPtr <nsIFile> file;
rv2 = fileurl->GetFile( getter_AddRefs( file ) );
if ( NS_SUCCEEDED( rv2 ) )
{
rv2 = GetTypeFromFile( file, aContentType );
if( NS_SUCCEEDED ( rv2 ) )
return rv2;
}
}
}
#endif
if (NS_SUCCEEDED(rv)) {
nsXPIDLCString ext;
rv = url->GetFileExtension(getter_Copies(ext));
@@ -372,7 +163,7 @@ nsMIMEService::GetTypeFromURI(nsIURI *aURI, char **aContentType) {
rv = aURI->GetSpec(getter_Copies(cStrSpec));
if (NS_FAILED(rv)) return rv;
nsAutoString specStr(cStrSpec);
nsAutoString specStr; specStr.AssignWithConversion(cStrSpec);
// find the file extension (if any)
nsAutoString extStr;
@@ -389,16 +180,67 @@ nsMIMEService::GetTypeFromURI(nsIURI *aURI, char **aContentType) {
return rv;
}
NS_IMETHODIMP
nsMIMEService::GetFromMIMEType(const char *aMIMEType, nsIMIMEInfo **_retval) {
nsCAutoString MIMEType(aMIMEType);
MIMEType.ToLowerCase();
NS_IMETHODIMP nsMIMEService::GetTypeFromFile( nsIFile* aFile, char **aContentType )
{
nsresult rv;
nsCOMPtr<nsIMIMEInfo> info;
// Get the Extension
char* fileName;
const char* ext = nsnull;
rv = aFile->GetLeafName(&fileName);
if (NS_FAILED(rv)) return rv;
if (fileName != nsnull) {
PRInt32 len = nsCRT::strlen(fileName);
for (PRInt32 i = len; i >= 0; i--) {
if (fileName[i] == '.') {
ext = &fileName[i + 1];
break;
}
}
}
nsCString fileExt( ext );
nsCRT::free(fileName);
// Handle the mac case
#ifdef XP_MAC
nsCOMPtr<nsILocalFileMac> macFile;
macFile = do_QueryInterface( aFile, &rv );
if ( NS_SUCCEEDED( rv ) )
{
PRUint32 type, creator;
macFile->GetFileTypeAndCreator( (OSType*)&type,(OSType*) &creator );
if( !mXML || NS_FAILED (rv = mXML->GetFromTypeCreator( type, creator, fileExt, getter_AddRefs(info) ) ) )
{
if ( mNative )
rv = mNative->GetFromTypeCreator( type, creator, fileExt, getter_AddRefs(info) );
}
if ( NS_SUCCEEDED( rv) )
{
return info->GetMIMEType(aContentType);
}
}
#endif
// Windows, unix and mac when no type match occured.
nsStringKey key(MIMEType.GetBuffer());
nsMIMEInfoImpl *entry = (nsMIMEInfoImpl*)mInfoObjects->Get(&key);
if (!entry) return NS_ERROR_FAILURE;
NS_ADDREF(entry);
*_retval = NS_STATIC_CAST(nsIMIMEInfo*, entry);
return NS_OK;
return GetTypeFromExtension( fileExt, aContentType );
}
// get a specific data source
NS_IMETHODIMP
nsMIMEService::GetXMLDataSource(nsIMIMEDataSource * *aXMLDataSource){
*aXMLDataSource = mXML;
NS_IF_ADDREF( *aXMLDataSource );
return NS_OK;
}
NS_IMETHODIMP
nsMIMEService::GetNativeDataSource(nsIMIMEDataSource * *aNativeDataSource)
{
*aNativeDataSource = mNative;
NS_IF_ADDREF( *aNativeDataSource );
return NS_OK;
}

View File

@@ -18,6 +18,7 @@
* Rights Reserved.
*
* Contributor(s): Judson Valeski
* : David Matiskella
*/
/*
@@ -29,11 +30,8 @@
#define ___nsIMIMEService__h___
#include "nsIMIMEService.h"
#include "nsIMIMEDataSource.h"
#include "nsCOMPtr.h"
#include "nsIURI.h"
#include "nsHashtable.h"
#include "nsISupportsArray.h"
class nsMIMEService : public nsIMIMEService {
@@ -43,19 +41,12 @@ class nsMIMEService : public nsIMIMEService {
// nsMIMEService methods
nsMIMEService();
virtual ~nsMIMEService();
nsresult Init();
static NS_METHOD Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult);
private:
nsresult InitFromURI(nsIURI *aUri);
nsresult InitFromFile(const char *aFileName);
nsresult InitFromHack();
nsHashtable *mInfoObjects; // used for fast access and
// multi index lookups
nsCOMPtr<nsISupportsArray> mInfoArray; // used for enumeration
nsresult Init();
nsCOMPtr<nsIMIMEDataSource> mXML;
nsCOMPtr<nsIMIMEDataSource> mNative;
};
#endif // ___nsIMIMEService__h___

View File

@@ -22,13 +22,26 @@
#include "nsIGenericFactory.h"
#include "nsMIMEService.h"
#include "nsXMLMIMEDataSource.h"
#include "nsMIMEInfoImpl.h"
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMIMEInfoImpl);
static nsModuleComponentInfo gResComponents[] = {
{ "The MIME mapping service",
NS_MIMESERVICE_CID,
"component:||netscape|mime",
nsMIMEService::Create
}
},
{ "xml mime datasource",
NS_XMLMIMEDATASOURCE_CID,
NS_XMLMIMEDATASOURCE_PROGID,
nsXMLMIMEDataSource::Create
},
{ "xml mime INFO",
NS_MIMEINFO_CID,
NS_MIMEINFO_PROGID,
nsMIMEInfoImplConstructor
},
};
NS_IMPL_NSGETMODULE("nsMIMEService", gResComponents)

View File

@@ -0,0 +1,619 @@
/* -*- 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.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s): Judson Valeski
* : David Matiskella
*/
#include "nsXMLMIMEDataSource.h"
#include "nsVoidArray.h"
#include "nsString2.h"
#include "nsMIMEInfoImpl.h"
#include "nsIURL.h"
#include "nsCOMPtr.h"
#include "nsXPIDLString.h"
#include "nsEnumeratorUtils.h"
#include "nsIChannel.h"
#include "nsIFileTransportService.h"
#include "nsIInputStream.h"
#include "nsIOutputStream.h"
#include "nsFileLocations.h"
#include "nsILocalFile.h"
#include "nsMimeTypes.h"
// Crap
#include "nsIFileSpec.h"
#include "nsFileSpec.h"
const char* kMIME="mime";
const char* kMIMEType="mimetype";
const char* kDescription="description";
const char* kExtensions="extensions";
static NS_DEFINE_CID(kFileTransportServiceCID, NS_FILETRANSPORTSERVICE_CID);
// Hash table helper functions
PRBool DeleteEntry(nsHashKey *aKey, void *aData, void* closure) {
nsMIMEInfoImpl *entry = (nsMIMEInfoImpl*)aData;
NS_ASSERTION(entry, "mapping problem");
NS_RELEASE(entry);
return PR_TRUE;
};
// nsISupports methods
NS_IMPL_THREADSAFE_ISUPPORTS1(nsXMLMIMEDataSource, nsIMIMEDataSource);
NS_METHOD
nsXMLMIMEDataSource::Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult) {
nsXMLMIMEDataSource* service = new nsXMLMIMEDataSource();
if (!service) return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(service);
nsresult rv = service->Init();
if (NS_FAILED(rv)) return rv;
rv = service->QueryInterface(aIID, aResult);
NS_RELEASE(service);
return rv;
}
// nsXMLMIMEDataSource methods
nsXMLMIMEDataSource::nsXMLMIMEDataSource() {
NS_INIT_REFCNT();
}
nsXMLMIMEDataSource::~nsXMLMIMEDataSource() {
mInfoObjects->Reset(DeleteEntry, nsnull);
delete mInfoObjects;
}
nsresult
nsXMLMIMEDataSource::Init() {
nsresult rv = NS_OK;
mInfoObjects = new nsHashtable();
if (!mInfoObjects) return NS_ERROR_OUT_OF_MEMORY;
rv = NS_NewISupportsArray(getter_AddRefs(mInfoArray));
if (NS_FAILED(rv)) return rv;
return InitFromHack();
}
/* This bad boy needs to retrieve a url, and parse the data coming back, and
* add entries into the mInfoArray.
*/
nsresult
nsXMLMIMEDataSource::InitFromURI(nsIURI *aUri) {
return NS_ERROR_NOT_IMPLEMENTED;
}
nsresult
nsXMLMIMEDataSource::InitFromFile( nsIFile* /* aFile */ )
{
#if 0
nsresult rv;
nsCOMPtr<nsIChannel> channel;
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv) ;
if(NS_FAILED(rv)) return rv ;
// Made second parameter 0 since I really don't know what it is used for
rv = fts->CreateTransport(aFile,0, "load", 0, 0, getter_AddRefs(channel)) ;
if(NS_FAILED(rv))
return rv ;
// we don't need to worry about notification callbacks
nsCOMPtr<nsIInputStream> stream;
rv = channel->OpenInputStream(0, 0, getter_AddRefs( stream ) ) ;
#endif
return NS_ERROR_NOT_IMPLEMENTED;
}
nsresult
nsXMLMIMEDataSource::AddMapping(const char* mimeType,
const char* extension,
const char* description,
nsIURI* dataURI, PRUint32 type, PRUint32 creator)
{
nsresult rv = NS_OK;
// setup the new MIMEInfo object.
nsMIMEInfoImpl* anInfo = new nsMIMEInfoImpl(mimeType);
if (!anInfo) return NS_ERROR_OUT_OF_MEMORY;
anInfo->mExtensions.AppendCString(extension);
anInfo->mDescription = description;
anInfo->mURI = dataURI;
anInfo->mMacType = type;
anInfo->mMacCreator = creator;
// The entry is mapped many-to-one and the MIME type is the root mapping.
// First remove any existing mapping.
rv = Remove(mimeType);
if (NS_FAILED(rv)) return rv;
// Next add the new root MIME mapping.
nsStringKey key(mimeType);
nsMIMEInfoImpl* oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, anInfo);
NS_ASSERTION(!oldInfo, "we just removed the entry, we shouldn't have one");
NS_ADDREF(anInfo);
rv = mInfoArray->AppendElement(anInfo); // update the root array.
if (NS_FAILED(rv)) return rv;
// Finally add an extension mapping.
key = extension;
oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, anInfo);
NS_ASSERTION(!oldInfo, "file extension mappings should have been cleaned up in the RemoveMapping call");
NS_ADDREF(anInfo);
return NS_OK;
}
NS_IMETHODIMP
nsXMLMIMEDataSource::Add( nsIMIMEInfo* aMapper )
{
if ( !aMapper )
return NS_ERROR_NULL_POINTER;
nsresult rv = NS_OK;
nsXPIDLCString mimeType;
rv = aMapper->GetMIMEType( getter_Copies( mimeType ) );
if ( NS_FAILED( rv ) )
return rv;
// First remove any existing mapping.
rv = Remove(mimeType);
if (NS_FAILED(rv)) return rv;
// Next add the new root MIME mapping.
nsStringKey key(mimeType);
nsMIMEInfoImpl* oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, aMapper);
NS_ASSERTION(!oldInfo, "we just removed the entry, we shouldn't have one");
NS_ADDREF(aMapper);
rv = mInfoArray->AppendElement(aMapper); // update the root array.
if (NS_FAILED(rv)) return rv;
// Finally add an extension mapping.
char** extensions;
PRInt32 count;
rv = aMapper->GetFileExtensions(& count, &extensions );
if ( NS_FAILED ( rv ) )
return rv;
for ( PRInt32 i = 0; i<count; i++ )
{
key = extensions[i];
oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, aMapper);
NS_ASSERTION(!oldInfo, "file extension mappings should have been cleaned up in the RemoveMapping call");
NS_ADDREF(aMapper);
nsAllocator::Free( extensions[i] );
}
nsAllocator::Free( extensions );
return NS_OK;
}
// used to cleanup any file extension mappings when
// a root MIME entry is removed.
PRBool removeExts(nsCString& aElement, void *aData) {
nsHashtable* infoObjects = (nsHashtable*)aData;
NS_ASSERTION(infoObjects, "hash table botched up");
nsStringKey key(aElement);
nsMIMEInfoImpl* info = (nsMIMEInfoImpl*)infoObjects->Remove(&key);
NS_RELEASE(info);
return PR_TRUE;
}
NS_IMETHODIMP
nsXMLMIMEDataSource::Remove(const char* aMIMEType) {
nsresult rv = NS_OK;
nsStringKey key(aMIMEType);
// First remove the root MIME mapping.
nsMIMEInfoImpl* info = (nsMIMEInfoImpl*)mInfoObjects->Remove(&key);
if (!info) return NS_OK;
rv = mInfoArray->RemoveElement(info); // update the root array.
if (NS_FAILED(rv)) return rv;
// Next remove any file association mappings.
rv = info->mExtensions.EnumerateForwards(removeExts, mInfoObjects);
NS_RELEASE(info);
if (NS_FAILED(rv)) return rv;
// mMacCache is potentially invalid
mMacCache.Reset();
return NS_OK;
}
nsresult
nsXMLMIMEDataSource::AppendExtension(const char* mimeType, const char* extension) {
nsStringKey key(mimeType);
nsMIMEInfoImpl* info = (nsMIMEInfoImpl*)mInfoObjects->Get(&key);
if (!info) return NS_ERROR_FAILURE;
info->mExtensions.AppendCString(extension);
// Add another file extension mapping.
key = extension;
nsMIMEInfoImpl* oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, info);
NS_IF_RELEASE(oldInfo); // overwrite any existing mapping.
NS_ADDREF(info);
return NS_OK;
}
nsresult
nsXMLMIMEDataSource::RemoveExtension(const char* aExtension) {
nsresult rv = NS_OK;
nsStringKey key(aExtension);
// First remove the extension mapping.
nsMIMEInfoImpl* info = (nsMIMEInfoImpl*)mInfoObjects->Remove(&key);
if (!info) return NS_ERROR_FAILURE;
// Next remove the root MIME mapping from the array and hash
// IFF this was the only file extension mapping left.
PRBool removed = info->mExtensions.RemoveCString(key.GetString());
NS_ASSERTION(removed, "mapping problem");
if (info->GetExtCount() == 0) {
// it's empty, remove the root mapping from hash and array.
nsXPIDLCString mimeType;
rv = info->GetMIMEType(getter_Copies(mimeType));
if (NS_FAILED(rv)) return rv;
key = (const char*)mimeType;
nsMIMEInfoImpl* rootEntry = (nsMIMEInfoImpl*)mInfoObjects->Remove(&key);
NS_ASSERTION(rootEntry, "mapping miss-hap");
rv = mInfoArray->RemoveElement(rootEntry); // update the root array
if (NS_FAILED(rv)) return rv;
NS_RELEASE(rootEntry);
}
NS_RELEASE(info);
return NS_OK;
}
NS_IMETHODIMP
nsXMLMIMEDataSource::GetEnumerator(nsISimpleEnumerator* *aEnumerator) {
return NS_NewArrayEnumerator( aEnumerator, mInfoArray);
}
NS_IMETHODIMP
nsXMLMIMEDataSource::Serialize() {
nsresult rv = NS_OK;
#if 0
// Init mFile Hack
// Lovely hack until the filespec and nsIFile stuff is merged together
// nsFileSpec dirSpec;
// nsCOMPtr<nsIFileSpec> spec = NS_LocateFileOrDirectory(nsSpecialFileSpec::App_UserProfileDirectory50);
// if (!spec) return NS_ERROR_FAILURE;
// spec->GetFileSpec(&dirSpec);
nsCOMPtr<nsILocalFile> file;
// char* path;
// spec->GetNativePath(& path );
const char* path = "development:";
rv = NS_NewLocalFile( path, getter_AddRefs(file));
if ( NS_SUCCEEDED( rv ) )
{
file->Append("mime.xml");
mFile = file;
file->SetLeafName("mime.temp");
}
mFile = file;
//
nsCOMPtr<nsIChannel> channel;
NS_WITH_SERVICE(nsIFileTransportService, fts, kFileTransportServiceCID, &rv) ;
if(NS_FAILED(rv)) return rv ;
rv = fts->CreateTransport( mFile,0, "load", 0, 0, getter_AddRefs(channel)) ;
if(NS_FAILED(rv))
return rv ;
// we don't need to worry about notification callbacks
nsCOMPtr<nsIOutputStream> stream;
rv = channel->OpenOutputStream( 0, getter_AddRefs( stream ) ) ;
nsCOMPtr<nsISimpleEnumerator> enumerator;
rv = GetEnumerator( getter_AddRefs( enumerator ) );
if ( NS_FAILED( rv ) )
return rv;
nsCString buffer;
nsXPIDLCString cdata;
nsXPIDLString unidata;
buffer="<?xml version=\"1.0\"?>\r";
PRUint32 bytesWritten;
PRBool more;
rv = stream->Write( buffer , buffer.Length(), &bytesWritten );
while ( NS_SUCCEEDED( enumerator->HasMoreElements(& more ) )&& more )
{
nsCOMPtr<nsIMIMEInfo> info;
rv = enumerator->GetNext( getter_AddRefs( info ) );
if ( NS_FAILED ( rv ) )
return rv;
buffer="<mimetype ";
rv = info->GetDescription( getter_Copies( unidata ) );
if ( NS_FAILED ( rv ) )
return rv;
buffer+= kDescription;
buffer+="=\"";
nsString temp = unidata;
char* utf8 = temp.ToNewUTF8String();
buffer+=utf8;
nsAllocator::Free( utf8 );
buffer+="\" ";
rv = info->GetMIMEType( getter_Copies( cdata ) );
if ( NS_FAILED ( rv ) )
return rv;
buffer+=kMIMEType;
buffer+="=\"";
buffer+=cdata;
buffer+="\" ";
char** extensions;
PRInt32 count;
rv = info->GetFileExtensions(& count, &extensions );
if ( NS_FAILED ( rv ) )
return rv;
buffer+=kExtensions;
buffer+="=\"";
for ( PRInt32 i = 0; i<(count-1); i++ )
{
buffer+=extensions[i];
buffer+=",";
nsAllocator::Free( extensions[i] );
}
buffer+=extensions[count-1];
buffer+="\" ";
nsAllocator::Free( extensions[count-1] );
nsAllocator::Free( extensions );
buffer+="/>\r";
rv = stream->Write( buffer , buffer.Length(), &bytesWritten );
if ( NS_FAILED( rv ) )
return rv;
}
rv = stream->Close();
// Now delete the old file and rename the new one
mFile->Delete( PR_FALSE);
file->MoveTo( NULL, "mime.xml");
#endif
return rv;
}
nsresult
nsXMLMIMEDataSource::InitFromHack() {
nsresult rv;
rv = AddMapping(TEXT_PLAIN, "txt", "Text File", nsnull, 'TEXT','ttxt');
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(TEXT_PLAIN, "text");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(APPLICATION_OCTET_STREAM, "exe", "Binary Executable", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "bin");
if (NS_FAILED(rv)) return rv;
#if defined(VMS)
rv = AppendExtension(APPLICATION_OCTET_STREAM, "sav");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "bck");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "pcsi");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "pcsi-dcx_axpexe");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_OCTET_STREAM, "pcsi-dcx_vaxexe");
if (NS_FAILED(rv)) return rv;
#endif
rv = AddMapping(TEXT_HTML, "htm", "Hyper Text Markup Language", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(TEXT_HTML, "html");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(TEXT_HTML, "shtml");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(TEXT_HTML, "ehtml");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_RDF, "rdf", "Resource Description Framework", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_XUL, "xul", "XML-Based User Interface Language", nsnull, 'TEXT','ttxt' );
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_XML, "xml", "Extensible Markup Language", nsnull, 'TEXT','ttxt');
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_CSS, "css", "Style Sheet", nsnull, 'TEXT','ttxt');
if (NS_FAILED(rv)) return rv;
rv = AddMapping(APPLICATION_JAVASCRIPT, "js", "Javascript Source File", nsnull, 'TEXT','ttxt');
if (NS_FAILED(rv)) return rv;
rv = AddMapping(MESSAGE_RFC822, "eml", "RFC-822 data", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(APPLICATION_GZIP2, "gz", "gzip", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_GIF, "gif", "GIF Image", nsnull, 'GIFf','GCon' );
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_JPG, "jpeg", "JPEG Image", nsnull, 'JPEG', 'GCon' );
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(IMAGE_JPG, "jpg");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_PNG, "png", "PNG Image", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_ART, "art", "ART Image", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(IMAGE_TIFF, "tiff", "TIFF Image", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(IMAGE_TIFF, "tif");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(APPLICATION_POSTSCRIPT, "ps", "Postscript File", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_POSTSCRIPT, "eps");
if (NS_FAILED(rv)) return rv;
rv = AppendExtension(APPLICATION_POSTSCRIPT, "ai");
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_RTF, "rtf", "Rich Text Format", nsnull);
if (NS_FAILED(rv)) return rv;
rv = AddMapping(TEXT_CPP, "cpp", "CPP file", nsnull, 'TEXT','CWIE');
if (NS_FAILED(rv)) return rv;
rv = AddMapping( "application/x-arj", "arj", "ARJ file", nsnull);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
// nsIMIMEService methods
NS_IMETHODIMP
nsXMLMIMEDataSource::GetFromExtension(const char *aFileExt, nsIMIMEInfo **_retval) {
// for now we're assuming file extensions are case insensitive.
nsCAutoString fileExt(aFileExt);
fileExt.ToLowerCase();
nsStringKey key(fileExt.GetBuffer());
nsMIMEInfoImpl *entry = (nsMIMEInfoImpl*)mInfoObjects->Get(&key);
if (!entry) return NS_ERROR_FAILURE;
NS_ADDREF(entry);
*_retval = NS_STATIC_CAST(nsIMIMEInfo*, entry);
return NS_OK;
}
NS_IMETHODIMP
nsXMLMIMEDataSource::GetFromMIMEType(const char *aMIMEType, nsIMIMEInfo **_retval) {
nsCAutoString MIMEType(aMIMEType);
MIMEType.ToLowerCase();
nsStringKey key(MIMEType.GetBuffer());
nsMIMEInfoImpl *entry = (nsMIMEInfoImpl*)mInfoObjects->Get(&key);
if (!entry) return NS_ERROR_FAILURE;
NS_ADDREF(entry);
*_retval = NS_STATIC_CAST(nsIMIMEInfo*, entry);
return NS_OK;
}
NS_IMETHODIMP
nsXMLMIMEDataSource::GetFromTypeCreator(PRUint32 aType, PRUint32 aCreator, const char* aExt, nsIMIMEInfo **_retval)
{
PRUint32 buf[2];
buf[0] = aType;
buf[1] = aCreator;
nsAutoString keyString( (char*)buf,8 );
keyString+=aExt;
nsStringKey key( keyString );
// Check if in cache for real quick look up of common ( html,js, xul, ...) types
nsIMIMEInfo *entry = (nsIMIMEInfo*)mMacCache.Get(&key);
if (entry)
{
NS_ADDREF(entry);
*_retval = entry;
return NS_OK;
}
// iterate through looking for a match
// must match type, bonus points for ext, and app
// use the same scoring as IC
PRInt32 score = 0;
nsCOMPtr<nsISimpleEnumerator> enumerator;
nsresult rv = GetEnumerator( getter_AddRefs( enumerator ) );
if ( NS_FAILED( rv ) )
return rv;
nsCOMPtr< nsIMIMEInfo> info;
nsCOMPtr<nsIMIMEInfo> bestMatch;
PRBool hasMore;
nsCString extString ( aExt );
while( NS_SUCCEEDED(enumerator->HasMoreElements( & hasMore ) ) && hasMore )
{
enumerator->GetNext( getter_AddRefs( info ) );
PRUint32 type, creator;
info->GetMacType( &type );
info->GetMacCreator( &creator );
PRInt32 scoreOfElement = 0;
if ( type == aType )
{
scoreOfElement=2;
}
if ( creator == aCreator )
scoreOfElement++;
PRBool tempBool = PR_FALSE;
info->ExtensionExists( aExt, &tempBool );
if ( tempBool )
scoreOfElement+= 4;
if ( scoreOfElement > score )
{
score = scoreOfElement;
bestMatch = info;
}
}
if( score != 0 )
{
*_retval = bestMatch;
NS_ADDREF( *_retval );
// Add to cache
mMacCache.Put( &key, bestMatch.get() );
return NS_OK;
}
return NS_ERROR_FAILURE;
}

View File

@@ -0,0 +1,71 @@
/* -*- 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.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s): Judson Valeski
*/
/*
* There is a 1-to-many relationship between MIME-types and file extensions
* I.e. there can be many file extensions that have the same mime type.
*/
#ifndef ___nsXMLMIMEDataSource__h___
#define ___nsXMLMIMEDataSource__h___
#include "nsIMIMEDataSource.h"
#include "nsCOMPtr.h"
#include "nsIURI.h"
#include "nsHashtable.h"
#include "nsISupportsArray.h"
#include "nsIFile.h"
class nsIFile;
class nsXMLMIMEDataSource : public nsIMIMEDataSource {
NS_DECL_ISUPPORTS
NS_DECL_NSIMIMEDATASOURCE
// nsMIMEService methods
nsXMLMIMEDataSource();
virtual ~nsXMLMIMEDataSource();
nsresult Init();
static NS_METHOD Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult);
private:
nsresult AddMapping(const char* mimeType,
const char* extension,
const char* description,
nsIURI* dataURI, PRUint32 type=PRUint32(0x3F3F3F3F), PRUint32 creator=PRUint32(0x3F3F3F3F));
nsresult AppendExtension(const char* mimeType, const char* extension);
nsresult RemoveExtension(const char* aExtension);
nsresult InitFromURI(nsIURI *aUri);
nsresult InitFromHack();
nsresult InitFromFile( nsIFile* /* aFile */ );
nsCOMPtr<nsIFile> mFile; // File to load the datasource from
nsHashtable *mInfoObjects; // used for fast access and
// multi index lookups
nsHashtable mMacCache; // Cache for lookup of file creator types
nsCOMPtr<nsISupportsArray> mInfoArray; // used for enumeration
};
#endif // ___nsXMLMIMEDataSource__h___

View File

@@ -26,7 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = about data file resource ftp http keyword jar res \
DIRS = about data file ftp http keyword jar res \
datetime finger
include $(topsrcdir)/config/rules.mk

View File

@@ -31,14 +31,17 @@ interface nsIEventQueue;
[scriptable, uuid(692303c0-2f83-11d3-8cd0-0060b0fc14a3)]
interface nsIAboutModule : nsISupports
{
nsIChannel newChannel(in string verb,
in nsIURI aURI,
in nsILoadGroup aLoadGroup,
in nsIInterfaceRequestor notificationCallbacks,
in nsLoadFlags loadAttributes,
in nsIURI originalURI,
in unsigned long bufferSegmentSize,
in unsigned long bufferMaxSize);
/**
* Constructs a new channel for the about protocol module.
*
* @param originalURI - Specifies the original URI which caused the creation
* of this channel. This can occur when the construction of one channel
* (e.g. for resource:) causes another channel to be created on its behalf
* (e.g. a file: channel), or if a redirect occurs, causing the current
* URL to become different from the original URL. If NULL, the aURI parameter
* will be used as the originalURI instead.
*/
nsIChannel newChannel(in nsIURI aURI);
};
%{C++

View File

@@ -28,6 +28,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = necko
LIBRARY_NAME = necko_about
SHORT_LIBNAME = neckoabt
IS_COMPONENT = 1
REQUIRES = xpcom necko

View File

@@ -33,20 +33,12 @@ NS_IMPL_ISUPPORTS(nsAboutBlank, NS_GET_IID(nsIAboutModule));
static const char kBlankPage[] = "";
NS_IMETHODIMP
nsAboutBlank::NewChannel(const char *verb,
nsIURI *aURI,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel **result)
nsAboutBlank::NewChannel(nsIURI *aURI, nsIChannel **result)
{
nsresult rv;
nsIChannel* channel;
nsISupports* s;
rv = NS_NewStringInputStream(&s, kBlankPage);
rv = NS_NewCStringInputStream(&s, kBlankPage);
if (NS_FAILED(rv)) return rv;
nsIInputStream* in;
@@ -54,11 +46,8 @@ nsAboutBlank::NewChannel(const char *verb,
NS_RELEASE(s);
if (NS_FAILED(rv)) return rv;
rv = NS_NewInputStreamChannel(aURI, "text/html",
nsCRT::strlen(kBlankPage),
in, aLoadGroup, notificationCallbacks,
loadAttributes, originalURI,
bufferSegmentSize, bufferMaxSize, &channel);
rv = NS_NewInputStreamChannel(&channel, aURI, in, "text/html",
nsCRT::strlen(kBlankPage));
NS_RELEASE(in);
if (NS_FAILED(rv)) return rv;

View File

@@ -42,15 +42,7 @@ static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
NS_IMPL_ISUPPORTS(nsAboutBloat, NS_GET_IID(nsIAboutModule));
NS_IMETHODIMP
nsAboutBloat::NewChannel(const char *verb,
nsIURI *aURI,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel **result)
nsAboutBloat::NewChannel(nsIURI *aURI, nsIChannel **result)
{
nsresult rv;
nsXPIDLCString path;
@@ -81,7 +73,7 @@ nsAboutBloat::NewChannel(const char *verb,
nsCOMPtr<nsISupports> s;
const char* msg = "Bloat statistics cleared.";
rv = NS_NewStringInputStream(getter_AddRefs(s), msg);
rv = NS_NewCStringInputStream(getter_AddRefs(s), msg);
if (NS_FAILED(rv)) return rv;
size = nsCRT::strlen(msg);
@@ -95,7 +87,7 @@ nsAboutBloat::NewChannel(const char *verb,
nsCOMPtr<nsISupports> s;
const char* msg = "Memory leaks dumped.";
rv = NS_NewStringInputStream(getter_AddRefs(s), msg);
rv = NS_NewCStringInputStream(getter_AddRefs(s), msg);
if (NS_FAILED(rv)) return rv;
size = nsCRT::strlen(msg);
@@ -150,15 +142,12 @@ nsAboutBloat::NewChannel(const char *verb,
rv = file->GetFileSize(&bigSize);
if (NS_FAILED(rv)) return rv;
rv = NS_NewFileInputStream(file, getter_AddRefs(inStr));
rv = NS_NewLocalFileInputStream(getter_AddRefs(inStr), file);
if (NS_FAILED(rv)) return rv;
}
nsIChannel* channel;
rv = NS_NewInputStreamChannel(aURI, "text/plain",
size, inStr, aLoadGroup, notificationCallbacks,
loadAttributes, originalURI,
bufferSegmentSize, bufferMaxSize, &channel);
rv = NS_NewInputStreamChannel(&channel, aURI, inStr, "text/plain", size);
if (NS_FAILED(rv)) return rv;
*result = channel;

View File

@@ -30,28 +30,17 @@ static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
NS_IMPL_ISUPPORTS(nsAboutCredits, NS_GET_IID(nsIAboutModule));
static const char kCreditsPage[] = "http://www.mozilla.org/credits";
static const char kCreditsPage[] = "http://www.mozilla.org/credits/";
NS_IMETHODIMP
nsAboutCredits::NewChannel(const char *verb,
nsIURI *aURI,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel **result)
nsAboutCredits::NewChannel(nsIURI *aURI, nsIChannel **result)
{
nsresult rv;
NS_WITH_SERVICE(nsIIOService, ioService, kIOServiceCID, &rv);
if (NS_FAILED(rv))
return rv;
rv = ioService->NewChannel(verb, kCreditsPage, NULL, aLoadGroup,
notificationCallbacks, loadAttributes,
originalURI, bufferSegmentSize, bufferMaxSize,
result);
return rv;
return rv;
rv = ioService->NewChannel(kCreditsPage, nsnull, result);
return rv;
}
NS_METHOD

View File

@@ -121,14 +121,7 @@ nsAboutProtocolHandler::NewURI(const char *aSpec, nsIURI *aBaseURI,
}
NS_IMETHODIMP
nsAboutProtocolHandler::NewChannel(const char* verb, nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel* *result)
nsAboutProtocolHandler::NewChannel(nsIURI* uri, nsIChannel* *result)
{
// about:what you ask?
nsresult rv;
@@ -137,13 +130,14 @@ nsAboutProtocolHandler::NewChannel(const char* verb, nsIURI* uri,
if (NS_FAILED(rv)) return rv;
// look up a handler to deal with "whatStr"
nsAutoString progID(NS_ABOUT_MODULE_PROGID_PREFIX);
nsAutoString what(whatStr);
nsAutoString progID; progID.AssignWithConversion(NS_ABOUT_MODULE_PROGID_PREFIX);
nsAutoString what; what.AssignWithConversion(whatStr);
nsCRT::free(whatStr);
// only take up to a question-mark if there is one:
PRInt32 amt = what.Find("?");
progID.Append(what, amt); // if amt == -1, take it all
// STRING USE WARNING: this use needs to be examined -- scc
progID.Append(what.GetUnicode(), amt); // if amt == -1, take it all
char* progIDStr = progID.ToNewCString();
if (progIDStr == nsnull)
@@ -152,9 +146,7 @@ nsAboutProtocolHandler::NewChannel(const char* verb, nsIURI* uri,
nsCRT::free(progIDStr);
if (NS_SUCCEEDED(rv)) {
// The standard return case:
return aboutMod->NewChannel(verb, uri, aLoadGroup, notificationCallbacks,
loadAttributes, originalURI, bufferSegmentSize,
bufferMaxSize, result);
return aboutMod->NewChannel(uri, result);
}
// mumble...

View File

@@ -28,6 +28,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = necko
LIBRARY_NAME = necko_data
SHORT_LIBNAME = neckodat
IS_COMPONENT = 1
CPPSRCS = \

View File

@@ -53,32 +53,13 @@ NS_IMPL_ISUPPORTS3(nsDataChannel,
nsIRequest)
nsresult
nsDataChannel::Init(const char* verb,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize)
nsDataChannel::Init(nsIURI* uri)
{
// we don't care about event sinks in data
nsresult rv;
rv = SetLoadAttributes(loadAttributes);
if (NS_FAILED(rv)) return rv;
rv = SetLoadGroup(aLoadGroup);
if (NS_FAILED(rv)) return rv;
rv = SetNotificationCallbacks(notificationCallbacks);
if (NS_FAILED(rv)) return rv;
// Data urls contain all the data within the url string itself.
mOriginalURI = originalURI ? originalURI : uri;
mUrl = uri;
mBufferSegmentSize = bufferSegmentSize;
mBufferMaxSize = bufferMaxSize;
rv = ParseData();
if (NS_FAILED(rv)) return rv;
@@ -175,11 +156,17 @@ nsDataChannel::ParseData() {
if (lBase64) {
*base64 = 'b';
PRInt32 resultLen = 0;
if (comma[dataLen-1] == '=')
if (comma[dataLen-2] == '=')
resultLen = dataLen-2;
else
resultLen = dataLen-1;
char * decodedData = PL_Base64Decode(comma+1, dataLen, nsnull);
if (!decodedData) return NS_ERROR_OUT_OF_MEMORY;
dataToWrite->dataLen = PL_strlen(decodedData);
dataToWrite->dataLen = resultLen;
dataToWrite->data = decodedData;
rv = bufOutStream->WriteSegments(nsReadData, dataToWrite, dataToWrite->dataLen, &wrote);
@@ -223,24 +210,35 @@ nsDataChannel::Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult)
NS_IMETHODIMP
nsDataChannel::IsPending(PRBool *result)
{
NS_NOTREACHED("nsDataChannel::IsPending");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::Cancel(void)
nsDataChannel::GetStatus(nsresult *status)
{
*status = NS_OK;
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::Cancel(nsresult status)
{
NS_NOTREACHED("nsDataChannel::Cancel");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::Suspend(void)
{
NS_NOTREACHED("nsDataChannel::Suspend");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::Resume(void)
{
NS_NOTREACHED("nsDataChannel::Resume");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -248,26 +246,39 @@ nsDataChannel::Resume(void)
// nsIChannel methods:
NS_IMETHODIMP
nsDataChannel::GetOriginalURI(nsIURI * *aURI)
nsDataChannel::GetOriginalURI(nsIURI* *aURI)
{
*aURI = mOriginalURI;
*aURI = mOriginalURI ? mOriginalURI : mUrl;
NS_ADDREF(*aURI);
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::GetURI(nsIURI * *aURI)
nsDataChannel::SetOriginalURI(nsIURI* aURI)
{
mOriginalURI = aURI;
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::GetURI(nsIURI* *aURI)
{
*aURI = mUrl;
NS_IF_ADDREF(*aURI);
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::SetURI(nsIURI* aURI)
{
mUrl = aURI;
return NS_OK;
}
// This class
NS_IMETHODIMP
nsDataChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
nsIInputStream **_retval)
nsDataChannel::OpenInputStream(nsIInputStream **_retval)
{
// XXX we should honor the startPosition and count passed in.
@@ -278,22 +289,22 @@ nsDataChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
}
NS_IMETHODIMP
nsDataChannel::OpenOutputStream(PRUint32 startPosition, nsIOutputStream **_retval)
nsDataChannel::OpenOutputStream(nsIOutputStream **_retval)
{
// you can't write to a data url
NS_NOTREACHED("nsDataChannel::OpenOutputStream");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::AsyncOpen(nsIStreamObserver *observer, nsISupports* ctxt)
{
NS_NOTREACHED("nsDataChannel::AsyncOpen");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
nsISupports *ctxt,
nsIStreamListener *aListener)
nsDataChannel::AsyncRead(nsIStreamListener *aListener, nsISupports *ctxt)
{
nsresult rv;
nsCOMPtr<nsIEventQueue> eventQ;
@@ -307,7 +318,7 @@ nsDataChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
// we'll just fire everything off at once because we've already got all
// the data.
rv = NS_NewAsyncStreamListener(aListener, eventQ, getter_AddRefs(listener));
rv = NS_NewAsyncStreamListener(getter_AddRefs(listener), aListener, eventQ);
if (NS_FAILED(rv)) return rv;
rv = listener->OnStartRequest(this, ctxt);
@@ -327,12 +338,11 @@ nsDataChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
NS_IMETHODIMP
nsDataChannel::AsyncWrite(nsIInputStream *fromStream,
PRUint32 startPosition,
PRInt32 writeCount,
nsISupports *ctxt,
nsIStreamObserver *observer)
nsIStreamObserver *observer,
nsISupports *ctxt)
{
// you can't write to a data url
NS_NOTREACHED("nsDataChannel::AsyncWrite");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -380,6 +390,90 @@ nsDataChannel::GetContentLength(PRInt32 *aContentLength)
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::SetContentLength(PRInt32 aContentLength)
{
mContentLength = aContentLength;
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::GetTransferOffset(PRUint32 *aTransferOffset)
{
NS_NOTREACHED("nsDataChannel::GetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::SetTransferOffset(PRUint32 aTransferOffset)
{
NS_NOTREACHED("nsDataChannel::SetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::GetTransferCount(PRInt32 *aTransferCount)
{
NS_NOTREACHED("nsDataChannel::GetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::SetTransferCount(PRInt32 aTransferCount)
{
NS_NOTREACHED("nsDataChannel::SetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::GetBufferSegmentSize(PRUint32 *aBufferSegmentSize)
{
*aBufferSegmentSize = mBufferSegmentSize;
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::SetBufferSegmentSize(PRUint32 aBufferSegmentSize)
{
mBufferSegmentSize = aBufferSegmentSize;
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::GetBufferMaxSize(PRUint32 *aBufferMaxSize)
{
*aBufferMaxSize = mBufferMaxSize;
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::SetBufferMaxSize(PRUint32 aBufferMaxSize)
{
mBufferMaxSize = aBufferMaxSize;
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::GetShouldCache(PRBool *aShouldCache)
{
*aShouldCache = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::GetPipeliningAllowed(PRBool *aPipeliningAllowed)
{
*aPipeliningAllowed = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::SetPipeliningAllowed(PRBool aPipeliningAllowed)
{
NS_NOTREACHED("SetPipeliningAllowed");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDataChannel::GetLoadGroup(nsILoadGroup* *aLoadGroup)
{
@@ -425,3 +519,9 @@ nsDataChannel::SetNotificationCallbacks(nsIInterfaceRequestor* aNotificationCall
return NS_OK;
}
NS_IMETHODIMP
nsDataChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
*aSecurityInfo = nsnull;
return NS_OK;
}

View File

@@ -27,7 +27,7 @@
#include "nsIDataChannel.h"
#include "nsIURI.h"
#include "nsString2.h"
#include "nsString.h"
#include "nsIEventQueue.h"
#include "nsILoadGroup.h"
#include "nsIStreamListener.h"
@@ -50,14 +50,7 @@ public:
static NS_METHOD
Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult);
nsresult Init(const char* verb,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize);
nsresult Init(nsIURI* uri);
nsresult ParseData();
protected:

View File

@@ -96,14 +96,7 @@ nsDataHandler::NewURI(const char *aSpec, nsIURI *aBaseURI,
}
NS_IMETHODIMP
nsDataHandler::NewChannel(const char* verb, nsIURI* url,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel* *result)
nsDataHandler::NewChannel(nsIURI* url, nsIChannel* *result)
{
nsresult rv;
@@ -111,8 +104,7 @@ nsDataHandler::NewChannel(const char* verb, nsIURI* url,
rv = nsDataChannel::Create(nsnull, NS_GET_IID(nsIDataChannel), (void**)&channel);
if (NS_FAILED(rv)) return rv;
rv = channel->Init(verb, url, aLoadGroup, notificationCallbacks,
loadAttributes, originalURI, bufferSegmentSize, bufferMaxSize);
rv = channel->Init(url);
if (NS_FAILED(rv)) {
NS_RELEASE(channel);
return rv;

View File

@@ -28,6 +28,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = necko
LIBRARY_NAME = necko_datetime
SHORT_LIBNAME = neckodtm
IS_COMPONENT = 1
CPPSRCS = \

View File

@@ -44,20 +44,12 @@ nsDateTimeChannel::~nsDateTimeChannel() {
NS_IMPL_ISUPPORTS4(nsDateTimeChannel, nsIChannel, nsIRequest, nsIStreamListener, nsIStreamObserver)
nsresult
nsDateTimeChannel::Init(const char* verb,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize)
nsDateTimeChannel::Init(nsIURI* uri)
{
nsresult rv;
NS_ASSERTION(uri, "no uri");
mOriginalURI = originalURI ? originalURI : uri;
mUrl = uri;
rv = mUrl->GetPort(&mPort);
@@ -69,13 +61,6 @@ nsDateTimeChannel::Init(const char* verb,
if (!*(const char *)mHost) return NS_ERROR_NOT_INITIALIZED;
rv = SetLoadAttributes(loadAttributes);
if (NS_FAILED(rv)) return rv;
rv = SetLoadGroup(aLoadGroup);
if (NS_FAILED(rv)) return rv;
rv = SetNotificationCallbacks(notificationCallbacks);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
@@ -97,24 +82,35 @@ nsDateTimeChannel::Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult
NS_IMETHODIMP
nsDateTimeChannel::IsPending(PRBool *result)
{
NS_NOTREACHED("nsDateTimeChannel::IsPending");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::Cancel(void)
nsDateTimeChannel::GetStatus(nsresult *status)
{
*status = NS_OK;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::Cancel(nsresult status)
{
NS_NOTREACHED("nsDateTimeChannel::Cancel");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::Suspend(void)
{
NS_NOTREACHED("nsDateTimeChannel::Suspend");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::Resume(void)
{
NS_NOTREACHED("nsDateTimeChannel::Resume");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -122,15 +118,22 @@ nsDateTimeChannel::Resume(void)
// nsIChannel methods:
NS_IMETHODIMP
nsDateTimeChannel::GetOriginalURI(nsIURI * *aURI)
nsDateTimeChannel::GetOriginalURI(nsIURI* *aURI)
{
*aURI = mOriginalURI;
*aURI = mOriginalURI ? mOriginalURI : mUrl;
NS_ADDREF(*aURI);
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::GetURI(nsIURI * *aURI)
nsDateTimeChannel::SetOriginalURI(nsIURI* aURI)
{
mOriginalURI = aURI;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::GetURI(nsIURI* *aURI)
{
*aURI = mUrl;
NS_IF_ADDREF(*aURI);
@@ -138,8 +141,14 @@ nsDateTimeChannel::GetURI(nsIURI * *aURI)
}
NS_IMETHODIMP
nsDateTimeChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
nsIInputStream **_retval)
nsDateTimeChannel::SetURI(nsIURI* aURI)
{
mUrl = aURI;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::OpenInputStream(nsIInputStream **_retval)
{
nsresult rv = NS_OK;
@@ -153,12 +162,13 @@ nsDateTimeChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
rv = channel->SetNotificationCallbacks(mCallbacks);
if (NS_FAILED(rv)) return rv;
return channel->OpenInputStream(startPosition, readCount, _retval);
return channel->OpenInputStream(_retval);
}
NS_IMETHODIMP
nsDateTimeChannel::OpenOutputStream(PRUint32 startPosition, nsIOutputStream **_retval)
nsDateTimeChannel::OpenOutputStream(nsIOutputStream **_retval)
{
NS_NOTREACHED("nsDateTimeChannel::OpenOutputStream");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -181,9 +191,8 @@ nsDateTimeChannel::AsyncOpen(nsIStreamObserver *observer, nsISupports* ctxt)
}
NS_IMETHODIMP
nsDateTimeChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
nsISupports *ctxt,
nsIStreamListener *aListener)
nsDateTimeChannel::AsyncRead(nsIStreamListener *aListener,
nsISupports *ctxt)
{
nsresult rv = NS_OK;
@@ -199,16 +208,15 @@ nsDateTimeChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
mListener = aListener;
return channel->AsyncRead(startPosition, readCount, ctxt, this);
return channel->AsyncRead(this, ctxt);
}
NS_IMETHODIMP
nsDateTimeChannel::AsyncWrite(nsIInputStream *fromStream,
PRUint32 startPosition,
PRInt32 writeCount,
nsISupports *ctxt,
nsIStreamObserver *observer)
nsIStreamObserver *observer,
nsISupports *ctxt)
{
NS_NOTREACHED("nsDateTimeChannel::AsyncWrite");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -252,6 +260,90 @@ nsDateTimeChannel::GetContentLength(PRInt32 *aContentLength)
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::SetContentLength(PRInt32 aContentLength)
{
NS_NOTREACHED("nsDateTimeChannel::SetContentLength");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetTransferOffset(PRUint32 *aTransferOffset)
{
NS_NOTREACHED("nsDateTimeChannel::GetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::SetTransferOffset(PRUint32 aTransferOffset)
{
NS_NOTREACHED("nsDateTimeChannel::SetTransferOffset");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetTransferCount(PRInt32 *aTransferCount)
{
NS_NOTREACHED("nsDateTimeChannel::GetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::SetTransferCount(PRInt32 aTransferCount)
{
NS_NOTREACHED("nsDateTimeChannel::SetTransferCount");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetBufferSegmentSize(PRUint32 *aBufferSegmentSize)
{
NS_NOTREACHED("nsDateTimeChannel::GetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::SetBufferSegmentSize(PRUint32 aBufferSegmentSize)
{
NS_NOTREACHED("nsDateTimeChannel::SetBufferSegmentSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetBufferMaxSize(PRUint32 *aBufferMaxSize)
{
NS_NOTREACHED("nsDateTimeChannel::GetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::SetBufferMaxSize(PRUint32 aBufferMaxSize)
{
NS_NOTREACHED("nsDateTimeChannel::SetBufferMaxSize");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetShouldCache(PRBool *aShouldCache)
{
*aShouldCache = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::GetPipeliningAllowed(PRBool *aPipeliningAllowed)
{
*aPipeliningAllowed = PR_FALSE;
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::SetPipeliningAllowed(PRBool aPipeliningAllowed)
{
NS_NOTREACHED("SetPipeliningAllowed");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDateTimeChannel::GetLoadGroup(nsILoadGroup* *aLoadGroup)
{
@@ -303,6 +395,12 @@ nsDateTimeChannel::SetNotificationCallbacks(nsIInterfaceRequestor* aNotification
return NS_OK;
}
NS_IMETHODIMP
nsDateTimeChannel::GetSecurityInfo(nsISupports * *aSecurityInfo)
{
*aSecurityInfo = nsnull;
return NS_OK;
}
// nsIStreamObserver methods
NS_IMETHODIMP

View File

@@ -27,7 +27,7 @@
#ifndef nsDateTimeChannel_h___
#define nsDateTimeChannel_h___
#include "nsString2.h"
#include "nsString.h"
#include "nsILoadGroup.h"
#include "nsIInputStream.h"
#include "nsIInterfaceRequestor.h"
@@ -55,14 +55,7 @@ public:
static NS_METHOD
Create(nsISupports* aOuter, const nsIID& aIID, void* *aResult);
nsresult Init(const char* verb,
nsIURI* uri,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize);
nsresult Init(nsIURI* uri);
protected:
nsCOMPtr<nsIInterfaceRequestor> mCallbacks;

View File

@@ -95,14 +95,7 @@ nsDateTimeHandler::NewURI(const char *aSpec, nsIURI *aBaseURI,
}
NS_IMETHODIMP
nsDateTimeHandler::NewChannel(const char* verb, nsIURI* url,
nsILoadGroup* aLoadGroup,
nsIInterfaceRequestor* notificationCallbacks,
nsLoadFlags loadAttributes,
nsIURI* originalURI,
PRUint32 bufferSegmentSize,
PRUint32 bufferMaxSize,
nsIChannel* *result)
nsDateTimeHandler::NewChannel(nsIURI* url, nsIChannel* *result)
{
nsresult rv;
@@ -110,8 +103,7 @@ nsDateTimeHandler::NewChannel(const char* verb, nsIURI* url,
rv = nsDateTimeChannel::Create(nsnull, NS_GET_IID(nsIChannel), (void**)&channel);
if (NS_FAILED(rv)) return rv;
rv = channel->Init(verb, url, aLoadGroup, notificationCallbacks,
loadAttributes, originalURI, bufferSegmentSize, bufferMaxSize);
rv = channel->Init(url);
if (NS_FAILED(rv)) {
NS_RELEASE(channel);
return rv;

Some files were not shown because too many files have changed in this diff Show More