13153 Commits

Author SHA1 Message Date
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
bryner%netscape.com
db6f813361 Fixing bug 122034 (tabbing not working from xbl selects). Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@113667 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:14:50 +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
varga%utcru.sk
62fd668a27 Fix for 122794. Outliner columns ordered incorrectly.
- use selection sort instead of quick sort, since quick sort in unstable
r=bryner, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@113660 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:44:51 +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
alexsavulov%netscape.com
07f131e852 DOCUMENTATION CHANGE - not affecting the build
git-svn-id: svn://10.0.0.236/trunk@113646 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 23:28:29 +00:00
hyatt%netscape.com
cdc7d6d6d8 Fix Macho and Cocoa horkage because of a missing ifdef.
git-svn-id: svn://10.0.0.236/trunk@113597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 10:56:42 +00:00
rbs%maths.uq.edu.au
fe7bb4aef5 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
git-svn-id: svn://10.0.0.236/trunk@113582 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 21:15:29 +00:00
rbs%maths.uq.edu.au
bc9ff10418 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
git-svn-id: svn://10.0.0.236/trunk@113581 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 21:06:51 +00:00
rbs%maths.uq.edu.au
de6635197e slight simplification - the removal will recurse down to the wrapped child
git-svn-id: svn://10.0.0.236/trunk@113580 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 20:11:37 +00:00
blakeross%telocity.com
6a2f5ed18a 39070 - can't dnd images or <areas>. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@113544 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 00:06:12 +00:00
bryner%netscape.com
1a11ac5be2 Rest of the patch for bug 122542. I accidentely checked in the incomplete patch. r=varga, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@113543 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 23:22:10 +00:00
alecf%netscape.com
43bee42ecd more dependency updates
git-svn-id: svn://10.0.0.236/trunk@113536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 21:29:01 +00:00
rbs%maths.uq.edu.au
2ff8bf1765 Continuing to factor handlers to rebuild automatic data during dynamic changes
git-svn-id: svn://10.0.0.236/trunk@113515 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:43:03 +00:00
bryner%netscape.com
ab15008e78 adding -moz-appearance for xbl listboxes. not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@113498 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 02:23:17 +00:00
bryner%netscape.com
122d4289d3 Adding classic skin css for xbl checkboxes. Also fixing up borders on comboboxes. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@113493 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 01:42:25 +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
varga%utcru.sk
295a8002c4 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


git-svn-id: svn://10.0.0.236/trunk@113471 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 00:13:07 +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
bryner%netscape.com
6e61e54a46 Adding classic skin css for xbl select widget. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@113465 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 23:59:26 +00:00
heikki%netscape.com
51cf66c5f5 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@113450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 22:28:55 +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
rbs%maths.uq.edu.au
ef52d88af3 Added two APIs, InheritAutomaticData() & TransmitAutomaticData(), to respond to dynamic changes that affect automatic data (i.e., data inferred from the actual definition of each MathML tag). The computation of the data was so far mostly locked in Init() and SetInitialChildList() which are meant to be called only once in the life-time of a frame. Factored this computation into the two APIs to be used to rebuild the data, and which can be called repeatedly as appropriate, when dynamic changes arise in the content model. Shuffled code to stay in sync and consolidated the hooks used dynamic changes with the APIs
git-svn-id: svn://10.0.0.236/trunk@113421 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 15:10:50 +00:00
rods%netscape.com
20b4083174 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@113419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:52:11 +00:00
rbs%maths.uq.edu.au
72fc39cdaf activate the rhelper to wrap foreign frames
git-svn-id: svn://10.0.0.236/trunk@113416 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:31:21 +00:00
rbs%maths.uq.edu.au
7c7c9f7ebf Helper class use for wrapping non-MathML elements (e.g., html:img) so that they can mix better with other surrounding MathML markups. Factored previous code here and added hooks that were needed for child list operations
git-svn-id: svn://10.0.0.236/trunk@113415 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:23:07 +00:00
dean_tessman%hotmail.com
e8149ab232 Forgot the .h for 122057.
git-svn-id: svn://10.0.0.236/trunk@113409 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 06:55:41 +00:00
dean_tessman%hotmail.com
d20cb76545 122057 - springloaded folders trigger too easily
r=varga@utcru.sk, sr=ben


git-svn-id: svn://10.0.0.236/trunk@113406 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 06:36:28 +00:00
bryner%netscape.com
20a287ba58 bug 122542 - make outliner content view only respond to ContentInserted/ContentRemoved notifications concerning its own outliner. Also fix html option support. r=varga, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@113395 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 03:21:38 +00:00
heikki%netscape.com
10484cc5cc Bug 106053, remove unused XHTML namespace declarations, and fix incorrect namespace usages. r=harishd, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@113369 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 22:12:36 +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
bernd.mielke%snafu.de
1cbad10dec 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


git-svn-id: svn://10.0.0.236/trunk@113292 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 05:09:13 +00:00
waterson%netscape.com
10164a96b6 Add test case for bug 46918.
git-svn-id: svn://10.0.0.236/trunk@113276 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 03:02:30 +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