Commit Graph

2203 Commits

Author SHA1 Message Date
darin%meer.net
bc1bb52b19 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
dbaron%dbaron.org
6db09e6e46 Fix regression from bug 113173 checkin. b=221186 Patch from Brian Ryner <bryner@brianryner.com>. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147561 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 17:39:44 +00:00
dbaron%dbaron.org
37de3855c7 Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147501 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 22:53:56 +00:00
bryner%brianryner.com
4995514c49 Updating my email address
git-svn-id: svn://10.0.0.236/trunk@147418 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 06:04:02 +00:00
brendan%mozilla.org
53924f1a53 Expose nsIScriptSecurityManager::SecurityCompareURIs for use by nsGlobalWindow::SetNewDocument, to avoid spurious window.open same-origin violation errors (220421, r=caillon, sr=bzbarsky).
git-svn-id: svn://10.0.0.236/trunk@147382 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 04:22:01 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
8621b9339d If we're in the middle of printing when window.close() is called, then defer closing the window until printing completes. This avoids tearing down the presentation while the print engine is still using it. Bug 172921, r=jkeiser, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@147348 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 21:45:15 +00:00
peter%propagandism.org
a2beb81751 Fix for bug 220080 (Wrong numeric code for DOM Level 2 errors). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@147233 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 09:51:25 +00:00
uid502
e9d6a45b46 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
peter%propagandism.org
37a64ed822 Fix obvious error in the patch for bug 218462 to fix blocker bug 219769 (Mozilla and Firebird start in a zero height window). r/sr=jst pending.
git-svn-id: svn://10.0.0.236/trunk@147087 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 11:41:22 +00:00
jst%mozilla.jstenback.com
4b21e74bac Giving nsScreen a facelift. Just code cleanup. r=bugmail@sicking.cc, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147074 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 21:06:52 +00:00
neil%parkwaycc.co.uk
7f002df053 Bug 206353 DOM Lists should be enumerable p=jst r=caillon sr=peterv
git-svn-id: svn://10.0.0.236/trunk@147049 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 08:43:14 +00:00
cls%seawood.org
5bef9a23ea Fix misc build issues for mingw gcc 3.3.1:
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147027 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 17:22:33 +00:00
caillon%returnzero.com
6988ec2cda Bug 165653
mozilla/dom depends on mozilla/xpfe/components/sidebar (nsISideBar)
r=bryner@brianryner.com
sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@146848 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 19:54:41 +00:00
peter%propagandism.org
ab75ca10cf Fix for bug 218756 (Update to latest DOM Level 3 XPath specification). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@146840 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:04:15 +00:00
timeless%mozdev.org
bf556723fa Bug 217896 ASSERTION: nsMemoryImpl::Alloc of 0: 'size' in GlobalWindowImpl::Unescape
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@146705 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 01:42:53 +00:00
timeless%mozdev.org
854173a004 Bug 217562 UMR in nsJSEventListener::HandleEvent after mContext->CallEventHandler
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@146703 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 01:42:42 +00:00
bryner%brianryner.com
101a9e4e72 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146615 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:05:34 +00:00
timeless%mozdev.org
029e5074be Bug 217886 frame structure gets lost in builds since 20030826
patch by mpconnor@rogers.com r=bz sr=bz a=brendan


