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

2804 Коммитов

Автор SHA1 Сообщение Дата
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
tbogard%aol.net 780e191953 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 8dc8ab82ae 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 1fec7316ef fix a memory leak involving the global context 1999-12-17 00:46:11 +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
mccabe%netscape.com d2ef9f4de3 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 5771333529 Fix for 21610. r=waterson 1999-12-16 03:19:34 +00:00
saari%netscape.com adb74c199d Fix for PDT+ bug 21536. r=hyatt 1999-12-16 00:34:43 +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
saari%netscape.com 97e523f919 Fix for PDT+ bugs 21602 and 21648. r=joki 1999-12-15 22:04:43 +00:00
mjudge%netscape.com 39d5616293 oops forgot to remove 2ND! line from makefile 1999-12-15 05:22:07 +00:00
mjudge%netscape.com df221dba54 new idl for line up/down scrolling 1999-12-15 03:56:32 +00:00
mjudge%netscape.com cbf854d388 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 d4c1aaf21b 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 532f825d98 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 6553d2a649 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 167d27faa2 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 da90a10651 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 82c8e97721 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 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
hyatt%netscape.com 139c75574b Fix for the crash in SendFocusBlur. 1999-12-11 05:42:18 +00:00
hyatt%netscape.com 0b624a4547 Fix for PDT bug #21247. r=saari, mjudge 1999-12-11 00:06:29 +00:00
mjudge%netscape.com 2cf7e901e3 massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
sfraser%netscape.com 977fcd4464 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 26c830d785 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
vidur%netscape.com d6fb73fd08 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 b2d7a2eb2c 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 25f4443f89 fix 21337, set modifier keys for generated events. r:brendan a:brendan 1999-12-09 21:02:09 +00:00
buster%netscape.com 89287bfefe 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 460a797aca 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 2d0f118db2 fix for 19133. r=waterson, a=brendan. 1999-12-09 02:28:43 +00:00
rickg%netscape.com c2494324e5 unintentionally commited. Backing out 1999-12-08 23:05:14 +00:00
rickg%netscape.com 4308b04de5 fixed bug 21146; r=buster; a=chofmann. 1999-12-08 22:54:08 +00:00
hyatt%netscape.com 3a797b3681 Fix for caret problems in Ender text fields. r=saari 1999-12-08 20:55:45 +00:00
hyatt%netscape.com c759f0ad08 Fix for the two crashers: 21180 and 21163, r=saari 1999-12-08 20:18:16 +00:00
hyatt%netscape.com 59da512000 Implementing support for popupanchor and popupalign. 1999-12-08 11:30:47 +00:00
hyatt%netscape.com c13bdf625e Fix for 21139, r=waterson 1999-12-08 09:01:06 +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
hyatt%netscape.com 540fd03206 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 3f9fa43e97 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 1eb3d4e793 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 810848c78d 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 b5d1582420 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
rods%netscape.com 13cecc3177 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+)
1999-12-08 00:10:34 +00:00