timeless%mac.com
18aaee49b0
Bug 125601 ABS()-->PR_ABS() && PR_ABS()-cleanup
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114554 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:01:06 +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
mjudge%netscape.com
09b2352881
check for null to not crash is good. 115350 thanks to Shataro
...
git-svn-id: svn://10.0.0.236/trunk@114432 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:40:46 +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
timeless%mac.com
5be877f2d4
Bug 124744 remove nsIPtr
...
r=bryner sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114246 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:12:50 +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
a8d03c78ee
Testing performance impact of backout of part of patch from bug 115289.
...
See bug 123947 for details. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114147 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 19:00:56 +00:00
kin%netscape.com
9d69384546
Fix for bug 83650 (textarea control has problems with caret positioning at end)
...
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).
- Added new utility method GetOriginToViewOffset().
- Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
and nsContainerFrame::GetFrameForPointUsing() to factor in the
offset from GetOriginToViewOffset() to insure that the point
used is always transformed into the correct coordinate system.
Files modified:
mozilla/layout/base/public/nsIFrame.h
mozilla/layout/html/base/src/nsContainerFrame.cpp
mozilla/layout/html/base/src/nsFrame.cpp
mozilla/layout/html/base/src/nsFrame.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/xul/base/src/nsBoxFrame.cpp
r=kmcclusk@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113914 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:39:15 +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
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
cathleen%netscape.com
ec77313291
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
peterlubczynski%netscape.com
32321d73c4
Restore consuming of keypress events and don't pass them to plugins also give windowless plugins focus when mouse clicked bug 122501 r=kmcclusk@netscape.com sr=beard
...
git-svn-id: svn://10.0.0.236/trunk@113475 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 00:23:30 +00:00
peterlubczynski%netscape.com
fc583de88a
Fix for plugins not being able to get handle to doc's window if plugin is HIDDEN because it has no view. Use the pres shell instead. bug 123059 r=ToddTaylor sr=beard
...
git-svn-id: svn://10.0.0.236/trunk@113467 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 00:07:20 +00:00
rods%netscape.com
82a2414831
enable a margin like gap specification for printing on unix
...
make it settable via the joboptions dialog
Bug 102596 r=roland sr=kin
git-svn-id: svn://10.0.0.236/trunk@113423 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 15:31:15 +00:00
rods%netscape.com
e7492a75bb
Clipping wasn't being set correctly in the PageContentFrame when the reflow was smaller than a page
...
Bug 122434 r=dcone sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@113310 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 14:24:06 +00:00
waterson%netscape.com
ea95cf7620
Bug 46918, 3490. Clean up inline margin handling. r=rbs, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@113249 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 23:28:56 +00:00
cbiesinger%web.de
7c2a2cb503
Fixing bug 41187, adding internal-gopher-sound icon
...
r=pavlov sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113224 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:02:29 +00:00
alecf%netscape.com
4331ed65d3
First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
...
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
cathleen%netscape.com
dd8ebc5bd1
eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
serge%netscape.com
72ccea118e
fix #115308 , NPN_PostURL[Notify] does not handle binary data; r=bnesse, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@113181 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:40:46 +00:00
peterlubczynski%netscape.com
ad9265748e
Fix for Plugin paints in the wrong part of the screen when on an absolute Div or scrolled bug 120821 r=kmcclusk@netscape.com sr=beard
...
git-svn-id: svn://10.0.0.236/trunk@113089 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 02:36:54 +00:00
roc+%cs.cmu.edu
f52124fa77
Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson
...
git-svn-id: svn://10.0.0.236/trunk@112991 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:56:23 +00:00
peterlubczynski%netscape.com
461edc33ef
Fixing cursor flicker with plugins, bug 118877 r=kmcclusk@netscape.com sr=beard
...
git-svn-id: svn://10.0.0.236/trunk@112918 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:39:43 +00:00
cathleen%netscape.com
3fcee4d2a1
remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
...
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
git-svn-id: svn://10.0.0.236/trunk@112913 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:04:45 +00:00
jdunn%netscape.com
d63561e2e5
Change certain AIX ifdefs to AIX_XLC_364 since these ifdefs are only
...
needed for AIX's xlC 3.6.4 compiler. Add test to configure to check
compiler version. NOTE: also adding hpux and aix check for keyboardutils.
r=cls@seawood.org
# 119179
git-svn-id: svn://10.0.0.236/trunk@112859 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 15:07:38 +00:00
rods%netscape.com
fb493821d3
Adding new Frame to clip content area of page for Printing and PrintPreview
...
Bug 112698 r=dcone sr=waterson
git-svn-id: svn://10.0.0.236/trunk@112856 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 14:30:14 +00:00
rods%netscape.com
6b7c1e4878
Adding new Frame to clip content area of page for Printing and PrintPreview
...
Bug 112698 r=dcone sr=waterson
git-svn-id: svn://10.0.0.236/trunk@112811 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 02:07:03 +00:00
alecf%netscape.com
fd6d75b30f
fix for bug 112209 - remove last consumers of nsStr:: routines
...
r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112785 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 00:26:44 +00:00
jst%netscape.com
b9772d48fe
Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@112678 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:20:51 +00:00
alexsavulov%netscape.com
60208b116d
fix for bug 70972 (object element does not respect CSS width and height
...
for non-plugins) r= peter lubczynski sr= attinasi
git-svn-id: svn://10.0.0.236/trunk@112614 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:30:50 +00:00
rods%netscape.com
ccd0e3e698
Fixes the problem where PrintPreview is getting multiple Initial reflows
...
and includes a minor optimization when resizing the view during box layout
Bug 118968 r=attinasi sr=hyatt a=brendan
git-svn-id: svn://10.0.0.236/trunk@112569 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:53:02 +00:00
rods%netscape.com
d2614abdf5
mPrintSettings wasn't be properly set and therefore it wasn't getting the margins correctly
...
BUg 120621 r=dcone sr=attinasi a=blizzard
git-svn-id: svn://10.0.0.236/trunk@112470 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 22:45:06 +00:00
attinasi%netscape.com
95bad745a0
Loading and Broken image icons will no longer be drawn if the image size is smaller than the icon size. This fixes a problem where garbage was being left on the screen after the image loaded, because the Linux RenderingContext does not corectly clip image drawing. b=109418, r=pavlov, sr=blizzard, a=blizard on behalf of drivers
...
git-svn-id: svn://10.0.0.236/trunk@112467 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 22:17:12 +00:00
bnesse%netscape.com
eca0daca42
Fix for bug 104445. Make nsPluginInstance a scrollbar listener so it can notify plugins they are scrolling. Also fixes bug 76085. r=peterl, sr=sfraser, a=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@112450 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 20:12:29 +00:00
rods%netscape.com
1174e8e035
Fixes width of viewer area in PrintPreview
...
Bug 109564 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@112286 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:24:09 +00:00
alecf%netscape.com
bfe2c85e5b
factor out some table-based string manipulation routines to make it easier to seperate unicode vs. 8-bit character strings. bug 114450, r=dbaron sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@112213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:57:29 +00:00
peterlubczynski%netscape.com
834721d540
Fix for plugins consuming context menu events, bug 118789 r=av, sr=beard
...
git-svn-id: svn://10.0.0.236/trunk@112204 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:45:26 +00:00
av%netscape.com
21a5c77ebb
Fix for bug 110094 -- winless plugins don't get right coordinates when scrolled, r=bnesse, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@112116 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:16:37 +00:00
attinasi%netscape.com
779d9368ff
Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894
...
git-svn-id: svn://10.0.0.236/trunk@112109 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 22:05:26 +00:00
waterson%netscape.com
b2f8754193
Bug 52242. Include space manager information when computing auto-sized block's height. r=dbaron, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@112082 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:04:30 +00:00
dbaron%fas.harvard.edu
45b310844b
Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@112071 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 15:00:30 +00:00
pierre%netscape.com
846071ee39
89503 "font-size:0 ignored". When the font size is 0, set the x-height, ascent and descent to 0 in the TextReflowData. r=rbs/sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@112063 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 13:21:55 +00:00
rods%netscape.com
4d93f82379
Gets title and url from PrintService instead of PrintSettings
...
Bug 117894 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@112022 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 12:32:32 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
attinasi%netscape.com
ecb20fc642
Fixed problem with images splitting when they should not be. b=111255 r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@111948 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:32:55 +00:00
jdunn%netscape.com
01a246e76f
AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
...
a function prototype. So we have to decare the function and then
declare it a friend. When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@111825 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:16:05 +00:00
timeless%mac.com
39778a4e97
Bug 84380 Need a component that generates thai presentation forms
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=cls, r=pradhat, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111782 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 02:32:43 +00:00
bernd.mielke%snafu.de
05a135ab75
completing the backout of my checkin for bug 110596
...
git-svn-id: svn://10.0.0.236/trunk@111720 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:28:12 +00:00
brade%netscape.com
0137943f93
remove unused static kIOServiceCID saving 16 bytes (bug 117927; rs=glazou)
...
git-svn-id: svn://10.0.0.236/trunk@111694 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:39:24 +00:00
brade%netscape.com
5639df86ad
remove unused statics kWidgetCID, kScrollingViewCID, kViewCID saving 48 bytes (bug 117927; rs=glazou)
...
git-svn-id: svn://10.0.0.236/trunk@111692 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:38:01 +00:00