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

2347 Коммитов

Автор SHA1 Сообщение Дата
saari%netscape.com 533e982b0c Fixing delete key regression. r=hyatt 2000-02-12 05:52:24 +00:00
akkana%netscape.com 4eb0d1db06 27431 -- avoid slew of printfs complaining about GetCharCode from KeyDown, and speed up xul key bindings. r=brade 2000-02-11 22:11:39 +00:00
hangas%netscape.com 50169601c5 Checking in for saari, fix for key bindings with no xulkey="true" (bug 26484). r=hangas 2000-02-11 01:21:35 +00:00
hyatt%netscape.com 32608cd06a Fix for bug #25675. More focus memory framework being checked in for the
command dispatcher as well.
2000-02-11 00:59:32 +00:00
kmcclusk%netscape.com 4d12d19a42 Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
hyatt%netscape.com 2ddfbb0616 Giving the XUL key listener a spanking. 2000-02-09 09:35:30 +00:00
hyatt%netscape.com 9b90d855b2 Fixing command dispatcher horkage. r=saari 2000-02-09 03:14:03 +00:00
dp%netscape.com 906610dcf7 Fixing build bustage. 2000-02-09 02:43:48 +00:00
hyatt%netscape.com 28745243d6 Command dispatcher fix for PDT+ focus issues on Linux. r=saari 2000-02-09 01:32:42 +00:00
tbogard%aol.net f5d81c3e9c GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur 2000-02-08 13:40:10 +00:00
joki%netscape.com b7846d75d9 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
scc%netscape.com 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
waterson%netscape.com 932a5780a9 Tweak MOZ_COUNT_[CTOR|DTOR] macros. 2000-02-06 02:56:06 +00:00
waterson%netscape.com 10f62e7d30 Bug 26129. Replace timer with a PLEvent. GTK timers (in this specific case) seem to be confused when a modal event queue has been pushed. By using a PLEvent, we get the same effect, but are able to grab the outermost queue to ensure that our callback to fire OnEndDocumentLoad gets kicked. r=mscott 2000-02-06 01:30:16 +00:00
alecf%netscape.com b03bc550e8 when form elements are generated via a template, set the form to the XUL Doc's hidden form so that the element behaves correctly.
r=waterson
2000-02-05 01:03:39 +00:00
warren%netscape.com 0518f231d1 Fixed indentation. 2000-02-04 12:18:27 +00:00
warren%netscape.com cc55f36b26 fixed typo 2000-02-04 12:17:39 +00:00
warren%netscape.com c20aade03b Implemented GetOwner/SetOwner. r=mscott 2000-02-04 08:55:05 +00:00
alecf%netscape.com 6e7aa4512f hook up this object to the globalobjectowner so that we can report errors
r=waterson
2000-02-04 01:42:05 +00:00
waterson%netscape.com ec7c4582cb Bug 25333. Implement nsIScriptGlobalObjectOwner so we can report compilation errors. r=scc 2000-02-03 08:51:49 +00:00
waterson%netscape.com 4a694ca92e Bug 26304. Make sure the nsXULSortService updates does 'deep' SetDocument() calls when twiddling content nodes: regressed with fixes for 20677 and 23905. r=scc,rjc. 2000-02-03 07:57:51 +00:00
waterson%netscape.com 0b53792184 Bug 20677, 23905, attempt number 2. This time, in the DOM methods, we make sure to do a 'deep' set on mDocument *before* calling to their nsIContent brethren. This ensures that any code in layout that wants to access the document gets the right value. r=scc 2000-02-03 07:55:34 +00:00
pp%ludusdesign.com 2dec24638f Removed hand-made QueryInterface that wasn't used for a long time.
r=pinkerton@netscape.com
2000-02-03 01:25:38 +00:00
brade%netscape.com b45d0c2dd6 fix access paths for move to CW5 (bug #25949) 2000-02-02 23:21:51 +00:00
valeski%netscape.com ba35ff22b6 r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
brade%netscape.com b174bf571d fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00
waterson%netscape.com f2c4bf1e4b Revert changes that cause mail sort to crash. 2000-02-02 19:46:03 +00:00
norris%netscape.com 131271ae68 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
waterson%netscape.com c02a1bd063 Bugs 20677, 23905. Change nsXULElement to implement nsIContent like nsGenericElement and nsGenericHTMLElement. Specifically, do 'shallow' SetDocument() calls in AppendChildTo(), InsertChildAt() and ReplaceChildAt() methods. Change nsXULDocument to leave newly create element's mDocument as null (so 'null mDocument' means 'this element is not currently in the document'. Fix callers to ensure that a deep SetDocument() is made where necessary. r=hyatt 2000-02-01 22:57:36 +00:00
pp%ludusdesign.com 207f05242d Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
akkana%netscape.com cee3a4cf6e 18033: Emacs XBL key bindings for unix. r=hyatt 2000-01-31 23:47:40 +00:00
beard%netscape.com 6d7a795711 fix nsIAtom leak. bug=25778, r=waterson 2000-01-31 23:29:08 +00:00
putterman%netscape.com a3543f9a6a Fix for bug 25833 for mscott. r=scottip. Can now bring up more than one dialog and more than
one instance of an app.
2000-01-31 18:55:27 +00:00
vidur%netscape.com fa580e6551 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
hyatt%netscape.com 75fc002bef Fix for bug#15946 2000-01-28 03:41:24 +00:00
hyatt%netscape.com 91dc71fa50 Getting rid of createPopup 2000-01-28 03:04:40 +00:00
sspitzer%netscape.com cfd34527c8 fix for crash in bug #25339, r=hyatt. the problem is someone is trying to select a null
element in the tree (from js).  now, on to fix that problem.
2000-01-28 01:30:29 +00:00
waterson%netscape.com 1e5a40bad2 Bug 25292, 25166. Get rid of extra calls to [Begin|End]Load() in synchronous load case (these are called normally from the ProxyStream hack). 2000-01-28 00:29:42 +00:00
hyatt%netscape.com ab1edf20c4 Making the XUL key listener a bubbler. Removing its capability to handle
textareas and inputs.
2000-01-27 09:43:19 +00:00
waterson%netscape.com 4a78db54fb Doh! Be sure to release the parser when the load completes. 2000-01-27 06:17:13 +00:00
waterson%netscape.com ff33dd020d Bug 24499, 15586. Hold strong ref to nsIRDFXMLSinkObservers; add onError() method to nsIRDFXMLSinkObserver API; be sure to notify observers in synchronous load case. r=shaver 2000-01-27 02:24:20 +00:00
bryner%uiuc.edu 72cc94708f Fix build bustage (typo in Makefile.in). a=mcafee. 2000-01-27 01:15:38 +00:00
hyatt%netscape.com e7e32ebc9f Did I bone this checkin or what. 2000-01-27 00:43:29 +00:00
hyatt%netscape.com 86f2457808 added files: mozilla/rdf/content/src/nsXULPopupElement.cpp 2000-01-27 00:13:41 +00:00
hyatt%netscape.com 290a40dc2c Left out some files. 2000-01-27 00:13:26 +00:00
hyatt%netscape.com 2368e3b592 left out a couple of files. 2000-01-27 00:12:37 +00:00
hyatt%netscape.com 8a6b1e24db More popup work. 2000-01-26 23:30:10 +00:00
hyatt%netscape.com a96e653312 added files: mozilla/rdf/content/src/nsJSXULPopupElement.cpp 2000-01-26 22:46:31 +00:00
hyatt%netscape.com a723c08c89 Adding a new popup element. 2000-01-26 22:45:34 +00:00
sspitzer%netscape.com f2bd52d7b4 change PR_ASSERT to NS_ASSERTION. on linux, PR_ASSERT calls abort, and
I was getting getting to the PR_ASSERT when copying text in a quoted mail message.  r=akkana, a=leaf
2000-01-26 20:39:28 +00:00
norris%netscape.com e7f484f030 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
jband%netscape.com bf596d809e Lots of xpconnect bug fixes...
- fix bug 12954 "should throw when setting non-settable props".

- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)

