jst%netscape.com
08e9d026e0
Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
peterlubczynski%netscape.com
48cef544f1
Creating nsMediaDocument/nsPluginDocument to make full-page
...
plugins scriptable, bug 90256 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@140032 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:20:23 +00:00
aaronl%netscape.com
60b1c05bf1
Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
jst%netscape.com
43d9987e62
Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@138575 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:38:20 +00:00
timeless%mozdev.org
071ea39d1a
Bug 193824 Remove unused globals from nsDocumentViewer.cpp
...
r=smontagu sr=alecf
git-svn-id: svn://10.0.0.236/trunk@138286 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 07:03:09 +00:00
bzbarsky%mit.edu
b8de299d37
Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
...
(parent sheet, parent rule, owning node, document). Bug 167415, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@138277 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 04:44:41 +00:00
roc+%cs.cmu.edu
830bdf5a00
Bug 180921. Make nsDocumentViewer::Show call nsDocumentViewer::MakeWindow instead of duplicating code. Fixes a bug where subdoc view linkage was added to MakeWindow but not Show. r=jkeiser,sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138234 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 21:48:39 +00:00
dbaron%dbaron.org
57b1c2e02a
Fix crash (and refix other crashes in a cleaner way) by making UndisplayedMap own references to content nodes, just like frames do. b=161304 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@136706 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 00:47:14 +00:00
cbiesinger%web.de
8b51a21663
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
...
git-svn-id: svn://10.0.0.236/trunk@136507 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:09:23 +00:00
smontagu%netscape.com
3b982b6a24
Make XUL documents print. Bug 137526, Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@136036 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 00:22:16 +00:00
dbaron%dbaron.org
30879d2c9e
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
peterv%netscape.com
3a3c75b9f7
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
caillon%returnzero.com
8eb8abf86c
182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
...
r=sicking sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135071 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:44:03 +00:00
bzbarsky%mit.edu
c3731640d3
Make the CSSLoader correctly order stylesheets as they are dynamically added
...
and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
peterv%netscape.com
d103a96ada
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
rods%netscape.com
4215ce8014
Make it so SetDocument doesn't get set when returning from PP
...
Bug 176201 r=dcone sr=jst
git-svn-id: svn://10.0.0.236/trunk@134041 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 14:34:09 +00:00
rods%netscape.com
f94983c561
This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
...
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@131423 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 13:17:56 +00:00
rods%netscape.com
31504c0dab
Impl print preview for mail and addrbook
...
Bug 158110 r=bienvenu sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@131068 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 10:48:59 +00:00
rods%netscape.com
56640f11ee
Have the DV ref coun itself if the the DV is being Clsoed while printing or a pending print.
...
Bug 165445 r=dcone sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@130927 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 21:57:15 +00:00
rods%netscape.com
4aff6cd832
Make sure the Print Data is cleaned up when exiting PP
...
Bug 164384 r=pete sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@129137 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 01:57:09 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
rjesup%wgate.com
ab9f087538
Bustage fix for 126346 - checked in the wrong version of this file.
...
git-svn-id: svn://10.0.0.236/trunk@128982 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 19:16:11 +00:00
rjesup%wgate.com
a68c876d94
Bug 126346: make iframes inherit text zoom values. Re-commiting after mods
...
to deal with 1.5% Tp regression in last commit. r=dbaron, sr=jst, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@128980 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 18:46:19 +00:00
jkeiser%netscape.com
d73bc69f1a
Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@128944 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 05:44:31 +00:00
dougt%netscape.com
1ebc6538fb
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
...
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
rods%netscape.com
d986a615c9
Bug 164250 Instrument the PrintEngine for print testing
...
r=dcone sr=kin
git-svn-id: svn://10.0.0.236/trunk@128761 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:21:15 +00:00
aaronl%netscape.com
5d85f15896
Bug 163897. Can't copy image location. r=rods,caillon, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@128406 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 01:01:31 +00:00
shanjian%netscape.com
5d1c227024
#162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
...
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.
git-svn-id: svn://10.0.0.236/trunk@128141 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:13:31 +00:00
rods%netscape.com
c19d8288b7
Move printing code out of the DocumentViewer
...
add in #defines to turn on and off printing and print preview
Bug 139905 r=dcone sr=jst
git-svn-id: svn://10.0.0.236/trunk@127763 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 12:01:05 +00:00
henry.jia%sun.com
148ed167a2
5th patch for bug 158080
...
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@126456 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 06:20:45 +00:00
alecf%netscape.com
573e11653f
bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
...
nsISupportsString -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
aaronl%netscape.com
c15c36a673
Bug 160153. Accessibility: Report fully expanded URL's. r=jgaunt, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@126181 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 21:36:02 +00:00
bzbarsky%mit.edu
a844108e85
Fix tab switching in embedding apps. Bug 139294,
...
r=philipl@mail.utexas.edu , sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125602 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 03:45:06 +00:00
rods%netscape.com
4d051a96ff
When a FrameSet Frame's contains a FrameSet the mFrameType for the PrintObject
...
is always set to an eFrame. Which is fine when printing "AsIs"
but is incorrect when when printing "Each Frame Separately".
When printing "Each Frame Separately" the Frame really acts like a frameset.
So we need to set it to an eFrame
Bug 157918 r=dcone sr=kin a=scc
git-svn-id: svn://10.0.0.236/trunk@125564 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 10:55:07 +00:00
rods%netscape.com
7d81f1b38d
need to check BUSY_FLAGS_PAGE_LOADING before printing
...
Bug 157632 r=dcone sr=jst a=scc
git-svn-id: svn://10.0.0.236/trunk@125458 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 09:09:54 +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
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
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
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
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
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
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
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
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
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