3528 Commits

Author SHA1 Message Date
attinasi%netscape.com
a83bd3ab92 Safety checks, in case the normalFont cannot be realized (due to system font exhaustion). b=117736 r=rbs sr=shaver a=asa
git-svn-id: svn://10.0.0.236/trunk@115334 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:13:49 +00:00
jkeiser%netscape.com
04268ce076 bug 125124 (frame resize on unload crasher), r=alexsavulov@netscape.com, sr=attinasi@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115314 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 19:23:48 +00:00
karnaze%netscape.com
a1c3edffaf bug 124041 - prevent infinite splitting of images due to 0 avail height. sr=attinasi, r=alexsavulov, a=asa
git-svn-id: svn://10.0.0.236/trunk@115309 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 14:42:12 +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
rods%netscape.com
5a52cfb5d7 Get the rect of the PageContentFrame and using it. Also, painting BG
after the container and only when we are suppose to be painting the BG
Bug 126824 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@115188 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 01:45:05 +00:00
jaggernaut%netscape.com
b202b509c0 Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@115151 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 13:39:39 +00:00
kin%netscape.com
c972b3fe60 Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
Modified GetOriginToViewOffset() so that it returns an offset of (0,0) when the
contained view returned by GetView() is not a descendant of the frame's parent
view, as is the case with scrolling popup menus.

r=kmcclusk@netscape.com  sr=roc+moz@cs.cmu.edu  a=roc+moz@cs.cmu.edu


git-svn-id: svn://10.0.0.236/trunk@115138 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 03:03:31 +00:00
dbaron%fas.harvard.edu
b1582a7dc4 Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc
git-svn-id: svn://10.0.0.236/trunk@115128 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:36:16 +00:00
joki%netscape.com
d9bb857aa4 Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:js
git-svn-id: svn://10.0.0.236/trunk@115091 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:23:35 +00:00
peterlubczynski%netscape.com
58ba5b055e Fixing keyboard event bustage for Mac plugins bug 110190 r=sdagley sr=beard
git-svn-id: svn://10.0.0.236/trunk@115020 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:23:50 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +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
roc+%cs.cmu.edu
c8545dff04 Bug 91516. Safeguard view traversal in nsObjectFrame so it doesn't walk out the current document. r=peterl,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114948 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 21:22:23 +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
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
rbs%maths.uq.edu.au
ee6ecf963a Initialize variables - regression/left-over from bug 96870 that caused me to spent cycles chasing a non-existent bug elsewhere, carrying forward r=rods, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114903 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:30:58 +00:00
tor%cs.brown.edu
98278b1663 Bug 125837 - mIntrinsicSize setup missing pixel->twip conversion.
r=pavlov, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@114735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 15:31:24 +00:00
dbaron%fas.harvard.edu
152311587f Fix invalid optimization that prevented style changes on inline elements that caused a reflow from applying to more than the first line. b=98783 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114695 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:31:49 +00:00
peterlubczynski%netscape.com
f5a0f630c6 Fix derefing null pointer during print preview of java.sun.com bug 125396 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114669 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 05:12:45 +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
roc+%cs.cmu.edu
61724752a4 Bug 124713. Fix transparency flag when clipping a view that grew bigger than its frame. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114590 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 13:15:45 +00:00
jshin%mailaps.org
9965dab7c4 Add CS Styles for Ethiopian/Eritrean Languages (per
info. presented at http://www.ethiopic.org/Collation/OrderedLists.html
by yacob@geez.org).
bug 102252, r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114578 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 09:21:08 +00:00
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
attinasi%netscape.com
773c19b934 Prevent crash by checking for null frameManager before deref. in UnsuppressAndInvalidate. r=alexsavulov sr=hyatt b=121822
git-svn-id: svn://10.0.0.236/trunk@114451 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:15:40 +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
timeless%mac.com
0566424203 Bug 120211 Hook-up a dialog which warns users of the broken Xfree86 Xprt
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@113185 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 03:15:27 +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
timeless%mac.com
6436523048 Bug 120221 Make |NS_ERROR_GFX_PRINTER_INVALID_ATTRIBUTE| more specific
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@113094 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 03:03:56 +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