1353 Commits

Author SHA1 Message Date
mstoltz%netscape.com
7eb98a9eb6 partially backing out my last change - weird dependency problem
git-svn-id: svn://10.0.0.236/trunk@115357 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 05:28:26 +00:00
mstoltz%netscape.com
66acb67330 32571, present confirmation dialog before allowing scripts to close windows.
105050, pass null window.opener when opener is a mail window.
both r=heikki, sr=jst, a=asa.
Backed out previously because of tinderbox problem, which should be fixed now.


git-svn-id: svn://10.0.0.236/trunk@115356 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:50:21 +00:00
hewitt%netscape.com
3a936c3077 68136 - Mozilla should have a Full-screen mode, r=ben, sr=jst/jag
git-svn-id: svn://10.0.0.236/trunk@115021 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:33:52 +00:00
dbradley%netscape.com
4c972e2fbe Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 14:48:00 +00:00
cathleen%netscape.com
c93312040a eliminate nsCRT::strlen for char* strings (part 1), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114904 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:36:56 +00:00
mcafee%netscape.com
60dc31b4b8 Backing out mstoltz. r=dbaron,jrgm
git-svn-id: svn://10.0.0.236/trunk@114882 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 04:06:53 +00:00
mstoltz%netscape.com
ebb6dc6f70 Bug 105050 - return null window.opener to scripts if opener is a mail window.
Bug 32571 - Prompt user before allowing scripts to close windows if opener is null.
both r=heikki, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@114853 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:09:45 +00:00
danm%netscape.com
8f9244cc3a reimplement window scrollbar chrome attribute. oh and revert the damn nonstandard indentation tbogard snuck in in rev 1.5. bug 111524 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@114616 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:15:57 +00:00
danm%netscape.com
09bc815c72 reimplement window scrollbar chrome attribute. bug 111524 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@114615 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:15:52 +00:00
mstoltz%netscape.com
904896ca95 Bug 119646 - Rewrite of the security manager policy database for improved
performance. r=jst, sr=jband.


git-svn-id: svn://10.0.0.236/trunk@114377 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 04:20:46 +00:00
ccarlen%netscape.com
0db9b3dc65 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:41:41 +00:00
av%netscape.com
b96821a2a8 Fixing bug 119621 -- plugins refreshed only every other time, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114204 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:09:38 +00:00
jst%netscape.com
394a60c60e Checking in Fabian Guisset's <hidday@geocities.com> fix for bug 30529. Implement window.minimize(), .maximize() and .restore() for chrome windows, and split chrome specific window methods/attributes into its own nsIDOMChromeWindow interface. r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114129 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:36:55 +00:00
jst%netscape.com
d9eff4d98e Removing a nasty shortcut that I left in when fixing bug 116834. r=rginda@netscape.com, sr=blaker@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114123 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:48:31 +00:00
rginda%netscape.com
a2ecfff1f8 bug 124076, "nsJSProtocolHandler.cpp doesn't set filename", sr=shaver, r=jband
compile javascript: urls with an appropriate filename/line number


git-svn-id: svn://10.0.0.236/trunk@113962 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:06:25 +00:00
axel%pike.org
6fc7cbd714 bug 120055, new SomeDOMElement() should throw exception. If your object supports creation from scratch, supply an external constructor to DOMCI. Added static nsDOMClassInfo::ThrowJSException to throw js exception for an nsresult. r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@113894 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 10:50:42 +00:00
jst%netscape.com
75c2f9acde Fixing bug 123003. Adding support for window.atob() and window.btoa(). r=bzbarsky@mit.edu, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113761 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 04:37:26 +00:00
danm%netscape.com
05dc1ac4bb new method GetExtantDocument. bug 36016 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@113748 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:48:20 +00:00
jst%netscape.com
a9d86459c5 Fixing bug 123078. Making document.<n> === document['<n>'] for backwards compatibility reasons. r=peterv@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113689 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 06:44:04 +00:00
jst%netscape.com
deafb819b5 Whitespace cleanup...
git-svn-id: svn://10.0.0.236/trunk@113686 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 06:04:56 +00:00
jst%netscape.com
a49bb992db Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113684 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:53:56 +00:00
jst%netscape.com
4e17fc730c Fixing bug 115352. Making FlushPendingNotifications() properly flush the parent document as well if there is one. This causes layout data in iframes to not always be up to date since iframe sizes are dependent on the parent being reflown. r=peterv@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113683 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:47:22 +00:00
jst%netscape.com
d7991ba5d1 Fixing compiler warnings and defaulting line numbers to 0 in stead of (PRUint32)-1. sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113682 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:43:08 +00:00
jst%netscape.com
3ca2b8124f Fixing bug 113856. Don't crash when resolving a name of a class w/o a primary iid. r=heikki@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113490 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 01:31:22 +00:00
rods%netscape.com
75f3adcd31 fix ref count bloat
Bug 123011 sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@113435 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 20:12:35 +00:00
rods%netscape.com
20b4083174 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@113419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:52:11 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
hyatt%netscape.com
716a0600e6 Removing some DEBUG_hyatt code.
git-svn-id: svn://10.0.0.236/trunk@112967 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 23:42:24 +00:00
rginda%netscape.com
630c49474c bug 121171, CallEventHandler ignores mScriptsEnabled, r=brendan, sr=jst
do nothing, but return a positive result from nsJSContext::CallEventHandler if scripts are disabled on this context.


