hyatt%mozilla.org
1bc71afe06
Patch the remaining places that use _content to also support _main, r=brendan, sr=ben
2003-08-04 21:52:22 +00:00
hpradhan%hotpop.com
3aca1aa31a
bug 212415 : crash while closing a javascript alert. r=peterv sr=jst
2003-08-01 03:40:24 +00:00
caillon%returnzero.com
422dde1351
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
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
95256ce645
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:35:53 +00:00
brendan%mozilla.org
32d941a463
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).
2003-07-26 22:37:11 +00:00
caillon%returnzero.com
66d4b0c70b
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
2003-07-26 08:16:44 +00:00
jaggernaut%netscape.com
f1efc20ae6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
cbiesinger%web.de
faf8419fc6
147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
...
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +00:00
caillon%returnzero.com
9c22160a4b
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)
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
ef99140d6d
Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
2003-07-24 04:53:13 +00:00
jaggernaut%netscape.com
f008bc2bad
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:47:59 +00:00
jst%netscape.com
5f4b130757
Fixing bug 212231. Make errors returned from document.open() not cause silent failures. r=caillon@aillon.org, sr=bzbarsky@mit.edu.
2003-07-14 21:58:59 +00:00
jst%netscape.com
d195fa0dfc
Fixing bug 212560. Patch by kw1u@yahoo.com, r=caillon@aillon.org, sr=bzbarsky@mit.edu.
2003-07-14 21:06:21 +00:00
jaggernaut%netscape.com
20004e3489
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
2003-07-13 22:29:00 +00:00
cbiesinger%web.de
062cdda875
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)
2003-07-12 21:23:40 +00:00
bzbarsky%mit.edu
38297174ab
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
2003-07-11 22:54:36 +00:00
caillon%returnzero.com
f32e4950ff
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
2003-07-11 22:32:25 +00:00
jst%netscape.com
889a2b14ba
Fixing bug 211719. Making window.opener replaceable. r=caillon@aillon.org, sr=bzbarsky@mit.edu.
2003-07-09 00:48:25 +00:00
varga%netscape.com
287a44d567
Fix for bug 202393. Add DOM class info for nsIXULTreeBuilder.
...
r=pike, sr=peterv
2003-07-08 21:10:52 +00:00
cbiesinger%web.de
c6ec6b4801
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.
2003-07-08 13:52:46 +00:00
bzbarsky%mit.edu
3673fca7f7
Random already_AddRefed stuff. Bug 211380, r+sr=jst
2003-07-03 02:49:06 +00:00
bzbarsky%mit.edu
25471a836d
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
jst%netscape.com
b72949a24b
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.
2003-07-01 05:11:46 +00:00
aaronl%netscape.com
3e43c932ff
Bug 208460. Add domstubs.idl/h to Gecko SDK. r+sr=jst
2003-06-27 11:28:20 +00:00
bryner%netscape.com
3adf284116
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.
2003-06-26 00:41:23 +00:00
danm%netscape.com
7a62bf7ccd
also check for popup window abuse in the internal Open method. bug 210560 r=brendan,jst
2003-06-25 23:38:45 +00:00
jst%netscape.com
405bfef028
Removing unnecessary initialization of static variables that only cause bloat.
2003-06-24 23:06:12 +00:00
jst%netscape.com
858f5237ff
Fixing bug 210141. Don't make external global properties be readonly. r=axel@pike.org, sr=bzbarsky@mit.edu.
2003-06-24 21:47:33 +00:00
jst%netscape.com
2e8edec781
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
2003-06-24 21:43:01 +00:00
caillon%returnzero.com
c0dd16f7be
210451 - Implement getting Node.textContent (see the DOM3 WD)
...
r+sr=jst@netscape.com
2003-06-24 21:39:39 +00:00
jst%netscape.com
0625b760d1
Fixing bug 203179. Make String.prototype.localeCompare be locale aware. r=smontagu@netscape.com, sr=bzbarsky@mit.edu.
2003-06-24 21:09:57 +00:00
bzbarsky%mit.edu
f802347f6c
Make XBL methods and properties report useful line numbers and urls so that the
...
JS errors/warnings in the JS console point to the right place. Bug 127567,
r=bryner, sr=alecf
2003-06-24 01:20:40 +00:00
bzbarsky%mit.edu
7697eb2312
Trying to fix orange. We were only setting the out param in cases when we
...
tried to allocate the object for these three objects...
2003-06-21 09:36:03 +00:00
caillon%returnzero.com
b4721ada59
I just noticed a few potential crashes with my patch for bug 209866. Fixes those and a few minor cleanup issues. No bug for this patch. r+sr=bzbarsky on IRC
2003-06-21 07:15:32 +00:00
caillon%returnzero.com
e8d547f79d
Bug 209866 - Use nsRefPtr for non-COM refcounted members in GlobalWindowImpl and NavigatorImpl
...
r=sicking, sr=jst
2003-06-20 23:51:46 +00:00
mstoltz%netscape.com
d321341b7c
Bug 184618 - allow scripts to close a script-generated window even if its opener has been set to null. r=heikki, sr=jst.
2003-06-20 22:44:33 +00:00
stephend%netscape.com
9d26d14af6
Grammatical error. It's is contractive; its is possessive.
2003-06-19 00:08:29 +00:00
caillon%returnzero.com
fe0731d91e
Bug 163645 - User defined properties of window.navigator are not remembered when a new page is loaded.
...
Enable this for websites within the same domain only.
Also, fixes CheckSameOriginPrincipal to just check the principals, and not care whether we have anything on the JS stack.
r=mstoltz, sr=jst
2003-06-18 23:48:57 +00:00
alecf%flett.org
5614718dd3
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
bzbarsky%mit.edu
943b3a9adf
unescape() needs to convert from UTF-16 to page encoding properly, instead of
...
just using ToNewCString(). Bug 200984, r=smontagu, waldemar, sr=jst
2003-06-17 01:09:41 +00:00
aaronl%netscape.com
5df2312334
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
caillon%returnzero.com
ba75de772b
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
caillon%returnzero.com
b56a675840
Bug 209133
...
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)
r=timeless sr=jst
2003-06-12 02:54:16 +00:00
alecf%flett.org
ccf01a2786
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
seawood%netscape.com
8f112a4226
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
seawood%netscape.com
6934dc37a9
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 20:12:33 +00:00
mkaply%us.ibm.com
d9bf9afe54
#90459
...
r=sicking, sr=peterv
DOM support missing for ondblclick = functionname
2003-06-10 18:33:58 +00:00
dbaron%dbaron.org
f3a00bc53b
Put more information on the CSS properties in nsCSSPropList.h.
...
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification. Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246 r+sr=bzbarsky
2003-06-07 22:14:42 +00:00
jst%netscape.com
5fecfd0995
Fixing bug 147270. Making window.document and other properties enumerable. r=peterv@netscape.com, sr=brendan@mozilla.org
2003-06-04 21:33:15 +00:00
aaronl%netscape.com
50d6f000c7
Bug 207487. No accessible name using label for xul <textbox> element. r=kyle, sr=alecf
2003-06-04 20:57:39 +00:00
mkaply%us.ibm.com
5826d43c42
#158610
...
r=pavlov, sr=jst
Add support for setting and querying lowsrc attribute so frontpage pic galleries work.
This does NOT make lowsrc work as it used to, it only adds it to the DOM
2003-06-04 13:15:37 +00:00
jst%netscape.com
60c47b5e6a
Fixing bug 158049. Patch by brendan@mozilla.org and myself. Make sure property existence can't be checked for across origins. r=caillon@aillon.org, sr=brendan@mozilla.org, heikki@netscape.com
2003-05-31 18:43:48 +00:00
jst%netscape.com
3830d50ebe
Fixing typo in class name.
2003-05-31 05:39:14 +00:00
jst%netscape.com
117e64901e
Fixing bug 205474. Making window.open() (and other ways to target things into existing windows) not reuse already closed windows. r=caillon@aillon.org, sr=bzbarsky@mit.edu
2003-05-29 00:48:35 +00:00
aaronl%netscape.com
5158d785de
Bug 204777. Prevent backspace to send us back in history in general embedded case. r=brade, sr=sfraser
2003-05-25 19:39:21 +00:00
jst%netscape.com
e02248a811
Fixing regression bug 206026. Reverting the evaluation context of javascript: URL's to always be the context of the page where the URL is loaded. r=mstoltz@netscape.com, sr=brendan@mozilla.org, a=rjesup@wgate.com
2003-05-21 23:51:03 +00:00
jst%netscape.com
9692d89194
Fixing regression bug 205989. Making sure we don't parse the result of evaluating a javascript: URL if network traffic was stopped from the JS in the URL.
2003-05-21 21:37:25 +00:00
jkeiser%netscape.com
c8633873f1
Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com
2003-05-21 00:42:32 +00:00
peterlubczynski%netscape.com
bfc4901088
Fixing smoketest blocker bug 205817, Flash doesn't load because javascript: url gets canceled, patch by jst, r=peterl, sr=darin
2003-05-15 19:38:35 +00:00
jst%netscape.com
ed99f57913
Fixing bug 130265. Don't stop current network activity when loading javascript: URL's unless the URL results in data to parse. r=adamlock@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org
2003-05-15 01:23:26 +00:00
jst%netscape.com
fd39a78a78
Fixing bug 202994. Make sure the proper security check is done when converting the result of a JS expression in a javascript: URL to a string. r=mstoltz@netscape.com, sr=brendan@mozilla.org, a=asa@mozilla.org
2003-05-12 22:23:52 +00:00
jst%netscape.com
b4f676181d
Backing out the fix for bug 148782 since it caused bug 204029.
2003-05-06 02:01:52 +00:00
mstoltz%netscape.com
0bd380d3ed
Bug 159424 - Don't clear scope of global object when loading the first document in a window, if the document has the same origin as the calling script. r=heikki, sr=jst, a=asa
2003-05-05 20:55:37 +00:00
varga%netscape.com
05096034d5
Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
...
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
ere%atp.fi
f34440c5b9
Bug 201242: When minimize and then restore, two carets appear in a mail compose window
...
Patch by bryner and me
r=bryner
sr=jst
a=sspitzer
2003-04-29 18:24:28 +00:00
jst%netscape.com
fc432e0bac
Fixing bug 148782. Don't let images or form controls named 'submit' shadow the method form.submit. r=caillon@returnzero.com, sr=peterv@netscape.com, a=sspitzer@netscape.com
2003-04-28 19:27:40 +00:00
caillon%returnzero.com
38a77eca7f
Bug 155748 - "Can't use a global variable named 'parent'"
...
r=bzbarsky sr=jst a=asa
2003-04-26 03:27:21 +00:00
peterlubczynski%netscape.com
4e946a8184
Fixing 169951, crash caused by plugin calling window.close() from an event because we destroy the frame tree and plugin's native window. This fix puts that destruction caused by a window.close() from Javascript on a PLEvent. r=jkeiser sr=jst, a=asa
2003-04-25 22:24:37 +00:00
bryner%netscape.com
c4e3948cd4
Adding some frozen interfaces to the sdk that should have been there already. Bug 203170, r=dougt, sr=alecf, a=asa.
2003-04-24 21:32:11 +00:00
heikki%netscape.com
8583070500
Bug 191800, move FIXptr and XPointer into xmlextras, r=harishd, sr=jst.
2003-04-23 00:07:37 +00:00
brade%netscape.com
8cba3f4ccc
bug 197121; fix QI (r=brian johnson, sr=sfraser)
2003-04-22 20:30:54 +00:00
sfraser%netscape.com
efcf8d6576
Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin.
2003-04-22 18:11:12 +00:00
bzbarsky%mit.edu
342965f108
Move document.lastModified up onto nsIDOMNSDocument; refactor the
...
RetrieveRelevantHeaders stuff a bit. Bug 192366, patch by Pratik
<psolanki@netscape.net>, r=bzbarsky, sr=jst
2003-04-19 16:53:44 +00:00
sfraser%netscape.com
21628c40ad
Fix window.find() to start searching in the window it was called on, not the focussed frame. Part of bug 118657, r=mstolz, sr=jst.
2003-04-19 00:49:11 +00:00
roc+%cs.cmu.edu
f97e88226e
Bug 198987. Fix regression by making pageXScroll and pageYScroll return 0 and succeed even when there's no scrolling view. r+sr=bzbarsky
2003-04-18 13:52:49 +00:00
jst%netscape.com
981b45ec02
Fixing bug 201132. Always use the JSPrincipals from the target object when compiling event handlers, never use the principals of the global object in which the event handler is compiled. Also make sure we never use the principals that are precompiled into cloned Functions, always get the principal from the Function's scope in such cases. r=mstoltz@netscape.com (and heikki@netscape.com), sr=brendan@mozilla.org
2003-04-17 20:21:00 +00:00
seawood%netscape.com
5e2dd72a02
Implement mozcomps static build variant.
...
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
brade%netscape.com
1bf2d254a1
command for drag/drop/copy/paste hooks (bug 197121) r=smfr sr=jst
2003-04-17 13:21:19 +00:00
danm%netscape.com
267ae767bc
use new popupblocked domevent. bug 199705 r=jaggernaut,jst
2003-04-16 00:00:55 +00:00
danm%netscape.com
13971ba0bd
new popupblocked domevent. bug 199705 r=jaggernaut,jst
2003-04-16 00:00:46 +00:00
danm%netscape.com
443851a97a
new popupblocked domevent. bug 199705 r=jaggernaut,jst
2003-04-15 23:34:08 +00:00
sfraser%netscape.com
62124345af
Fix regressions from bug 201560: forward/back reversal on key presses, and an annoying assertion. r=dbradley/brade, sr=peterv.
2003-04-15 19:55:10 +00:00
roc+%cs.cmu.edu
1304af9cbc
Bug 198987. Prevent smooth scrolling rounding small partial increments down to 0. Add scrollMaxX/scrollMaxY properties to JS window object so mailnews can use a more robust way to detect when the message is scrolled to the bottom of its window. r=bzbarsky,sr=jst
2003-04-15 13:40:46 +00:00
sfraser%netscape.com
990a577cca
Fix for bug 201822 -- recursion crash when using backspace key to go Back. patch by bryner, r=pavlov, sr=me. a=jj for checkin.
2003-04-14 16:10:47 +00:00
varga%netscape.com
5670078f56
Backing out fix for bug 201132 to fix smoketest blocker 201889.
...
sr=peterv
2003-04-14 12:30:19 +00:00
jst%netscape.com
1f736cbc83
Fixing bug 201132. Always use the JSPrincipals from the target object when compiling event handlers, never use the principals of the global object in which the event handler is compiled. r=mstoltz@netscape.com (and heikki@netscape.com), sr=brendan@mozilla.org
2003-04-13 04:05:29 +00:00
sfraser%netscape.com
a28c941ba9
Fix method types to keep Windows happy (__stdcall crap)
2003-04-12 04:22:16 +00:00
sfraser%netscape.com
482d4fbaa3
Fix bug 201560: reimplement the DOM window controller using shared controller code, and a singleton nsIControllerCommandTable. This reduces the number of string compares when updating commands, and is cleaner. Include some string cleanup in SetCursor() to reduce codesize. r=brade/jkeiser, sr=jst.
2003-04-12 03:08:23 +00:00
bryner%netscape.com
4d3b825ffa
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
jst%netscape.com
e025bc01b2
Fixing bug 200038. Fixing bogus assertion triggerd in venkman. r=heikki@netscape.com, sr=peterv@netscape.com
2003-04-09 04:40:20 +00:00
bzbarsky%mit.edu
dc6bed353b
Use const statics for greater good. Bug 201251, r=jst, sr=alecf
2003-04-09 00:52:48 +00:00
jst%netscape.com
0bd6c211c8
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
14882c9d0c
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
459e7e4277
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
925955c81d
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
b983df21d3
Resurrect --disable-oji
...
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
jst%netscape.com
90b56cebcb
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
f46fc13c0f
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
16af458ceb
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
7e8034bc24
Bug 139276, implement synchronous document.load(), r=jst, sr=darin.
2003-03-21 19:22:52 +00:00