Commit Graph

13427 Commits

Author SHA1 Message Date
rods%netscape.com
62e0cbabdf 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
2002-02-22 01:45:05 +00:00
bzbarsky%mit.edu
08d2ef88e2 Fix parsing of some edge cases of background shorthand. Bug 124193,
r=pierre, sr=attinasi, a=roc+moz
2002-02-22 00:25:57 +00:00
jaggernaut%netscape.com
6c83a2be82 Get rid of assertion at startup. This block shouldn't have been moved by my checkin for bug 959. 2002-02-21 17:57:25 +00:00
varga%utcru.sk
35521776e2 Fix for bug 125687. An assertion fix.
- check for negative row index
r=bryner, sr=hyatt, a=roc+moz
2002-02-21 17:07:33 +00:00
jaggernaut%netscape.com
33fb0161db Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa 2002-02-21 13:39:39 +00:00
rods%netscape.com
d7865275df We were sending Progress notification from the destructor of the PrintData.
I have done the following:
1) Removed unneeded nsresult arg from OnEndPrinting
2) Removed unneeded calls to OnEndPrinting before the deletion of PrintData objs
3) The destructor of PrintData now only calls OnEndPrinting if onStartPrinting  was called first, meaning printing notification was actually started.
Bug 126427 r=dcone sr=attinasi a=roc
2002-02-21 13:23:11 +00:00
bernd.mielke%snafu.de
5701a854e8 patch by fantasai - removing standard table background painting as our old quirks mode background
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz
2002-02-21 05:36:16 +00:00
kin%netscape.com
2e601306d7 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
2002-02-21 03:03:31 +00:00
dbaron%fas.harvard.edu
21048cb4cf Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc 2002-02-21 01:36:16 +00:00
pinkerton%netscape.com
ecc86da3a2 fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770 2002-02-20 21:51:25 +00:00
mkaply%us.ibm.com
362d590ed0 Fix HPUX bustage - some compilers don't like a comma on the last enum 2002-02-20 13:48:50 +00:00
pavlov%netscape.com
40b3a7ef13 bug 125713 sr=brendan 2002-02-20 07:44:35 +00:00
joki%netscape.com
8bc4a2199b Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:js 2002-02-20 07:23:35 +00:00
seawood%netscape.com
046e1b6b15 Allow distributors to set specific builddate by setting MOZ_BUILD_DATE in the env.
Thanks to Christopher Blizzard <blizzard@redhat.com> for the patch.
Bug #123391 r=cls,blizzard
2002-02-20 06:21:10 +00:00
sgehani%netscape.com
4ff1572cca Landing print preview toolbar and UI.
b=111235; r=law; sr=hewitt
2002-02-20 06:19:39 +00:00
jkeiser%netscape.com
f929b21bf6 Tabbing out of dropdown does not reset selected item (bug 100188), r=rods@netscape.com, sr=attinasi@netscape.com 2002-02-20 05:59:46 +00:00
peterlubczynski%netscape.com
f732ce82db Fixing keyboard event bustage for Mac plugins bug 110190 r=sdagley sr=beard 2002-02-20 03:23:50 +00:00
rods%netscape.com
57797bf5fc It will no longer layout document with a zero width or height
Bug 114139 r=dcone sr=attinasi
2002-02-20 03:21:25 +00:00
joki%netscape.com
dbbee99c3a Fix 36573, send text field change event through nsPresShell central dispatch method in order to correctly set target property. r:saari, sr:jst 2002-02-20 03:20:33 +00:00
rods%netscape.com
785aacab83 1) Makes sure that when a PrintSettings is created it is initialized from the
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi
2002-02-20 03:18:33 +00:00
dbragg%netscape.com
c7478fbb13 Updating the localeVersion to 0.9.9. Fixes bug 126240. r=tao, sr=dveditz 2002-02-20 03:18:10 +00:00
hewitt%netscape.com
81d3fd97b4 110165 - Crash scrolling in addressing widget, r=hyatt, sr=dbaron 2002-02-20 02:19:08 +00:00
pinkerton%netscape.com
07a4e16549 don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736 2002-02-20 02:14:18 +00:00
alecf%netscape.com
66e767c7b8 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
2002-02-19 22:49:12 +00:00
bryner%netscape.com
614ace3983 fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben. 2002-02-19 22:19:44 +00:00
roc+%cs.cmu.edu
59d3d1ebd0 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 2002-02-19 21:33:26 +00:00
roc+%cs.cmu.edu
808e50f18c Bug 91516. Safeguard view traversal in nsObjectFrame so it doesn't walk out the current document. r=peterl,sr=attinasi 2002-02-19 21:22:23 +00:00
smontagu%netscape.com
37ebf6848d Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
brade%netscape.com
8e426d1ebc fix mac build bustage 2002-02-19 18:27:25 +00:00
karnaze%netscape.com
679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
rods%netscape.com
ae0b7240a9 1) In DocumentViewer: I did rearrange some of the data members for PrintData
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi
2002-02-19 11:49:27 +00:00
rbs%maths.uq.edu.au
60016580a6 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 2002-02-19 07:30:58 +00:00
rbs%maths.uq.edu.au
42e6cdab5e Add entry for the official Unicode minus sign 2002-02-19 07:24:19 +00:00
bzbarsky%mit.edu
b10874baee Leave rules with empty decl blocks in the sheet so they're picked up by
the DOM.  Bug 112854, r=dbaron, sr=attinasi
2002-02-19 02:27:38 +00:00
dbaron%fas.harvard.edu
977b087805 Fix the interaction of text zoom with the sizing code for generic fonts. b=125963 r=rbs sr=attinasi 2002-02-19 02:11:57 +00:00
dbaron%fas.harvard.edu
ae1eb32ae0 Create a small service in the content library to allow inspector to avoid bad link-time dependencies on CSS code. b=79091 r=attinasi,beard sr=shaver 2002-02-19 02:09:06 +00:00
akkana%netscape.com
2b3641c229 80805: old patch, should have been checked in earlier. r=cmanske sr=hewitt 2002-02-19 02:06:41 +00:00
rbs%maths.uq.edu.au
6e6c77f980 bug 124619: initializations to silence the compiler 2002-02-18 23:16:33 +00:00
timeless%mac.com
ded9284dcc Bug 125778 Implement getComputedStyle() for {min|max}-{height|width} properties
patch by caillon@returnzero.com r=bzbarsky sr=attinasi
2002-02-18 22:54:15 +00:00
rbs%maths.uq.edu.au
0725df41ce Fixup to make sure that recursive child chars are initialized with mOperator from their parent. Also added bogus initializations requested in bug 124619 to silence the compiler 2002-02-18 22:52:15 +00:00
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
heikki%netscape.com
3a6fb922c1 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser. 2002-02-01 22:28:55 +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
rbs%maths.uq.edu.au
c33e0f4dbe 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 2002-02-01 15:10:50 +00:00
rods%netscape.com
ab52751787 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
2002-02-01 14:52:11 +00:00
rbs%maths.uq.edu.au
580f85ab56 activate the rhelper to wrap foreign frames 2002-02-01 14:31:21 +00:00
rbs%maths.uq.edu.au
f91be4f749 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 2002-02-01 14:23:07 +00:00
dean_tessman%hotmail.com
e811e66bd3 Forgot the .h for 122057. 2002-02-01 06:55:41 +00:00
dean_tessman%hotmail.com
101821bcf0 122057 - springloaded folders trigger too easily
r=varga@utcru.sk, sr=ben
2002-02-01 06:36:28 +00:00
bryner%netscape.com
c9875424d1 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. 2002-02-01 03:21:38 +00:00
heikki%netscape.com
55a5667dd2 Bug 106053, remove unused XHTML namespace declarations, and fix incorrect namespace usages. r=harishd, sr=hewitt. 2002-01-31 22:12:36 +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
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +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
waterson%netscape.com
468b2645a4 Bug 122367. I give up. Force block frames to have NS_BLOCK_SPACE_MGR bit set. r=dbaron. 2002-01-30 02:10:14 +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
dougt%netscape.com
c50ca402ad 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
pinkerton%netscape.com
e6af3350ab twisties, upside down tabs, and tree implementation on mac. Also adding constants for window, menu, and dialog backgrounds XP. bug 115747, r=sdagley/sr=hyatt,sfraser. 2002-01-29 21:10:57 +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
timeless%mac.com
dce5b223ad Bug 120911 Crash while printing due lousy error checking
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=jag
2002-01-29 02:59:12 +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
mkaply%us.ibm.com
4cd0454803 Add PR_CALLBACK to get MathML building on OS/2 2002-01-28 23:24:17 +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
rbs%maths.uq.edu.au
8a12dec1b6 revert an unintended change that crept in 2002-01-27 22:23:07 +00:00
rbs%maths.uq.edu.au
e803323d31 Another renaming for ease of readability: s/core/coreFrame/g and s/next/nextFrame/g 2002-01-27 22:10:45 +00:00
rbs%maths.uq.edu.au
7499dddea5 When looking up the real sibling of a cell, use colspan/rowspan (instead of just 1) as the increment to cater for cases of spanning cells in the cellmap 2002-01-27 19:26:42 +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
roc+%cs.cmu.edu
c7b73c1a18 Bug 33601. Force REFRAME style hints if views might need to be created in response to opacity or background-attachment style changes. r=dbaron,sr=waterson 2002-01-27 07:53:27 +00:00
bryner%netscape.com
6ca281d0c5 Bug 120974 - fix QI method on nsOutlinerBodyFrame so it doesn't get wrapped in an nsBoxToBlockAdaptor. Move Reflow() logic into GetPrefSize and SetBounds. r=varga, sr=hyatt. 2002-01-27 00:58:46 +00:00
bryner%netscape.com
03d228c925 Bug 101032 - fix nsScrollBoxObject::EnsureElementsVisible in the case where the scrollbox is not at 0,0. Patch from shanec@activestate.com, r=bryner, sr=hyatt. 2002-01-26 23:27:27 +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
sgehani%netscape.com
d8fe1f9284 Make tooltip pref be honored within same session of browser.
b = 113831; r = morse; sr = hewitt
2002-01-26 20:15:01 +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
rbs%maths.uq.edu.au
8c3fe11744 typos 2002-01-25 21:57:47 +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
16fb7a5ab0 Remove leftover from debugging 2002-01-25 07:34:49 +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
rbs%maths.uq.edu.au
a1a725e6af Improvements to <mtable> 2002-01-25 07:03:43 +00:00
rbs%maths.uq.edu.au
c0c66c4dbc In case of markup errors, provide a more discoverable feedback to users. Drop in the other functions from the nsIFrame APIs that steve.swanson@mackichan.com needs to consolidate his Dynamic JavaScripted MathML editor 2002-01-25 06:48:30 +00:00
rbs%maths.uq.edu.au
808a02672c Fix MathML bug 121037. Background-color is not showing up in stretchy chars that use additional leaf style contexts. More reliable recovery from the background revamps in bug 116161 2002-01-25 06:08:03 +00:00
rbs%maths.uq.edu.au
2d36f0f82f Updated comments to add a reference to bug 69325 which details the 8 possible cases that may arise depending on whether displaystyle, largeop, stretchy are true or false 2002-01-25 06:02:52 +00:00
rods%netscape.com
5ec396c9cb Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson
2002-01-25 03:32:19 +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
dcone%netscape.com
c1bad1bfb5 bug 112698. For rods checkin. r=dcone sr=waterson 2002-01-25 02:55:51 +00:00