Граф коммитов

2246 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu f742557433 Use const statics for greater good. Bug 201251, r=jst, sr=alecf 2003-04-09 00:52:48 +00:00
jst%netscape.com 37596c703c Fixing bug 199465. Make the DOM shutdown code flush the XUL cache to ensure that everything is unrooted before the final JS GC is run. r=dbradley@netscape.com, sr=brendan@mozilla.org 2003-04-02 21:24:50 +00:00
jst%netscape.com b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
shliang%netscape.com 6fb1258807 195924, 195921, 195928 - popup blocking changes to use whitelisting only and provide info dlg when popup first encountered. r=danm, sr=jag. 2003-03-26 02:03:13 +00:00
alecf%netscape.com 8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
seawood%netscape.com d056fe18d0 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
jst%netscape.com 320062efa6 Fixing bug 199033. Taking out code that was needed for full-page plugins when they didn't have a document associated with them, that was recently fixed, so now this code is no longer needed. r=peterlubczynski@netscape.com, sr=bzbarsky@mit.edu 2003-03-25 00:17:27 +00:00
jst%netscape.com df96f79656 Fixing regression bug 198433. option.text not settable any more. r=fabian@imajes.info, sr=bzbarsky@mit.edu 2003-03-21 21:27:17 +00:00
alecf%netscape.com b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
heikki%netscape.com 7546a28ccf Bug 139276, implement synchronous document.load(), r=jst, sr=darin. 2003-03-21 19:22:52 +00:00
alecf%netscape.com ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
heikki%netscape.com 0ee437d7ac Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv. 2003-03-19 23:45:42 +00:00
jst%netscape.com 295fae128d Fixing typo in comment. 2003-03-18 23:23:49 +00:00
jst%netscape.com a5e7d80b2c Removing unused variables. 2003-03-18 23:23:32 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
jst%netscape.com 493648b372 Um, forgot these changes in my last checkin. 2003-03-14 07:38:26 +00:00
jst%netscape.com 0b5cb41238 Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com 2003-03-14 07:00:53 +00:00
jst%netscape.com 8cd096d01e Fixing bug 156871. Making history.go() work like history.go(0). r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-13 07:12:11 +00:00
roc+%cs.cmu.edu 210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
jst%netscape.com 0ded6db4d9 Fixing bug 196895. Don't assume aIsUndefined is non-null. Patch by dbradley@netscape.com, r=jst@netscape.com, sr=alecf@netscape.com 2003-03-11 22:24:02 +00:00
hpradhan%hotpop.com 59fa9e599d bug 196404 : setting document.location.href while showing about:blank broken r=radha sr=dbaron 2003-03-11 04:31:44 +00:00
radha%netscape.com c3cbae6131 Fix for bug #162128. Find a usable base uri for urls loaded through javascript.
r=jst sr=darin.
2003-03-05 22:23:47 +00:00
jst%netscape.com 0e4c40e508 Fixing bug 125318. Making window.self replaceable. r=fabian@imajes.info, sr=peterv@netscape.com 2003-02-27 00:54:49 +00:00
peterlubczynski%netscape.com d1b6c0d64d Fixing the DOM navigator.mimeType array to be able to test for installed helper applications, bug 58811, patch by bzbarsky@mit.edu r=peter, sr=jst 2003-02-26 23:54:55 +00:00
mstoltz%netscape.com ce91c3fdca Bug 163549 - Remove History.goURI(). Patch by mstoltz & jst. r=alecf/mstoltz. sr=heikki. 2003-02-25 01:40:18 +00:00
danm%netscape.com f2d773dbfd suppress processing of blur events with filepicker showing. bug 68454 r=bryner,kmcclusk,jst 2003-02-24 20:15:59 +00:00
dbaron%dbaron.org e59e36a0ee Replace the broken (since it can return destroyed data) ResolveStyleContextAndGetStyleData with GetXBLBindingURL. b=193847 r+sr=bzbarsky 2003-02-23 17:20:15 +00:00
jkeiser%netscape.com bd4cc85eeb Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:10:46 +00:00
jst%netscape.com 1eb16f6978 Whitespace changes, no 3-space indentation here\! 2003-02-18 05:41:48 +00:00
jst%netscape.com 11dd5320d2 Fixing part of bug 192837. Freezing most remaining DOM HTML interfaces and also nsIDOMStyleSheetList. r=harishd@netscape.com, sr=peterv@netscape.com, a=asa@mozilla.org 2003-02-18 00:20:16 +00:00
jst%netscape.com 1a0c20c6bb Fixing bug 193710. Fix crash in the DOM event handling code where it was passing a bad stack pointer to the JS engine. r=peterv@netscape.com, sr=brendan@mozilla.org, a=dbaron@dbaron.org 2003-02-17 22:38:55 +00:00
jst%netscape.com c735423014 Fixing bug 189494. Making window.frames replaceable. r=fabian@guisset.org, sr=peterv@netscape.com, a=asa@mozilla.org 2003-02-14 01:59:52 +00:00
jst%netscape.com a6d625072c Fixing regression bug 191916. Making classes of eTypeExternalConstructor constructable again, we can't use the DOMJSClass_Construct() hook directly from a JS function, it must be used only as a construct hook on instances of the JS class nsDOMClassInfo::sDOMJSClass. r=bugmail@sicking.cc, sr=peterv@netscape.com, a=asa@mozilla.org 2003-02-06 00:38:22 +00:00
nisheeth%netscape.com cc8dffbfcc Fix for bug 191377. r=peterv, sr=heikki, a=asa. window.open("") was not opening a blank window. This was a regression from the fix to bug 174628. 2003-02-01 00:39:31 +00:00
nisheeth%netscape.com 861f7bc62c Backout last checkin because it did not have any log message. 2003-02-01 00:35:45 +00:00
nisheeth%netscape.com bbfad7145e *** empty log message *** 2003-02-01 00:24:14 +00:00
peterv%netscape.com 5afb6de03a Fix for bug 91557 (constructor property of DOM Object instances return incorrect constructor). r=sicking, sr=jst, a=asa. 2003-01-31 12:10:13 +00:00
nisheeth%netscape.com 510bd13eac Fix for bug 174628. r=darin, sr=jst, a=asa. Only escape non-ASCII characters in url passed to nsGlobalWindow::InternalLoad(). 2003-01-27 22:02:44 +00:00
peterv%netscape.com cf33cabd99 Backing out part of fix for bug 91557 to fix smoketest blocker 190064. 2003-01-22 15:39:44 +00:00
peterv%netscape.com f88e30a75d Fix for bug 91557 (constructor property of DOM Object instances return incorrect constructor). sr=jst, sr=brendan. 2003-01-22 03:22:35 +00:00
timeless%mozdev.org cfdbf03787 Bug 189736 Move early return failure cases to the beginning of nsDOMClassInfo::Init()
r=sicking sr=jst
2003-01-22 03:18:41 +00:00
varga%netscape.com ad976ff996 Fix possible binary compatibility issues introduced by fix for bug 73322.
sr=bz
2003-01-18 17:55:27 +00:00
varga%netscape.com 874f920e11 Landing pref based, automatic image resizing.
Disabled by default.
r=jst, sr=jag
2003-01-18 10:17:58 +00:00
darin%netscape.com 685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
peterv%netscape.com 1ee3336d5a Fix for bug 188500 (Some DOM classes do not resolve). r=sicking, sr=jst. 2003-01-17 15:16:33 +00:00
caillon%returnzero.com 8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
mkaply%us.ibm.com 8e455da2c0 No bug - OS/2 only - add #ifdef so OS/2 returns OS/2 for platform 2003-01-15 23:10:56 +00:00
dougt%netscape.com 6508e0713e move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood. 2003-01-15 20:40:06 +00:00
jst%netscape.com 53dbf78a7a Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com 2003-01-14 23:05:52 +00:00
bryner%netscape.com ad197350de fixing win32 bustage 2003-01-09 07:50:15 +00:00
bryner%netscape.com 7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
kin%netscape.com 872ded6605 Fix for bug #88049: Support .selectionStart & friends for textareas
Patch by petejc@optonline.net and kin@netscape.com

  mozilla/content/html/content/src/nsHTMLInputElement.cpp
  mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
  mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
  mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Re-implemented selectionStart, selectionEnd, setSelectionRange() and various

