Commit Graph

3179 Commits

Author SHA1 Message Date
mjudge%netscape.com
78a1c7b0e7 massive changes a=jar.hoffman, r=akkana
git-svn-id: svn://10.0.0.236/trunk@55878 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:02:08 +00:00
sfraser%netscape.com
a945951480 Fix for bug 21189; first node's content was duplicated with timer-based notifications on. Fix by vidur, r=smfr, a=brendan. Also work around a problem with LL_CMP macros on compilers that don't use long long (NSPR bug 21428).
git-svn-id: svn://10.0.0.236/trunk@55869 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 22:47:39 +00:00
warren%netscape.com
e9f618e116 Fix for leak/bloat stats going negative. a=jar
git-svn-id: svn://10.0.0.236/trunk@55840 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 04:27:52 +00:00
vidur%netscape.com
7ddd31965b Fix for bug 21271. Check if the current context is the head context in HTMLContentSink::CloseHTML, even though the parser shouldn't let that happen. Fixes crash in Channels dropdown. A=jar R=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55838 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 03:36:50 +00:00
saari%netscape.com
072f9f11f5 Helping to fix 19114 by making a strong ref weak. Potential fix for 19268 by making scrollbars not steal focus. r=hyatt a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55832 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 00:51:50 +00:00
joki%netscape.com
c31311ba6f fix 21337, set modifier keys for generated events. r:brendan a:brendan
git-svn-id: svn://10.0.0.236/trunk@55807 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 21:02:09 +00:00
buster%netscape.com
25d1324f5d bug 21187
fixed the webshell leak in <textarea> and <input type=text|password>
the problem was the new nsWebShell::SetDocument() call was indirectly causing nsHTMLDocument to instantiate a parser
and fire off a parse.  bad circular references ensued.  The fix is to use the "aCommand" param to pass a hint
to the nsHTMLDocument, telling it there's no need to involve a parser.

in the simple case, we no longer leak webshells.  That is, if you open mozilla.exe, look at a page (whether it has a text
control on it or not), and shut down the app, no webshell is leaked.  If I browse around, sometimes we still leak a webshell
somewhere.  I haven't figured out exactly where that is yet.  A guess is history, which is in the process of being reworked
anyway.

r=mscott
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55796 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 07:18:38 +00:00
vidur%netscape.com
2d4baee02f Partial fix for bug 20645. Rather than just assert on error state, bail out with an error code. Real fix still due from the parser guys, but we don't crash anymore. a=chofmann r=rickg
git-svn-id: svn://10.0.0.236/trunk@55792 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 03:10:22 +00:00
dougt%netscape.com
1131f006d6 fix for 19133. r=waterson, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@55789 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 02:28:43 +00:00
rickg%netscape.com
53f36f30cd unintentionally commited. Backing out
git-svn-id: svn://10.0.0.236/trunk@55774 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 23:05:14 +00:00
rickg%netscape.com
9e042dd8f4 fixed bug 21146; r=buster; a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55770 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:54:08 +00:00
hyatt%netscape.com
1587680a3d Fix for caret problems in Ender text fields. r=saari
git-svn-id: svn://10.0.0.236/trunk@55761 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 20:55:45 +00:00
hyatt%netscape.com
43b6924a32 Fix for the two crashers: 21180 and 21163, r=saari
git-svn-id: svn://10.0.0.236/trunk@55760 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 20:18:16 +00:00
hyatt%netscape.com
e58378dccf Implementing support for popupanchor and popupalign.
git-svn-id: svn://10.0.0.236/trunk@55755 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 11:30:47 +00:00
hyatt%netscape.com
2e9da7699f Fix for 21139, r=waterson
git-svn-id: svn://10.0.0.236/trunk@55751 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 09:01:06 +00:00
waterson%netscape.com
8b025929f6 What a dumbass! I should've 'cvs diff'-ed before checking that in. Landed some random local mods in my tree. Sorry!
git-svn-id: svn://10.0.0.236/trunk@55750 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 08:08:39 +00:00
waterson%netscape.com
0e1753ad3a 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().
git-svn-id: svn://10.0.0.236/trunk@55749 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:59:12 +00:00
waterson%netscape.com
0f170515eb Bug 21033. Delete broadcast listeners in Slots dtor. thanks beard!
git-svn-id: svn://10.0.0.236/trunk@55744 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:18:59 +00:00
waterson%netscape.com
8457a544b0 Bug 20714. Use static names for roots.
git-svn-id: svn://10.0.0.236/trunk@55743 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:58:00 +00:00
hyatt%netscape.com
2bb806a610 Fixing bustage on wensleydale.
git-svn-id: svn://10.0.0.236/trunk@55735 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:04:10 +00:00
hyatt%netscape.com
aba17d157e Massive rewrite of the key binding system and the command dispatcher. Key
bindings are now fully hierarchical.  In addition, DOM windows, input fields
and textareas can pull their key bindings from a separate XUL file.  This
allows configurable key bindings.

Massive rewrite of the command dispatcher system.  The command dispatcher now
deals with DOM windows in addition to DOM elements.  It now tracks both
successfully and works in conjunction with the new focus/blur architecture.

r=saari


git-svn-id: svn://10.0.0.236/trunk@55718 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:56:56 +00:00
hyatt%netscape.com
2c134c2abf Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari


