2149 Commits

Author SHA1 Message Date
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
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
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
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
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
8700ce7aad Adding an interface for the creation of elements. r=waterson
git-svn-id: svn://10.0.0.236/trunk@58212 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:09:12 +00:00
scc%netscape.com
4c8d86d5b5 OK, mjudge and I have both looked, and we think no callers remain that |QueryInterface| to get an enumerator. Everyone has been fixed to call |GetEnumerator| ... but just in case, we added an assert to find any stragglers. If this assert fires, mjudge or I need to know. bug=16543; r=mjudge
git-svn-id: svn://10.0.0.236/trunk@58198 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:42:54 +00:00
sfraser%netscape.com
b343a64540 More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari
git-svn-id: svn://10.0.0.236/trunk@58119 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:06:10 +00:00
sfraser%netscape.com
89895243be Fix to account for the fact that nsISupportsArray returns PRBools for some inteface methods. r=akkana, jfrancis.
git-svn-id: svn://10.0.0.236/trunk@58117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:02:12 +00:00
attinasi%netscape.com
d688726719 Passing NS_BLOCK_SPACE_MGR for abs. positioned Fieldsets. Fixes bug 23611. r=rods,pierre
git-svn-id: svn://10.0.0.236/trunk@58103 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:40:25 +00:00
bryner%uiuc.edu
ccf75f8758 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.


git-svn-id: svn://10.0.0.236/trunk@57964 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 05:30:49 +00:00
erik%netscape.com
51590bc1d8 bug 8801; use same default size for all generics (serif, monospace, etc);
set default size to 16px; allow pref to be specified in either px or pt;
as discussed in mozilla.layout; r=ftang


git-svn-id: svn://10.0.0.236/trunk@57938 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 16:30:13 +00:00
jfrancis%netscape.com
9a6f2f94aa speeding up selection by directly creating ranges, rather than going through CreateInstance(). See bug 19273.
git-svn-id: svn://10.0.0.236/trunk@57936 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 14:52:24 +00:00
danm%netscape.com
2b63300d33 adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@57892 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:30:34 +00:00
tao%netscape.com
ecd98e520f bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
git-svn-id: svn://10.0.0.236/trunk@57887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:01:05 +00:00
dcone%netscape.com
accd3d74de Fixed some problems with rounded borders. r=rods
git-svn-id: svn://10.0.0.236/trunk@57830 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 14:43:05 +00:00
dcone%netscape.com
fcd03d055e Added a container for the printContext. r= rods b = 21470
git-svn-id: svn://10.0.0.236/trunk@57829 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 14:30:41 +00:00
hyatt%netscape.com
c1506bc23d Forgot to check in a file.
git-svn-id: svn://10.0.0.236/trunk@57824 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 11:20:15 +00:00
hyatt%netscape.com
8f6502ffb7 Fixes for bugs 17460 and 21656. r=travis
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00
hyatt%netscape.com
d3dca2ca9a Adding a new interface for retrieving/setting state information on form
controls.


git-svn-id: svn://10.0.0.236/trunk@57758 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:43:39 +00:00
hyatt%netscape.com
d048e1ecce Fix for the mailnews sorting/folder switching crasher.
git-svn-id: svn://10.0.0.236/trunk@57684 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 19:20:25 +00:00
nisheeth%netscape.com
a7972696d1 The timers used by the asynchronous reflow code were not compiling on the Mac earlier. Fixed them so that they compile on all platforms.
git-svn-id: svn://10.0.0.236/trunk@57629 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 04:27:05 +00:00
erik%netscape.com
ed6e764e4a bug 8801; automatically reflow document(s) when font prefs change;
r=ftang


git-svn-id: svn://10.0.0.236/trunk@57553 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 16:10:48 +00:00
dcone%netscape.com
8185600b2d Small error in background rendering that index is 0 instead if i. r=rods. b=23704
git-svn-id: svn://10.0.0.236/trunk@57549 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 15:36:24 +00:00
hyatt%netscape.com
f7d6cbf8fa Typo in progid.
git-svn-id: svn://10.0.0.236/trunk@57538 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 10:27:57 +00:00
nisheeth%netscape.com
59dbaae9fb r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
git-svn-id: svn://10.0.0.236/trunk@57522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:28:24 +00:00
norris%netscape.com
5c8d9b369d Fix warning.
git-svn-id: svn://10.0.0.236/trunk@57463 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 23:55:18 +00:00
dcone%netscape.com
5e51c18847 Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470
git-svn-id: svn://10.0.0.236/trunk@57449 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:32:23 +00:00
sspitzer%netscape.com
82a785e528 fixes to turn bug #22916 into a blank window bug (instead of a crasher)
r=troy