utility methods in nsTextControlFrame to support multi-line text widgets.


r=jkeiser@netscape.com  sr=sfraser@netscape.com
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org 098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
jst%netscape.com 50771e7d42 Fixing bug 158370. Newly created windows not fully usable in JS when running in some embedded apps. r=harishd@netscape.com, sr=peterv@netscape.com 2003-01-06 22:37:54 +00:00
hpradhan%hotpop.com a0f7e77d37 bug 186509 r=caillon sr=jst 2003-01-05 06:34:53 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
caillon%returnzero.com dfad9c362b Removing unused decl. r=timeless. I forgot to remove this with my fix for 175197, and it wasn't removed per my review comment to 183234. 2002-12-24 21:40:41 +00:00
aaronl%netscape.com 600e0c73e6 Bug 183234. Checking in patch for jst. Crash in nsDOMWindowController when F7 key pressed. r=aaronl, sr=peterv 2002-12-20 08:00:08 +00:00
peterv%netscape.com 74352f1e02 Fix for bug 180709 (Update Mozilla to the DOM Level 2 HTML PR). r=sicking, sr=jst. 2002-12-17 13:29:39 +00:00
jst%netscape.com e2f8a3ab91 Fixing bug 183604. Making the DOM code reuse the timer for interval timeouts in stead of creating a new timeout every time. r=caillon@returnzero.com, sr=peterv@netscape.com 2002-12-12 22:37:07 +00:00
caillon%returnzero.com 4fc0180afb Bug 179269 - New page opens which should display tabular data. Error message in new page instead of data.
Fix contributed by Harshal <keeda@hotpop.com>
r=caillon sr=jst
2002-12-12 15:48:30 +00:00
jst%netscape.com f729673363 Fixing bug 184209. Don't access timeout's past the point where they are released in a situation when the release might have deleted the timeout. r=dbradley@netscape.com, sr=rpotts@netscpae.com 2002-12-11 00:03:34 +00:00
caillon%returnzero.com 02dff0ba15 Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst
2002-12-04 05:18:39 +00:00
mstoltz%netscape.com 16beb8a149 adding an include to fix bustage 2002-12-04 02:51:47 +00:00
mstoltz%netscape.com b37c501c58 Bug 32571 - add disabling pref and JS console message to window.close security check. r=heikki, sr=jst. 2002-12-04 01:55:56 +00:00
caillon%returnzero.com b7fdd3b2a7 178291 - using window.fullScreen causes scripts to stop.
r=mstoltz sr=jst
2002-12-03 06:08:08 +00:00
jst%netscape.com dfc3a21a75 Renaming member variables in nsTimeoutImpl from 'foo' to 'mFoo'. rs=brendan@mozilla.org 2002-11-28 01:35:45 +00:00
jst%netscape.com aa20bdfceb Fixing bug 178810. Original idea for the fix proposed by keeda@hotpop.com, complete fix written by me. Fix reference counting goofup that is triggerd by timeouts that run while a timeout is executing (due to a bug that lets timeouts fire while modal windows are open). r=peterv@netscape.com, sr=brendan@mozilla.org 2002-11-28 01:04:18 +00:00
caillon%returnzero.com 67da011039 175197 - Caching the window's prefs so we don't need to constantly re-fetch the service, move the calls to use the new prefs API in the process.
r/sr=sicking,jst,alecf
2002-11-25 23:21:25 +00:00
sicking%bigfoot.com 8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
jst%netscape.com 447d7e11ca Checking in keeda@hotpop.com's fix for bug 179461. Partially implement IE's select.options.add() method. No support for the optional second argument yet. r=caillon@returnzero.com, sr=jst@netscape.com 2002-11-20 22:36:36 +00:00
bryner%netscape.com f8464e5fff Fixing mac build bustage. 2002-11-09 01:49:31 +00:00
bryner%netscape.com 8beac694e3 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
rpotts%netscape.com edd519ef65 bug #174404 (sr=jst). forgot to check this file in with the rest of the patch... 2002-11-09 00:15:42 +00:00
brade%netscape.com cf20089514 extend the api for Midas functionality (bug 177700, r=akkana, sr=jst) 2002-11-07 15:38:35 +00:00
blakeross%telocity.com de604cfe77 170705 - accessing "navigator.cookieEnabled" produces "uncaught exception." r=hyatt sr=bryner 2002-11-06 20:53:52 +00:00
caillon%returnzero.com 53f34d33c0 177526 - Don't block calls to window.open() that don't actually pop open new windows.
r=jkeiser sr=bzbarsky
2002-11-06 20:48:58 +00:00
bryner%netscape.com 9b996ca00d Fix fullscreen mode on Linux to use the fullscreen hint, rather than manually sizing the window (bug 176640). Move the existing implementation of fullscreen mode from nsGlobalWindow to nsBaseWidget, so that it can be overridden in the gtk widget implementation. r=blizzard, sr=hewitt. 2002-11-06 09:35:13 +00:00
bzbarsky%mit.edu e5fafcae33 Use the right contractid for the pref service. Bug 178062, r=brendan,
sr=alecf
2002-11-06 03:14:47 +00:00
dveditz%netscape.com 27878120f5 Don't fire popup blocked event if we decide to open the content in an existing named window (bug 174765 refinement)
r=danm, sr=jag, a=roc
2002-11-01 05:20:07 +00:00
caillon%returnzero.com ed9ed0c560 Prevent access to compareTreePosition and friends from script.
bug 176135
r/sr=bzbarsky,jst a=roc+moz
2002-10-30 04:51:37 +00:00
dveditz%netscape.com 54a4cd8e0d Backend changes to support popup blocking whitelists. No Mozilla UI yet but used by Phoenix. bug 174765 r=danm,sr=jag,a=brendan 2002-10-25 02:31:12 +00:00
mstoltz%netscape.com c66a28d655 Bug 32571 - Don't allow scripts from content to close windows with a null opener.
r=heikki, sr=jst, a=dbaron.
2002-10-25 01:08:29 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
hyatt%netscape.com c20f1e2f17 Fix code inside a phoenix ifdef. NPOB. 2002-10-08 19:07:29 +00:00
caillon%returnzero.com 5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
hyatt%netscape.com 8c527dcd7e #ifdefs for phoenix. NPOB. 2002-10-08 03:30:26 +00:00
av%netscape.com 72909869a0 Bug 104298 -- clean up in plugin module, r=serge, r=bnesse, sr=beard 2002-10-03 21:31:41 +00:00
caillon%returnzero.com 9061952afd Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
caillon%returnzero.com ddd0a89dfb Typo fix. r=peterv sr=bzbarsky (bug 170782) 2002-09-26 02:45:43 +00:00
aaronl%netscape.com d618542d85 Bug 167921 - allow web pages to use preventDefault so that typeaheadfind doesn't interfere with them. r=kyle, sr=brendan. Also fixes bug 165315 - typeaheadfind shouldn't hardcode kbd shortcuts, bug 77704 - add accelerator for find prev (also added menu item). Also fixes bug 167783 - ctrl+g for typeaheadfind after repeating characters. Also fixes bug 168408 - backspace after bad character typed should do the right thing, but don't add bad characters to buffer. Also fixes bug 71832 - add F3 for find next (also shift+F3). Bug 157669 - Alt+D to select location bar (IE keyboard compatibility), r=sgehani, sr=hewitt 2002-09-24 22:46:50 +00:00
bryner%netscape.com 8a61d3e8ba Stop incorrectly notifying window watcher that a window is active when its focus controller is deactivated. This was contributing to a crash because a window was set as active after it had been unregistered, leaving window watcher with a dangling pointer. Bug 167233, r=danm, sr=alecf. 2002-09-24 03:05:27 +00:00
dbaron%fas.harvard.edu 56b82cf05d Fix leak of nsDOMEvent (and thus nsPresContext) caused by the presence of frames or iframes by avoiding early return so we don't skip necessary manual refcounting. b=160268 r=peterv sr=jst 2002-09-20 22:58:40 +00:00
jkeiser%netscape.com 99559fac4a Back out bug 163593 (superceded by bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-09-13 21:18:15 +00:00
danm%netscape.com 997fa879e8 backing out Txul-regression-causing popup window manager. bug 167929 2002-09-12 01:16:59 +00:00
danm%netscape.com c0d5889aff moving most of the popup window abuse check to WindowCreator. bug 166442 r=jag,jst,timeless 2002-09-11 02:22:25 +00:00
nhotta%netscape.com 30d3952982 Changed to use uconv util function to do the unescape which
checks for valid UTF-8 and fallback to the doc charset,
bug 161479, r=shanjian, sr=jst, a=dbaron.
2002-09-08 15:08:45 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
bryner%netscape.com 11659c8e1c Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst. 2002-09-06 00:19:58 +00:00
sicking%bigfoot.com 443bb6d0bc Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst
2002-09-04 06:57:25 +00:00
jst%netscape.com 875e9e7ffd Fixing topcrash bug 155681 (patch from timeless@bemail.org, plus slight modification by me). Don't call methods on mDocShell if it's null. r=cbiesinger@web.de, sr=jst@netscape.com 2002-09-04 02:22:35 +00:00
caillon%returnzero.com ff02b99644 156849 - embedded gecko can suffer from too little GC in some cases
Patch by Johnny Stenback <jst@netscape.com>
r=caillon sr=bzbarsky
2002-09-04 02:18:52 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
andreas.otte%debitel.net 7bf4681be4 fix bug 166175 [javascript: urls as frame source no longer work] this
is a regression from bug 163225, cloneing the url in case of an
existing base url makes no sense and fixing bug 163225 exposed that. Also
fixing a leak in nsViewSourceHandler in case setting the spec
fails. r=bzbarsky, sr=darin
2002-09-02 22:15:07 +00:00
caillon%returnzero.com dc7d252366 128420 - getComputedStyle should raise NOT_SUPPORTED_ERR per the CSS WG.
r=glazman sr=bzbarsky
2002-08-31 19:57:10 +00:00
peterv%netscape.com d93f00d5ec Bustage fix. 2002-08-30 09:39:33 +00:00
peterv%netscape.com 3745f63a12 Fix for bug 146116 (Image.prototype.foo not delegated to by (new Image).foo). r=sicking, sr=jst. 2002-08-30 08:48:58 +00:00
bzbarsky%mit.edu 7e75266e76 Fix pgup/pgdown in browser some more. Global window needs to implement
the MovePage commands. Bug 165255, r=aaronl, sr=jag
2002-08-29 23:51:53 +00:00
jkeiser%netscape.com 32844f7719 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au e1742b6500 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com 8aa6968431 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +00:00
dougt%netscape.com 22ffaadb79 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec 2002-08-27 01:05:21 +00:00
alecf%netscape.com dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
jkeiser%netscape.com d915e93f21 Fix file event.originalTarget problem (bug 163598), r=joki@netscape.com, sr=jst@netscape.com 2002-08-22 06:10:56 +00:00
jst%netscape.com 0456a6034b Checking in rpotts' fix for bug 158128. Plugging javascript: URL related leak found by keeda@hotpop.com. r=peterv@netscape.com, sr=jst@netscape.com 2002-08-21 23:01:23 +00:00
danm%netscape.com 852b838f63 CheckForAbusePoint spreads to Alert,Confirm,Prompt. because of bug 130719. r=brendan,pavlov 2002-08-20 04:28:21 +00:00
peterv%netscape.com 8a57bbd46e Fix for bug 161880 (privacy hole in JS regexps ?). r=jst, sr=brendan. 2002-08-19 11:19:05 +00:00
jst%netscape.com a10ec4307a Fixing bug 159236. Store interned JSString's as jsval's in stead of as JSString*'s to avoid having to convert between the two all the time. r=peterv@netscape.com, sr=bzbarsky@mit.edu 2002-08-15 21:18:20 +00:00
nhotta%netscape.com 5166498504 Get a doc charset and use it for nsIURI and removed unnecessary convert/escape part,
bug 162523, r=darin, sr=jst.
2002-08-13 23:26:05 +00:00
gerv%gerv.net a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
bzbarsky%mit.edu 612aea63b0 fix bustage 2002-08-06 07:08:47 +00:00
henry.jia%sun.com 566036896f 5th patch for bug 158080
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 06:20:45 +00:00
bzbarsky%mit.edu affd9fbf49 Expose @charset rules in the CSSOM. Bug 160834. r=glazman, sr=dbaron. 2002-08-06 05:26:41 +00:00
alecf%netscape.com f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
bryner%netscape.com 7dafb891cc Removing unused NS_DOM/_IMPL_NS_DOM and NS_INTL/_IMPL_NS_INTL defines (bugs 160248 and 160253). Patch for 160248 by walk84@yahoo.com, r=me&cls; patch for 160253 by me, r=cls. 2002-07-31 20:53:46 +00:00
ere%atp.fi e0d21dae0b Fix for bug 153083, mozilla (nearly) hangs on rendering. Change timer mode to idle timer.
r=biesi, sr=jst, a=asa
2002-07-30 06:19:17 +00:00
bzbarsky%mit.edu 7bb4d43a55 Fix up the build stuff in there too. Not part of build. 2002-07-26 01:35:34 +00:00
bzbarsky%mit.edu a3e2603395 Updating interfaces to reflect new edition of the spec. Not part of build. 2002-07-26 01:30:33 +00:00
alecf%netscape.com e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
bzbarsky%mit.edu e5ac003470 Adding idl files needed for DOM3 Load/Save. Not part of build. 2002-07-25 06:38:57 +00:00
dprice%netscape.com 94223fb09b 141056 r=hawara sr=dveditz a=asa
add error checking to fix top crasher
2002-07-24 20:42:22 +00:00
jst%netscape.com de37872cdd Landing branch fix for bug 90757 on he trunk. There's a better fix for this, but we want to bake this on the trunk for a while before we possibly take this on the branch, once it's baked on the trunk we can land the real fix on the trunk... r=mstoltz@netscape.com, sr=rpotts@netscape.com, a=chofmann@netscape.com 2002-07-24 06:02:05 +00:00
nhotta%netscape.com 0a94223037 Adding uconv to REQUIRES. 2002-07-24 00:34:14 +00:00
alecf%netscape.com 1aeeb4c410 fix nhotta's bustage by adding "uconv" to the REQUIRES list 2002-07-23 23:47:30 +00:00
nhotta%netscape.com 9b5c55ed77 Change nsJSProtocolHandler to listen to originCharset to apply conversion if necessary,
also changed the callers to set originCharset,
bug 137182, r=caillon, sr=jst, a=asa.
2002-07-23 23:28:28 +00:00
caillon%returnzero.com bb88a0eea7 Bug 104470 - Popup blocking breaks window.open()s which are targetted to frames or existing named windows
r=sicking sr=jst a=asa
2002-07-23 23:22:20 +00:00
mjudge%netscape.com 47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
jst%netscape.com 48e46fdb38 Fixing bug 156248. Remove pointless code that causes JS errors and fix up some comments. r=peterv@netscape.com, sr=heikki@netscape.com 2002-07-10 04:58:59 +00:00
jst%netscape.com 39e297a855 Fixing regression caused by the fix for bug 134315. Don't clear scope when leaving about:blank in a chrome window. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-07-10 02:00:45 +00:00
suresh%netscape.com b88690d5c4 Temporarily disabling the fix for bug 134315 since it caused a commercial blocker (bugscape bug 17487).
r-jkeiser
2002-07-10 01:22:35 +00:00
jst%netscape.com 90e476b61f Temporarily disabling the fix for bug 134315 since it caused a commercial blocker (bugscape bug 17487). 2002-07-09 20:11:16 +00:00
jst%netscape.com 26f8891307 Fixing bug 146143. Make sure the JS scope is cleared when leaving a full-page plugin. r=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-07-09 03:43:15 +00:00
jst%netscape.com f2ccfa37c0 Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org 2002-07-09 02:49:58 +00:00
bzbarsky%mit.edu ab1e5e8701 Bug 153519 -- parent ContentLists to their root elements. r=peterv, sr=jst 2002-07-09 00:44:20 +00:00
caillon%returnzero.com 9df8f33a00 * Implement CSSValueLists and computed -moz-border-{side}-colors
* Get the computed -moz-binding directly from the style context which is faster than getComputedStyle
* Speed up computed style by not QI'ing so much
* Cache the computed style object so we don't keep re-alloc'ing memory for it.
* Shrink ROCSSPrimitiveValue.
* Don't get computed style of non-existant properties.
* Use nsSize instead of nsRect when we only care about height and width
* Other random code cleanup of computed style

Bug 155525
r=bzbarsky
sr=jst
2002-07-08 07:11:59 +00:00
jaggernaut%netscape.com 10c940f559 Bug 111086: Location Bar address [URL] not restored after closing or switching tab. Restrict matching property names against window/frame names from crossing the chrome-content boundary. r=peterv, sr=jst 2002-07-08 06:56:43 +00:00
caillon%returnzero.com 91f5178701 Bug 155748 - "Can't use a global variable named 'parent'"
r=bzbarsky sr=jst
2002-07-08 06:51:54 +00:00
pete%alphanumerica.com 9b33dcc62e b=88049 r=bzbarsky sr=jst
[RFE] Support .selectionStart & friends for textareas

Enjoy

--pete
2002-06-27 20:22:28 +00:00
locka%iol.ie 6e1ab839ee Fix for opening javascript: popup windows in embedding. b=149307 r=adamlock@netscape.com sr=jst@netscape.com 2002-06-27 18:07:32 +00:00
jst%netscape.com 54201647f0 Fixing potential crasher introduced by the original fix for bug 150087. The weak docshell pointer in the navigator object must be cleared when it's released. r=sicking@netscape.com, sr=alecf@netscape.com 2002-06-27 01:27:00 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
peterlubczynski%netscape.com 0eb6065bb3 Reset the navigator object for each new document -- plugins may have changed, bug 150087 r=av sr=jst 2002-06-21 19:34:54 +00:00
jst%netscape.com 63db3b3f56 Fixing the DOM part of bug 59686. DOM properties not accessable on liveconnect wrapped Java applet due to the DOM applet element's prototype not being correctly set up. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2002-06-20 20:32:46 +00:00
saari%netscape.com b8de96a1d8 win32 only fix for 82534. focus goes wonky after minimizing a window. r=bryner, sr=jag 2002-06-20 04:55:13 +00:00
caillon%returnzero.com 981cfb96b6 Bug 152256, honor the pref to prevent sites from hiding the statusbar in the window.statusbar.visible=false case also. r=bzbarsky sr=jst 2002-06-19 04:09:57 +00:00
jst%netscape.com 53ecd021aa Fixing bug 123273. Don't let JS timeouts run with 0 delay, always force at least a 10ms delay. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-06-19 00:42:23 +00:00
bzbarsky%mit.edu 4d1675d5e5 Comments should match reality. No bug, r=jst, sr=jag 2002-06-18 02:55:09 +00:00
cbiesinger%web.de 15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
jaggernaut%netscape.com fdd4b9f952 Bug 103452: When window.close() is called, close the tab for that content window, not the whole (XUL) window. r=hewitt, sr=jag, sr=jst 2002-06-05 00:31:45 +00:00
jst%netscape.com 0af1e2085d Fixing one more part of bug 52334. Make onload handlers fire on hidden iframes. r=axel@pike.org, sr=vidur@netscape.com 2002-05-29 17:56:50 +00:00
jst%netscape.com 42a874dd52 Whitespace changes only, die tabs, die! 2002-05-28 22:55:39 +00:00
jst%netscape.com 2d01d61479 Backing out part of the fix for bug 143369 as a fix for bug 146333. Don't make ChromeWindow's prototype immutable. 2002-05-23 05:39:27 +00:00
jst%netscape.com 449ccb64c4 Queting down compiler warning... 2002-05-22 00:39:21 +00:00
jst%netscape.com ea40a67bee Fixing security bug 143369. Plug security holes that let webpages fake their origin. r=brendan@mozilla.org, mstoltz@netscape.com, sr=jband@netscape.com 2002-05-22 00:34:01 +00:00
timeless%mac.com fa6594c5f9 Bug 145589 we call a getter with null, which crashes winEmbed
r=jkeiser sr=jst

<timeless> *shrug* i'm not actively trying to defend this patch, it's the
right thing to do for the given contract
<jkeiser> timeless: I dunno, doing *x = blah; when you don't need to do
it is definitely more expensive than if (!x)
<timeless> you aren't even allowed to do what you suggest, the
contract explicitly forbids it
[clarification, the caller isn't allowed to rely on this]
if i tried to do what you suggest, shaver would kill me :)
<jkeiser> timeless: so shaver is the guy to ask here?
<timeless> yeah if you're concerned about it
if you care measure. i care about crashing and contract violations
the contract was (out foo). which according to what shaver said
when i asked him and my memory of that, didn't allow 0.
<shaver> it doesn't allow 0
<jst> right
<shaver> we check it all over the place in the code, because we're sheep
<dmose> baaa
2002-05-20 20:06:29 +00:00
jst%netscape.com c68cadcb79 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 2002-05-18 00:02:50 +00:00
jst%netscape.com f27fd6f6a7 Fixing bug 141442. Make window.openDialog() overridable from web content, and move the security check into the actual method implementation. r=mstoltz@netscape.com, sr=jband@netscape.com 2002-05-17 22:24:06 +00:00
av%netscape.com c405585a95 Fixing 143178 -- refreshing plugins before going to the plugin finder sevice, r=peterl, sr=beard 2002-05-16 20:41:26 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
caillon%returnzero.com ddd3d5d711 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst 2002-05-14 01:28:17 +00:00
jst%netscape.com 30a0cb65e5 Fixing bug 143088. Freezing nsIDOMWindow, nsIDOMWindowCollection, and nsIDOMBarProp. r=fabian@bluishgecko.net, sr=vidur@netscape.com 2002-05-08 21:55:48 +00:00
rods%netscape.com 15a673155f Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
timeless%mac.com a8922ae98c Bug 141813 add javadoc comments to idl so people can get useful info from them
nsIDOMEvent.idl nsIDOMEventListener.idl nsIDOMEventTarget.idl
r=fabian sr=jst
2002-05-03 19:57:42 +00:00
ben%netscape.com d9dfd4c2e4 [Chrome FastLoad]
Patch from jst to prevent crash on shutdown.
r=ben, sr=brendan
2002-05-03 03:02:07 +00:00
jst%netscape.com 486e5906db Backing out a small security related part of the last fix for bug 118933 that wasn't needed. 2002-05-02 21:21:58 +00:00
jst%netscape.com 78da710221 Fixing one more part of the DOM performance bug 118933. Cache the properties 'document' and 'window' on the global object in JS to avoid needing to go through XPConnect every time these are accessed. 2x speedup on some DOM testcases where the bulk of the time we spend is in the JS engine and XPConnect. r=peterv@netscape.com, sr=vidur@netscape.com 2002-04-27 00:03:47 +00:00
hyatt%netscape.com c0bcb8ed9f Fix for 139574, wrong user agent specifics on mach-o builds. r=bryner, sr=darin 2002-04-24 00:55:53 +00:00
jaggernaut%netscape.com 7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
jst%netscape.com 538a1ac86a Fixing bug 80083. Making sure window.navigator doesn't get GC'd during the lifetime of a document. r=fabian@bluishgecko.net, sr=vidur@netscape.com 2002-04-20 00:04:33 +00:00
joki%netscape.com f4e5a803f5 Fix for bug 124990 , Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:53:22 +00:00
joki%netscape.com bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
danm%netscape.com a0d24cb40d make blur() available to embedded apps. bug 57841 in its third avatar r=jst,scc a=valeski 2002-04-18 21:50:11 +00:00
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
peterv%netscape.com 2ef0f9a849 Fix for bug 132300 (Need a better way to bootstrap an XPathEvaluator). r=pike, sr=jst. 2002-04-16 11:57:17 +00:00
caillon%returnzero.com f14a42b26d Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa. 2002-04-12 10:11:00 +00:00
hyatt%netscape.com 6aebadf6da Fix for 136985, add api for finding out if a global window is running a timeout or still loading, r=jst, sr=blake 2002-04-12 02:15:43 +00:00
sicking%bigfoot.com 71e038854c Fix for bug 132302: Return the right exception for DOM Range. Fix by peterv.
r=Pike, sr=jst
2002-04-10 13:38:30 +00:00
aaronl%netscape.com 04b6d367fd Bug 124234. Active Accessibility: doDefaultAction not working on html buttons. r=jkeiser, sr=jst, a=asa 2002-04-05 23:49:42 +00:00
timeless%mac.com a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com 020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
aaronl%netscape.com a8f99cc832 Bug 128025. Confirm dialog for caret browsing. r=akkana, bryner, sr=hewitt, a=asa 2002-04-02 01:56:12 +00:00
hewitt%netscape.com d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
jst%netscape.com bcb8baa454 Fixing bug 132904. Making window.clearTimeout() and .clearInterval() callable with no argument and with an undefined argument for backwards compatibility. r=sicking@bigfoot.com, sr=jband@netscape.com, a=dbaron@fas.harvard.edu 2002-03-27 00:55:57 +00:00
jst%netscape.com b599af5b77 Fixing bug 131311. Making window.scrollX and .scrollY replaceable for backwards compatibility. r=hidday@geocities.com, sr=jband@netscape.com, a=dbaron@fas.harvard.edu 2002-03-27 00:02:25 +00:00
bryner%netscape.com 54e3bd6266 Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc. 2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu 6cfb9b8bee Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 01:02:53 +00:00