git-svn-id: svn://10.0.0.236/trunk@112687 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 13:25:46 +00:00
jst%netscape.com
2cdcc5b19e Fixing bogus assertions caused by my checkins for bug 118933 and removing unnecessary double null check. trivial change, no reviews.
git-svn-id: svn://10.0.0.236/trunk@112403 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 22:12:28 +00:00
jst%netscape.com
d6dfb98e9d Fixing HPUX bustage, NS_STATIC_CAST() can't be used with incomplete types.
git-svn-id: svn://10.0.0.236/trunk@112377 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 05:09:55 +00:00
jst%netscape.com
2337395ba4 Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@112375 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 04:08:14 +00:00
law%netscape.com
35158043a6 Bug 85860; changing assertion to warning because the other change for this bug brings a new window to the foreground sooner and the assertion is annoying; r=danm, sr=jag
git-svn-id: svn://10.0.0.236/trunk@112324 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 06:43:45 +00:00
aaronl%netscape.com
a0a3bba38f Bug 70219. Add nsIDOMWindow::SetTextZoom() and nsIDOMWindow::GetTextZoom(), forwarded from nsIDOMMarkupViewer. r=valeski, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112271 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:03:53 +00:00
danm%netscape.com
02b9e2d529 call embeddingwindow->SetFocus from Focus(). bug 57841 r=hyatt,saari
git-svn-id: svn://10.0.0.236/trunk@112240 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:11:51 +00:00
rods%netscape.com
c86c67c408 added printWithSettings method for printing with PrintSettings
Bug 118352 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@112136 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 01:11:16 +00:00
rods%netscape.com
898fdc16a9 Reviewing PrintSettings arguments from print and printpreview calls they should not have been added
Bug 118352 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@112023 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 12:37:31 +00:00
hewitt%netscape.com
d753d74fc9 104401 - eliminate mOuter aggregate from nsXULElement, r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111997 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:20:29 +00:00
bzbarsky%mit.edu
b7de1b681f Implement computed position and clip, make computed style not round
values, fix font-style to say "normal" instead of "", and some random
cleanup.  Bugs 116032, 116033, 94080, 98052


git-svn-id: svn://10.0.0.236/trunk@111897 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 00:15:55 +00:00
jband%netscape.com
46c916b18c part of fix to bug 114115. Let xpti avoid building interface infos that we don't actually need by giving it a clue about which ones we want. r=dbradley sr=jst
git-svn-id: svn://10.0.0.236/trunk@111888 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 23:52:10 +00:00
jband%netscape.com
8f8ebb89a2 part of fix to bug 114115. Old code was calling through a pointer without holding a reference. r=dbradley sr=jst
git-svn-id: svn://10.0.0.236/trunk@111886 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 23:45:06 +00:00
bryner%netscape.com
0b3708e6ce Bug 118859 - allow hooking up an XBL handler for a custom DOM event. r=hewitt, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@111627 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:16:17 +00:00
jst%netscape.com
b10b1e8a0f Make 'dom.disable_open_during_load' only disable window.open in content windows, not in chrome windows. r=rpotts@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@111565 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 09:19:01 +00:00
peterv%netscape.com
8d5ceddf30 Fix for bug 114975 (location.hash fails within multipart/x-mixed-replace). Don't call nsIWebNavigation->Stop from SetHash. r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@111477 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 10:13:08 +00:00
bryner%netscape.com
87d7aa496f Initial checkin of XBL select widget (listbox) code (bug 112713).
Summary of changes:
- Removed old XBL form control cruft.
- Made nsOutlinerContentView accessible from content scripts.
- Created a new interface, nsIDOMNSXBLFormControl which exists to allow a
select element to have an outliner box object.
- Factored out nsChildIterator into its own file.
- Added support to the outliner content view for having option elements
directly inserted in the outliner.
- Cleaned up pixel/twip conversions in outliner.
- Added support for intrinsic width for outliner.

r=jag, sr=hyatt.  Note that the new select widget is NOT turned on by
default.


git-svn-id: svn://10.0.0.236/trunk@111407 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 07:17:10 +00:00
danm%netscape.com
264958aeb0 blur method now defers to the tree owner. bug 57841 r=bryner,rpotts
git-svn-id: svn://10.0.0.236/trunk@111397 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 02:20:55 +00:00
rods%netscape.com
ee8a5e4640 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
seawood%netscape.com
11b13e95fe nsRect's win32 signature requires libraries need to link against libgkgfx for debug builds.
Added support for processing .rc to win32 gmake build.
Bug #58981


git-svn-id: svn://10.0.0.236/trunk@111203 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 00:03:57 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
mkaply%us.ibm.com
39bdeb2414 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@110901 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 16:56:42 +00:00