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

2805 Коммитов

Автор SHA1 Сообщение Дата
saari%netscape.com 3586adc047 Simple check for null fix for a crasher that some people are seeing quite a lot today. It is reflected in bug 22024. R= waterson, a= chofmann 1999-12-21 01:12:40 +00:00
jband%netscape.com ef9c82db1e 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 d3e0848c19 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
tbogard%aol.net 22cbc2c1bb Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
alecf%netscape.com 251b1f466b fix for #21417
r=troy, a=chofmann
the editor's internal mDisplayFrame was not being removed from the frame manager's map of content->frames, so after enough scrolling in the addressing pane, reflow would try to reference a deleted frame. Fix is to remove the frame from the frame manager every time it's destroyed.
1999-12-17 03:28:50 +00:00
mscott%netscape.com ab9aa71baa fix a memory leak involving the global context 1999-12-17 00:46:11 +00:00
waterson%netscape.com 59f08eb360 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
mccabe%netscape.com 74f7b8e000 Fix to 21900.
#ifdef strftime formatting string "%#c" ('format to 4-digit date string, any format') to "%c" for non-Windows platform, as only Windows accepts, requires or understands that extra '#' to get a 4-digit date.

Thanks to KerryGinn@computer.org for spotting this one.  (document.lastModified came out as "%#c" on a mac.)

r=Pavlov
a=choffman.
1999-12-16 09:06:41 +00:00
hyatt%netscape.com 78ed47b45c Fix for 21610. r=waterson 1999-12-16 03:19:34 +00:00
saari%netscape.com 720f6babe8 Fix for PDT+ bug 21536. r=hyatt 1999-12-16 00:34:43 +00:00
waterson%netscape.com d13a83fb9f Bug 21610. Add support to distinguish key binding overlay from normal overlay documents. 1999-12-15 23:18:34 +00:00
saari%netscape.com a622c90955 Fix for PDT+ bugs 21602 and 21648. r=joki 1999-12-15 22:04:43 +00:00
mjudge%netscape.com 1748e117b2 oops forgot to remove 2ND! line from makefile 1999-12-15 05:22:07 +00:00
mjudge%netscape.com a2b920ea2f new idl for line up/down scrolling 1999-12-15 03:56:32 +00:00
mjudge%netscape.com 7831406607 adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also. 1999-12-15 03:54:52 +00:00
danm%netscape.com 90f941f8fe check for null context in SetDocument. part of fix for bug 19302. r:hyatt a:chofmann 1999-12-15 02:15:57 +00:00
vidur%netscape.com 1ad5cd8dd9 Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann. 1999-12-14 23:34:17 +00:00
vidur%netscape.com f05a2f0ff4 Fix for bug 20737. Get rid of html.css entries for LAYER/ILAYER. Make sure only default (span) content is created for them. a=chofmann r=pollmann. 1999-12-14 23:11:19 +00:00
danm%netscape.com 4447892c87 deathgrip the event listener manager in HandleEvent. partial fix for bug 21397. r:hyatt a:chofmann 1999-12-14 02:29:34 +00:00
pollmann%netscape.com 5c697ae32f Bug 20315: Make non-iso charsets work in frameset documents. Fix 2/2: Propagate charset info from parent frames to children r=ftang a=chofmann 1999-12-13 22:45:06 +00:00
ftang%netscape.com 2a8449664a fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload 1999-12-13 21:00:47 +00:00
waterson%netscape.com 9d9ae83f9d 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 c2328d93bf Fix PDT+ bug # 21245: add sorting support for <treecolgroup> trags. Review: hyatt, putterman. Approval: chofmann. 1999-12-11 08:17:31 +00:00
hyatt%netscape.com 8c979cd0bb Fix for the crash in SendFocusBlur. 1999-12-11 05:42:18 +00:00
hyatt%netscape.com 70f793378c Fix for PDT bug #21247. r=saari, mjudge 1999-12-11 00:06:29 +00:00
mjudge%netscape.com b51f84b3de massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
sfraser%netscape.com 0a90ef3b34 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). 1999-12-10 22:47:39 +00:00
warren%netscape.com 7d4fa072a5 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
vidur%netscape.com 81f434990e 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. 1999-12-10 03:36:50 +00:00
saari%netscape.com b887310bfb Helping to fix 19114 by making a strong ref weak. Potential fix for 19268 by making scrollbars not steal focus. r=hyatt a=chofmann 1999-12-10 00:51:50 +00:00
joki%netscape.com adc741f32c fix 21337, set modifier keys for generated events. r:brendan a:brendan 1999-12-09 21:02:09 +00:00
buster%netscape.com dbc3d6a9e9 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
1999-12-09 07:18:38 +00:00
vidur%netscape.com 90dcdc1539 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 1999-12-09 03:10:22 +00:00
dougt%netscape.com b854d078d4 fix for 19133. r=waterson, a=brendan. 1999-12-09 02:28:43 +00:00
rickg%netscape.com da80c1d2de unintentionally commited. Backing out 1999-12-08 23:05:14 +00:00
rickg%netscape.com 471d34af10 fixed bug 21146; r=buster; a=chofmann. 1999-12-08 22:54:08 +00:00
hyatt%netscape.com 9f336df5c0 Fix for caret problems in Ender text fields. r=saari 1999-12-08 20:55:45 +00:00
hyatt%netscape.com 5b5d567b93 Fix for the two crashers: 21180 and 21163, r=saari 1999-12-08 20:18:16 +00:00
hyatt%netscape.com 928c3b667f Implementing support for popupanchor and popupalign. 1999-12-08 11:30:47 +00:00
hyatt%netscape.com e2f2336d35 Fix for 21139, r=waterson 1999-12-08 09:01:06 +00:00
waterson%netscape.com be17379f6b 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 bc16c6794e 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 a377d5e847 Bug 21033. Delete broadcast listeners in Slots dtor. thanks beard! 1999-12-08 07:18:59 +00:00
waterson%netscape.com 0e5acf581a Bug 20714. Use static names for roots. 1999-12-08 06:58:00 +00:00
hyatt%netscape.com c026e8d315 Fixing bustage on wensleydale. 1999-12-08 06:04:10 +00:00
hyatt%netscape.com f23566bf16 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
1999-12-08 04:56:56 +00:00
hyatt%netscape.com 244bfeaee8 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00
vidur%netscape.com 68f79c1ca8 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth. 1999-12-08 03:52:01 +00:00
vidur%netscape.com 978b7586dd 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 1999-12-08 03:47:05 +00:00
akkana%netscape.com ede359f291 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
1999-12-08 02:05:16 +00:00