jst%citec.fi
22c68ca282
Fixing build bustage on linux, added a missing .get() on a nsCOMPtr. a=leaf@mozilla.org
2000-01-21 02:30:02 +00:00
vidur%netscape.com
38aef52a2f
a=chofmann. r=nisheeth, hyatt. Revised fix for bug 24442 and 24524. Switched
...
reference count handling for the content stack to use nsISupports. The previous
check introduced a leak.
2000-01-21 01:32:32 +00:00
vidur%netscape.com
11ade64c3d
a=chofmann. r=vidur, troy. This is Nisheeth checking in on Vidur's machine. This fixes
...
bug 24442 and bug 24524. The content stack wasn't addref'ing the content objects pushed
onto it while the content sink destructor was releasing the content objects. This caused
a crash because the root content object would get freed one too many times. Now,
PushContent() addrefs the content object before inserting it into the content stack.
2000-01-21 00:05:36 +00:00
scc%netscape.com
2f2082906e
Must use |GetEnumerator|; can't QI a selection to get the enumerator. Fixes bug #24354 . Also fixes a leak in the same routine. r=buster, a={chofmann, brendan}
2000-01-19 22:56:25 +00:00
hyatt%netscape.com
4c802430de
Fix for a minor little bug I introduced into GetChecked (that only happened with
...
trees). Thanks to jdunn for spotting it. r=matejka, a=chofmann
2000-01-19 22:18:57 +00:00
mcafee%netscape.com
44049e083f
Need newline at end of file for some unixes. a=leaf
2000-01-19 19:17:22 +00:00
waterson%netscape.com
d009ef8c34
Gak. Forgot to comment the oddity that may occur...
2000-01-19 06:00:25 +00:00
waterson%netscape.com
fef380fbe7
Remove bogobotch that is breaking cloneNode(). r=brendan
2000-01-19 05:51:30 +00:00
hyatt%netscape.com
566aac5bcf
Fixing refcounting bugs in the XML content sink, and adding support for
...
content extensibility. Scrollbars now really use XUL elements. r=waterson
2000-01-19 04:44:10 +00:00
hyatt%netscape.com
b8c4dff420
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
1d0e1d86fd
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
hyatt%netscape.com
c22daf14de
Adding a generic element creation interface. Converting the XML factory over
...
to using this interface. r=waterson
2000-01-19 03:10:45 +00:00
hyatt%netscape.com
0684563f95
Adding an interface for the creation of elements. Converting the HTML
...
element factory so that it implements this generic interface. r=waterson
2000-01-19 03:10:06 +00:00
hyatt%netscape.com
cd53596229
Adding an interface for the creation of elements. r=waterson
2000-01-19 03:09:12 +00:00
saari%netscape.com
f5b4ea7489
Fix for 24124, focus crasher. Review and a whole lot of help from danm.
2000-01-19 03:03:09 +00:00
rjc%netscape.com
edaebbff0b
A few small sorting tweaks.
2000-01-19 02:39:40 +00:00
rjc%netscape.com
7ac034530e
Enable the optimized binary insertion node with end-point interpolation. (Sort-of) review: putterman@netscape.com
2000-01-19 01:44:29 +00:00
vidur%netscape.com
139af65fa1
Missed necessary cleanup in last checkin. r=pollmann
2000-01-19 01:34:07 +00:00
vidur%netscape.com
84b751a2f5
Fix for bugs 9213 and 17415. Fixed a ton of leaks in table content code and fixed thead, tfoot access and manipulation via DOM. r=pollmann
2000-01-19 01:29:04 +00:00
vidur%netscape.com
7aa3c33c9c
Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
2000-01-18 23:35:47 +00:00
sfraser%netscape.com
0fd5439c99
More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari
2000-01-18 21:06:10 +00:00
pollmann%netscape.com
572e8726ef
Bug 20315: Adding comment r=buster
2000-01-18 02:40:45 +00:00
waterson%netscape.com
d5fbf22774
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
822b28d53c
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
c478f38a12
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
8f14d36af0
Small optimizations.
2000-01-17 07:02:17 +00:00
tor%cs.brown.edu
28e11c285f
build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls
2000-01-16 17:06:08 +00:00
bryner%uiuc.edu
6012d905b7
Make trees capable of scrolling by full pages with the mouse wheel.
...
General cleanup and additions to mousewheel debugging code (which is
#ifdef DEBUG_scroll). r=hyatt.
2000-01-16 05:30:49 +00:00
bruce%cybersight.com
7dc196d66e
End of lines are good. Fixing ports bustage.
2000-01-16 04:56:08 +00:00
brade%netscape.com
b027afa2cf
initialize all fields of mouseEvent; r=joki
2000-01-15 17:22:09 +00:00
brade%netscape.com
1a4bae4013
remove function DispatchKeyPressEvent (not used); initialize the modifier keys in the event structure; r=joki
2000-01-15 17:21:20 +00:00
brade%netscape.com
5fc79019be
remove function DispatchKeyPressEvent (not used) r=joki
2000-01-15 17:21:10 +00:00
hyatt%netscape.com
c3878c4380
Still trying to fix Wensleydale. Stupid crack baby compiler.
2000-01-15 07:18:01 +00:00
hyatt%netscape.com
85b9c795b4
Fix wensleydale bustage.
2000-01-15 06:41:04 +00:00
danm%netscape.com
5a261c8ad9
reapplying changes from rev 1.234, which was lost as part of 1.235
2000-01-15 05:53:41 +00:00
hyatt%netscape.com
797cd22ff4
Landing XBL scrollbars.
2000-01-15 05:31:45 +00:00
alecf%netscape.com
94b65d019c
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
danm%netscape.com
e86a4b53fb
adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt
2000-01-15 02:30:34 +00:00
pollmann%netscape.com
70ac93177d
Bug 14419 (1 of 4): Fix typo!
2000-01-15 02:21:51 +00:00
vidur%netscape.com
e296114aae
Fix for bug 23020. Relative URLs used in image.src and location.href should be resolved taking into account the base document URL of the calling context. R=pollmann
2000-01-15 02:02:27 +00:00
tao%netscape.com
da49ef2262
bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
2000-01-15 02:01:05 +00:00
pollmann%netscape.com
64687ce411
Bug 14419 (1 of 4): Make option text read/write (implementation) r=harishd
2000-01-15 01:42:56 +00:00
pollmann%netscape.com
72bb036628
Fix warning r=harishd
2000-01-15 01:41:27 +00:00
nisheeth%netscape.com
0ca3802c6a
r=pollmann. Fix for bug 22237.
2000-01-15 01:41:22 +00:00
mscott%netscape.com
d5354ef4c7
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
d8a5c41c93
backing out andreas and warren
2000-01-14 22:01:56 +00:00
dcone%netscape.com
a9bdf781f5
Added a container for the printContext. r= rods b = 21470
2000-01-14 14:30:41 +00:00
hyatt%netscape.com
b75a694321
Fix for bug #23828 . r=pav.
2000-01-14 10:04:12 +00:00
hyatt%netscape.com
69df0c827f
Partial fix for 18604. r=pav
2000-01-14 09:57:31 +00:00
hyatt%netscape.com
e740cdb714
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
warren%netscape.com
ea798addcb
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
b2951b5f50
Sorting optimizations. (Sort-of) review by putterman@netscape.com
2000-01-14 01:21:55 +00:00
brendan%mozilla.org
dfaa05987e
InitStandardClasses so JS compiler makes well-prototyped objects (22048,22098 r=shaver).
2000-01-14 00:49:30 +00:00
danm%netscape.com
05825e9716
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
a8efb387b8
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
jdunn%netscape.com
4298ad260d
Fix somemore of slamm's warnings
...
r= rods@netscape.com
2000-01-13 23:19:20 +00:00
waterson%netscape.com
ce2f72d531
Remove some additional bogoasserts.
2000-01-13 23:18:05 +00:00
jdunn%netscape.com
7cb756995e
newline required at the end of files...
2000-01-13 23:07:43 +00:00
brade%netscape.com
6142b95f61
initialize to nsnull; r=vidur
2000-01-13 14:53:51 +00:00
hyatt%netscape.com
7665038584
Cleaning up makefile
2000-01-13 11:50:18 +00:00
hyatt%netscape.com
797cc38b9a
Fix for 18444
2000-01-13 11:49:18 +00:00
hyatt%netscape.com
8b0ed8707d
Fix for 18444
2000-01-13 11:43:54 +00:00
rjc%netscape.com
f84f23778b
Attempt to fix wensleydale (SunOS 5.6) bustage.
2000-01-13 11:03:56 +00:00
hyatt%netscape.com
c3ddbf2d79
Fixing mac bustage.
2000-01-13 10:58:18 +00:00
rjc%netscape.com
6222e5412c
Sorting optimizations. (Sort-of) review by putterman@netscape.com
2000-01-13 10:16:32 +00:00
hyatt%netscape.com
545ae7fd61
XBL anonymous content can (in theory) now be built.
2000-01-13 09:43:42 +00:00
hyatt%netscape.com
124f675a41
More XBL work.
2000-01-13 09:21:09 +00:00
hyatt%netscape.com
25002cc5a7
Fix Linux bustage.
2000-01-13 09:20:58 +00:00
hyatt%netscape.com
3aeb5cb791
Stubbing out some more XBL functions for future implementation.
2000-01-13 08:54:16 +00:00
hyatt%netscape.com
7868624ce2
Giving XUL elements the capability to own bindings.
2000-01-13 08:48:33 +00:00
karnaze%netscape.com
d41822031d
bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
2000-01-13 05:29:38 +00:00
alecf%netscape.com
714e7a48a9
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
e3393dd236
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
hyatt%netscape.com
d8a58e8990
more xbl work.
2000-01-13 02:23:54 +00:00
waterson%netscape.com
c098826ddd
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
waterson%netscape.com
affe01376b
Add .cvsignore file.
2000-01-12 23:03:47 +00:00
pepper%netscape.com
37ef91ec08
Added necessary newline at the end of the file so that HP builds don't choke.
...
r=jdunn
2000-01-12 21:34:41 +00:00
rods%netscape.com
8c47faf8b8
the call to Init was in the wrong place
...
b 23697 r=dcone
2000-01-12 16:02:12 +00:00
hyatt%netscape.com
c75cceb361
Fixing Linux bustage.
2000-01-12 11:22:40 +00:00
hyatt%netscape.com
3721b33e2c
XBL files are fully parsed! YES!
2000-01-12 10:55:56 +00:00
hyatt%netscape.com
a3401afc57
More tweaks.
2000-01-12 10:55:37 +00:00
hyatt%netscape.com
66b5edddeb
More massaging to allow for XML docs with no webshells.
2000-01-12 10:50:02 +00:00
hyatt%netscape.com
f025587b37
XML content sink should not require a non-null webshell. XBL doesn't use
...
webshells. r=me
2000-01-12 10:33:00 +00:00
hyatt%netscape.com
1cabda498f
More about XML document loading using XBL.
2000-01-12 10:20:11 +00:00
hyatt%netscape.com
47f1ca0618
Making sure the XBL namespace is registered by the XBL service. r=yoyoma
2000-01-12 10:09:31 +00:00
hyatt%netscape.com
a69a620bfc
Teaching XBL how to load files. r=mini-me
2000-01-12 09:57:45 +00:00
hyatt%netscape.com
e124913c6f
More implementation fun. r=neo
2000-01-12 09:44:18 +00:00
hyatt%netscape.com
c9d8b2bff9
More impl work. r=smith
2000-01-12 09:32:29 +00:00
hyatt%netscape.com
29d2151edb
adding XBL impl. r=trinity
2000-01-12 09:28:15 +00:00
hyatt%netscape.com
f59e0c0e0a
Adding the XBL service implementation (stubbed). r=trinity
2000-01-12 09:25:28 +00:00
sspitzer%netscape.com
1c84b93a3a
fix warning.
2000-01-12 08:57:41 +00:00
sspitzer%netscape.com
f291328810
fixing my old enemy "the classic .get() with nsCOMPtr on solaris (and linux, if you have --enable-pedantic) turned on" bustage.
2000-01-12 07:39:00 +00:00
beard%netscape.com
844a51fde3
fixes nsIAtom leaks, bug=15906, r=sspitzer
2000-01-12 06:54:58 +00:00
waterson%netscape.com
468ebfdd06
Bug 17195. Implement nsIDOMNode::CloneNode(). r=hyatt
2000-01-12 03:23:48 +00:00
rjc%netscape.com
b945bae5b3
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
pierre%netscape.com
51f04bcd0c
17303 "Text input fields in chrome should use sans serif font". Clear the NS_STYLE_FONT_USE_FIXED flag when setting a font different from -moz-fixed. r=rods (rods checked in the other part of that fix in nsHTMLFontElement.cpp)
2000-01-12 00:19:14 +00:00
norris%netscape.com
1cf0d7f12b
Fix warning.
2000-01-11 23:55:18 +00:00
dcone%netscape.com
dcdec2846c
Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470
2000-01-11 22:32:23 +00:00
bryner%uiuc.edu
a19a21f754
This fixes mousewheel scrolling inside trees. I also cleaned up the code
...
in nsEventStateManager, moving the view/frame locating code to its own
function - this will be helpful for implementing page up/down scrolling
for trees. r=alecf.
2000-01-11 22:30:22 +00:00
rjc%netscape.com
02fab863f0
Tweak resource cache usage. Change from putterman, Review from me
2000-01-11 22:03:53 +00:00
sspitzer%netscape.com
2944db26be
ignore generated Makefiles
2000-01-11 21:52:27 +00:00
waterson%netscape.com
c0a53ad72f
Bug 22915. Be sure to add the nsCachedChromeChannel to the load group on nsIChannel::SetLoadGroup(). Also, don't assume (in nsXULDocument::StartDocumentLoad) that when you 'hit' in the cache that the channel is actually a nsCachedChromeChannel; instead, inspect its content type. Finally, get rid of extraneous 'command' member variable in nsCachedChromeChannel. r=mscott
2000-01-11 21:18:19 +00:00
pp%ludusdesign.com
698852a4f4
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rods%netscape.com
7660b3c8ea
click events for checkbox and radiobuttons now handled via content (DOM0
...
instead of the frame
b=23592 r=kmcclusk
2000-01-11 20:33:36 +00:00
sspitzer%netscape.com
c48c138c1b
adding this for hyatt
2000-01-11 18:06:15 +00:00
hyatt%netscape.com
d5edce7048
Oops. Forgot to add makefiles.
2000-01-11 09:52:42 +00:00
rjc%netscape.com
898f051fc7
Use native ptr [via .get()]
2000-01-11 08:41:15 +00:00
rjc%netscape.com
86f0302402
Defer creation of resource cache until a sort is imposed. Also, added a temporary working for db->OnChange() not enjoying a null oldTarget.
2000-01-11 08:38:47 +00:00
hyatt%netscape.com
bc0351e8f8
Initial XBL landing.
2000-01-11 08:25:59 +00:00
pollmann%netscape.com
6386c5da71
Bug 18478: Allow base tag in body to work for image maps (Fix courtesy bissiri@eecs.umich.edu) r=self, harishd
2000-01-11 07:21:24 +00:00
rjc%netscape.com
423ba787b8
Move resource cache up from the XUL sort service into the generic builder. Review: me
2000-01-11 06:28:28 +00:00
cls%seawood.org
4f34e05855
Removed redundant XPDIST from the build. Changed existing references to DIST.
...
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
hyatt%netscape.com
21a48fa26a
adding behavior property to CSS. r=brendan
2000-01-11 03:40:41 +00:00
waterson%netscape.com
971c4ab2ab
Take out crufty debug printfs.
2000-01-11 02:49:18 +00:00
akkana%netscape.com
4a587b7765
Use if instead of switch, to eliminate warnings. r=slamm
2000-01-11 02:24:29 +00:00
pinkerton%netscape.com
62e9d2db5e
fixing bug 21414 the right way, reverting api's to their previous ways.
2000-01-10 23:04:24 +00:00
hyatt%netscape.com
fa8f3d858e
Making nsIXULContent visible.
2000-01-10 04:03:12 +00:00
hyatt%netscape.com
1152f9e9ba
Teaching the XUL DOM how to keep anonymous content events from being seen
...
by enclosing explicit content.
2000-01-10 03:57:49 +00:00
pierre%netscape.com
4951a0cfe4
12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical.
2000-01-10 03:23:44 +00:00
norris%netscape.com
ddb2282b6c
Fix
...
858 [Feature] JavaScript auto-disable per-domain RFE
13023 Users must be able to disable Java and JavaScript (for JS in mail)
21923 Executing functions in "chrome:" protocol - #2 .
r=mstoltz
(Checked in with red on Mac; Wan-Teh says his changes are localized so
it shouldn't interfere with his fixing bustage.)
2000-01-08 16:51:54 +00:00
pierre%netscape.com
f1d11fe977
Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix
2000-01-08 10:11:10 +00:00
pierre%netscape.com
e3c8ebdcf3
Bug 18817 "autodetection of content-type used": in strict mode, requires the mime type to be specified if the style sheet doesn't have a '.css' extension (otherwise the style sheet is ignored).
2000-01-08 10:09:00 +00:00
rpotts%netscape.com
023f2ff6e1
Made contentType a read/write attribute of nsIChannel
2000-01-08 06:26:04 +00:00
hyatt%netscape.com
f8c91fadf4
Making tree scrolling faster.
2000-01-08 02:18:14 +00:00
pinkerton%netscape.com
cae2c15f23
Added a new param to the HTML->Text sink stream to take the charset so that we can convert to plain text with the correct charset for the platform. Enhanced the XIFFormatConverter to take advantage of this, fixing bug 21414. r=akkana, nhotta.
2000-01-08 01:48:39 +00:00
akkana%netscape.com
6bd97592f1
Fix a huge slew of warnings. r=pavlov
2000-01-08 01:20:58 +00:00
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
rods%netscape.com
85da5d9cdf
adding :-moz-option-selected
...
r=kmcclusk
1999-12-06 22:57:24 +00:00
kin%netscape.com
893ebc079b
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
1999-12-06 21:48:36 +00:00
troy%netscape.com
85012ab550
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
1999-12-06 15:49:53 +00:00
waterson%netscape.com
2bca9671fc
Bug 20785. Root event handlers for JavaScript GC. r=brendan@mozilla.org
1999-12-06 08:23:47 +00:00
nisheeth%netscape.com
24d990e18b
Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
1999-12-06 07:44:18 +00:00
waterson%netscape.com
38e938ebbc
Bug 20470. Add weak reference from 'controllers' object back to command dispatcher. Miscellaneous cleanup. r=hyatt
1999-12-05 23:04:22 +00:00
hyatt%netscape.com
de2eaede42
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
joki%netscape.com
93019aacdb
Fix for bug 20663, mem leak in event listeners. r:beard
1999-12-04 23:40:05 +00:00
waterson%netscape.com
82fb1998b7
Bug 18392. Use XUL document cache for retrieving master document.
1999-12-04 07:45:57 +00:00
waterson%netscape.com
e634ed06f2
Remove NS_ENSURE macros from my little empire. r=caesar
1999-12-04 07:41:07 +00:00
joki%netscape.com
1e9397058e
Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com
1999-12-04 02:22:21 +00:00
waterson%netscape.com
46ed13c843
Bug 20714. Sever link to prototype after faulting in as heavyweight.
1999-12-04 01:45:30 +00:00
vidur%netscape.com
1cf2db67a5
For bug 17325. Changed signature of css loader methods. R=nisheeth.
1999-12-04 01:29:18 +00:00
vidur%netscape.com
9f1fe721c3
For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth.
1999-12-04 01:27:46 +00:00
vidur%netscape.com
62f646032b
For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre.
1999-12-04 01:27:14 +00:00
waterson%netscape.com
c8028526ce
Fix latent bug exposed by recent script global changes; need to check owner, not rv.
1999-12-03 22:04:47 +00:00
tbogard%aol.net
317758d9f3
include of nsIScriptGlobalObject.h is now in nsXULDocument.h.
1999-12-03 19:29:23 +00:00
tbogard%aol.net
72218fe6d8
Moved the include over. This should fix wensleydale.
1999-12-03 19:26:23 +00:00
tbogard%aol.net
94a95754d7
Hoping this will help wensleydale.
1999-12-03 12:09:10 +00:00
tbogard%aol.net
eb96099e6d
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
brendan%mozilla.org
8c97186a42
Use .get() for comptr==rawptr comparisons, for weak-minded compilers.
1999-12-03 04:45:36 +00:00
brendan%mozilla.org
d44c35ee1b
- Doc-comments for nsIScriptContext methods I added or modified.
...
- Rename nsIScriptContext::CompileFunction to CompileEventHandler, and add BindCompiledEventHandler, to reflect function name restrictions and help brutal sharing.
- Add adjunct-interface nsIScriptEventHandlerOwner to nsIScriptObjectOwner.h; this interface is queried for by nsEventListenerManger.cpp to test and fill the XUL prototype event handler "cache".
- PR_LOG JS warnings, and look in javascript.options.{strict,werror} for those options.
- Implement nsIScriptEventHandlerOwner in nsXULElement, keeping pointers to pre-compiled event handlers in nsXULPrototypeAttribute.
(bug 13218, r=waterson@netscape.com ,vidur@netscape.com)
1999-12-03 03:40:30 +00:00
drapeau%eng.sun.com
b12618788f
Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
...
Build'). Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found. The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.
r=drapeau@eng.sun.com . Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com ).
1999-12-03 00:26:09 +00:00
waterson%netscape.com
bbccd5d47b
Bug 20309. Use nsCAutoString. Kudos to buhr@stat.wisc.edu
1999-12-02 23:53:25 +00:00