Commit Graph

13287 Commits

Author SHA1 Message Date
karnaze%netscape.com
9b8fc60e6e bug 124985 - nsCSSFrameConstructor - let the form frame have its original parent. nsTableFrame - don't reflow foreign frames. sr=attinasi, r=alexsavulov 2002-02-18 15:57:19 +00:00
tor%cs.brown.edu
444887b6ba Bug 125837 - mIntrinsicSize setup missing pixel->twip conversion.
r=pavlov, sr=blizzard
2002-02-17 15:31:24 +00:00
bryner%netscape.com
4f84a8b219 bug 125859 - GetCellWidth() doesn't take into account indentation if we haven't painted yet. r=pavlov, sr=hyatt. 2002-02-17 05:56:48 +00:00
dbaron%fas.harvard.edu
ab05858951 Fix one more comment that uses "inherit" incorrectly. 2002-02-17 02:03:07 +00:00
dbaron%fas.harvard.edu
4459392c85 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 2002-02-17 01:53:40 +00:00
dbaron%fas.harvard.edu
de5aace409 Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi 2002-02-16 16:50:45 +00:00
dbaron%fas.harvard.edu
bd8feefd91 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 2002-02-16 16:31:49 +00:00
dbaron%fas.harvard.edu
8e0def5119 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 2002-02-16 16:24:25 +00:00
dbaron%fas.harvard.edu
59892aa65e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
cbiesinger%web.de
f9fef74165 bug 125716 r=bzbarsky sr=attinasi patch by caillon@returnzero.com
Implement getComputedStyle() for 'overflow' property
2002-02-16 13:16:10 +00:00
bernd.mielke%snafu.de
4182a410dc adding regression test not part of the build 2002-02-16 11:30:57 +00:00
bernd.mielke%snafu.de
3c86d368b3 wider use of GetEffectiveColCount bug 100034 r=karnaze sr=attinasi 2002-02-16 06:03:36 +00:00
peterlubczynski%netscape.com
2895dcd901 Fix derefing null pointer during print preview of java.sun.com bug 125396 r=av sr=attinasi 2002-02-16 05:12:45 +00:00
aaronl%netscape.com
80103664b1 Fixing bustage. --disable-accessibility is broken 2002-02-16 03:23:18 +00:00
rbs%maths.uq.edu.au
46efad1b1f Fix bug 125404 - hang on certain mathml pages. The table code relies on the display propertyto build its frames and things went out of sync when just using MathML tag names without the display associations in mathml.css. r=karnaze, sr=attinasi 2002-02-16 02:48:10 +00:00
aaronl%netscape.com
26f23e3c82 Bug 115686: support F4 in dropdowns - XUL <menulist>, HTML combobox and URL bar. r=dean_tessman, sr=hewitt 2002-02-16 01:35:09 +00:00
aaronl%netscape.com
37d3cec004 Active Accessibility: support HTML tags <fieldset> and <legend>. r=jgaunt, sr=hewitt 2002-02-16 01:34:42 +00:00
dcone%netscape.com
f7e8a4bf6d b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
rbs%maths.uq.edu.au
b010ac3189 [MathML only] fix weirdness in the edge case of an empty <mfenced></mfenced> 2002-02-15 14:39:50 +00:00
roc+%cs.cmu.edu
95ccf5f5c7 Bug 124713. Fix transparency flag when clipping a view that grew bigger than its frame. r=kmcclusk,sr=attinasi 2002-02-15 13:15:45 +00:00
jshin%mailaps.org
fffe4a1fb9 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
2002-02-15 09:21:08 +00:00
dean_tessman%hotmail.com
d198979fed Bug 53029 - Menu highlight by ALT key should be cleared by next key event
Windows-specific changes to match behavior when a key is pressed that is not a valid access key.
r=pink, sr=hyatt
2002-02-15 03:53:26 +00:00
rbs%maths.uq.edu.au
cf6388634c Extend the support of MathML styling attributes to the root <math> element itself 2002-02-15 02:44:53 +00:00
timeless%mac.com
74bcab176b Bug 125601�ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser
2002-02-15 01:01:06 +00:00
pavlov%netscape.com
f3e046e4e0 Fixing bug 84654. r=bryner sr=sfraser. image blocking should not block backgrounds if you use it 2002-02-14 23:31:54 +00:00
rods%netscape.com
16d789ac62 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
2002-02-14 23:18:09 +00:00
karnaze%netscape.com
860a0532c2 bug 125426 - terminate xul style data when writing regression data. sr=dbaron 2002-02-14 14:54:06 +00:00
rbs%maths.uq.edu.au
78b44916a0 Add support for MathML styling attributes (e.g., color, fontsize, etc) by creating an internal attribute stylesheet on the fly, and populating it by mapping attributes to CSS rules as frames get created. This is a work-around to bug 69409 which is is not scheduled to be addressed by the Gecko team anytime soon. Also Cleaned-up the debug rules in mathml.css and removed the (in)famous red color of <mi> 2002-02-14 12:26:43 +00:00
stephend%netscape.com
6c9cfdd57b Bug 109500. Memory leak of 52 bytes in grid code. Patch by Brian Ryner (bryner@netscape.com). r=bryner@netscape.com, sr=shaver@mozilla.org 2002-02-14 09:44:17 +00:00
bryner%netscape.com
e28d9642d4 bug 122036 - make space and ctrl+space work as expected. Not turned on yet. 2002-02-14 09:29:00 +00:00
bryner%netscape.com
1f884012b5 Bug 124258 - radio buttons and checkboxes not sizing wide enough for their labels. Make sure the pref size we return for the image isn't smaller than the min size specified in CSS. r=pinkerton, rs=hyatt. 2002-02-14 05:51:47 +00:00
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
bryner%netscape.com
bd81c661f6 Bug 124963 - Table becomes excessively wide with XBL checkboxes. r=jag, sr=hyatt. 2002-02-14 00:08:08 +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
bernd.mielke%snafu.de
62b1dc6afe avoid EndDocument and AbortDocument + nasty dialogs during printing regression tests
bug 125053 r=karnaze,rods sr=attinasi
2002-02-13 20:01:42 +00:00
rods%netscape.com
106d57603e 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
2002-02-13 13:58:41 +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
dean_tessman%hotmail.com
8f9d5fb950 Bug 12201 - Access keys on commands don't work in submenus
r=varga sr=blake
2002-02-13 04:14:26 +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
ccarlen%netscape.com
0d871a1552 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser 2002-02-12 15:41:41 +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
rbs%maths.uq.edu.au
34e8a931ac fix inverted order of resetting variables 2002-02-12 06:18:04 +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
bryner%netscape.com
88e7af4f86 adding new theme constant, NS_THEME_DROPDOWN_TEXTFIELD. bug 124560, r=bzbarsky/pinkerton, sr=hyatt. 2002-02-12 00:44:36 +00:00
rbs%maths.uq.edu.au
1393e3cce2 Backing out to at least leave the tree usable for those who might pull - bug 124570' mathml-css.pl 2002-02-11 09:23:41 +00:00
rbs%maths.uq.edu.au
a9ae7fee2a Disable mathml.css to see if Ts goes down - attempt to unlook the smoketest blocker bug 124570 - 1.5% increase in Ts time 2002-02-10 23:02:24 +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
bzbarsky%mit.edu
7fbffdf125 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
varga%utcru.sk
2447521c5e Fix for bug 94654. outliner: don't draw image if column is too narrow
r=bryner, sr=hyatt
2002-02-09 04:52:24 +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
varga%utcru.sk
153ad2d6a5 Fix bad comment. 2002-02-08 22:51:24 +00:00
rbs%maths.uq.edu.au
a25da51a9c Replace the XXX comments dating back from bug 45010 with a long lasting fix 2002-02-08 22:48:38 +00:00
varga%utcru.sk
8e1dd8f30d Fix for bugs:
121241 - Misplaced insertion line for outliner DND
120976 - Drop feedback needs some polishing
r=pink, sr=hyatt
Thanks for reviews and testing by zach.