git-svn-id: svn://10.0.0.236/trunk@55715 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:54:29 +00:00
vidur%netscape.com
0389d17f64 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55706 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:52:01 +00:00
vidur%netscape.com
f09059d2c6 Fix for bug 18877. DemoteContainer in the content sink no longer unconditionally does notificaions. Also turned on timer-based notifications by default (bug 17325). R=troy
git-svn-id: svn://10.0.0.236/trunk@55705 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:47:05 +00:00
akkana%netscape.com
422c14fe78 20603: In an HTML document, the body node should always be part of the
selection, because output needs to get style nodes on the body. r=sfraser


git-svn-id: svn://10.0.0.236/trunk@55681 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:05:16 +00:00
rods%netscape.com
5f2a780227 Fixing the updating of the frame for when the label changes (i.e. via script)
sends back a reflow hint. It also checks to see if the primary frame is a combobox
and asks it to refresh its display
r=kmcclusk bug 19373 (PDT+)


git-svn-id: svn://10.0.0.236/trunk@55659 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:10:34 +00:00
brendan%mozilla.org
d2ded9c6d9 - Rename "FunctionObject" or shorthands to "EventHandler" to make nsIScriptContext more scripting-language-neutral.
- Allow nsIScriptContext::BindEventHandler to take a null void* handler argument, to remove the binding by nullifying it (for hyatt's XML-driven-key-mapping work). 
- Try to GetCompiledEventHandler (and if we don't, and compile it, Put too) for the load event and other non-deferred (XUL window-level) event listeners. 
- Improve doc comments and whitespace.


git-svn-id: svn://10.0.0.236/trunk@55612 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:14:17 +00:00
scc%netscape.com
fd67f20a6a Make observers support weak references. Bug #18682; r=dp.
git-svn-id: svn://10.0.0.236/trunk@55580 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 14:06:36 +00:00
rickg%netscape.com
cf7c17f944 WIP on fixing <noscript> bug for real -- post dogfood. r=syd
git-svn-id: svn://10.0.0.236/trunk@55561 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:25:56 +00:00
brendan%mozilla.org
f512f2dbb4 Add off-by-default metering, improve comments (r=waterson@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@55509 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:06:10 +00:00
ftang%netscape.com
199df01b45 add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550
git-svn-id: svn://10.0.0.236/trunk@55502 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 01:29:00 +00:00
rods%netscape.com
c5c2e469e6 Should have left off the ":"
r=self


git-svn-id: svn://10.0.0.236/trunk@55463 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:05:52 +00:00
waterson%netscape.com
657a44f76d Bug 16709. Set 'content ID' fields on elements as they are constructed from XUL.
git-svn-id: svn://10.0.0.236/trunk@55461 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:05:31 +00:00
waterson%netscape.com
823976d121 Bug 20897. Change flow-of-control; panic if we can't get from a presshell to a webshell and beyond. r=danm
git-svn-id: svn://10.0.0.236/trunk@55460 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:03:53 +00:00
rods%netscape.com
34b37eb441 adding :-moz-option-selected
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@55458 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:57:24 +00:00
kin%netscape.com
b61d6c2bdb Fix for bug #20524: [DOGFOOD] No Caret in Win32 Composer window
Made some modifications to nsEventStateManager::PreHandleEvent().
We now prevent setting of gLastFocusedContent when handling
NS_ACTIVATE. We now allow DOM focus notifications even when
we can't send a blur notification in NS_GOTFOCUS.
r=saari@netscape.com


git-svn-id: svn://10.0.0.236/trunk@55446 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 21:48:36 +00:00
troy%netscape.com
52084caad8 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics


git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
waterson%netscape.com
303386ba94 Bug 20785. Root event handlers for JavaScript GC. r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@55410 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 08:23:47 +00:00
nisheeth%netscape.com
3785d66606 Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
git-svn-id: svn://10.0.0.236/trunk@55409 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 07:44:18 +00:00
waterson%netscape.com
87a9a9877c Bug 20470. Add weak reference from 'controllers' object back to command dispatcher. Miscellaneous cleanup. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@55385 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 23:04:22 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
joki%netscape.com
09db2943e9 Fix for bug 20663, mem leak in event listeners. r:beard
git-svn-id: svn://10.0.0.236/trunk@55319 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:40:05 +00:00
waterson%netscape.com
cfccd460a5 Bug 18392. Use XUL document cache for retrieving master document.
git-svn-id: svn://10.0.0.236/trunk@55279 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 07:45:57 +00:00
waterson%netscape.com
40b96f684e Remove NS_ENSURE macros from my little empire. r=caesar
git-svn-id: svn://10.0.0.236/trunk@55278 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 07:41:07 +00:00
joki%netscape.com
46824fda78 Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55265 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 02:22:21 +00:00
waterson%netscape.com
499a48d730 Bug 20714. Sever link to prototype after faulting in as heavyweight.
git-svn-id: svn://10.0.0.236/trunk@55259 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:45:30 +00:00
vidur%netscape.com
a68ed6e2a5 For bug 17325. Changed signature of css loader methods. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55253 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:29:18 +00:00
vidur%netscape.com
4662ada89f For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55252 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:27:46 +00:00
vidur%netscape.com
6eb67e93bd For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre.
git-svn-id: svn://10.0.0.236/trunk@55251 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:27:14 +00:00
waterson%netscape.com
c8a6b35854 Fix latent bug exposed by recent script global changes; need to check owner, not rv.
git-svn-id: svn://10.0.0.236/trunk@55212 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 22:04:47 +00:00