waterson%netscape.com
0a61fb89c2
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
cfe8cb3e89
(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
pollmann%netscape.com
503e31aa83
Bug 17613: Allow 0 margins on frames per HTML4 errata. Fix courtesy of VYV03354@nifty.ne.jp r=self and harishd
2000-01-07 05:54:23 +00:00
pollmann%netscape.com
f4fabef2c3
Bug 12599: Accept string as integer attribute to prevent assert, fix courtesy rickg r=self and harishd
2000-01-07 05:44:42 +00:00
pollmann%netscape.com
bf4a2db81e
Bug 21768: always release mForm in SetForm to prevent leak. r=harishd
2000-01-07 05:41:51 +00:00
alecf%netscape.com
e533d87b8a
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
vidur%netscape.com
c215dee1c7
Fix for bug 23206. The property getter/setter for char and charoff attributes were not mapping to the correct attribute values. r=pollmann
2000-01-07 00:19:41 +00:00
alecf%netscape.com
cf3ead0374
followup fix for #12895 - actually find the content correctly
...
r=scottip
2000-01-07 00:00:27 +00:00
vidur%netscape.com
b845753fb6
Fix for bug 23074. Implemented image.complete. r=pollmann
2000-01-06 23:41:14 +00:00
vidur%netscape.com
61b8a1e6d0
Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
2000-01-06 23:36:45 +00:00
waterson%netscape.com
73e507347d
Bug 22805. Wrap NS_GetWeakReference() with getter_AddRefs(). Thanks beard! r=beard
2000-01-06 20:01:56 +00:00
nhotta%netscape.com
1cb7735520
Fixed memory leak, bug 22281, r=waterson.
2000-01-06 19:47:20 +00:00
alecf%netscape.com
c78c629151
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
cb1027f2f0
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
bryner%uiuc.edu
d83a9c65ee
Implementing the mousewheel preferences. A new option has been added, "Use system default", which follows the OS
...
default (on Windows at least) for the number of lines to scroll. I also changes the default actions for the modifier
keys slightly.
2000-01-06 06:22:00 +00:00
vidur%netscape.com
d82bc260b2
Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann
2000-01-06 01:10:06 +00:00
waterson%netscape.com
4c6aed1d16
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
sspitzer%netscape.com
08b96a1e76
checking in beard's bulletproofing fix for the profile crashers on mac. r=sspitzer
2000-01-04 21:24:37 +00:00
jfrancis%netscape.com
e639415da3
fixing unix horkage
2000-01-04 04:03:28 +00:00
vidur%netscape.com
bd52d69467
Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd
2000-01-04 03:06:13 +00:00
blizzard%redhat.com
d6cf22aa5c
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
0f984615d6
bulletproofing fix for crash reported in #22811
1999-12-29 19:28:06 +00:00
sspitzer%netscape.com
100117019f
whoops. when I checked in that warnings fix I accidentally checked in some
...
changes from bryner for the mouse wheel prefs. backing my last check in out,
but still fixing the warning.
1999-12-28 23:02:38 +00:00
sspitzer%netscape.com
f37e107774
fix warnings
1999-12-28 19:41:57 +00:00
sspitzer%netscape.com
fbd97e9856
fix warnings.
1999-12-28 19:37:29 +00:00
mcafee%netscape.com
24da9eddd8
Fixing null pointer reference, patch submitted by jst@citec.fr. r=mcafee
1999-12-28 08:29:11 +00:00
sspitzer%netscape.com
e32328cd40
only hyatt needs to see his debugging printfs.
1999-12-24 07:53:41 +00:00
sspitzer%netscape.com
8f529ac7b8
fix for pierre's warnings. r=bienvenu
1999-12-23 18:35:35 +00:00
rjc%netscape.com
fe407f203d
Small sorting change: always sort {null} items last (after non-null items).
1999-12-23 12:01:44 +00:00
vidur%netscape.com
33e0ceef3c
Removing warnings. a=don r=waqar
1999-12-22 22:47:15 +00:00
vidur%netscape.com
896bf2e030
Fix for bug 22344. Removing FMMs in nsDOMAttribute.cpp. a=don r=kin
1999-12-22 22:44:30 +00:00
pierre%netscape.com
bdf8bc768d
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
1999-12-22 11:27:10 +00:00
pierre%netscape.com
855dc040ea
Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet.
1999-12-22 05:00:47 +00:00
vidur%netscape.com
9e76aeb0ba
Fix for bug 21122. Don't capitalize the value of the type attribute of list elements for cases in which the case is significant. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth
1999-12-22 01:55:38 +00:00
vidur%netscape.com
d8c5f3cd3f
Fix for bug 9779. Element::normalize() now combines more than 2 nodes. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth
1999-12-22 01:54:04 +00:00
vidur%netscape.com
272db862ac
Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth
1999-12-22 01:51:58 +00:00
vidur%netscape.com
70de582cc6
Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann
1999-12-22 01:48:47 +00:00
waterson%netscape.com
48a17f7378
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
waterson%netscape.com
44416b6765
Bug 22305. Fix accounting for style sheets and rule processors; r=buster, a=sdagley
1999-12-22 01:41:42 +00:00
hyatt%netscape.com
221920403a
Patch that gets tabbing back into text fields. r=waterson
1999-12-21 19:35:13 +00:00
pinkerton%netscape.com
2275305f2f
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
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
rods%netscape.com
83b5ade6c9
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
brendan%mozilla.org
5135a6dbb2
- 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.
1999-12-07 22:14:17 +00:00
scc%netscape.com
db5cd594e2
Make observers support weak references. Bug #18682 ; r=dp.
1999-12-07 14:06:36 +00:00
rickg%netscape.com
bd8e9acd7e
WIP on fixing <noscript> bug for real -- post dogfood. r=syd
1999-12-07 07:25:56 +00:00
brendan%mozilla.org
5eacb7f5c1
Add off-by-default metering, improve comments (r=waterson@netscape.com).
1999-12-07 02:06:10 +00:00
ftang%netscape.com
5d9824b4bd
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
1999-12-07 01:29:00 +00:00
rods%netscape.com
771292a12d
Should have left off the ":"
...
r=self
1999-12-06 23:05:52 +00:00
waterson%netscape.com
77a02a8fff
Bug 16709. Set 'content ID' fields on elements as they are constructed from XUL.
1999-12-06 23:05:31 +00:00
waterson%netscape.com
c3688d7937
Bug 20897. Change flow-of-control; panic if we can't get from a presshell to a webshell and beyond. r=danm
1999-12-06 23:03:53 +00:00