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

2279 Коммитов

Автор SHA1 Сообщение Дата
hyatt%netscape.com 8f76a61bf0 Got the progid of the XUL element factory wrong. r=waterson 2000-01-19 04:31:39 +00:00
hyatt%netscape.com 3eba131f6d Adding a XUL element factory so that the XML content sink over in layout will
be able to make XUL elements. r=waterson
2000-01-19 03:28:06 +00:00
hyatt%netscape.com 34daeaf790 Patching XUL documents so that they support extensibility of content creation.
Patching the RDF generic builder so that it can build any type of content
element (using the generic factory building interface). r=waterson
2000-01-19 03:11:39 +00:00
rjc%netscape.com a79808057a A few small sorting tweaks. 2000-01-19 02:39:40 +00:00
rjc%netscape.com a0bd108d98 Enable the optimized binary insertion node with end-point interpolation. (Sort-of) review: putterman@netscape.com 2000-01-19 01:44:29 +00:00
waterson%netscape.com 8868a44051 Bug 24144. [Add|Remove]Channel() are now performed by the protocols, so don't try to do it in SetLoadGroup(). r=warren 2000-01-17 19:37:41 +00:00
waterson%netscape.com 8c4c85068e Bug 24134. Re-apply r1.233, which was steamrollered by tao's recent checkin. Re-using the r=valeski here. 2000-01-17 19:34:23 +00:00
rjc%netscape.com a1b89b2a67 More preparations to land an optimized binary insertion node. (Going to test more later. Currently #ifdef'ed out.) 2000-01-17 13:15:44 +00:00
rjc%netscape.com 36312faa26 Prepare to land an optimized binary insertion sort. (Going to test more later. Currently #ifdef'ed out.) 2000-01-17 11:00:13 +00:00
rjc%netscape.com 5f86c23d82 Small optimizations. 2000-01-17 07:02:17 +00:00
rpotts%netscape.com b410e59d5f bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
danm%netscape.com 75c9537a73 reapplying changes from rev 1.234, which was lost as part of 1.235 2000-01-15 05:53:41 +00:00
alecf%netscape.com c8bd09546c attempted fix at build bustage. I have no idea if this is the "right" thing or not but it gets the build green 2000-01-15 03:51:31 +00:00
tao%netscape.com 36794ca76e bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur. 2000-01-15 02:01:05 +00:00
mscott%netscape.com a4cd9d9233 Bug #24007 --> you can't remove xul elements from html elements in JS
this was because of an unitialized variable in layout because xul elements
don't support the notion of ranges.
r=waterson
2000-01-15 01:37:16 +00:00
sspitzer%netscape.com 920287de74 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com d6a205f1ec Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
rjc%netscape.com a55af95dc3 Sorting optimizations. (Sort-of) review by putterman@netscape.com 2000-01-14 01:21:55 +00:00
brendan%mozilla.org 1523114e47 InitStandardClasses so JS compiler makes well-prototyped objects (22048,22098 r=shaver). 2000-01-14 00:49:30 +00:00
danm%netscape.com 273c808d4d removing initial window sizing from StartLayout (now done in nsWebShellWindow). Long overdue change; also necessary as part of bug 15775. r:hyatt@netscape.com 2000-01-13 23:49:25 +00:00
waterson%netscape.com 8dc912babc Bug 23799. Ignore failure from GetContentType() in StartDocumentLoad(), because some channels may not have yet resolved the content type. In this case, cross our fingers and pray that it's text/xul. r=valeski 2000-01-13 23:23:51 +00:00
waterson%netscape.com 80e60176f5 Remove some additional bogoasserts. 2000-01-13 23:18:05 +00:00
rjc%netscape.com 4f132a7335 Attempt to fix wensleydale (SunOS 5.6) bustage. 2000-01-13 11:03:56 +00:00
rjc%netscape.com 0c20439693 Sorting optimizations. (Sort-of) review by putterman@netscape.com 2000-01-13 10:16:32 +00:00
hyatt%netscape.com f7f7d21108 Fix Linux bustage. 2000-01-13 09:20:58 +00:00
hyatt%netscape.com e633a33ee6 Giving XUL elements the capability to own bindings. 2000-01-13 08:48:33 +00:00
alecf%netscape.com 8d94f68ba7 expose the form controls in a XUL document in the "controls" DOM attribute
this will make prefs and wizards much faster
r=hyatt
2000-01-13 02:59:08 +00:00
waterson%netscape.com f438e8bc66 Remove assertion from nsRDFDOMNodeList::Item(); it was being triggered from JS, and it really isn't a "fatal" program condition. 2000-01-13 02:49:10 +00:00
waterson%netscape.com c592a32ef5 Bugs 20724, 23715. Add a fixed-size allocator for nsXULAttribute objects. Always atomize 'id' attributes so nsXULElement::GetID() can be fast. r=hyatt 2000-01-13 02:22:16 +00:00
sspitzer%netscape.com c048f5dd70 fix warning. 2000-01-12 08:57:41 +00:00
waterson%netscape.com d5e2b582cc Bug 17195. Implement nsIDOMNode::CloneNode(). r=hyatt 2000-01-12 03:23:48 +00:00
rjc%netscape.com eb54e62d0d Somehow, we lost some of the magical attributes we need to check for. (coalescing dup arcs, and allowing negative arcs) 2000-01-12 01:47:23 +00:00
rjc%netscape.com 816e4b7276 Tweak resource cache usage. Change from putterman, Review from me 2000-01-11 22:03:53 +00:00
waterson%netscape.com 89355cf082 Bug 22915. Be sure to add the nsCachedChromeChannel to the load group on nsIChannel::SetLoadGroup(). Also, don't assume (in nsXULDocument::StartDocumentLoad) that when you 'hit' in the cache that the channel is actually a nsCachedChromeChannel; instead, inspect its content type. Finally, get rid of extraneous 'command' member variable in nsCachedChromeChannel. r=mscott 2000-01-11 21:18:19 +00:00
pp%ludusdesign.com 13efd9e8c6 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rjc%netscape.com b6e90a484e Use native ptr [via .get()] 2000-01-11 08:41:15 +00:00
rjc%netscape.com 183039b2ca Defer creation of resource cache until a sort is imposed. Also, added a temporary working for db->OnChange() not enjoying a null oldTarget. 2000-01-11 08:38:47 +00:00
rjc%netscape.com 1528bdccb4 Move resource cache up from the XUL sort service into the generic builder. Review: me 2000-01-11 06:28:28 +00:00
waterson%netscape.com 71ec8c3d5f Take out crufty debug printfs. 2000-01-11 02:49:18 +00:00
waterson%netscape.com abd7ead67c Bug 18631. Add GetDataSources() method to nsIRDFCompositeDataSource. r=scottip,rjc 2000-01-11 01:59:12 +00:00
jdunn%netscape.com 157f231d1d Fix base class specifiers, since be default if they aren't specified it is Private
# 23237
r= warren@netscape.com, ftang@netscape.com, jband@netscape.com
2000-01-11 01:45:34 +00:00
waterson%netscape.com e2c0ab93f8 Remove unused files. 2000-01-10 23:21:24 +00:00
hyatt%netscape.com 5e51092a3b Making nsIXULContent visible. 2000-01-10 04:03:12 +00:00
hyatt%netscape.com 63c91e910b Teaching the XUL DOM how to keep anonymous content events from being seen
by enclosing explicit content.
2000-01-10 03:57:49 +00:00
rpotts%netscape.com 3e79b2aec1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
hyatt%netscape.com 9f455a7174 Making tree scrolling faster. 2000-01-08 02:18:14 +00:00
waterson%netscape.com d83b83c647 Bug 21477. Add |nsIContent** aFirstGeneratedChild| parameter to several methods that is used as an 'out' parameter to determine the first generated child in a subtree. This allows us to send the correct |ContentAppended()| notification to layout. Fixes the 'unfurling menu' problem. r=rjc 2000-01-08 00:27:04 +00:00
brendan%mozilla.org bd00bf675b (bug 22795, r=vidur@netscape.com)
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to
  (a) avoid entraining garbage
      (i.e., a shared compile-time-only parent object); and
  (b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding
      (to the target object that's receiving the event).
- Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp.
- Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)
2000-01-08 00:24:24 +00:00
waterson%netscape.com f1a831984c Bug 23352. Add sanity checks to catch bogus params n' stuff earlier. r=rjc 2000-01-08 00:23:27 +00:00
alecf%netscape.com e0bcb4a2e6 one more time! this time don't look inside templates, instead look inside <treechildren> of trees
r=scottip
2000-01-07 00:38:24 +00:00
alecf%netscape.com ee1440d6a7 followup fix for #12895 - actually find the content correctly
r=scottip
2000-01-07 00:00:27 +00:00
norris%netscape.com b63c402180 Fix 10194 and 14979.
r=mstoltz@netscape.com
2000-01-06 22:03:30 +00:00
waterson%netscape.com 06963c43cc Bug 22805. Wrap NS_GetWeakReference() with getter_AddRefs(). Thanks beard! r=beard 2000-01-06 20:01:56 +00:00
nhotta%netscape.com 69424c2181 Fixed memory leak, bug 22281, r=waterson. 2000-01-06 19:47:20 +00:00
colin%theblakes.com 1d33fda9b3 Add MOZ_TIMER_LIBS. r=jdunn 2000-01-06 11:11:38 +00:00
alecf%netscape.com 5f40caae8f fix my previous checkin after talking to hyatt - we'll be getting the outer frame, so iterate through the children and QI on each one, sending EnsureRowIsVisible to each when it succeeds
r=hyatt
2000-01-06 09:19:31 +00:00
alecf%netscape.com 4a01d2ad5a add new method to ensure that tree content is visible: go through all the presentation shells, and call EnsureRowIsVisible for each tree.
also expose a method to get the visible row for a tree - I needed it anyway, figured I might as well expose it from JS.
other half of fix for #12895
r=bryner
2000-01-06 07:54:43 +00:00
rjc%netscape.com 57fdd61ded Fix a small bug with determining when an item is truly an IE Favorite as opposed to a IE Favorite folder. Review: waterson@netscape.com 2000-01-06 00:51:35 +00:00
waterson%netscape.com 86762c4728 Bug 16516. Canonify all 'chrome:' URLs before loading XUL documents. Ensures that persistence and XUL cache keys work properly. Obsolete the 'main' property in the chrome registry. Expose a 'canonify' method on the chrome registry. r=hyatt 2000-01-06 00:31:06 +00:00
waterson%netscape.com 19c9efac8e Bug 19033. Wait until the parse is complete to set the 'root' element in the prototype document. This ensures that malformed XUL with too few close-tags won't leave the prototype document with a dangling pointer to a destroyed element. r=hyatt 2000-01-06 00:29:30 +00:00
rjc%netscape.com 8c0c633228 Comment out. 2000-01-05 06:05:27 +00:00
rjc%netscape.com 3fccc42060 Windows only. 2000-01-05 05:10:07 +00:00
rjc%netscape.com 02f5730a02 First part of fix for bug # 6770: use nsIPlatformCharset for IE Favorites (Windows). 2000-01-05 05:08:32 +00:00
dougt%netscape.com 2559aa9b76 Including nsString.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:40:10 +00:00
dougt%netscape.com 614af6151e Including nsIFileSpec instead of nsFileSpec. Part of the prep work for landing
nsIFile
2000-01-03 23:39:40 +00:00
dougt%netscape.com b9c9c38249 Including nsIFileSpec instead of nsFileSpec. Part of the prep work for landing
nsIFile
2000-01-03 23:38:57 +00:00
dougt%netscape.com 6ebfa81077 Converting to use nsIModule macro. r=dp. 2000-01-03 23:37:30 +00:00
blizzard%redhat.com 8ec176345e Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
sspitzer%netscape.com 1ff7f19198 fix warnings. 1999-12-28 19:37:29 +00:00
sspitzer%netscape.com 985576866d only hyatt needs to see his debugging printfs. 1999-12-24 07:53:41 +00:00
rjc%netscape.com 6e35597564 Small sorting change: always sort {null} items last (after non-null items). 1999-12-23 12:01:44 +00:00
sspitzer%netscape.com c765c8ebdf fix crasher in the dom viewer. #22425. dom viewer still suffers from bit rot, but at least it won't crash 1999-12-23 00:52:43 +00:00
briano%netscape.com 3d9b31d36f Another NetBSD/arm-specific fix. 1999-12-22 20:02:18 +00:00
waterson%netscape.com bab94bfa5e Bug 22305. Fix leak when replacing cache entry for style sheet and prototype document. r=buster, a=sdagley 1999-12-22 01:42:42 +00:00
pinkerton%netscape.com c1fd7f7797 remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley. 1999-12-21 19:28:15 +00:00
akkana%netscape.com 336dcaa84c Remove my name from a debug printf 1999-12-21 00:39:43 +00:00
jband%netscape.com 7d0cb0f4bb Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
hyatt%netscape.com 64b7811b77 Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +00:00
rjc%netscape.com fda9dc2a0c Fix bug # 21927: empty IE Favorites folders are still folders. Approval: chofmann 1999-12-18 03:45:40 +00:00
waterson%netscape.com 3a0585e79d Bug 11102. Update test case: bug closed without fix! Does not affect build. 1999-12-18 01:37:52 +00:00
hyatt%netscape.com 15df3485b1 Making key bindings cancelable. r=saari,a=jar 1999-12-17 02:43:37 +00:00
waterson%netscape.com ae1780c3d6 Bug 21364. Fix document leaks that occur via uncollected script objects: compile scripts against a special global object owned by the prototype document. shaver mostly did this work. r=brendan Bug 21661. Break circular reference between command dispatcher and XUL document. r=saari 1999-12-17 00:06:28 +00:00
hyatt%netscape.com 5771333529 Fix for 21610. r=waterson 1999-12-16 03:19:34 +00:00
waterson%netscape.com 8deb69c749 Bug 21610. Add support to distinguish key binding overlay from normal overlay documents. 1999-12-15 23:18:34 +00:00
mjudge%netscape.com 375afb43f5 adding in check for editor keylistener. dont always assume its a browser when it could be an editor. part of large check in for key bindings 1999-12-15 03:48:09 +00:00
waterson%netscape.com 85e19c7a40 Bug 20724. Atomize short attribute values to avoid string allocation and copying overhead. r=hyatt, a=chofmann 1999-12-11 18:16:22 +00:00
rjc%netscape.com 4c89b0ec62 Fix PDT+ bug # 21245: add sorting support for <treecolgroup> trags. Review: hyatt, putterman. Approval: chofmann. 1999-12-11 08:17:31 +00:00
akkana%netscape.com 1916168c22 Add a get() to fix build bustage 1999-12-11 00:37:11 +00:00
hyatt%netscape.com 0b624a4547 Fix for PDT bug #21247. r=saari, mjudge 1999-12-11 00:06:29 +00:00
waterson%netscape.com 70f20f9245 Bug 20691. Fire OnStopRequest() on a callback so as to avoid re-entrancy problems. r=mscott, a=chofmann 1999-12-10 21:02:47 +00:00
waterson%netscape.com fd26b307df Bug 20691. Add timer_s.lib so that we can use NS_NewTimer(). r=mscott, a=chofmann 1999-12-10 20:59:46 +00:00
waterson%netscape.com 576424cbfe Bug 20691. Add NetworkModular[Debug].shlb so we can get NS_NewTimer(). r=mscott, a=chofmann 1999-12-10 20:58:08 +00:00
danm%netscape.com 88bac4ad87 release the PresShell in HandleEventUsingKeyset earlier, so it won't outlive its ViewManager if the window is deleted. another fix for bug 20193. r:hyatt a:chofmann 1999-12-10 19:31:54 +00:00
dougt%netscape.com 2d0f118db2 fix for 19133. r=waterson, a=brendan. 1999-12-09 02:28:43 +00:00
hyatt%netscape.com af5c8627b2 Fixing Mac crasher. r=saari 1999-12-08 10:16:56 +00:00
waterson%netscape.com 4b5bfd9fa4 What a dumbass! I should've 'cvs diff'-ed before checking that in. Landed some random local mods in my tree. Sorry! 1999-12-08 08:08:39 +00:00
waterson%netscape.com 48c2b1b2ab Bug 17680. Only need to add template builders on nodes that are more than -two- levels in from an overlay root. The first ply will be set up in nsXULDocument::OverlayForwardReference::Merge(). 1999-12-08 07:59:12 +00:00
waterson%netscape.com 19b1ae7b34 Bug 21033. Delete broadcast listeners in Slots dtor. thanks beard! 1999-12-08 07:18:59 +00:00
waterson%netscape.com d72ecdba3f Bug 20714. Use static names for roots. 1999-12-08 06:58:00 +00:00
hyatt%netscape.com 2db54c7221 Fixing bustage on wensleydale. 1999-12-08 06:04:10 +00:00