pinkerton%netscape.com
e7701eccba
fix problem with dragging urls to the desktop on win32. the drag flags weren't correctly set. r=brade/sr=sfraser/a=shaver. bug: 127703
...
git-svn-id: svn://10.0.0.236/trunk@115321 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:12:48 +00:00
cbiesinger%web.de
6889b4fa22
Bug 126303 patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=attinasi a=roc+moz
...
Remove the DOM dependendecies from gfx/src/xprint/
git-svn-id: svn://10.0.0.236/trunk@115277 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 15:32:03 +00:00
hidday%geocities.com
cb447f80d2
Bug 16605: text node child-adding functions throw wrong exception.
...
Modified nsGenericDOMDataNode::ReplaceChild() to throw
HIERARCHY_REQUEST_ERR instead of NOT_FOUND_ERR, per the spec.
sr=jst@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115276 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 10:51:50 +00:00
timeless%mac.com
30eddece55
Bug 66035 Image urls are copied with text selection
...
patch by rossi@telnet.at r=hixie sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@115231 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 16:39:35 +00:00
rods%netscape.com
46c42a9045
We were sending Progress notification from the destructor of the PrintData.
...
I have done the following:
1) Removed unneeded nsresult arg from OnEndPrinting
2) Removed unneeded calls to OnEndPrinting before the deletion of PrintData objs
3) The destructor of PrintData now only calls OnEndPrinting if onStartPrinting was called first, meaning printing notification was actually started.
Bug 126427 r=dcone sr=attinasi a=roc
git-svn-id: svn://10.0.0.236/trunk@115150 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 13:23:11 +00:00
hidday%geocities.com
f7e9f57834
Bug 93649, document.plugins should map to document.embeds for NS4
...
compatibility. r=bzbarsky@mit.edu sr=jst@netscape.com a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115149 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 12:21:15 +00:00
sgehani%netscape.com
dc2420a155
Landing print preview toolbar and UI.
...
b=111235; r=law; sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@115066 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:19:39 +00:00
rods%netscape.com
41c01215ce
It will no longer layout document with a zero width or height
...
Bug 114139 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@115018 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:21:25 +00:00
rods%netscape.com
d45c6e25f1
1) Makes sure that when a PrintSettings is created it is initialized from the
...
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@115015 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:18:33 +00:00
locka%iol.ie
bc1c25f6fb
Treat NOFRAMES content as CDATA during serialisation to prevent entity subsitution. b=122077 r=harishd@netscape.com sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@114972 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:50:16 +00:00
roc+%cs.cmu.edu
d392c57939
Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@114952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:33:26 +00:00
smontagu%netscape.com
d0afe74092
Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
rods%netscape.com
221670b5c2
1) In DocumentViewer: I did rearrange some of the data members for PrintData
...
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114923 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:49:27 +00:00
badami%netscape.com
8331526176
[serializer]nested lists don't convert to plain text properly.
...
bug 95224 patch=tmutreja@netscape.com r=akkana sr=jst
git-svn-id: svn://10.0.0.236/trunk@114917 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 10:23:24 +00:00
dbaron%fas.harvard.edu
84d82a83f8
Fix the interaction of text zoom with the sizing code for generic fonts. b=125963 r=rbs sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@114868 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:11:57 +00:00
cltbld%netscape.com
9442b10401
backing out changes per McAfee's request - kysmith
...
git-svn-id: svn://10.0.0.236/trunk@114809 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 19:25:48 +00:00
timeless%mac.com
540443268d
nebiros bustage [Error: Different types for "?:" (nsAString and void).] -- fix attempt #1
...
git-svn-id: svn://10.0.0.236/trunk@114794 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 14:20:00 +00:00
badami%netscape.com
fa461c8fe9
Pasted text from beginning of line always appends a newline
...
bug 75283 patch=tmutreja@netscape.com r=akkana sr=jst
git-svn-id: svn://10.0.0.236/trunk@114792 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 12:29:02 +00:00
badami%netscape.com
a6de6cd010
[serializer]Using blockquote screws up composer's pretty-print.
...
bug 93276 patch=tmutreja@netscape.com r=akkana sr=jst
git-svn-id: svn://10.0.0.236/trunk@114789 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:33:15 +00:00
badami%netscape.com
57672d7802
HTML serializer doesn't use the base uri for generating absolute url's
...
bug 80081 patch=tmutreja@netscape.com r=akkana sr=jst
git-svn-id: svn://10.0.0.236/trunk@114788 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:30:27 +00:00
badami%netscape.com
66897d1108
Emoticons can't be copied as originally drawn
...
bug 57098 patch=tmutreja@netscape.com r=ben.bucksch@beonex.com sr=jst
git-svn-id: svn://10.0.0.236/trunk@114787 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:25:43 +00:00
badami%netscape.com
d02969f676
Composer won't break long tags
...
bug 103207 patch=tmutreja@netscape.com r=akkana sr=jst
git-svn-id: svn://10.0.0.236/trunk@114786 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 10:22:17 +00:00
pinkerton%netscape.com
075ef24b69
typo, fixing bustage.
...
git-svn-id: svn://10.0.0.236/trunk@114751 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 20:01:11 +00:00
pinkerton%netscape.com
89decb1f37
pulling content-area drag&drop out of JS and into C++ so it is available to embedding. Now built-in to <browser> tag. r=brade/sr=ben. bug#45605
...
git-svn-id: svn://10.0.0.236/trunk@114745 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:32:08 +00:00
pinkerton%netscape.com
bc67898b0b
new files for embedding dnd impl. r=brade/sr=ben. bug#45605
...
git-svn-id: svn://10.0.0.236/trunk@114744 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:28:13 +00:00
dbaron%fas.harvard.edu
0feda16c3c
Fix one more comment that uses "inherit" incorrectly.
...
git-svn-id: svn://10.0.0.236/trunk@114716 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 02:03:07 +00:00
dbaron%fas.harvard.edu
5ef0589c9c
Restore optimization of getting data from parent context only when there is actually inheritance (except correctly this time), to prevent unnecessary struct computation and creation. Rename nsRuleNode::mInheritBits to mDependentBits. Use none bits (and thus prevent struct recomputation and copying) in the case where explicit inheritance overrides a non-inherited specified value, but still only for inherited structs. Other minor cleanup. b=113098 sr=hyatt r=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@114714 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 01:53:40 +00:00
dbaron%fas.harvard.edu
d5b6a2cebe
Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@114694 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:24:25 +00:00
dcone%netscape.com
8944f478a1
b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
...
git-svn-id: svn://10.0.0.236/trunk@114597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:48:12 +00:00
rods%netscape.com
1d1f95e7c0
1) Enables the PageSeq frame to specify the "gap" of gray space around
...
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:09 +00:00
karnaze%netscape.com
055c809419
bug 125426 - terminate xul style data when writing regression data. sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@114507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 14:54:06 +00:00
bernd.mielke%snafu.de
f7c0d9ae76
avoid EndDocument and AbortDocument + nasty dialogs during printing regression tests
...
bug 125053 r=karnaze,rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114417 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:01:42 +00:00
rods%netscape.com
1a9f705818
1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
...
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
It now has a single GetDevMode method that must be paired with a UnlockDevMode method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114389 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 13:58:41 +00:00
rods%netscape.com
4d135d7b9b
1) It moves the BeginDocument to a earlier place in the call change
...
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
git-svn-id: svn://10.0.0.236/trunk@114276 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 13:33:39 +00:00
bzbarsky%mit.edu
dc38245c49
Fix crash in treewalker when walking out of root element. Bug 124784,
...
r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114221 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:51:40 +00:00
bzbarsky%mit.edu
f68919f405
Relanding the Compare --> Equals conversion. a=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
2ab4074373
Testing performance impact of backout of part of patch from bug 115289.
...
See bug 123947 for details.
git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:10:51 +00:00
jst%netscape.com
35a3a33c39
Fixing bug 118194. Make sure we don't leave dangling document pointers in the content tree when the document goes away. r=bzbarsky@mit.edu, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@114110 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:42:44 +00:00
brade%netscape.com
70dbba7b56
remove nsIDiskDocument usage (instead use nsIWebBrowserPersist); bug 102033, r=glazman, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@114037 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:50:49 +00:00
peterv%netscape.com
b1c3df0cf1
Fix importNode, need to set the document before notifying. Bug 124358. r=Pike, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@114021 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 11:28:15 +00:00
heikki%netscape.com
e015e1f82d
Bug 98788, document.load() needs to do better reset on the document before starting to load new content. Also fixed a couple of bogus comments and unneeded document reset in document creation. r=mstoltz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@113849 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:24:09 +00:00
pinkerton%netscape.com
46d542dcc5
ifdef-fu for mach-o. rs=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@113797 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:42:06 +00:00
rods%netscape.com
412b45015d
More streamline approach to discovering if there is at least one printer.
...
And if the printer name is not set, then it gets the default printer and uses
that. instead.
This fixes remembering the last printer that was used and it also
enables you to to set the printer name and print silently (instead of silent
always having to use the default printer)
Bug 123335 sr=hyatt r=dcone
git-svn-id: svn://10.0.0.236/trunk@113783 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:04:47 +00:00
jst%netscape.com
a49bb992db
Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@113684 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:53:56 +00:00
jst%netscape.com
4e17fc730c
Fixing bug 115352. Making FlushPendingNotifications() properly flush the parent document as well if there is one. This causes layout data in iframes to not always be up to date since iframe sizes are dependent on the parent being reflown. r=peterv@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@113683 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:47:22 +00:00
jst%netscape.com
e5c226065e
Checking in Fabian's <hidday@geocities.com> fix for bug 76895. Making cloneNode() work on document fragments. r=bzbarsky@mit.edu, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@113676 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 04:22:17 +00:00
bzbarsky%mit.edu
2fd80b82c9
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
heikki%netscape.com
c5b81825af
Bug 119335, string assertion in XMLContentSerializer, use Substring for non-null terminated string. r=jst, sr=jag.
...
git-svn-id: svn://10.0.0.236/trunk@113654 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:35:34 +00:00
hyatt%netscape.com
cdc7d6d6d8
Fix Macho and Cocoa horkage because of a missing ifdef.
...
git-svn-id: svn://10.0.0.236/trunk@113597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 10:56:42 +00:00
alecf%netscape.com
43bee42ecd
more dependency updates
...
git-svn-id: svn://10.0.0.236/trunk@113536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 21:29:01 +00:00