- added new atom "dragSession"
- renamed atom "drop" to "dropOn"
- added new pseudo class -moz-outliner-drop-feedback
- added new paint method PaintDropFeedback()
- drop feedback in between rows is now painted at the same position for both orientations.
2002-02-08 22:35:18 +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
peterv%netscape.com
b16c6b8759 Keep MathML building on Mac. Not part of default build. 2002-02-08 11:02:37 +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
rbs%maths.uq.edu.au
74698af0b2 since bad end of lines cause troubles on some platforms, extend the little perl magic for dos2unix to dos2{unix or mac} so that the conditional addition of mathml.css to the ua.css works reliably everywhere 2002-02-08 03:34:57 +00:00
smontagu%netscape.com
6da44488e2 Fix for freeze in JS console. bug 123380. r=mkaply, sr=attinasi 2002-02-08 01:53:59 +00:00
rbs%maths.uq.edu.au
bdad95f005 Updated comments 2002-02-08 00:58:15 +00:00
rbs%maths.uq.edu.au
8ad7c6897f Opted to move a functionality to the specialized class where it belongs 2002-02-08 00:57:39 +00:00
rbs%maths.uq.edu.au
9cd3cfff6d By definition <mi> renders in italic type when its textual content consists of a single char, and in normal type when it consists of mutiple chars. This is a fix to re-resolve the style data properly when the text content (and its length) get changed back and forth dynamically 2002-02-08 00:53:19 +00:00
rbs%maths.uq.edu.au
ba931a911b s/gInvariantChar/gInvariantCharArray/g and avoid an unnecessary string copy in LookupInvariantChar() 2002-02-08 00:42:32 +00:00
timeless%mac.com
7b1ab9998f Bug 33601�fixing warnings about switch(enumVar){case onlyOne: {}}
adds a default case. also removing an else after return.