- fix bug 22802 "[MLK] XPConnect Leaks".

- fix bug 24119 "[MLK] Reminder about cleaning up maps".

- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.

- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.

- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.

- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.

- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.

- Added myself as first contributor to xpconnect files (vanity prevails!)

- Added new copyright header on some files that were missing it.

- Added some API comments.

- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.

- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.

r=mccabe
2000-01-26 08:38:10 +00:00
waterson%netscape.com 7adc8ab9ce Minor code cleanup from review with brendan: use shared finalizer in nsJSUtils. 2000-01-26 01:56:56 +00:00
waterson%netscape.com 6b57e35cbf Use NS_REINTERPRET_CAST instead of including private header files. 2000-01-26 01:55:59 +00:00
hyatt%netscape.com dc211f8b71 Multiple selection capability configurable in trees now. 2000-01-25 10:30:51 +00:00
hyatt%netscape.com 081eae88f5 Making key bindings faster. 2000-01-25 09:31:42 +00:00
hyatt%netscape.com e7f4743275 Fixing Linux bustage. 2000-01-25 08:39:53 +00:00
hyatt%netscape.com 0f660e6f84 Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody. 2000-01-25 06:35:27 +00:00
putterman%netscape.com 4c53f418ec r=waterson. Necessary for 24768. Put nsIDOMXULDocument into this. 2000-01-25 05:09:23 +00:00
waterson%netscape.com 8e421b1013 Clean up shared structures between nsRDFGenericBuilder.cpp and nsXULSortService.cpp; r=rjc 2000-01-25 04:07:41 +00:00
nisheeth%netscape.com 71218baaf6 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
jfrancis%netscape.com a3e8b4f225 fixing rdf build bustage 2000-01-23 00:25:21 +00:00
waterson%netscape.com 903106b34d Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan 2000-01-22 22:00:35 +00:00
waterson%netscape.com 9f8ec61d34 Make comments javadoc-style. 2000-01-22 20:55:26 +00:00
troy%netscape.com 73a3709284 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com 3326c2959e Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
waterson%netscape.com e09257d601 Gak. Forgot to comment the oddity that may occur... 2000-01-19 06:00:25 +00:00
waterson%netscape.com 2a0ceed3cd Remove bogobotch that is breaking cloneNode(). r=brendan 2000-01-19 05:51:30 +00:00
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