1818 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
255ee4ff0c Clear the undisplayed content map before calling SetDocument(null), which can cause some XBL content to be destroyed without notifications, leaving dangling pointers in the undisplayed map. b=145737 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122187 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 17:03:42 +00:00
dbaron%fas.harvard.edu
36706675ec Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00
rods%netscape.com
7add5ab6a7 The allows TAB events to be processed. This seems to work fine, because the
forms controls can never get focus. I did a lot of testing and the focus goes
to the toolbar and doesn't go to any forms controls.
Bug 145388 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@122068 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 10:48:37 +00:00
rods%netscape.com
c9a14d5e5f unregisters the focus listener after a new one is installed.
Bug 145388 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@121939 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 19:37:28 +00:00
jst%netscape.com
7b7411c3ef Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
jst%netscape.com
9dc48e1db8 Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@121802 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:02:50 +00:00
rods%netscape.com
8776ddd71b Adds a new arg to the PP call. The new arg is not being used, it is
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121621 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:51:54 +00:00
akkana%netscape.com
a199243cff 46227: eliminate extra spaces inserted switching between normal and source modes of composer. Patch is from burpmaster@truffula.net, r=akk, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121580 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 00:32:40 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
rods%netscape.com
de84818d20 Changing CID to ContractID and const char* to const char xxx[]
As part of Bug 144128


git-svn-id: svn://10.0.0.236/trunk@121469 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:32:42 +00:00
rods%netscape.com
c9aff94488 Static build bustage fix
git-svn-id: svn://10.0.0.236/trunk@121468 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:15:19 +00:00
rods%netscape.com
29c0c5d959 This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121463 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:05:00 +00:00
caillon%returnzero.com
00ebc565e0 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121437 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:28:17 +00:00
jst%netscape.com
79bf7a0a29 Fixing bug 135278. Stop don't use Substring() on a null poiter, Substring() asserts if given a null pointer. r=dbaron@fas.harvard.edu, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121264 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:21:50 +00:00
rods%netscape.com
e97a493be3 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121197 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:02:44 +00:00
bzbarsky%mit.edu
0985b9ce27 make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121183 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:05:25 +00:00
bzbarsky%mit.edu
5ad9be30cc Bug 140758 redux -- cache results of getElementsByTagName in case people call
it in a loop.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@121093 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:48:19 +00:00
rods%netscape.com
a9806babab Need to call StartPrint to initialize the Seq Frame
Bug 143089 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@121086 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:11:14 +00:00
bzbarsky%mit.edu
abc6497b45 Back last checkin out till I get the windows casting stuff settled out....
git-svn-id: svn://10.0.0.236/trunk@121038 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 04:13:16 +00:00
bzbarsky%mit.edu
1ec693a3a2 Fix bustage
git-svn-id: svn://10.0.0.236/trunk@121037 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 03:47:22 +00:00
bzbarsky%mit.edu
c195950355 Bug 140758 -- cache results of getElementsByTagName in case people call
it in a loop.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@121033 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 03:15:45 +00:00
rods%netscape.com
659bd3bd17 OK, really fixing the HP bustage this time.
git-svn-id: svn://10.0.0.236/trunk@120950 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 15:33:06 +00:00
rods%netscape.com
f2b48d0e93 fixed build bustage on HP
git-svn-id: svn://10.0.0.236/trunk@120944 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:07:28 +00:00
rods%netscape.com
7ad503bef8 These files are no longer needed.
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120943 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:03:30 +00:00
rods%netscape.com
fe2355ea4d Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120936 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 12:03:37 +00:00
brendan%mozilla.org
843653e566 Fix script attribute handling so type trumps language (135493, r=heikki, sr=jst).
git-svn-id: svn://10.0.0.236/trunk@120893 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:59:42 +00:00
rbs%maths.uq.edu.au
d21c5c6672 Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120592 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:24:59 +00:00
rods%netscape.com
047a00dc17 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120544 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 14:10:12 +00:00
rods%netscape.com
b78c834b7f Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120542 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 13:47:53 +00:00
rods%netscape.com
2eb86ae788 backing out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@120541 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 13:24:08 +00:00
rods%netscape.com
86b99f77e1 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120540 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:38:43 +00:00
jaggernaut%netscape.com
6d9de96321 Bug 141455: hang when selecting text and right-clicking on page. r=akkana, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120458 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 20:52:29 +00:00
dbaron%fas.harvard.edu
1ec44c55ea Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120368 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:17:04 +00:00
alecf%netscape.com
61312b4eeb fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:54 +00:00
badami%netscape.com
4576e12d1b bug 122877 r=bratell sr=jst a=asa patch=t_mutreja@yahoo.com
case insensitive matching for attributes (HREF != href)


git-svn-id: svn://10.0.0.236/trunk@120177 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 06:25:55 +00:00
racham%netscape.com
923a0afa2f Fixing bug 140183. Checking ShowProgress dialog attribute and pref as printing is done. Patch by Rod Spears. r=danm,bhuvan sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@120129 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 01:43:23 +00:00
peterv%netscape.com
2c2fdc6a40 Fix for bug 140060 (ReplaceChild on a document's documentElement fails). r=bz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@120011 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:52:48 +00:00
jst%netscape.com
a9a7bb82fa Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:04:52 +00:00
jst%netscape.com
0546da2c91 Fixing regression bug 139870. Don't crash when running into framesets/iframes that are too deeply nested. r=peterV@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119884 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:06:49 +00:00
peterv%netscape.com
f55dfe4eb5 Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119822 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 11:58:08 +00:00
rods%netscape.com
02eac7b853 printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman


git-svn-id: svn://10.0.0.236/trunk@119709 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 13:15:13 +00:00
mkaply%us.ibm.com
9518b8280d #124164
r=pedemont, sr=blizzard
OS/2 only - get rid of OS/2 specific setting of form fonts


git-svn-id: svn://10.0.0.236/trunk@119683 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 04:03:49 +00:00
jst%netscape.com
aea34406c2 Fixing regression bug 138663. Cached mail compose windows open up blank. r=harishd@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119660 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:33:56 +00:00
rods%netscape.com
cf98beaa54 mOrigDCScale needs to come from the previous PrintData object or it will continue to get smaller
Bug 139459  r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119654 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:26:54 +00:00
smontagu%netscape.com
c0b0bc0ee7 Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119644 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:29:18 +00:00
pinkerton%netscape.com
cb63268bc0 add first stage of dragging images. advertise os-native image format to other applications. r=ccarlen/sr=alecf. bug# 138049
git-svn-id: svn://10.0.0.236/trunk@119617 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:24:48 +00:00
rods%netscape.com
f5d5b87dc0 Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119606 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 12:05:43 +00:00
jst%netscape.com
4b957f7a30 Fixing bugs 138138 and 138663. Making boxobjects clear their presentation related data when a XUL document is hidden. r=jkeiser@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119576 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:48:14 +00:00
jst%netscape.com
856750ef5c Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119570 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:12:18 +00:00
jaggernaut%netscape.com
fe68e4711d Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00