Commit Graph

8979 Commits

Author SHA1 Message Date
attinasi%netscape.com
ab06887193 Prevent crash by checking for null frameManager before deref. in UnsuppressAndInvalidate. r=alexsavulov sr=hyatt b=121822 2002-02-14 00:15:40 +00:00
mjudge%netscape.com
b9ae5a3078 check for null to not crash is good. 115350 thanks to Shataro 2002-02-13 21:40:46 +00:00
bryner%netscape.com
a911745886 Bug 123477 - implement HTML button in XBL. r=jkeiser, sr=hyatt. Not turned on yet. 2002-02-13 10:47:18 +00:00
karnaze%netscape.com
4785b59f61 Denis Antrushin's patch to check for pseudo parent before adding to list. sr=attinasi, r=karnaze 2002-02-12 15:57:49 +00:00
rods%netscape.com
ae9f009f3d Override if the computed size is zero
Bug 121461 r=dcone sr=attinasi
2002-02-12 15:24:37 +00:00
rods%netscape.com
f7967cae61 Clip was being incorrectly set set as Replace instead of Intersect
Bug 84138 r=kmcclusk sr=attinasi
2002-02-12 13:35:59 +00:00
rods%netscape.com
224588e46f 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
2002-02-12 13:33:39 +00:00
timeless%mac.com
92bbd3b2c2 Bug 124744 remove nsIPtr
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
jfrancis%netscape.com
0179ab3005 fix for bug 106855: Down arrow key at last empty line of textarea moves caret to end of line above. checked in on behalf of skamio@netscape.net. r=jfrancis; sr=kin 2002-02-12 02:16:11 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
228f6acb38 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee
2002-02-09 19:00:56 +00:00
bryner%netscape.com
94aaf03246 Bug 124298 - moving form submit/reset event firing into the content node. r=jkeiser, sr=attinasi 2002-02-08 23:50:51 +00:00
jkeiser%netscape.com
2cceb551a9 bug 110800 - fire onChange when losing dropdown focus. r=rods@netscape.com, sr=kin@netscape.com 2002-02-08 18:35:48 +00:00
rbs%maths.uq.edu.au
c2bfa13028 bug 109826 - turn on MathML in default builds (Windows & Linux), r=cls, a=endico on behalf of staff@mozilla.org, a=shaver on behalf of drivers@mozilla.org 2002-02-08 08:32:32 +00:00
bryner%netscape.com
5f77a1e0b1 Adding missing licenses. 2002-02-08 07:56:08 +00:00
bryner%netscape.com
6479838872 New files for XBL-ified HTML button widget. Not part of the build. 2002-02-08 07:38:56 +00:00
kin%netscape.com
d38cee3cd4 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
2002-02-07 22:39:15 +00:00
pinkerton%netscape.com
52262d2123 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
bryner%netscape.com
28cc5dcc3c Updates to XBL checkbox widget. Hopefully this will fix some of the problems with native theme drawing. Not turned on yet. 2002-02-06 08:24:26 +00:00
bzbarsky%mit.edu
d614b474f4 Show the image type in the URL bar for image documents. Bug 42093,
r=timeless, sr=jag.
2002-02-06 03:40:18 +00:00
bryner%netscape.com
a9340ba386 Fixing bug 122034 (tabbing not working from xbl selects). Not turned on yet. 2002-02-05 02:14:50 +00:00
bzbarsky%mit.edu
40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
cathleen%netscape.com
740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
blakeross%telocity.com
cd8e813edf 39070 - can't dnd images or <areas>. r=ben sr=hewitt 2002-02-03 00:06:12 +00:00
alecf%netscape.com
96f52c5988 more dependency updates 2002-02-02 21:29:01 +00:00
bryner%netscape.com
6d912572c7 adding -moz-appearance for xbl listboxes. not turned on yet. 2002-02-02 02:23:17 +00:00
bryner%netscape.com
6f3d473c82 Adding classic skin css for xbl checkboxes. Also fixing up borders on comboboxes. Not turned on yet. 2002-02-02 01:42:25 +00:00
peterlubczynski%netscape.com
9bb7573f07 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 2002-02-02 00:23:30 +00:00
peterlubczynski%netscape.com
acb3e271ae 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 2002-02-02 00:07:20 +00:00
bryner%netscape.com
cb0b3df123 Adding classic skin css for xbl select widget. Not turned on yet. 2002-02-01 23:59:26 +00:00
rods%netscape.com
1c90bef427 enable a margin like gap specification for printing on unix
make it settable via the joboptions dialog
Bug 102596 r=roland sr=kin
2002-02-01 15:31:15 +00:00
rods%netscape.com
c7e2e2869a Clipping wasn't being set correctly in the PageContentFrame when the reflow was smaller than a page
Bug 122434  r=dcone sr=hyatt
2002-01-31 14:24:06 +00:00
bernd.mielke%snafu.de
c44d41db48 fieldset reflow cleanup:
bug 120958 report correct maxElementSize under table reflow conditions
bug 48318 implement correct default alignement under bidi conditions, make legend alignment
          indepedent of fieldset content if fieldset size is not content driven.