git-svn-id: svn://10.0.0.236/trunk@146551 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-04 02:23:20 +00:00
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
cls%seawood.org
6352367a62 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.
git-svn-id: svn://10.0.0.236/trunk@146076 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 00:42:35 +00:00
caillon%returnzero.com
eec2d6c1a5 Bug 215895.
Debugger shows nsDOMClassInfo.cpp as a loaded script.
r=jst@netscape.com
sr=brendan@mozilla.org
a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@146024 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 23:45:45 +00:00
bryner%brianryner.com
b8b3823b10 Fix focus not being restored correctly after unminimizing a window on Win32 (bug 212556). r=ere@atp.fi, sr=jst@netscape.com, a=asa.
git-svn-id: svn://10.0.0.236/trunk@145903 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 06:43:48 +00:00
brendan%mozilla.org
95220b5330 Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@145624 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 20:09:21 +00:00
hyatt%mozilla.org
450a2cf698 Patch the remaining places that use _content to also support _main, r=brendan, sr=ben
git-svn-id: svn://10.0.0.236/trunk@145549 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-04 21:52:22 +00:00
hpradhan%hotpop.com
18a0eaa7ad bug 212415 : crash while closing a javascript alert. r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@145446 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 03:40:24 +00:00
caillon%returnzero.com
c8612ff038 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
9e4941c980 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145292 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:35:53 +00:00
brendan%mozilla.org
2532d3d12a Big dynamic footprint win via script filename caching, plus line number fix for strict/const diags (see http://bugzilla.mozilla.org/attachment.cgi?id=127130&action=view for detailed checkin comments; 208030, r/rs=shaver, r=rginda on the jsd change, r=jst on the dom change).
git-svn-id: svn://10.0.0.236/trunk@145239 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-26 22:37:11 +00:00
caillon%returnzero.com
60a80f171d Bug 213912
If getting the a chrome document's principal fails, handle the error and clean up the navigator object's holder.
r+sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@145229 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-26 08:16:44 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
cbiesinger%web.de
72ffd605aa 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension


git-svn-id: svn://10.0.0.236/trunk@145198 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 16:48:00 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
e07c163859 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145136 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 04:53:13 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
jst%netscape.com
5fd3dcd56b Fixing bug 212231. Make errors returned from document.open() not cause silent failures. r=caillon@aillon.org, sr=bzbarsky@mit.edu.
git-svn-id: svn://10.0.0.236/trunk@144854 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 21:58:59 +00:00
jst%netscape.com
ced70ba321 Fixing bug 212560. Patch by kw1u@yahoo.com, r=caillon@aillon.org, sr=bzbarsky@mit.edu.
git-svn-id: svn://10.0.0.236/trunk@144838 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 21:06:21 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
cbiesinger%web.de
43d079629c 212532 patch by riceman+bmo@mail.rit.edu r=biesi,caillon sr=bz
Getting window.history returns null after the first attempt (bug 209866 regression)


git-svn-id: svn://10.0.0.236/trunk@144783 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 21:23:40 +00:00
bzbarsky%mit.edu
5435c5826d Add correct line number reporting to errors from XBL fields and handlers. Make
it possible to pass a url and line number to CompileEventHandler in general.
Bug 127567, r=bryner, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@144752 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 22:54:36 +00:00
caillon%returnzero.com
42ad896b6d Bug 212218
Start supporting bits and pieces of the additions to |Document| in DOM Level 3 Core.
r=jst@netscape.com sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@144748 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 22:32:25 +00:00
jst%netscape.com
2200f06170 Fixing bug 211719. Making window.opener replaceable. r=caillon@aillon.org, sr=bzbarsky@mit.edu.
git-svn-id: svn://10.0.0.236/trunk@144609 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 00:48:25 +00:00
varga%netscape.com
94b96d1848 Fix for bug 202393. Add DOM class info for nsIXULTreeBuilder.
r=pike, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@144586 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 21:10:52 +00:00
cbiesinger%web.de
c80cb4ba6c 78919 part 1. r=bzbarsky, sr=darin. This adds an |hasDefaultHandler| attribute
to nsIMIMEInfo that should be used to check if a default application is available
for this mimeinfo.


git-svn-id: svn://10.0.0.236/trunk@144559 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 13:52:46 +00:00
bzbarsky%mit.edu
18967e96cb Random already_AddRefed stuff. Bug 211380, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@144417 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:49:06 +00:00
bzbarsky%mit.edu
50802bdf22 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
jst%netscape.com
4877aa6cb9 Checking in patch from tenthumbs@cybernex.net to fix bug 202543. Eliminating useless assertions and speeding things up a bit. r=bzbarsky@mit.edu, sr=jst@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@144333 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 05:11:46 +00:00
aaronl%netscape.com
230dadfa15 Bug 208460. Add domstubs.idl/h to Gecko SDK. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@144212 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 11:28:20 +00:00
bryner%netscape.com
c4c16cf195 Remove #include "nsIScriptContext.h" from nsPIDOMWindow.h, because this (among other things) creates a dependency on js headers, which is breaking Camino. Bug 210704, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@144170 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 00:41:23 +00:00
danm%netscape.com
0e864a0244 also check for popup window abuse in the internal Open method. bug 210560 r=brendan,jst
git-svn-id: svn://10.0.0.236/trunk@144167 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 23:38:45 +00:00