Commit Graph

8414 Commits

Author SHA1 Message Date
rods%netscape.com
f25bb8eb63 impls the new flag to only scroll when not visible
b 18649 r=troy


git-svn-id: svn://10.0.0.236/trunk@58617 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 20:36:24 +00:00
nisheeth%netscape.com
d23c598d3c r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
git-svn-id: svn://10.0.0.236/trunk@58611 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 16:00:44 +00:00
rods%netscape.com
0fc1688c1d changed align to work and reworked event process for click click hold and move off
b=14353 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@58605 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:38:49 +00:00
rods%netscape.com
30f6bf7b3d added assertion for the creation of native widgets r=dcone b=17027
git-svn-id: svn://10.0.0.236/trunk@58600 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:26:09 +00:00
rods%netscape.com
e061d60a88 changed signature of GetFont b=905 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58599 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:46 +00:00
rods%netscape.com
44260ca0fd changed signature of GetFont, chanhe when the webshell gets shown to reduce flicker b=905,24497 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58598 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:19 +00:00
rods%netscape.com
9e99c45422 changed to use new signature of GetFont r=dcone b=905
git-svn-id: svn://10.0.0.236/trunk@58597 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:07 +00:00
rods%netscape.com
429b131377 changed signature of GetFont,GetFrameFontFM b=905 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58596 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:25:04 +00:00
rods%netscape.com
42ec95d052 changed signature of GetFont,changed to scroll it into view only if it isn't visible b=905,18649 r=dcone,troy
git-svn-id: svn://10.0.0.236/trunk@58595 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:24:48 +00:00
rods%netscape.com
18fbcfe1e0 changed signature of GetFont b=905 r=dcone
git-svn-id: svn://10.0.0.236/trunk@58594 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:18:46 +00:00
rods%netscape.com
a2cf4c1276 Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
r=pierre b=905


git-svn-id: svn://10.0.0.236/trunk@58588 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 14:33:03 +00:00
rods%netscape.com
4195d0064d Added new flag for scrolling a frame if it isn't visible
r=troy b=18649


git-svn-id: svn://10.0.0.236/trunk@58587 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 14:31:41 +00:00
hyatt%netscape.com
d14f46b6a4 Merge hell. Merge hell.
git-svn-id: svn://10.0.0.236/trunk@58573 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 07:31:12 +00:00
hyatt%netscape.com
2a665a2517 Fix more bustage. Another annoying merge conflict.
git-svn-id: svn://10.0.0.236/trunk@58572 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 07:26:02 +00:00
hyatt%netscape.com
1b17e20ef7 Fix bustage. Annoying merge conflict.
git-svn-id: svn://10.0.0.236/trunk@58571 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 07:21:17 +00:00
hyatt%netscape.com
d58696d355 Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
norris%netscape.com
153ee04b50 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan


git-svn-id: svn://10.0.0.236/trunk@58561 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 04:42:01 +00:00
troy%netscape.com
175e0dc98f b=22325. When resizing the row groups and rows because the table has an
explict height, we need to make sure any child views are re-positioned.
This doesn't solve the flicker problem but now edit fields are all in
the right place, and it's good enough that Buster can do his clothes
shoping


git-svn-id: svn://10.0.0.236/trunk@58536 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:11:24 +00:00
troy%netscape.com
e06a6c1855 b=24815. Make sure not to squelch NS_IMAGE_LOAD_STATUS_ERROR notifications
because the image frame needs these to call CantRenderReplacedElement()


git-svn-id: svn://10.0.0.236/trunk@58528 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:00:26 +00:00
sfraser%netscape.com
7767924d1c Work on command updating in the ender widget. r=buster
git-svn-id: svn://10.0.0.236/trunk@58523 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 02:58:25 +00:00
beard%netscape.com
c956c22a62 floating views. bug=21966, r=troy, rods, a=brendan
git-svn-id: svn://10.0.0.236/trunk@58504 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 01:53:34 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
nisheeth%netscape.com
1f351b9156 r=Vidur. Always default mDocumentIsLoading to PR_TRUE for now. This stops us from crashing when we hit backspace in the editor.
git-svn-id: svn://10.0.0.236/trunk@58488 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 19:11:02 +00:00
pierre%netscape.com
a0876134ef Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
git-svn-id: svn://10.0.0.236/trunk@58467 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 11:19:55 +00:00
pierre%netscape.com
2a14b9586a 9809 "Dynamic changes of outline properties aren't repainted". Generate a reflow when the outline changes.
git-svn-id: svn://10.0.0.236/trunk@58466 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 08:16:54 +00:00
nisheeth%netscape.com
26ad5f5255 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
norris%netscape.com
e4653042f2 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki


