667 Commits

Author SHA1 Message Date
timeless%mozdev.org
5546241967 Bug 267311 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") in a XBL constructor make mozilla crash. [@ JS_FrameIterator]
r=jst sr=bz


git-svn-id: svn://10.0.0.236/trunk@165011 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 15:39:58 +00:00
bzbarsky%mit.edu
f1455a8d69 Fix binding teardown to clear out insertion parent entries for nodes that no
longer have insertion parents.  Bug 261818, r=bryner, sr=jst


git-svn-id: svn://10.0.0.236/trunk@164281 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:30:47 +00:00
jst%mozilla.jstenback.com
9d6ccf10b4 More followup changes to my fix for bug 69070. Use docURL since it's available in stead of calling GetDocumentUIR() one more time, as suggested by cbiesinger@gmx.at.
git-svn-id: svn://10.0.0.236/trunk@163704 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 01:44:50 +00:00
jst%mozilla.jstenback.com
70ffb182a9 Followup to my fix for bug 69070. Use the documents character set when creating image URI (per bz's suggestion), and fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@163698 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 23:45:22 +00:00
jst%mozilla.jstenback.com
d56483a286 Fixing bug 69070. Don't allow loading of images from file: URIs from web content. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@163691 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 23:16:58 +00:00
bzbarsky%mit.edu
ceb3b814ae Fix up uses of GetOwnerDoc/GetCurrentDoc to use the right one, with an eye
towards general sanity on the one hand and sXBL/XBL2 on the other.  Bug 263200,
r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@163529 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 16:14:27 +00:00
bryner%brianryner.com
eed32e5db7 Fix UMRs in nsXBLWindowKeyHandler::WalkHandlers. Bug 260312, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@162991 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 03:36:15 +00:00
pinkerton%aol.net
c87e9e96bb cmd-up/down go to top and bottom of page (bug 241142)
git-svn-id: svn://10.0.0.236/trunk@162747 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-24 17:13:44 +00:00
bzbarsky%mit.edu
649ff418b5 Pass aShared=PR_TRUE when compiling brutally shared methods and properties.
Bug 258832, r+sr=brendan


git-svn-id: svn://10.0.0.236/trunk@162467 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 18:30:04 +00:00
bzbarsky%mit.edu
1750c516b0 Don't crash on <binding> elements with no "id" attribute. Bug 255715, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@162465 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 18:26:18 +00:00
dbaron%dbaron.org
6e83e3f7a9 Fix XBL destructors. b=258832 r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@162343 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 02:19:24 +00:00
dbaron%dbaron.org
e8bca4edc1 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162314 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:26:35 +00:00
bzbarsky%mit.edu
ab9d28b860 Don't use the global object as the scope object when setting up the class for
the proto functions on the a binding.  Patch arises from discussion in bug
258832, r+sr=brendan


git-svn-id: svn://10.0.0.236/trunk@162301 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 13:33:54 +00:00
bryner%brianryner.com
bd84e4e32f Fix ctrl+a emacs keybinding for gtk1 (bug 259011), r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162252 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 22:35:39 +00:00
bzbarsky%mit.edu
07e10f17ab Change XBL constructor/destructor back to having "this" in the scope chain like
they did when they were event handlers (to avoid breaking bindings where people
forgot to use "this" in the constructor or destructor).  Bug 258833, r=bryner,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@162148 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 01:41:34 +00:00
bzbarsky%mit.edu
a6a65a4697 Make <constructor> and <destructor> methods, not handlers. Bug 230816,
r=bryner, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@162081 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 15:29:19 +00:00
bryner%brianryner.com
dfaebf225a Add dependency on Makefile so that depend builds don't break.
git-svn-id: svn://10.0.0.236/trunk@162066 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 07:52:59 +00:00
bryner%brianryner.com
cb8e82ab99 Hook up gtk2 native keybindings for editor. This gets rid of htmlBindings.xml and instead makes the platform-neutral base bindings be included via the preprocessor, allowing the editorBase bindings to not be applied on gtk2. Also, removed obsolete mac CFM package files. Bug 257405, r=bzbarsky, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@162060 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 07:17:31 +00:00
dbaron%dbaron.org
a4ca9058c6 Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu
b74edc231a Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162054 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 04:57:30 +00:00
bryner%brianryner.com
6bab9e3329 Add support for native keybindings for input and textarea for gtk2. This allows us to respect the GTK keybinding preferences. Bug 257405, r=blizzard, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161878 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 21:21:48 +00:00
jst%mozilla.jstenback.com
d204ca55c8 Fixing bug 257431. Make the tabbrowser code only listen to events initiated by the user. r=trev@gtchat.de, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@161660 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 15:25:39 +00:00
jst%mozilla.jstenback.com
87ca11ea1a Fixing bug 257523. Only handle XBL commands if they're triggerd by events initiated by the user. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=dveditz@cruzio.com, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161626 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 00:33:51 +00:00
brendan%mozilla.org
baaf231ef6 Use new JS_LookupPropertyWithFlags API passing new JSRESOLVE_CLASSNAME, to avoid triggering doc search for IE global scope pollution quirk, just for the scrollbar XBL binding used in content pages (257602, r=bzbarsky, sr=jst).
git-svn-id: svn://10.0.0.236/trunk@161607 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 20:53:11 +00:00
jst%mozilla.jstenback.com
57e55d8a58 Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@161580 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:50:12 +00:00
brade%comcast.net
f33fddb67a bug 252750; add VK_HELP to list of global keys (r=caillon, sr=bryner, patch=steffen.wilberg)
git-svn-id: svn://10.0.0.236/trunk@160741 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-13 20:59:54 +00:00
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
neil%parkwaycc.co.uk
a24214336f Bug 254316 Remove unix's Ctrl+R redo keybinding, this now means that it will reload even when the cursor is in a text field p=stefan_h@hem.utfors.se r=akk sr=me
git-svn-id: svn://10.0.0.236/trunk@160442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 14:35:34 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
59572fab24 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
tor%cs.brown.edu
5a0cfec1f2 Bug 242234 - always compile xbl bindings with XBL namespace event name.
r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@159801 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-24 22:40:59 +00:00
tor%cs.brown.edu
c5c142199f Bug 242234 - svg event attributes.
Original patch by sicking, r=bryner, sr=jst


git-svn-id: svn://10.0.0.236/trunk@159662 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 16:38:05 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4 Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
peterv%propagandism.org
feb1742a64 Trying to fix minimo bustage
git-svn-id: svn://10.0.0.236/trunk@158483 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 14:35:40 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
neil%parkwaycc.co.uk
bbf9351b20 Bug 164249 Make it possible to ignore certain modifiers on XBL and key nodes (current syntax is modifiers="control any, shift") r=varga sr=bryner
git-svn-id: svn://10.0.0.236/trunk@156692 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 09:28:13 +00:00
neil%parkwaycc.co.uk
ad0ac57b22 Bug 164249 Make it possible to ignore certain modifiers on XBL and key nodes (current syntax is modifiers="control any, shift") r=varga sr=bryner
git-svn-id: svn://10.0.0.236/trunk@156690 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 09:00:00 +00:00
timeless%mozdev.org
6590580432 Bug 242999 Crash while trying to GC [@ DOMGCCallback]
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@156502 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 04:00:47 +00:00
kyle.yuan%sun.com
c81af80578 Bug 214843 Space doesn't scroll when link's child has focus
r=aaronleventhal, sr=jst, patch by neo.liu@sun.com


git-svn-id: svn://10.0.0.236/trunk@156120 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 02:55:41 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu
dce306232a Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
bryner%brianryner.com
3b4b8ed6c9 deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155049 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 00:28:47 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
ae4a74206a Do less QIing of events in WalkHandlersInternal. Bug 237453, r=sicking,
sr=peterv


git-svn-id: svn://10.0.0.236/trunk@154724 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:49:13 +00:00
sicking%bigfoot.com
e4632ed495 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
a12a464f6d De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@154709 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:56:09 +00:00