sicking%bigfoot.com
7ef44d6e76
Add same-origin checks in a few DOM methods. Patch by me and jst.
...
b=156452, r=jst/me, sr=bz, a=pending
git-svn-id: svn://10.0.0.236/trunk@125294 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 13:09:15 +00:00
sicking%bigfoot.com
f0e2529596
Add sameorigin checks to treewalker
...
b=156452, r=mstoltz, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@125233 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 19:25:27 +00:00
ccarlen%netscape.com
96a6b4aa46
Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
...
git-svn-id: svn://10.0.0.236/trunk@125133 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 00:18:46 +00:00
ducarroz%netscape.com
ec3ad73494
Fix for bug 156772: Replace the pair NS_ADDREF_THIS/NS_RELEASE_THIS by nsCOMPtr<nsIDocumentViewer>
...
kungFuDeathGrip(this). R=rods, SR=jst
git-svn-id: svn://10.0.0.236/trunk@125018 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 18:11:12 +00:00
jkeiser%netscape.com
7f58eb8a1e
Stop silly people from recursing frames to death (bug 136580). adamlock's patch, r=jkeiser/adamlock, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@124950 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 06:48:10 +00:00
caillon%returnzero.com
502aee4ad8
Bug 156554 - Remove a "helper" function which basically does a QI - we can just QI ourselves.
...
r=sicking sr=ben
git-svn-id: svn://10.0.0.236/trunk@124942 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 05:10:09 +00:00
rods%netscape.com
9712894a19
Implement progress dialog for printing and PP that show before reflow
...
Bug 154136 r=dcone/sgehani sr=alecf
git-svn-id: svn://10.0.0.236/trunk@124840 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 12:39:02 +00:00
bzbarsky%mit.edu
ac24e852ff
add an additional one-slot global content list cache. Bug 140758 stuff
...
again, patch by jst@netscape.com , r=bzbarsky, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@124834 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 07:10:41 +00:00
dbaron%fas.harvard.edu
66ac586fc1
To make maintainance easier and allow more data-as-data rather than data-as-code, create a preprocessable list of style structs and use it in many places where we previously listed all (or half) of the style structs. b=155745 r=bzbarsky sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@124825 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 04:10:10 +00:00
jst%netscape.com
ce2c73b7b7
Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@124818 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:49:58 +00:00
rods%netscape.com
c856a8ba1d
use the title unless empty then use URL instead. And change
...
the progress dialog to display title intead of url
Bug 156305 r=dcone sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124812 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:33:29 +00:00
bzbarsky%mit.edu
e31abc7df2
Bug 153519 -- parent ContentLists to their root elements. r=peterv, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@124789 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 00:44:20 +00:00
seawood%netscape.com
08f53dff2a
The c++ standard requires that the throw list be used when declaring functions as well as defining them.
...
commercial compiler fixes for bug #149032
git-svn-id: svn://10.0.0.236/trunk@124604 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 17:14:41 +00:00
smontagu%netscape.com
2d3ec44ee8
Fix crash on adding images to right-to-left mail messages. Bug 155096, r=mjudge, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@124539 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 21:53:18 +00:00
seawood%netscape.com
a7c7e77b8b
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
bzbarsky%mit.edu
3aea8ccfdb
Fix debug-only crash. Bug 155259, r=harishd, sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@124451 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 01:25:23 +00:00
bzbarsky%mit.edu
e9887172a9
Make the scriptloader check the HTTP status and not load 404 pages and
...
such as scripts. Bug 139040, r=jst, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@124438 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 23:12:13 +00:00
taka%netscape.com
8ea5186a8e
Remove unexpected space inserted between Chinese and Japanese characters as a result of unfolding lines. These scripts don't use space as a word boundary. b=135323 r=shanjian sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@124421 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 20:43:16 +00:00
rods%netscape.com
692772b640
If the user or JS requests to print while the document is still loading the DV
...
will print it in the LoadComplete
Bug 137739 r=dcone sr=jst
git-svn-id: svn://10.0.0.236/trunk@124276 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 13:39:44 +00:00
bzbarsky%mit.edu
7c94c072e9
Make content lists lazy. Bug 104603, r=jkeiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@124253 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 01:30:09 +00:00
bryner%netscape.com
c6d67052ab
Bug 151607 - fix an uninitialized variable in DocumentViewerImpl::PrintDocContent that was causing a later crash. r=rods, sr=sspitzer.
...
git-svn-id: svn://10.0.0.236/trunk@124230 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 22:20:59 +00:00
caillon%returnzero.com
a57921536a
Bug 154401. Cannot paste HTML on clipboard into composition or editor windows.
...
r=bzbarsky, sr=kin
git-svn-id: svn://10.0.0.236/trunk@124121 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 21:05:00 +00:00
dbaron%fas.harvard.edu
7e821aaa94
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
akkana%netscape.com
f9a0b8ae70
126259: don't force a linebreak after img tags. Patch from burpmaster@truffula.net, r=akkana, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@124051 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 00:04:53 +00:00
rods%netscape.com
d5d3234fab
We do not want to skip page ejects when printing the selection
...
BUg 153964 r=dcone sr=kin
git-svn-id: svn://10.0.0.236/trunk@124026 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 22:11:56 +00:00
dbaron%fas.harvard.edu
7c4652cc16
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
caillon%returnzero.com
fd710e312e
Speed up and move the helper functions in nsRange to nsContentUtils and make compareTreePosition() faster.
...
Bug 144014 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@124012 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 20:03:06 +00:00
rpotts%netscape.com
3b84d785bc
bug #147741 (r=jst, sr=darin) Call nsIContentPolicy for toplevel and subdocuments.
...
git-svn-id: svn://10.0.0.236/trunk@123825 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 22:47:42 +00:00
cmanske%netscape.com
8e324f78b9
Allow drag&drop of image from browser. b=146299 [checking in for mjudge] r=cmanske, sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@123775 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 06:16:14 +00:00
radha%netscape.com
392fbcdca7
Fix for bug # 35011. r=jst sr=kin. window.onscroll and element.onscroll don't fire.
...
git-svn-id: svn://10.0.0.236/trunk@123722 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 21:47:59 +00:00
peterv%netscape.com
473737daaa
Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@123686 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 12:04:22 +00:00
peterv%netscape.com
c7e9e858d1
Fix for bug 94475 (if first whitespace in line in textarea is a tab it is changed to a new line). Patch by t_mutreja@yahoo.com, r=bratell@lysator.liu.se, sr=heikki.
...
git-svn-id: svn://10.0.0.236/trunk@123685 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 11:45:09 +00:00
rods%netscape.com
5dbadfe64a
Need to call EndObservingDocument before destroy of PresShell
...
Bug 152536 r=dcone sr=jst
git-svn-id: svn://10.0.0.236/trunk@123620 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:18:43 +00:00
rods%netscape.com
b9882159d7
Add PR_LOGGING for printing
...
Bug 121622 r=dcone sr=kin
git-svn-id: svn://10.0.0.236/trunk@123612 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 21:51:13 +00:00
jaggernaut%netscape.com
b506de82e7
Back out changes for bug 35011 (context menu, ctrl+key, page-up/down all stopped working in browser).
...
git-svn-id: svn://10.0.0.236/trunk@123576 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 12:37:57 +00:00
radha%netscape.com
18e3f5da82
Fix for bug # 35011 r=joki sr=jst. window.onscroll and element.onscroll don't fire.
...
git-svn-id: svn://10.0.0.236/trunk@123534 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-18 23:00:50 +00:00
mstoltz%netscape.com
3cba7a04ae
133170 - Need to re-check host for security on a redirect after a call to
...
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc
git-svn-id: svn://10.0.0.236/trunk@123373 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:54:18 +00:00
kin%netscape.com
3016bcf312
Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
...
mozilla/content/base/public/nsISelectionController.idl
mozilla/content/base/src/nsSelection.cpp
mozilla/editor/composer/src/nsEditorShell.cpp
mozilla/editor/idl/nsIPlaintextEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/nsEditor.h
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
mozilla/editor/ui/dialogs/content/EdTableProps.js
mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
mozilla/layout/base/public/nsIFrameSelection.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
mozilla/mailnews/compose/src/nsMsgCompose.cpp
mozilla/xpfe/browser/resources/content/viewPartialSource.js
- Added aIsSynchronous arg to the ScrollSelectionIntoView()
method of nsISelectionController and nsIFrameSelection.
Updated all callers to pass new arg.
- Modified selection to post a plevent to call which does the
call to ScrollIntoView() in the async ScrollIntoView() case.
- Edits in text widgets now use asynchronous reflow, paint,
and scroll processing full time.
- Removed redundant ScrollSelectionIntoView() calls in the
editor event listeners.
- Editor IME code now forced to flush reflows and paints before
getting caret coordinates.
r=jfrancis@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123237 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:43:32 +00:00
dbaron%fas.harvard.edu
b362818ab8
Fix crash exiting print preview in certain cases (pages with frames; embedding apps) by ensuring view manager outlives pres shell. b=148308 r=rods sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@123129 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:32:24 +00:00
roc+%cs.cmu.edu
f300916895
Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson
...
git-svn-id: svn://10.0.0.236/trunk@123126 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:22:35 +00:00
harishd%netscape.com
2f67ab9c46
Strip leading/trailing spaces from img src attribute value that was preventing image rendering. b=87894, r=jkaiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@123108 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:23:12 +00:00
cbiesinger%web.de
6f7dc93da9
bug 115473 r=pavlov sr=brendan
...
Remove timer priorities
git-svn-id: svn://10.0.0.236/trunk@123068 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:47:04 +00:00
rods%netscape.com
f762610be3
Don't check the range boolean for ending the page
...
Bug 146296 r=dcone sr=waterson a=asa
git-svn-id: svn://10.0.0.236/trunk@122887 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 14:30:17 +00:00
alecf%netscape.com
6ebda75c34
fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
...
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
dbaron%fas.harvard.edu
268cd40267
Make quirk stylesheet assertion |#ifdef DEBUG_dbaron| until I figure out why it's firing. b=147691 r=hwaara sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@122569 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 18:26:18 +00:00
roc+%cs.cmu.edu
614583e822
Bug 50623. Don't forget background styles inherited from the initial context. This has the effect of making FRAME/IFRAME documents transparent by default. Also, make FRAME/IFRAME elements paint any background styles set on them. r=dbaron,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@122398 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 03:20:23 +00:00
jst%netscape.com
f062933ad6
Removing duplicate #include...
...
git-svn-id: svn://10.0.0.236/trunk@122270 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 19:15:50 +00:00
peterv%netscape.com
aab00646c0
Fix for bug 88761 (html code for selected and noshade (and other minimizable attributes) not w3c conformant). r=heikki, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@122219 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 12:34:48 +00:00
dbaron%fas.harvard.edu
255ee4ff0c
Clear the undisplayed content map before calling SetDocument(null), which can cause some XBL content to be destroyed without notifications, leaving dangling pointers in the undisplayed map. b=145737 r=bzbarsky sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@122187 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 17:03:42 +00:00
dbaron%fas.harvard.edu
36706675ec
Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
...
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00