13186 Commits

Author SHA1 Message Date
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
bryner%netscape.com
f16c8107c5 Bug 124963 - Table becomes excessively wide with XBL checkboxes. r=jag, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114447 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:08:08 +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
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
bryner%netscape.com
79bcc86bfa Bug 123477 - implement HTML button in XBL. r=jkeiser, sr=hyatt. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@114386 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 10:47:18 +00:00
dean_tessman%hotmail.com
37652babe4 Bug 12201 - Access keys on commands don't work in submenus
r=varga sr=blake


git-svn-id: svn://10.0.0.236/trunk@114376 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 04:14:26 +00:00
karnaze%netscape.com
39bb012a64 Denis Antrushin's patch to check for pseudo parent before adding to list. sr=attinasi, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@114288 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:57:49 +00:00
ccarlen%netscape.com
0db9b3dc65 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:41:41 +00:00
rods%netscape.com
745a4ea21f Override if the computed size is zero
Bug 121461 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114284 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:24:37 +00:00
rods%netscape.com
5a09a37f4c Clip was being incorrectly set set as Replace instead of Intersect
Bug 84138 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114277 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 13:35:59 +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
rbs%maths.uq.edu.au
65b18dd380 fix inverted order of resetting variables
git-svn-id: svn://10.0.0.236/trunk@114258 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:18:04 +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
jfrancis%netscape.com
ad449c34e0 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
git-svn-id: svn://10.0.0.236/trunk@114235 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:16:11 +00:00
bryner%netscape.com
cb41e9c364 adding new theme constant, NS_THEME_DROPDOWN_TEXTFIELD. bug 124560, r=bzbarsky/pinkerton, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114218 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:44:36 +00:00
rbs%maths.uq.edu.au
09abea3ccc Backing out to at least leave the tree usable for those who might pull - bug 124570' mathml-css.pl
git-svn-id: svn://10.0.0.236/trunk@114186 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 09:23:41 +00:00
rbs%maths.uq.edu.au
a38960c8b4 Disable mathml.css to see if Ts goes down - attempt to unlook the smoketest blocker bug 124570 - 1.5% increase in Ts time
git-svn-id: svn://10.0.0.236/trunk@114177 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 23:02:24 +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
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
varga%utcru.sk
f80b4baaa6 Fix for bug 94654. outliner: don't draw image if column is too narrow
r=bryner, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@114135 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 04:52:24 +00:00
bryner%netscape.com
bbc692806c Bug 124298 - moving form submit/reset event firing into the content node. r=jkeiser, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114092 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:50:51 +00:00
varga%utcru.sk
7221c00cf9 Fix bad comment.
git-svn-id: svn://10.0.0.236/trunk@114077 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:51:24 +00:00
rbs%maths.uq.edu.au
4568af87c6 Replace the XXX comments dating back from bug 45010 with a long lasting fix
git-svn-id: svn://10.0.0.236/trunk@114075 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:48:38 +00:00
varga%utcru.sk
530d5a669e 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.


git-svn-id: svn://10.0.0.236/trunk@114067 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:35:18 +00:00
jkeiser%netscape.com
b15f0f5201 bug 110800 - fire onChange when losing dropdown focus. r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114043 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 18:35:48 +00:00
peterv%netscape.com
93b7e20a57 Keep MathML building on Mac. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@114018 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 11:02:37 +00:00
rbs%maths.uq.edu.au
b6f1a4d404 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
git-svn-id: svn://10.0.0.236/trunk@114013 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 08:32:32 +00:00
bryner%netscape.com
366a135ebd Adding missing licenses.
git-svn-id: svn://10.0.0.236/trunk@114010 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 07:56:08 +00:00
bryner%netscape.com
bdc0f07de5 New files for XBL-ified HTML button widget. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@114009 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 07:38:56 +00:00
rbs%maths.uq.edu.au
c5be0f4f32 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
git-svn-id: svn://10.0.0.236/trunk@113997 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:34:57 +00:00
smontagu%netscape.com
ae087f9b4c Fix for freeze in JS console. bug 123380. r=mkaply, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@113975 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:53:59 +00:00
rbs%maths.uq.edu.au
bd68ffc1b2 Updated comments
git-svn-id: svn://10.0.0.236/trunk@113957 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:58:15 +00:00
rbs%maths.uq.edu.au
d1ca5d58ef Opted to move a functionality to the specialized class where it belongs
git-svn-id: svn://10.0.0.236/trunk@113956 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:57:39 +00:00
rbs%maths.uq.edu.au
2ee0b2741d 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
git-svn-id: svn://10.0.0.236/trunk@113954 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:53:19 +00:00
rbs%maths.uq.edu.au
41512e7db8 s/gInvariantChar/gInvariantCharArray/g and avoid an unnecessary string copy in LookupInvariantChar()
git-svn-id: svn://10.0.0.236/trunk@113952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:42:32 +00:00
timeless%mac.com
092ea531fa 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


git-svn-id: svn://10.0.0.236/trunk@113941 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:05:16 +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
rbs%maths.uq.edu.au
976682cd75 [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).
git-svn-id: svn://10.0.0.236/trunk@113879 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:38:08 +00:00
wtc%netscape.com
2ceb928784 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.


git-svn-id: svn://10.0.0.236/trunk@113866 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:08:39 +00:00
rbs%maths.uq.edu.au
f3685307f8 Add a flag to distinguish a real infix operator from its 'isolated' form, e.g., as in x^{+}
git-svn-id: svn://10.0.0.236/trunk@113861 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 02:12:46 +00:00
rbs%maths.uq.edu.au
7e5f90f9e9 Add a helper function to lookup all the forms under which an operator is listed in the Operator Dictionary
git-svn-id: svn://10.0.0.236/trunk@113820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:48:35 +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
bryner%netscape.com
93152c8461 Updates to XBL checkbox widget. Hopefully this will fix some of the problems with native theme drawing. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@113775 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 08:24:26 +00:00
bryner%netscape.com
0d3b6c94cc 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.
git-svn-id: svn://10.0.0.236/trunk@113746 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:46:07 +00:00
bzbarsky%mit.edu
d6aa6839e7 Show the image type in the URL bar for image documents. Bug 42093,
r=timeless, sr=jag.


git-svn-id: svn://10.0.0.236/trunk@113744 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:40:18 +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
bzbarsky%mit.edu
c1d76095eb Fix bustage. "i" is already declared.
git-svn-id: svn://10.0.0.236/trunk@113670 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 03:11:01 +00:00