r=roc+moz@cs.cmu.edu sr=alecf
2002-02-08 00:05:16 +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
rbs%maths.uq.edu.au
6c7c1056cf [MathML only - candidate version for 0.9x] * Hooked robust support for advanced dynamic updates via JavaScript and the DOM across the entire MathML module (with particular attention to the numerous presentational attributes that MathML has). * Eliminated some functions (or folded their functionality into recently added APIs). * Reviewed the module as a whole and simplified several chunks of code owing to the benefit of hindsight now. * Added/reviewed the documentation in anticipation of the freezing of Mozilla 1.0, to improve the understanding of people that may read the archived code and learn from it under the appropriate context of this time. * Reviewed the XXX comments and addressed those that could be addressable in this timeframe. * Some renamings (e.g., ReLayout -> ReLayoutChildren to avoid ambiguities as to who does what in terms of the terminology used when referring to the frame hierarchy). 2002-02-07 04:38:08 +00:00
wtc%netscape.com
fcd0c830b9 Bugzilla bug 117479: define the PR_ABS macro only if it is not defined.
The patch is contributed by Roland.Mainz@informatik.med.uni-giessen.de.
r=wtc. sr=brendan.
2002-02-07 03:08:39 +00:00
rbs%maths.uq.edu.au
9063863332 Add a flag to distinguish a real infix operator from its 'isolated' form, e.g., as in x^{+} 2002-02-07 02:12:46 +00:00
rbs%maths.uq.edu.au
19be27a26f Add a helper function to lookup all the forms under which an operator is listed in the Operator Dictionary 2002-02-06 20:48:35 +00:00
pinkerton%netscape.com
52262d2123 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
rods%netscape.com
42c487f008 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
2002-02-06 13:04:47 +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
bryner%netscape.com
b6e42bc8b3 bug 123645 - make sure not to paint the list-style-image for a nsImageBoxFrame if we're using -moz-appearance and a native theme is available. r=blake, sr=hyatt. 2002-02-06 03:46:07 +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
jst%netscape.com
cb926125b8 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 2002-02-05 05:53:56 +00:00
bzbarsky%mit.edu
bfeb54db4b Fix bustage. "i" is already declared. 2002-02-05 03:11:01 +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
varga%utcru.sk
24926ac7d1 Fix for 122794. Outliner columns ordered incorrectly.
- use selection sort instead of quick sort, since quick sort in unstable
r=bryner, sr=hewitt
2002-02-05 01:44:51 +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
alexsavulov%netscape.com
a709461469 DOCUMENTATION CHANGE - not affecting the build 2002-02-04 23:28:29 +00:00
hyatt%netscape.com
4e2817117c Fix Macho and Cocoa horkage because of a missing ifdef. 2002-02-04 10:56:42 +00:00
rbs%maths.uq.edu.au
bc20957975 Using the recently added APIs to respond to dynamic changes: a _much_ simpler (re)fix of bug 114909 - dynamically changing displaystyle attribute in <mstyle> tag doesn't change display 2002-02-03 21:15:29 +00:00
rbs%maths.uq.edu.au
ee9e501c96 Add ReLayout() - a driver that hides the details needed to re-sync a frame subtree in case of dynamic changes: rebuild of automatic data, re-resolve script styles, fire a reflow 2002-02-03 21:06:51 +00:00
rbs%maths.uq.edu.au
f5893aef35 slight simplification - the removal will recurse down to the wrapped child 2002-02-03 20:11:37 +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
bryner%netscape.com
2caae40045 Rest of the patch for bug 122542. I accidentely checked in the incomplete patch. r=varga, sr=hyatt. 2002-02-02 23:22:10 +00:00
alecf%netscape.com
96f52c5988 more dependency updates 2002-02-02 21:29:01 +00:00
rbs%maths.uq.edu.au
0a35caab09 Continuing to factor handlers to rebuild automatic data during dynamic changes 2002-02-02 05:43:03 +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
varga%utcru.sk
145837642f Fix for bugs:
120299 - Drop feedback is narrow first time
121187 - drag of message summary line (even without drop) garbles bounding box

r=sfraser, sr=hyatt
2002-02-02 00:13:07 +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