timeless%mozdev.org
4271c71444
Bug 267311 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") in a XBL constructor make mozilla crash. [@ JS_FrameIterator]
...
r=jst sr=bz
2004-11-05 15:39:58 +00:00
bzbarsky%mit.edu
baf6af1dbf
Fix binding teardown to clear out insertion parent entries for nodes that no
...
longer have insertion parents. Bug 261818, r=bryner, sr=jst
2004-10-24 17:30:47 +00:00
jst%mozilla.jstenback.com
d98ae85add
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.
2004-10-14 01:44:50 +00:00
jst%mozilla.jstenback.com
547059223d
Followup to my fix for bug 69070. Use the documents character set when creating image URI (per bz's suggestion), and fixing build bustage.
2004-10-13 23:45:22 +00:00
jst%mozilla.jstenback.com
bc60433e87
Fixing bug 69070. Don't allow loading of images from file: URIs from web content. r+sr=bzbarsky@mit.edu
2004-10-13 23:16:58 +00:00
bzbarsky%mit.edu
976f8eab47
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
2004-10-11 16:14:27 +00:00
bryner%brianryner.com
234716880e
Fix UMRs in nsXBLWindowKeyHandler::WalkHandlers. Bug 260312, r+sr=bzbarsky.
2004-09-30 03:36:15 +00:00
pinkerton%aol.net
f3e4f198d2
cmd-up/down go to top and bottom of page (bug 241142)
2004-09-24 17:13:44 +00:00
bzbarsky%mit.edu
fd1da399ba
Pass aShared=PR_TRUE when compiling brutally shared methods and properties.
...
Bug 258832, r+sr=brendan
2004-09-16 18:30:04 +00:00
bzbarsky%mit.edu
03a2855c32
Don't crash on <binding> elements with no "id" attribute. Bug 255715, r+sr=bryner
2004-09-16 18:26:18 +00:00
dbaron%dbaron.org
f6e45ec1cd
Fix XBL destructors. b=258832 r+sr=brendan
2004-09-15 02:19:24 +00:00
dbaron%dbaron.org
5f62984111
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
2004-09-14 17:26:35 +00:00
bzbarsky%mit.edu
93e0d48454
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
2004-09-14 13:33:54 +00:00
bryner%brianryner.com
805f8ff30f
Fix ctrl+a emacs keybinding for gtk1 (bug 259011), r+sr=bzbarsky
2004-09-13 22:35:39 +00:00
bzbarsky%mit.edu
da46873f59
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
2004-09-12 01:41:34 +00:00
bzbarsky%mit.edu
058fe7ba51
Make <constructor> and <destructor> methods, not handlers. Bug 230816,
...
r=bryner, sr=brendan
2004-09-10 15:29:19 +00:00
bryner%brianryner.com
b0afaa4f3d
Add dependency on Makefile so that depend builds don't break.
2004-09-10 07:52:59 +00:00
bryner%brianryner.com
8261446984
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.
2004-09-10 07:17:31 +00:00
dbaron%dbaron.org
96c0e36f4e
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
2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu
df42e726bc
Combine WalkRules and UseDocumentRules into one function. Bug 244252,
...
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bryner%brianryner.com
6cfd959442
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.
2004-09-07 21:21:48 +00:00
jst%mozilla.jstenback.com
dea7a573d7
Fixing bug 257431. Make the tabbrowser code only listen to events initiated by the user. r=trev@gtchat.de, sr=bzbarsky@mit.edu
2004-09-02 15:25:39 +00:00
jst%mozilla.jstenback.com
a8cd90ba37
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
2004-09-02 00:33:51 +00:00
brendan%mozilla.org
c434259e14
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).
2004-09-01 20:53:11 +00:00
jst%mozilla.jstenback.com
bc321b52bc
Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu
2004-09-01 16:50:12 +00:00
brade%comcast.net
4e13425e65
bug 252750; add VK_HELP to list of global keys (r=caillon, sr=bryner, patch=steffen.wilberg)
2004-08-13 20:59:54 +00:00
peterv%propagandism.org
45682cc199
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
2004-08-10 10:22:36 +00:00
neil%parkwaycc.co.uk
9f9e5d77ea
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
2004-08-06 14:35:34 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
2faa2566a0
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
2004-07-28 07:08:41 +00:00
tor%cs.brown.edu
5fab7ff6ca
Bug 242234 - always compile xbl bindings with XBL namespace event name.
...
r=sicking, sr=jst
2004-07-24 22:40:59 +00:00
tor%cs.brown.edu
e091eb70b5
Bug 242234 - svg event attributes.
...
Original patch by sicking, r=bryner, sr=jst
2004-07-22 16:38:05 +00:00
jst%mozilla.jstenback.com
23b9aa362d
Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
2004-07-16 17:03:10 +00:00
peterv%propagandism.org
565ae06d70
Trying to fix minimo bustage
2004-06-25 14:35:40 +00:00
peterv%propagandism.org
a7908e751a
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
a7bff6ad5b
Change FlushPendingNotifications to have more granularity and update callers to
...
only flush the things they really need flushed. Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
neil%parkwaycc.co.uk
60a97498f3
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
2004-05-21 09:28:13 +00:00
neil%parkwaycc.co.uk
6c9b07b822
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
2004-05-21 09:00:00 +00:00
timeless%mozdev.org
9ebaf2e5ea
Bug 242999 Crash while trying to GC [@ DOMGCCallback]
...
r=jst sr=jst
2004-05-18 04:00:47 +00:00
kyle.yuan%sun.com
e0e0f42ea6
Bug 214843 Space doesn't scroll when link's child has focus
...
r=aaronleventhal, sr=jst, patch by neo.liu@sun.com
2004-05-08 02:55:41 +00:00
bryner%brianryner.com
7d80b4f5cf
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com
77c4322ab2
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu
4ede76717e
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
2004-04-25 16:55:27 +00:00
bryner%brianryner.com
642f7ede36
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.
2004-04-18 00:28:47 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
ec6b46ac12
Do less QIing of events in WalkHandlersInternal. Bug 237453, r=sicking,
...
sr=peterv
2004-04-12 22:49:13 +00:00
sicking%bigfoot.com
386382d6ab
Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
...
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
4d12ed012a
De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner
2004-04-12 21:56:09 +00:00
bzbarsky%mit.edu
b2e67d2b82
Fix bug 237002 -- mis-ordering of content inserted at the beginning of an
...
insertion point. r+sr=jst, a=chofmann
2004-03-10 23:53:09 +00:00
bzbarsky%mit.edu
d8528239b5
Make the binding manager deal with ContentInserted and ContentReplaced
...
notifications in a more reasonable (though still not completely correct) way.
Last touches on bug 233191, idea suggested by hyatt, r+sr=jst
2004-03-02 22:28:48 +00:00
darin%meer.net
c380c59f65
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
2004-02-28 22:34:07 +00:00
bryner%brianryner.com
225298a99e
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
bzbarsky%mit.edu
bcfbdd3131
Fix windows bustage. Bug 232132
2004-02-19 23:00:44 +00:00
bzbarsky%mit.edu
cf5bd9ee14
Make property compilation use dependent strings instead of copying the method
...
bodies and move some duplicated code into a superclass. Bug 232132,
r=timeless, sr=bryner
2004-02-19 22:24:41 +00:00
darin%meer.net
8d65e087ae
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
bzbarsky%mit.edu
58257cdafc
Change the refcounting model for XBL stuff as follows:
...
1) nsXLBDocumentInfo owns all prototype bindings and deletes them in its
destructor
2) Everyone else just has weak refs to prototype bindings
3) nsXBLBinding holds a weak ref to the proto binding and a strong ref to
the document info
4) The document info is what's stored in the chrome cache.
to prevent crashes. Bug 226692, r=timeless, sr=bryner, a=brendan
2004-02-15 19:24:42 +00:00
jst%mozilla.jstenback.com
64ad19a801
Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
2004-02-11 06:09:51 +00:00
sicking%bigfoot.com
4cedcd531b
Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
...
r=bz sr=jst
2004-02-10 09:08:06 +00:00
jst%mozilla.jstenback.com
505c634885
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2004-02-09 22:48:53 +00:00
jst%mozilla.jstenback.com
90431d8022
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
dbaron%dbaron.org
96079e83a3
Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv
2004-01-28 21:04:33 +00:00
bzbarsky%mit.edu
cf95b2d9f7
If compilation of a prototype member fails, destroy all prototype members
...
before bailing. Bug 232095, r+sr=bryner
2004-01-27 21:18:00 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
2004-01-24 00:46:17 +00:00
bzbarsky%mit.edu
b09be5c6ed
Backing out the last change since it has no effect on Ts and increases
...
codesize. Bug 224765.
2004-01-21 15:36:28 +00:00
bzbarsky%mit.edu
6c601cd03a
Oops, forgot this change. Bug 224765
2004-01-21 05:06:42 +00:00
bzbarsky%mit.edu
583a9847e3
Attempt to fix Ts regression from bug 224765. r+sr=darin
2004-01-21 05:03:10 +00:00
bzbarsky%mit.edu
5f18239117
When a method has an empty body, don't drop the rest of the binding because of that.
...
Bug 231324, r+sr=bryner
2004-01-18 23:38:31 +00:00
peterv%propagandism.org
379d6c8a41
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
bryner%brianryner.com
0921cd696f
When checking whether whitespace should be stripped, look at the element's namespace instead of using IsContentOfType(). This makes things work correctly when MOZ_XUL is not defined and XUL elements are just XMLElements. Bug 230877, r+sr=jst.
2004-01-14 21:33:01 +00:00
bzbarsky%mit.edu
8093efd14c
Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
...
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu
f09279d25e
Minor cleanup in XBL. Bug 230591, r+sr=bryner
2004-01-12 23:43:59 +00:00
bryner%brianryner.com
2bddef83ba
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2004-01-12 08:25:18 +00:00
neil%parkwaycc.co.uk
2181ff5286
Bug 229526 Don't trim whitespace in <label> <description> or non-XUL r/sr=hyatt
2004-01-10 23:40:54 +00:00
jst%mozilla.jstenback.com
c000ae86e8
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
dbaron%dbaron.org
6d01bebb80
Better refcount logging for subclasses of nsXULPrototypeNode. b=230368 r+sr=bryner
2004-01-09 00:01:05 +00:00
bryner%brianryner.com
e65d2d2fe5
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
bzbarsky%mit.edu
628fa9e851
Forgot to address a review comment... Bug 223799.
2004-01-07 16:29:05 +00:00
bzbarsky%mit.edu
6399275154
Better enforcement of XBL's containment rules and better error-reporting. Bug
...
223799, r=timeless, sr=bryner
2004-01-06 18:30:45 +00:00
bzbarsky%mit.edu
9f9860b620
Clear mResources backpointer when the resources are destroyed. Bug 226744,
...
r=bryner, sr=jst
2004-01-05 23:46:00 +00:00
bzbarsky%mit.edu
331a80998b
Make sure to create unique proto chains as needed instead of reusing incorrect
...
protos. Bug 127418, r=hyatt, sr=brendan
2004-01-05 23:19:58 +00:00
bsmedberg%covad.net
0c471686e7
bug 219233 - Unfork nsIChromeRegistry.idl (not the impl, just the interface) and move it into content/base/public until we can get a more fine-grained separation of that interface in to GRE/non-GRE pieces. r/sr=hyatt+jst
...
I couldn't do a CVS move of nsIChromeRegistry.idl, sorry... it was added on a branch earlier. The old CVS log/blame can be found at mozilla/rdf/chrome/public/nsIChromeRegistry.idl
2003-12-22 05:23:10 +00:00
bzbarsky%mit.edu
0aa74580d7
Second part of logic-fixup for bug 225837. Patch by jst, r+sr=bzbarsky,
...
a=dbaron
2003-12-10 15:16:11 +00:00
jst%mozilla.jstenback.com
b040a2500a
Fixing logic goofup in my nsIContent::GetTag() deCOMtamination patch. r+sr=bzbarsky@mit.edu, a=dbaron@dbaron.org
2003-12-02 22:18:40 +00:00
jst%mozilla.jstenback.com
4183787fa9
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
bzbarsky%mit.edu
8ec9126261
Fix build bustage. I wonder why my gcc didn't catch this...
2003-11-17 21:41:13 +00:00
bzbarsky%mit.edu
bfd6b88a89
Convert URL stuff in XBL to use nsIURI instead of strings. Bug 224765, r+sr=bryner
2003-11-17 21:03:32 +00:00
caillon%returnzero.com
150adb2e29
Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
...
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
bzbarsky%mit.edu
75c3e6a121
Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
...
attributes to HandleStartElement. Update callees as needed. Bug 223470,
r=sicking, sr=peterv
2003-10-30 02:17:50 +00:00
bryner%brianryner.com
605cc06382
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
dbaron%dbaron.org
5cce92dc2a
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
2003-10-01 22:53:56 +00:00
jst%mozilla.jstenback.com
5037b2a4a2
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.
2003-09-27 04:18:26 +00:00
peter%propagandism.org
3f116defdd
Add blank line at end of file.
2003-09-17 19:19:53 +00:00
brendan%mozilla.org
d974bdbfa5
Fix venkman-induced GC-hazard crash bug: keep the nsIXPConnectJSObjectHolder for scriptObject alive across the entire extent of the scriptObject variable (171949, r=peterv, sr=bryner).
2003-09-15 21:57:31 +00:00
bsmedberg%covad.net
0568e675fc
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2003-09-13 17:55:56 +00:00
peter%propagandism.org
997e1a10df
Fix memory leak from fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner.
2003-09-13 16:47:00 +00:00
peter%propagandism.org
bde589ba46
Fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner.
2003-09-11 13:49:58 +00:00
peter%propagandism.org
453b136450
Fix for bug 206321 (Share event listeners between XBL event handlers).r=jkeiser, sr=bryner.
2003-09-11 12:25:06 +00:00
peter%propagandism.org
47b9d983ff
Fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner.
2003-09-11 12:19:14 +00:00
timeless%mozdev.org
2fe1675b20
Bug 211493 nsXBLProtoImplMethod::CompileMember doesn't check rv from aContext->CompileFunction. Crash [@ JS_CloneFunctionObject]
...
r=bryner sr=bz
2003-09-11 04:10:20 +00:00
timeless%mozdev.org
fb71c773cf
Bug 216721 Make mAttachedQueue a Stack
...
r=bryner sr=bz
2003-09-11 02:17:11 +00:00
bryner%brianryner.com
2fcdb4e2d5
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 21:50:21 +00:00
brendan%mozilla.org
b7cdb7debb
Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
2003-08-05 20:09:21 +00:00
bzbarsky%mit.edu
e2dae4d2f9
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:17:26 +00:00
timeless%mozdev.org
eda704ab1f
Bug 207617 This URL crashes Mozilla every time [@ js_CompareStrings]
...
r=bryner sr=bz
2003-07-28 10:59:54 +00:00
jaggernaut%netscape.com
95899387f6
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2003-07-25 19:06:59 +00:00
caillon%returnzero.com
7495519180
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
timeless%mozdev.org
2e9556b5c9
Bug 211284 SetOrRemoveObject doesn't check the return value of PL_DHashTableInit
...
r=alecf sr=dbaron
2003-07-14 21:26:24 +00:00
bzbarsky%mit.edu
b69b2abd98
Backing out part of patch for bug 211128, since it regressed all sorts of
...
XBL-ish stuff. r=stuff-is-broken sr=jag for the backout.
2003-07-14 05:35:09 +00:00
bzbarsky%mit.edu
89229dc7b9
Fix crash in malformed XBL. Bug 210298, patch by enndeakin@sympatico.ca (Neil
...
Deakin), r=bryner, sr=bzbarsky
2003-07-13 07:19:28 +00:00
bzbarsky%mit.edu
9cb380a7ff
Make XBL anonymous content get its base URI from the XBL document (the binding
...
URI) instead of from the document of the bound element. This way relative URIs
in a binding are always relative to the binding. Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00
bzbarsky%mit.edu
e6028a883c
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
dbaron%dbaron.org
d85698fd40
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
49a70c351d
Random array and already_AddRefed magic in XML content sink. Bug 211196,
...
r=caillon, sr=jst
2003-07-03 05:34:26 +00:00
bzbarsky%mit.edu
3906cefb0c
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
jst%netscape.com
2297bec5b0
Fixing typo in comment.
2003-06-21 18:03:15 +00:00
dwitte%stanford.edu
b444fcb403
removing some unused default ctors now that nsDerivedSafe can handle it.
...
no bug, r+sr=bz
2003-06-21 07:01:42 +00:00
jst%netscape.com
06a1373cba
Fixing orangeness.
2003-06-21 03:08:56 +00:00
jst%netscape.com
947ba67a9d
Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
2003-06-21 00:26:28 +00:00
bryner%netscape.com
b0d40f3072
Always add nsXBLDocumentInfos to the bound document's binding manager, even if we also put it in the XUL cache. This prevents crashes when the XUL cache is flushed (bug 201103). r=jkeiser, sr=bzbarsky.
2003-06-20 23:33:43 +00:00
aaronl%netscape.com
fccde7c7eb
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
caillon%returnzero.com
2df173e9c8
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
seawood%netscape.com
97649bab86
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
aaronl%netscape.com
ef71f3a441
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
hpradhan%hotpop.com
1ac147ff97
bug 148636 : reduce memory usage in xbl when rendering with lots of form elements r=jkeiser sr=bryner a=asa
2003-05-21 03:14:47 +00:00
jgaunt%netscape.com
d657abc98d
bug 201166 allow XBL elements to QI to base interfaces
...
r=bryner sr=jst a=asa
2003-05-13 23:27:33 +00:00
mstoltz%netscape.com
de71defcdf
Bug 200691 - Add CheckLoadURI call to XBL loader to prevent remote XUL pages loading XBL bindings from file URLs. r=bryner, sr=heikki, a=asa
2003-05-01 02:41:45 +00:00
bryner%netscape.com
baf5527445
Fix a memory leak my last XBL checkin introduced. Removed unused nsIXBLBindingAttachedHandler and related code. Stopped using XPCOM interfaces for classes internal to nsXBLPrototypeBinding.cpp. r=jkeiser, sr=jst.
2003-04-19 06:32:08 +00:00
ere%atp.fi
19c0852cd8
Bug 90337: load chrome xbl bindings synchronously.
...
r=hyatt
sr=bzbarsky
2003-04-18 08:44:25 +00:00
bryner%netscape.com
fafc8f28c6
More XBL deCOMtamination (bug 194834). This checkin removes nsIXBLInsertionPoint and nsIAnonymousContentList. r=jkeiser, sr=jst.
2003-04-15 20:35:07 +00:00
bryner%netscape.com
3a3ec0cbd5
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
heikki%netscape.com
b6ee57a69a
Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst.
2003-04-03 18:57:33 +00:00
alecf%netscape.com
bff73e5ad2
fix for bug 199503 - consolidate layout atoms into the main layout atom lists
...
sr=bryner, r=jag
2003-04-02 23:02:40 +00:00
alecf%netscape.com
c8aef61acf
fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
2003-04-02 04:51:07 +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
bryner%netscape.com
e1391344c6
Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin.
2003-03-24 04:00:58 +00:00
bryner%netscape.com
348f569486
fix some more crashes related to bug 196337. r=blake, sr=hewitt.
2003-03-17 03:57:51 +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
bryner%netscape.com
32997b4aa1
fixing ports bustage
2003-03-12 05:03:35 +00:00
bryner%netscape.com
7b37e841b7
Make prototype bindings be refcounted again. This ensures that the
...
prototype binding will still be alive even if the XBLDocumentInfo has
been deleted, as can happen when the XUL cache is flushed (since it
holds the only reference to the docinfo in that case). Fixes crashers
196446, 196333, 196477, 196736. r=jkeiser, sr=jag.
2003-03-12 00:42:52 +00:00
bryner%netscape.com
a88046b75c
fixing bustage
2003-03-07 01:05:54 +00:00
bryner%netscape.com
9d7d571cab
Remove nsIXBLPrototypeBinding (part of bug 194834). r=jkeiser, sr=alecf.
2003-03-06 23:59:18 +00:00
peterv%netscape.com
bc210f1afe
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
alecf%netscape.com
8c233de9f3
fix bug 190729 - remove some dead code from xbl
...
sr=jag, r=bryner
2003-03-04 01:04:27 +00:00
bryner%netscape.com
2866ee7fbe
Remove nsIXBLPrototypeHandler (part of bug 194834). r=jkeiser, sr=sfraser.
2003-02-28 01:04:45 +00:00
neil%parkwaycc.co.uk
be90785b1a
Bug 102133 Implement phase="target" in XBL r=hyatt sr=jag
2003-02-24 15:41:41 +00:00
dbaron%dbaron.org
4b4f8625f1
Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky
2003-02-22 16:10:53 +00:00
dbaron%dbaron.org
ea93b55cc8
Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser
2003-02-22 15:58:07 +00:00
bryner%netscape.com
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
aaronl%netscape.com
ec704b5a30
Bug 185270. Make Insert/shift+insert open link in new tab (foreground/background, depending on whether shift is pressed). r=caillon, sr=jag
2003-01-21 23:04:02 +00:00
sicking%bigfoot.com
89c3e94d25
Bug 188729: Break refcounting-cycles during load.
...
r=peterv sr=bz
2003-01-14 22:32:18 +00:00
aaronl%netscape.com
ac5a909110
Bug 176296. Create accessibility.typeaheadfind.autostart boolean pref. If false, / or ' is required to start Find As You Type. Also fixes bug 183998, allowing manual start with / or ' in mailnews. Find As You Type now uses the command system to get notification that a new find should start. r=kyle, sr=jst
2003-01-14 04:03:35 +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
peterv%netscape.com
d96051a4a2
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
caillon%returnzero.com
342abe6814
182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
...
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
timeless%mozdev.org
da9c8551f4
Bug 183309 Mozilla crashes on startup. - Trunk [@ nsBindingManager::GetXBLDocumentInfo]
...
patch by nallen@acm.org r=brendan sr=alecf a=asa
2002-12-05 21:25:23 +00:00
bzbarsky%mit.edu
fe53f95e60
Make the CSSLoader correctly order stylesheets as they are dynamically added
...
and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
2002-12-03 05:48:14 +00:00
alecf%netscape.com
5dbd9ca724
stupid mac / linux compilers were accepting "const const" - but the mac does not.
...
fixing bustage
2002-12-03 02:24:50 +00:00
sicking%bigfoot.com
4ef08f6409
Bug 169124: Make the XSLT contentsink create generic xml-elements for all elements to get around limitations with xhtml elements. Also do some cleaning in the XML contentsink.
...
r=harishd sr=peterv
2002-12-02 23:24:57 +00:00
alecf%netscape.com
f8cf94c403
oops, forgot to add that my last checkin was bug 177545
2002-12-02 22:32:04 +00:00
alecf%netscape.com
612e41a4a2
switch nsBindingManager over to pldhash and nsDoubleHashtable - this greatly reduces the number of allocations from XBL, the single worst consumer of nsHashtable!
...
sr=brendan, r=hyatt
2002-12-02 22:30:26 +00:00
peterv%netscape.com
2cd27f702a
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
sicking%bigfoot.com
b615fa9010
Bug 181808: Use macros to declare and implement nsIDocumentObserver
...
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
bryner%netscape.com
be89105ec4
Bug 104371 - shiftKey not set correctly for keypress events, breaking shift+space binding. r=brade, bzbarsky, sr=hyatt.
2002-11-07 03:34:13 +00:00
sicking%bigfoot.com
3984ee537d
Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
...
r=jkeiser,hyatt,bz sr=rpotts a=asa
2002-10-22 05:28:36 +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
heikki%netscape.com
919aef29e4
Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa.
2002-10-11 00:38:29 +00:00
sicking%bigfoot.com
de70300d00
bug 64945 stage two.
...
Prettyprint without modifying the DOM by using an XBL binding. Use viewsource.css for styling. Also refactor a real sync-load service and make transformiix and XBL use it.
r=jkeiser sr=darin
2002-10-09 07:03:15 +00:00
varga%netscape.com
a068886905
Putting XUL prototype elements on a diet. Bug 26429.
...
r=ben, sr=brendan
2002-09-25 09:56:09 +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
rpotts%netscape.com
b5533b4cc8
bug #145579 (r=darin, sr=jst) send the correct referrer for images...
2002-09-17 18:59:41 +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
sicking%bigfoot.com
443bb6d0bc
Bug 64945: XML Prettyprinting stage 1
...
r=peterv sr=jst
2002-09-04 06:57:25 +00:00
brade%netscape.com
64c81b056e
fix pageup/pagedown keybinding for browser (bug 165255)
2002-08-29 13:01:57 +00:00
brade%netscape.com
2a57895483
check in patches for 4302 that were overlooked when landing fix for bug 4302 (shift keybindings for pageup/pagedown)
2002-08-28 13:36:44 +00:00
brade%netscape.com
a28a7b2f4f
check in patch which was overlooked when checking in fix for bug 4302
2002-08-28 13:32:48 +00:00
brade%netscape.com
38076d4fad
missing piece from checkin for bug 4302
2002-08-28 13:26:37 +00:00
roc+%cs.cmu.edu
cb32a0f906
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
2002-08-24 14:41:28 +00:00
jst%netscape.com
5707cc67d2
Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com
2002-08-13 00:50:50 +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
seawood%netscape.com
301b1a4ca8
Remove unused defines:
...
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG
Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner
_IMPL_NS_VIEW
Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
dbaron%fas.harvard.edu
b4de133022
Propagate |aNotify| parameter through XBL to attribute changes of XBL-inherited attributes. b=156547 sr=hyatt r=bryner
2002-08-06 13:39:22 +00:00
dbaron%fas.harvard.edu
b05f4afab2
Make XBL report XML parse errors. b=156714 r=caillon sr=ben
2002-08-06 12:55:44 +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
alecf%netscape.com
47b3f07056
more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
...
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +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
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
bryner%netscape.com
90a2f7dfb7
Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag.
2002-07-08 07:56:50 +00:00
seawood%netscape.com
03ace271f0
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +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
jst%netscape.com
220258d498
Fixing bug 150824. Don't crash if initialization of an XBL JS class fails. r=dbradley@netscape.com, sr=alecf@netscape.com
2002-06-21 20:55:17 +00:00
peterv%netscape.com
1773dac99b
Remove unnecessary includes.
2002-06-20 14:35:17 +00:00
caillon%returnzero.com
5ad14210fa
Bug 149474, Implement preventdefault="true" on XBL handlers, so that bindings are able to prevent the default action even if JavaScript is disabled. r=bryner sr=jag
2002-06-19 00:43:46 +00:00
alecf%netscape.com
bcf192e308
fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
2002-06-06 20:28:14 +00:00
dbaron%fas.harvard.edu
3db6a04379
Null-check mBindingTable to avoid crash with some themes. b=143835 r=brendan sr=waterson
2002-05-17 02:33:03 +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
sicking%bigfoot.com
b4fccd9b86
Bug 119317. Drop support for non-namespaced "inherits" xbl-attribute and move over the last uses of the old syntax.
...
r=Hixie sr=hyatt
2002-05-03 17:51:44 +00:00
ben%netscape.com
a67d1f4b6f
[Chrome FastLoad]
...
Implement XUL Prototype Document and Prototype Element serialization/deserialization scheme for FastLoad of chrome documents.
r=brendan, sr=hyatt
2002-05-03 03:04:34 +00:00