git-svn-id: svn://10.0.0.236/trunk@57443 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:15:20 +00:00
mjudge%netscape.com
9df8bc0d71 r= cmanske. warning hunt
git-svn-id: svn://10.0.0.236/trunk@57410 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 19:43:07 +00:00
hyatt%netscape.com
bccad5fcaf Initial XBL landing.
git-svn-id: svn://10.0.0.236/trunk@57380 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 08:25:59 +00:00
hyatt%netscape.com
2c9879296b adding behavior property to CSS. r=brendan
git-svn-id: svn://10.0.0.236/trunk@57347 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 03:40:41 +00:00
pinkerton%netscape.com
28c3b87687 fixing bug 21414 the right way, reverting api's to their previous ways.
git-svn-id: svn://10.0.0.236/trunk@57303 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 23:04:24 +00:00
kin%netscape.com
a18087d551 Fix for bug #21029: Caret get's wrong offset when parent not a text node
mozilla/layout/base/public/nsIFrameSelection.h
      - Added aReturnOffset arg to GetFrameForNodeOffset().

    mozilla/layout/base/src/nsCaret.cpp
      - mLastContentOffset now gets it's value from the offset
        returned by GetFrameForNodeOffset().

    mozilla/layout/base/src/nsRangeList.cpp
      - GetFrameForNodeOffset() now returns an offset to be used
        with the result frame.

r=mjudge@netscape.com,jfrancis@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57280 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 15:32:42 +00:00
hyatt%netscape.com
a1e8021c8e Working on tree column show/hide.
git-svn-id: svn://10.0.0.236/trunk@57275 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 11:18:12 +00:00
hyatt%netscape.com
e581fba5be La
git-svn-id: svn://10.0.0.236/trunk@57268 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 08:48:54 +00:00
pierre%netscape.com
c298b593a6 12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical.
git-svn-id: svn://10.0.0.236/trunk@57251 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 03:23:44 +00:00
rods%netscape.com
d788bca43f Pulled child frame frame creation out of the nsFieldsetFrame and put it in
here. Added new method for creating fieldset.
troy reviewed the approach but not the code (it's not turned on yet)
b=23156


git-svn-id: svn://10.0.0.236/trunk@57225 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 02:04:36 +00:00
norris%netscape.com
02d0724222 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.)


git-svn-id: svn://10.0.0.236/trunk@57214 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:51:54 +00:00
pinkerton%netscape.com
f4e554070e 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.
git-svn-id: svn://10.0.0.236/trunk@57149 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:48:39 +00:00
mjudge%netscape.com
0502df8149 r= kin. fix for another parameter. fixing m13 bug with multiple selection.
git-svn-id: svn://10.0.0.236/trunk@57131 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:31:32 +00:00
rbs%maths.uq.edu.au
f6a16d5c69 [#ifdef MATHML]. Hook for the mn tag
git-svn-id: svn://10.0.0.236/trunk@57111 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 15:25:15 +00:00
rbs%maths.uq.edu.au
d5b174bfa7 [#ifdef MOZ_MATHML] Added extension to the reflow metrics to support the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy.
git-svn-id: svn://10.0.0.236/trunk@57106 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 14:36:43 +00:00
hyatt%netscape.com
68655e632f "Unfortunately no one can be told what the tree widget is. You have to see it for
yourself." r=morpheus


git-svn-id: svn://10.0.0.236/trunk@56950 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 09:36:36 +00:00
hyatt%netscape.com
d9904042a0 Changes to prevent the tree widget from thrashing on AttributeChanged of offscreen
content.  Changes to prevent the tree widget from doing a reflow when content is
inserted or removed that is offscreen.


git-svn-id: svn://10.0.0.236/trunk@56947 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 08:58:05 +00:00