1841 Commits

Author SHA1 Message Date
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
jst%netscape.com
ff06deed3f Adding new chrome only window interface. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@113055 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 21:52:30 +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
aaronl%netscape.com
33129ce5b8 Bug 119067. Add nsIDOMXULMenuListElement.idl, implement open property. r=jgaunt, sr=hyatt. Bug 119251 - Active Accessibility status bar shouldn't act like a leaf - need the ability to have children. r=jgaunt, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111928 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 03:48:02 +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
alex.fritze%crocodile-clips.com
74bbdddac8 Remove files with too long (>31chars) names. (Replacements in tree already)
git-svn-id: svn://10.0.0.236/trunk@111804 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 12:14:24 +00:00
peterv%netscape.com
933e7b6feb Readding files with shorter names, mac doesn't like long names. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@111803 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 10:55:28 +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
alex.fritze%crocodile-clips.com
d7b20dbc43 [SVG only] Add DOM interfaces needed for SVG text support.
git-svn-id: svn://10.0.0.236/trunk@111484 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 13:52:14 +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
jst%netscape.com
580aa04ed1 Fixing bug 111752. DOM0 quirk, document.open() when called with 3 or more arguments should call window.open() to make calls to 'open(url, name, features);' when called from within the document scope open a new window. r=hidday@geocities.com, sr=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@110885 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 10:16:25 +00:00
heikki%netscape.com
647802449c Bug 74800, implemented FIXptr. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@110858 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 05:15:52 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
bryner%netscape.com
0afc6d9ddd Adding a new interface to allow select elements to have an outliner box object. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@110624 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 11:21:12 +00:00
jaggernaut%netscape.com
d1529aed21 Remove timer from REQUIRES, the makefile.win edition
git-svn-id: svn://10.0.0.236/trunk@110586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
1140db62f4 Remove timer from REQUIRES. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@110585 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
seawood%netscape.com
0fff265da2 Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls


git-svn-id: svn://10.0.0.236/trunk@110499 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:49:04 +00:00
bbaetz%cs.mcgill.ca
478af40f6f Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT


git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00