git-svn-id: svn://10.0.0.236/trunk@58429 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:23:14 +00:00
waterson%netscape.com
e7fe781360 Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan
git-svn-id: svn://10.0.0.236/trunk@58414 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 22:00:35 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
karnaze%netscape.com
bd7ffe3fb8 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@58368 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 00:48:13 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
jst%citec.fi
d592dbb12a Fixing build bustage on linux, added a missing .get() on a nsCOMPtr. a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@58345 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 02:30:02 +00:00
danm%netscape.com
fb34e679c1 release widget addrefed during processing of mouse events. fixes leak which fixes crasher bugs 23652 and 24387. r:saari a:brendan.
git-svn-id: svn://10.0.0.236/trunk@58341 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 01:39:39 +00:00
vidur%netscape.com
e66d7c18a4 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.


git-svn-id: svn://10.0.0.236/trunk@58340 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 01:32:32 +00:00
vidur%netscape.com
80a6fe785d 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.


git-svn-id: svn://10.0.0.236/trunk@58332 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 00:05:36 +00:00
nisheeth%netscape.com
969869e05b a=chofmann. r=rods, attinasi. The frame's state bits were getting reset by the NS_NewFieldSetFrame() method. This was causing asserts in layout because the frame did not have its dirty bit set. Fixed.
git-svn-id: svn://10.0.0.236/trunk@58301 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 17:14:34 +00:00
rods%netscape.com
b3556a9f91 explicitly setting the ":button-content" rule to be "left" justified for input inside of a select.
this got broke when the gernic case was set to "center"
bug 24356 r=dcone


git-svn-id: svn://10.0.0.236/trunk@58300 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 15:56:43 +00:00
erik%netscape.com
9f9aa6f3e7 bug 24355; Fixed Width Font too large in documents with text fields,
e.g. Bugzilla; going back to the old Variable bigger than Fixed way;
r=ftang; a=chofmann


git-svn-id: svn://10.0.0.236/trunk@58281 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 01:20:11 +00:00
scc%netscape.com
b981dc83f5 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}
git-svn-id: svn://10.0.0.236/trunk@58268 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:56:25 +00:00
rbs%maths.uq.edu.au
cc40d1c9ce [MATHML] Stabilization of some measurements. a:choffmann
git-svn-id: svn://10.0.0.236/trunk@58263 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:36:23 +00:00
hyatt%netscape.com
000188b782 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


git-svn-id: svn://10.0.0.236/trunk@58260 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:18:57 +00:00
mcafee%netscape.com
d6b7933dcd Need newline at end of file for some unixes. a=leaf
git-svn-id: svn://10.0.0.236/trunk@58247 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 19:17:22 +00:00
pierre%netscape.com
7171b0a1ac Backing out one line from the previous checkin in order to fix #24344 ("Crash when displaying a list box").
git-svn-id: svn://10.0.0.236/trunk@58240 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 12:27:40 +00:00
hyatt%netscape.com
fe56f37c20 Fix for 24201. r=saari
git-svn-id: svn://10.0.0.236/trunk@58238 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 08:17:50 +00:00
waterson%netscape.com
ac665d9f14 Fix crasher in nsRepeatService by adding some sanity checking code.
git-svn-id: svn://10.0.0.236/trunk@58235 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 07:40:18 +00:00
hyatt%netscape.com
9d796b9f81 Fixing refcounting bugs in the XML content sink, and adding support for
content extensibility.  Scrollbars now really use XUL elements. r=waterson


git-svn-id: svn://10.0.0.236/trunk@58224 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 04:44:10 +00:00
hyatt%netscape.com
2dde3c372d Forgot to commit the layout build directory. r=waterson
git-svn-id: svn://10.0.0.236/trunk@58222 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 04:11:23 +00:00
nisheeth%netscape.com
990dc941ec r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands.
git-svn-id: svn://10.0.0.236/trunk@58221 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:58:05 +00:00
hyatt%netscape.com
1d8657b21f Adding a generic element creation interface. Converting the XML factory over
to using this interface.  r=waterson


git-svn-id: svn://10.0.0.236/trunk@58214 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:10:45 +00:00
hyatt%netscape.com
bb4cf88bdc Adding an interface for the creation of elements. Converting the HTML
element factory so that it implements this generic interface. r=waterson


git-svn-id: svn://10.0.0.236/trunk@58213 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:10:06 +00:00