bug 80422 route trough events for floats inside a fieldset
bug 42302 honour padding-top
bug 60375 large maxElementsize overwrite computedWidth
r=karnaze sr=waterson
2002-01-31 05:09:13 +00:00
waterson%netscape.com
d4c708dd20 Add test case for bug 46918. 2002-01-31 03:02:30 +00:00
waterson%netscape.com
a04e667ef4 Bug 46918, 3490. Clean up inline margin handling. r=rbs, sr=kin 2002-01-30 23:28:56 +00:00
cbiesinger%web.de
d2b399c062 Fixing bug 41187, adding internal-gopher-sound icon
r=pavlov sr=waterson
2002-01-30 21:02:29 +00:00
alecf%netscape.com
28b3772942 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
2002-01-30 06:04:29 +00:00
timeless%mac.com
472c92d080 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
2002-01-30 03:15:27 +00:00
cathleen%netscape.com
8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
serge%netscape.com
49f7429098 fix #115308, NPN_PostURL[Notify] does not handle binary data; r=bnesse, sr=darin 2002-01-30 02:40:46 +00:00
bryner%netscape.com
ad77812ae5 Bug 122512 - make sure we don't construct inline frames for children of a select (size > 1) widget when using xbl form controls. r=hewitt,sr=hyatt. 2002-01-30 01:38:55 +00:00
timeless%mac.com
327e376f67 Bug 120221 Make |NS_ERROR_GFX_PRINTER_INVALID_ATTRIBUTE| more specific
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=sfraser
2002-01-29 03:03:56 +00:00
peterlubczynski%netscape.com
3a9427fab8 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 2002-01-29 02:36:54 +00:00
waterson%netscape.com
5f923accc2 Bug 102860. Relatively positioned frames do not have place-holders. r=dbaron, sr=hyatt 2002-01-29 00:03:31 +00:00
waterson%netscape.com
da48c6c119 Bug 121860. Handle case where block frame is embedded inside a XUL document. r=dbaron, sr=hyatt. 2002-01-29 00:02:25 +00:00
bryner%netscape.com
e64992abe6 Bug 112716 - implement checkbox in XBL. r=jkeiser, sr=jst. 2002-01-28 23:48:16 +00:00
bryner%netscape.com
346e8821b7 Make sure to look at the select element for onchange handlers, not the anonymous children. Not part of the build. 2002-01-28 00:32:11 +00:00
roc+%cs.cmu.edu
71f8f6558e Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson 2002-01-27 07:56:23 +00:00
bryner%netscape.com
fdd59e318e Fixing bug 122028 (clearing the entire selection on ctrl+click), also fixing some logic errors where the result of |selection.isSelected()| was incorrectly inverted. Not part of the build. 2002-01-26 23:06:24 +00:00
peterlubczynski%netscape.com
43f5de219d Fixing cursor flicker with plugins, bug 118877 r=kmcclusk@netscape.com sr=beard 2002-01-26 00:39:43 +00:00
cathleen%netscape.com
486c0d47f9 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
2002-01-26 00:04:45 +00:00
jkeiser%netscape.com
b4782ab0df Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin 2002-01-25 23:35:44 +00:00
pinkerton%netscape.com
cb46d68a19 changes for cocoa product to build and run and coexist in the tree with carbon. r=cls/sr=hyatt, bug# 111230 2002-01-25 22:01:41 +00:00
jkeiser%netscape.com
2af0669711 Complete bug 112241 backout 2002-01-25 20:51:41 +00:00
jkeiser%netscape.com
a4e89c98c2 Backing out bug 112241 changes, tree is closed, sorry 2002-01-25 19:54:55 +00:00
jkeiser%netscape.com
a555e7ec64 Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin 2002-01-25 19:08:03 +00:00
jdunn%netscape.com
cd34d9887d 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
2002-01-25 15:07:38 +00:00
rods%netscape.com
00a2a4fa4d Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson
2002-01-25 14:30:14 +00:00
rbs%maths.uq.edu.au
f8c4f75798 Improvements to <mtable> to fix bug 39411. Here are the additional hooks needed in the frame construction code, (I also left some aliases that I can change later in nsMathMLParts.h), bug 120487, r=karnaze, sr=waterson 2002-01-25 07:14:07 +00:00
bryner%netscape.com
baea4bbd8e Set -moz-user-select: none so that XBL select boxes don't get text selection applied to them. Not turned on yet. 2002-01-25 03:29:03 +00:00
rods%netscape.com
9b6970a439 Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson
2002-01-25 02:07:03 +00:00
alecf%netscape.com
30a6af4a50 fix for bug 112209 - remove last consumers of nsStr:: routines
r=dbaron, sr=jst
2002-01-25 00:26:44 +00:00
waterson%netscape.com
be398efa70 Bug 99691. nsBoxToBlockAdaptor shouldn't be creating space managers; instead, fix XUL <label> and <description> elements to create area frames. r=dbaron, sr=hyatt 2002-01-24 22:34:25 +00:00
jkeiser%netscape.com
ba33001bc3 Move checkbox state to content (bug 108307). r=rods, sr=jst 2002-01-24 19:04:55 +00:00
jst%netscape.com
74b270f1db 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 2002-01-24 09:20:51 +00:00
alexsavulov%netscape.com
cf5fed63ad fix for bug 70972 (object element does not respect CSS width and height
for non-plugins) r= peter lubczynski sr= attinasi
2002-01-24 01:30:50 +00:00
bryner%netscape.com
fd7cdd1838 Bug 120189 - fix selection crash with xbl select widget. Move content node updating to the XBL event handlers. r=varga, sr=jag. 2002-01-24 01:22:33 +00:00
rods%netscape.com
680453a8c3 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
2002-01-23 02:53:02 +00:00
hyatt%netscape.com
2f697efac8 Fix for 115919, r=dbaron for me, r=hyatt for dbaron, sr=brendan, a=brendan 2002-01-22 05:30:28 +00:00
rods%netscape.com
58c8d86d22 mPrintSettings wasn't be properly set and therefore it wasn't getting the margins correctly
BUg 120621 r=dcone sr=attinasi a=blizzard
2002-01-18 22:45:06 +00:00
attinasi%netscape.com
f3438d8f49 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 2002-01-18 22:17:12 +00:00
bnesse%netscape.com
3754b38c4d 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. 2002-01-18 20:12:29 +00:00
bryner%netscape.com
281af2aa0e Fixing display of XBL select boxes. Not turned on yet. 2002-01-17 23:20:24 +00:00
waterson%netscape.com
ec88e5c87e Bug 86276. Allow :-moz-anonymous-block and :cell-content to apply in all namespaces. r=dbaron, sr=attinasi, a=blizzard 2002-01-16 23:41:54 +00:00
bzbarsky%mit.edu
c2b3a4fdcd Fix bug 109463. IE will fire onclick() on submit buttons when
submitting form via enter in text field.  We should do the same.
r=rods,jkeiser,rjesup@wgate.com.  sr=jst
2002-01-16 04:27:55 +00:00
rods%netscape.com
3083e214f8 Fixes width of viewer area in PrintPreview
Bug 109564 r=dcone sr=attinasi
2002-01-16 03:24:09 +00:00
varga%utcru.sk
ff7ad62083 Fixes for:
94653  - can't right align text in outliner cell
95730  - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.

- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
  and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
  element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable

r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes

sr=hyatt,hewitt
2002-01-16 03:01:28 +00:00
alecf%netscape.com
34984ed73d Fix for bug 118915, by Morten@Nilsen.com, r=db48x, sr=alecf - add more descriptive title to images 2002-01-15 23:34:32 +00:00
alecf%netscape.com
4390fff47d 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 2002-01-15 22:57:29 +00:00
peterlubczynski%netscape.com
fdb17c2839 Fix for plugins consuming context menu events, bug 118789 r=av, sr=beard 2002-01-15 22:45:26 +00:00
dcone%netscape.com
998f5ccf40 Fix print preview. r=rods sr = attinasi bug =117072. Only control backgrounds painting for printing. 2002-01-15 22:37:15 +00:00
av%netscape.com
b1a0d5e0b8 Fix for bug 110094 -- winless plugins don't get right coordinates when scrolled, r=bnesse, sr=attinasi 2002-01-14 23:16:37 +00:00
attinasi%netscape.com
c4ce5b9e2e Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894 2002-01-14 22:05:26 +00:00
waterson%netscape.com
7490c158ee Bug 52242. Include space manager information when computing auto-sized block's height. r=dbaron, sr=attinasi 2002-01-14 20:04:30 +00:00
bzbarsky%mit.edu
1f4fa08671 fix computed style values for background and border properties on
tables.  Bug 98159, r=karnaze, sr=attinasi
2002-01-14 19:43:59 +00:00
dbaron%fas.harvard.edu
e6598e05b6 Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt 2002-01-14 15:00:30 +00:00
pierre%netscape.com
80235c2988 103594 "Clean up colors prefs code in nsPresShell". Remove PREFS_USE_OVERRIDE, insert the pref sheet at the
beginning of the User level. r=glazman+fantasai/sr-attinasi
2002-01-14 14:47:21 +00:00
pierre%netscape.com
d72aeca554 60325 "<hr> line-height problem caused by large font size". Set the HR font-size to -moz-initial r=glazman/sr=attinasi 2002-01-14 13:27:02 +00:00
pierre%netscape.com
b69d2055a6 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 2002-01-14 13:21:55 +00:00
bryner%netscape.com
4580d4de9b Hook up onchange events for listboxes. Not turned on yet. 2002-01-14 08:03:22 +00:00
bzbarsky%mit.edu
7ef1d1f644 Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst. 2002-01-13 04:03:52 +00:00
rods%netscape.com
ca41a066b5 This enables platforms to set a pref as to whether they allow print from print preview.
Bug 118623 r=roland sr=attinasi
2002-01-12 12:58:46 +00:00
rods%netscape.com
cda7110edf Gets title and url from PrintService instead of PrintSettings
Bug 117894 r=dcone sr=attinasi
2002-01-12 12:32:32 +00:00
cathleen%netscape.com
92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
hewitt%netscape.com
43cda34734 70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt 2002-01-12 01:18:10 +00:00
bryner%netscape.com
5b0ab5267e Fixing problems switching to modern skin, also adding a basic forms package to classic. r=ben, sr=hyatt. 2002-01-11 23:14:43 +00:00
dbaron%fas.harvard.edu
e47cc4c2bc Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson 2002-01-11 20:10:46 +00:00
bzbarsky%mit.edu
62bab8e43b Change more instances of NS_ConvertASCIItoUCS2 to NS_LITERAL_STRING.
Bug 104159, r=jag, sr=alecf
2002-01-11 19:39:51 +00:00
dbaron%fas.harvard.edu
f833b1af22 Fix background painting as the default color while leaving a page. b=118867 r=sfraser sr=jst 2002-01-11 19:38:21 +00:00
attinasi%netscape.com
651a74602c Fixed problem with images splitting when they should not be. b=111255 r=karnaze sr=waterson 2002-01-11 19:32:55 +00:00