Commit Graph

10260 Commits

Author SHA1 Message Date
jkeiser%netscape.com
b7edff8612 Fix crash on split colspan frames (Bug 194330), r=karnaze@netscape.com, sr=kin@netscape.com 2003-06-06 03:22:01 +00:00
jkeiser%netscape.com
2e29273c63 Remove unused variables, r+sr=sfraser@netscape.com 2003-06-06 01:11:57 +00:00
kin%netscape.com
0cfd50ccf4 Fix for bug 193257 (AIM Today page renders incorrectly)
Modified AppendFrames() and InsertFrames() to call SetNeedStrategyBalance(PR_TRUE) when the table isn't auto height. This forces any previously reflowed rows, who were adjusted to take up all of the table's height, to recalculate their height during the dirty reflow that gets generated, so all rows get resized properly.

r=bernd_mozilla@gmx.de  sr=dbaron@dbaron.org
2003-06-05 17:44:28 +00:00
kin%netscape.com
396fcc17c2 Fix for bug 205165 (a href link fails to work until window is resized)
Modified PlaceFrameView() to pass in the cached overflow area rect for the frame, if it has one, when calling

SyncFrameViewAfterReflow().

r=jkeiser@netscape.com  sr=dbaron@dbaron.org
2003-06-05 17:42:29 +00:00
kairo%kairo.at
0b93c73eee bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
scott%scott-macgregor.org
380ff13568 Bug #201891 --> lazily instantiate CSSFrameConstructor::gXBLService in order to break a weird cycle
with the component manager that can cause two instances of the xbl service to be created.
r/sr=dbaron
2003-06-03 04:23:56 +00:00
jkeiser%netscape.com
ea020d3190 Remove the no-forward-declared-nsCOMPtr hack (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org 2003-06-03 03:56:14 +00:00
roc+%cs.cmu.edu
995075dc79 Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron 2003-06-02 04:38:53 +00:00
roc+%cs.cmu.edu
eb1d7efd30 Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron 2003-06-02 04:03:07 +00:00
dbaron%dbaron.org
1bc80bcc0c Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc 2003-06-01 20:18:53 +00:00
bmlk%gmx.de
6193ec703e border collapse - lookup the correct border owner style, bug 196133, r=jkeiser sr=roc+moz 2003-05-31 14:49:18 +00:00
bmlk%gmx.de
c5c96c2c1b table layout regression tests NPOB 2003-05-31 14:22:56 +00:00
bmlk%gmx.de
cbc7dbaa0d avoid marking columns that only have a desired width empty, what would exclude them from space redistribution, bug 194024, r=jkeiser sr=bzbarsky 2003-05-31 14:15:56 +00:00
bmlk%gmx.de
838f8ce8ad infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron 2003-05-31 10:32:19 +00:00
bmlk%gmx.de
799cc4775c layout regression test for table overflow handling NPOB 2003-05-31 10:18:57 +00:00
bmlk%gmx.de
e9a141ca46 adding testcase to the layout regression tests NPOB 2003-05-31 09:26:28 +00:00
bmlk%gmx.de
7baca1626f anonymous table cell frames should not have a default padding, td and th padding defaults are set in html.css, bug 72359, patch proposed by hixie some time ago (2001-06-21) r=bernd sr=dbaron 2003-05-31 09:16:23 +00:00
timeless%mozdev.org
18c28cd6df Bug 205017 Uninitialized variables in layout/html/base/src/nsPresShell.cpp
r=dbaron sr=dbaron
2003-05-30 19:47:39 +00:00
cbiesinger%web.de
f4bd4d5572 address reviewer comments that I forgot when checking in patch for bug 204386. r+sr=bz 2003-05-30 19:47:08 +00:00
jaggernaut%netscape.com
756d8ef907 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
smontagu%netscape.com
62b4d0e97f Fix rounding issue in DrawTile() and remove a bogus assertion. Bug 194791, Author=paper@animecity.nu, r=smontagu, sr=roc+moz 2003-05-29 23:29:37 +00:00
bryner%netscape.com
5090c7bf22 Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser. 2003-05-29 22:39:05 +00:00
bzbarsky%mit.edu
8b80364217 Make some static data const in layout. Bug 204073, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:52:33 +00:00
cbiesinger%web.de
85fbe5da58 204386 r+sr=bz Allow setting Image.src to empty 2003-05-25 20:43:08 +00:00
timeless%mozdev.org
77dbd5277a Bug 205366 ifdef WIN/MACOS(X) ConvertTwipsToPixels because it isn't used elsewhere
r=av sr=peterv
2003-05-23 22:14:21 +00:00
timeless%mozdev.org
2ba082c8ae Bug 205363 Remove SendStatusNotification/nsIPrintStatusCallback
r=dbaron sr=dmose
2003-05-23 22:10:13 +00:00
timeless%mozdev.org
4ae837ad81 Bug 205262 warning nsSampleWordBreaker::Next was hidden by nsSemanticUnitScanner::Next
r=smontagu sr=dbaron
2003-05-23 22:06:40 +00:00
dwitte%stanford.edu
270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dougt%meer.net
c116b571ee Fixing memory leaks. b=206655, r=bernd, sr=dbaron, a=asa 2003-05-22 22:12:09 +00:00
jkeiser%netscape.com
9ee03c08e4 Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa 2003-05-22 20:56:35 +00:00
roc+%cs.cmu.edu
f5b886b9cd Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa 2003-05-22 01:46:13 +00:00
roc+%cs.cmu.edu
c26402a7ca Bug 206156. When we find a block inside an inline, reparent any views inside the new anonymous block and trailing inlines if the initial inline run had a view. r+sr=dbaron,a=asa 2003-05-22 01:40:16 +00:00
dbaron%dbaron.org
62ed6c115b Make ContentInserted handle appending after an inline that was split because it contains a block. b=141019 Based on patch by kin@netscape.com. r+sr=roc a=asa 2003-05-20 20:49:27 +00:00
smontagu%netscape.com
ff871f7563 Backing out fix for bug 192088, which caused regressions for Persian and Indic scripts. r=gisburn, sr=roc+moz, a=asa. 2003-05-20 18:19:09 +00:00
dougt%meer.net
5042217cc2 Fixes CantRenderReplacedElementEvent memory leak. b=203596, r+sr=dbaron, a=asa@mozilla.org 2003-05-17 01:10:50 +00:00
dbaron%dbaron.org
75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
de72fd6d40 Oops, wrong tree. Backing out. 2003-05-15 03:36:05 +00:00
dbaron%dbaron.org
9029e25c56 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:32:08 +00:00
roc+%cs.cmu.edu
ade40a3ae3 Bug 204531. Remove bogus RTL listbox reflow hack. Fix border computation for desired size of combobox dropdowns. 2003-05-15 01:42:53 +00:00
dbaron%dbaron.org
f132e9126f Remove some code left over from old native form controls. b=205575 r+sr=roc a=asa 2003-05-14 22:36:33 +00:00
roc+%cs.cmu.edu
f601bd510e Bug 199897. Fix regression by being smarter about how we clip border painting to the dirty rect. r=bernd,sr=dbaron,a=asa 2003-05-14 00:44:38 +00:00
bryner%netscape.com
8dc3ad3076 Fixes for a number of focus problems:
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)

Summary of the changes:
- Don't require a frame to be present for focus events.  This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent.  We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().

r=jkeiser, sr=jst, a=sspitzer.
2003-05-12 07:11:16 +00:00
jst%netscape.com
fba31f0405 Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com 2003-05-09 20:42:49 +00:00
smontagu%netscape.com
1d28d1dc0e Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa. 2003-05-08 18:38:19 +00:00
bzbarsky%mit.edu
48c50e8f7c Fix scroll state restoration when going back to URL with anchor. Bug 204364,
r=jkeiser, sr=dbaron, a=asa
2003-05-06 05:46:46 +00:00
roc+%cs.cmu.edu
f4a1c61d8c Bug 201797. Do an extra reflow of the scrollframe if we adjusted the width or height after reflowing it the first time. Also, don't include border/padding when calculating the visible width in the unconstrained case 2003-05-04 19:00:21 +00:00
cbiesinger%web.de
e27ab6d217 199045 r+sr=bz a=asa Animated image rotates although "Animate images should loop ... [X] never" is marked 2003-05-04 18:06:10 +00:00
bzbarsky%mit.edu
61cfa22b74 When doing a placeholder, paint it and the alt text in the foreground layer,
not the background one.  Bug 156987, r+sr=roc+moz, a=sspitzer
2003-05-03 02:34:42 +00:00
neil%parkwaycc.co.uk
8664402ee6 Bug 190281 Focus doesn't skip disabled inputs properly r=aaronl sr=jst a=asa 2003-05-01 10:42:33 +00:00
mjudge%netscape.com
b0318bfe51 195080 fix regression. sr=sfrasier r=danm. fix logic for moving caret around 0 width frames 2003-04-30 21:37:05 +00:00
colin%theblakes.com
b4b0010418 Remove bad ANSI alias. b=190733. r=bbaetz. sr=dbaron. a=sspitzer 2003-04-30 20:39:27 +00:00
bzbarsky%mit.edu
fb289d8bd3 Images with no alt attr in quirks mode should show a placeholder, even if they
were blocked.  Bug 201288, r+sr=roc+moz, a=asa
2003-04-29 18:49:42 +00:00
bzbarsky%mit.edu
8565cf3ef4 Fix sizing of disabled buttons to match enabled ones. Bug 147463,
r=jkeiser, sr=roc+moz, a=asa
2003-04-29 18:45:51 +00:00
bzbarsky%mit.edu
04d9b57f42 Make sure to flush reflows before trying to scroll so that frame coordinates
will be up-to-date.  Bug 186149, r=peterv, sr=jst, a=asa
2003-04-26 01:13:28 +00:00
bzbarsky%mit.edu
0b19a3bbf0 Pass the content parent frame to ConstructTableFrame so the view that's created
goes in the right place in the z-ordering.  Bug 203086, r+sr=roc, a=asa
2003-04-26 01:08:35 +00:00
peterlubczynski%netscape.com
1fb13b0d22 Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa 2003-04-25 00:21:12 +00:00
bzbarsky%mit.edu
d3b47fec8c Don't check for :before/:after on frames that have pseudo-style-contexts. Bug
202917, r+sr=dbaron
2003-04-23 00:43:03 +00:00
smontagu%netscape.com
d2e02afe6c Bug 170547 Caret is in the wrong place after deleting <LI>'s. r+sr=kin. 2003-04-23 00:24:24 +00:00
mjudge%netscape.com
7892a93f8c 192566 r=danm sr=smfr even though we may disagree with the user experience in some cases, this fix will stop the editor from drawing the alpha blended images in the case of only the images being selected (see resizing images) 2003-04-22 23:18:34 +00:00
mjudge%netscape.com
0bc89daad7 202834 r=danm sr=kin fixes regression in line clicking and navigation. 2003-04-22 22:40:58 +00:00
jst%netscape.com
8f24979ea4 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
sfraser%netscape.com
352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
roc+%cs.cmu.edu
4955d7cabf Fixing indentation 2003-04-22 01:34:30 +00:00
roc+%cs.cmu.edu
e7bf73c0d8 Bug 201767. Make nsBlockFrame::GetAdditionalChildListNames return the overflowList. Also, don't create scrollbars in print contexts except for the viewport scrollbar. r+sr=bzbarsky. 2003-04-22 01:33:14 +00:00
bzbarsky%mit.edu
476c30fdff Make sure that Init() failures for image frames don't mean no alt text. Also
fixes a crasher when reframing fixed-pos frames.

This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED).  This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.

Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
bzbarsky%mit.edu
f09182206c Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
pseudos.  Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions.  Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz
2003-04-21 23:06:40 +00:00
bryner%netscape.com
b5af164b7c Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc. 2003-04-21 23:01:36 +00:00
bzbarsky%mit.edu
361ffc144f Fix for annoying assert. Bug 202717, r+sr=rbs 2003-04-21 04:09:51 +00:00
arougthopher%lizardland.net
b3ae544a33 Bug#161825
GetWidth optimizations need to be implemented on BeOS (text measurement performance)
sr=rbs
r=arougthopher
2003-04-19 16:40:06 +00:00
cbiesinger%web.de
a1d9d560d9 70820 patch by keeda@hotpop.com r=dbaron sr=jst ALT in broken image cannot be changed by the DOM 2003-04-18 21:02:49 +00:00
mjudge%netscape.com
4dfd694d28 fix for 195080 and other caret jumping problems. r=kaie sr=fraser 2003-04-17 20:22:17 +00:00
cbiesinger%web.de
91ae833035 191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two 2003-04-17 20:17:01 +00:00
kairo%kairo.at
b6009f1e51 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
kaie%netscape.com
4ba7923b68 b=102246 Text does not completely highlight with a double-click if there is more than one style applied
r=mjudge sr=sfraser
2003-04-16 20:21:44 +00:00
kmcclusk%netscape.com
8dd596f747 Prevent status bar from painting synchronously to prevent flicker. b=129844 r=jkeiser sr=kin 2003-04-16 02:01:12 +00:00
bzbarsky%mit.edu
8051eaa0f9 Make iframes and objects obey CSS max-width/height and min-width/height if
their sizes are unconstrained.  Bug 181875, r+sr=roc+moz
2003-04-15 19:28:06 +00:00
aaronl%netscape.com
83deafd111 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf 2003-04-15 08:45:55 +00:00
dbaron%dbaron.org
5186999c08 Correct translation when ensuring floats are never higher than prior floats. b=201985 r+sr=roc 2003-04-15 03:10:50 +00:00
jshin%mailaps.org
736898499e bug 198598 Update the window title bar and doc. charset for nsMediaDocument
so that save/save as works correctly for non-8859-1 string. rename
ImageDocument.properties to MediaDocument.properties and move to
content/html/document/src. (r=cbiesinger for an earlier patch, sr=bzbarsky)
2003-04-13 00:40:26 +00:00
bzbarsky%mit.edu
0b85b42edc Fix crash when composer and comboboxes interact. The real fix is in
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.
2003-04-12 16:06:54 +00:00
bzbarsky%mit.edu
e1aca3947c fix build warning. 2003-04-12 15:03:08 +00:00
bzbarsky%mit.edu
fa96270367 Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
_not_ what we want here... ;)
2003-04-12 06:18:38 +00:00
bzbarsky%mit.edu
48eaa50cb5 Change nsObjectFrame reflow when showing an image or iframe to just reflow the kid and
use its desired size.  Change reflow when doing a plugin to properly look at
the mComputedHeight/Width instead of trying to (incorrectly) walk up the reflow
state chain.  Plus some nsCOMPtr love.  Bug 191246 and bug 196280,
r=peterlubczynski, sr=roc+moz
2003-04-12 04:55:07 +00:00
bryner%netscape.com
4eedb16db9 taking a stab at luna orange... removing bogus forward declaration 2003-04-11 11:29:32 +00:00
bryner%netscape.com
d36a919a95 Remove nsScrollFrame and frame constructor support for it. Remove dlldeps.cpp for layout, it's not necessary. Bug 201457, r+sr=roc. 2003-04-11 08:26:42 +00:00
bryner%netscape.com
3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
mkaply%us.ibm.com
7f01690eb2 No bug
r/sr=dbaron
use -moz-fixed instead of Courier for XML error messages so they are always fixed regardless of prefs
2003-04-10 19:01:47 +00:00
sfraser%netscape.com
abe53e192f Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
peterlubczynski%netscape.com
d361c88876 Fixing bug 129306, regression: can't hide plugins with a widget, r=roc+moz sr=bz 2003-04-10 17:22:24 +00:00
dbaron%dbaron.org
10222fc8e5 The table outer frame should not get events for any coordinates, since it includes the margins of the table and caption. b=200966 r=bernd sr=bzbarsky 2003-04-09 21:14:51 +00:00
bryner%netscape.com
658df70295 fix textarea borders for cocoa (bug 200841). r=pinkerton, sr=bzbarsky. 2003-04-09 21:04:16 +00:00
locka%iol.ie
b824fbf934 Fix for bustage, return NS_OK from method with NS_IMETHOD return type. a=roc+@cs.cmu.edu 2003-04-09 13:16:05 +00:00
roc+%cs.cmu.edu
12c5a8aa8b Bug 201300. Get rid of document observer from nsGfxScrollFrame. r+sr=bz 2003-04-09 11:27:09 +00:00
roc+%cs.cmu.edu
61cded3928 Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky 2003-04-09 11:17:42 +00:00
roc+%cs.cmu.edu
3936b4c393 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
kin%netscape.com
85540751cd Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
subtrees


mozilla/layout/html/base/src/nsFrame.cpp

  - Added utility method ContentContainsPoint()
  - Modified HandlePress() to allow selection of images, hrs and
    -moz-user-select:all subtrees, and then disable selection
    processing of drag events.


mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp

    - Modified InsertFromDrop() so that it prevents a drop from
      happening in a -moz-user-select:all subtree. (Temporary
      workaround to avoid bug 195957 and bug 195959)

r=mjudge@netscape.com  sr=sfraser@netscape.com
2003-04-07 14:28:51 +00:00
roc+%cs.cmu.edu
25dc494b75 Bug 198479. nsFrameOuterFrame doesn't actually handle CSS 'visibility', just hide its view. r+sr=bzbarsky 2003-04-06 20:14:54 +00:00
bmlk%gmx.de
b07e6600bf display overflow information in debug reflow bug 200881 r/sr=bzbarsky 2003-04-06 08:36:19 +00:00
roc+%cs.cmu.edu
d21b664b22 Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky 2003-04-06 02:49:40 +00:00
bzbarsky%mit.edu
8563b14941 Fix crash bug 200774 -- placeholders for fixed or abs pos things need to have
block parents.  r+sr=roc
2003-04-05 21:35:35 +00:00
roc+%cs.cmu.edu
9e0fe66f3f Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron 2003-04-05 21:27:45 +00:00
bmlk%gmx.de
00f2ea1ad8 build warning fix bug 198738 r/sr=bzbarsky 2003-04-05 15:36:31 +00:00
roc+%cs.cmu.edu
9ce6c8be14 Bug 199607. Fix smoothscrolling bugs. r+sr=dbaron 2003-04-05 11:41:19 +00:00
bryner%netscape.com
f96c8639e1 Fix several problems with aqua form controls:
- don't disable -moz-appearance because the textfield has a transparent background
- don't draw a focus border for buttons, because of an OS bug that causes ugly lines through them
- make sure button text doesn't move when the button is pressed
- make sure buttons don't get a dotted internal focus border
- don't allow colors to be overridden on buttons for now

Also fixes dependencies in gfx/src/mac/Makefile.in. Bug 197094, r=pinkerton, sr=bzbarsky.
2003-04-04 23:37:35 +00:00
peterlubczynski%netscape.com
ea0810d7ec Fixing bug 200568, OBJECT tag renders plugins and full-page, r=jkeiser, sr=bz 2003-04-04 01:53:59 +00:00
bzbarsky%mit.edu
cde8938427 ComputeStyleChangeFor does not need to put all the in-flows into the
changelist.  Propagate the "current" toplevel change as the min change as we go
down the in-flow and special sibling list.  Bug 166205, r+sr=dbaron
2003-04-03 21:51:06 +00:00
cbiesinger%web.de
752bca3b4a 163594 patch by mloiselle@yahoo.com r+sr=roc+moz HR is highlighted by single click in browser (horizontal ruler) (select) 2003-04-03 19:25:25 +00:00
bryner%netscape.com
96f30a0c40 Improve logic for focusing the DOM window on page loads to deal with the
document of a previously focused iframe still being present.  Fixes bug
170811, clicking a link in an iframe which loads in a parent window causes
loss of focus.  r=saari, sr=jst.
2003-04-03 08:14:51 +00:00
bzbarsky%mit.edu
7b4226bec8 fixing typo in error message. Bug 196449, patch by anedah-9@student.luth.se
(Andre Dahlqvist), r=bernd, sr=bzbarsky
2003-04-03 05:35:51 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
bryner%netscape.com
84fa8d1c64 On second thought, let's not unsuppress painting early for pages with object/embed/applet elements. Instead, go back to calling Show() on the document viewer, but suppress the focus controller while doing so. Bug 199927, r=peterl, sr=bzbarsky. 2003-04-02 21:26:29 +00:00
kaie%netscape.com
db88d9b75b b=192320 Cannot down arrow in file
r=mjudge sr=kin
2003-04-02 12:05:43 +00:00
locka%iol.ie
e2df34009e Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com 2003-04-02 11:18:00 +00:00
kyle.yuan%sun.com
0f97378c68 Bug 198542 missing #ifndef/#endif directives in nsITextControlFrame.h
r=jkeiser, sr=henry.jia
2003-04-02 08:34:33 +00:00
seawood%netscape.com
2ea48d15fd Use 'mount -' to get cygdrive mountpoint rather than assuming /cygdrive.
Bug #158920 r=bryner
2003-04-02 06:22:59 +00:00
bryner%netscape.com
fe29432f2a Fix loss of focus caused by not going through PresShell::UnsuppressPainting (bug 199927). Also cleaned up event listener registration in this file quite a bit. r=peterl, sr=bzbarsky. 2003-04-02 03:35:58 +00:00
bzbarsky%mit.edu
ce3a0d97fb "Backing" changes back in since tree has reopened. 2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu
429e0e4ded Backing all this out, since tree is closed. 2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu
7de4451d8e Make the IconLoad hold a ref to the image listener. Fixes race to a crash.
Bug 199021, r=pavlov, sr=dbaron
2003-04-02 01:35:20 +00:00
aaronl%netscape.com
8457bb1d7e Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf 2003-04-01 20:02:51 +00:00
jst%netscape.com
b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
sicking%bigfoot.com
fb42cf1bd8 fix build bustage due to gkconxsldoc_s no longer existing after landing of bug 185797 2003-03-26 02:21:17 +00:00
alecf%netscape.com
8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
dbaron%dbaron.org
95ba6eac66 Fix incremental reflows of <br clear=all>. b=157444 r+sr=roc 2003-03-25 15:24:07 +00:00
timeless%mozdev.org
d112ea131f Bug 196735 <OBJECT src=...> should be ignored
patch by bugzilla2@farside.demon.co.uk r=peterl sr=jst
2003-03-25 07:28:54 +00:00
seawood%netscape.com
d056fe18d0 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
darin%netscape.com
06db7d7b43 backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
darin%netscape.com
1cc9401e27 backing seth out, for blocker fixes 2003-03-24 23:20:04 +00:00
sspitzer%netscape.com
881436c9dc fix for regression bug #198946
"repainting horribly broken"
caused by roc's checkin for bug #113232
this is roc's patch for the problem.
2003-03-24 20:41:10 +00:00
bmlk%gmx.de
1072447013 dont clip composite borders, bug 197086 r/sr=roc+moz 2003-03-24 10:17:25 +00:00
roc+%cs.cmu.edu
64131124e6 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin 2003-03-24 05:29:45 +00:00
roc+%cs.cmu.edu
4f81dc78d1 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:57:22 +00:00
timeless%mozdev.org
697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
dbaron%dbaron.org
48fefb44a8 Prevent display-reflow debugging code from cluttering up the leak stats by freeing objects on module shutdown. b=198676 r=bernd sr=bzbarsky 2003-03-22 15:09:17 +00:00
bmlk%gmx.de
c9d8064022 fix build warnings from my previous checkin 2003-03-22 12:21:22 +00:00
peterlubczynski%netscape.com
b5850784ea Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
alecf%netscape.com
b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
bmlk%gmx.de
ebf5835d15 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky 2003-03-21 19:35:36 +00:00
bmlk%gmx.de
5fe83d7fe4 compute margin based overflow area for innertable and caption frame bug 198009 r/sr=bzbarsky 2003-03-21 19:32:09 +00:00
alecf%netscape.com
ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
heikki%netscape.com
0ee437d7ac Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv. 2003-03-19 23:45:42 +00:00
dbaron%dbaron.org
0f14af74c1 Correct fix for OS/2 bustage (and make it apply to all platforms), since the OS/2 compiler is correct according to C++ 11.8, clause 1, which says "The members of a nested class have no special access to members of an enclosing class...". b=83774 2003-03-19 15:37:58 +00:00
mkaply%us.ibm.com
ca80fd18bd OS/2 bustage - yes our compiler sucks, but on a brighter note, it will be gone very soon and we can remove every XP_OS2_VACPP in the code 2003-03-19 14:51:53 +00:00
bzbarsky%mit.edu
3c4f0fdf7b Try to fix OS/2 bustage yet again.. 2003-03-19 08:34:47 +00:00
bzbarsky%mit.edu
1f0255261f Another attempt to fix OS/2 bustage. 2003-03-19 07:10:57 +00:00
bzbarsky%mit.edu
45dc9ee7b4 Don't invalidate and such if no initial reflow yet. Bug 83774, r=pavlov 2003-03-19 06:51:46 +00:00
bzbarsky%mit.edu
f1c1cca794 More OS/2 bustage... bug 83774 2003-03-19 06:15:38 +00:00
bzbarsky%mit.edu
83e46b1a49 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
bzbarsky%mit.edu
2c56e0638e Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
bryner%netscape.com
f93f9b19d2 Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky. 2003-03-18 23:41:44 +00:00
bzbarsky%mit.edu
596066a1d9 Fix crash on having a <xul:listbox> in a plain XML document. Bug 197234,
r=sicking, sr=jst
2003-03-18 21:18:26 +00:00
bzbarsky%mit.edu
605874dcea Make imgRequestProxy hold a weak ref to its listener, to prevent reference
cycles.  Bug 196797, r=pavlov, sr=jst
2003-03-17 16:09:02 +00:00
bzbarsky%mit.edu
c214ea9fc8 Make scrollDelay settable; make height/width attrs work on standards-mode
pages. Bug 197461, r=doron, sr=dbaron
2003-03-17 06:58:17 +00:00
bzbarsky%mit.edu
fef48cc2d0 Fix a few inefficient callers of getElementsByTagName. Bug 191589,
r=neil@parkwaycc.co.uk, sr=jst
2003-03-15 16:30:09 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
bmlk%gmx.de
9359dc9771 require the presence of the inner table frame for reflow bug 189751 r=jkeiser sr=roc+moz 2003-03-14 10:31:55 +00:00
jst%netscape.com
0b5cb41238 Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com 2003-03-14 07:00:53 +00:00
jkeiser%netscape.com
9dfc1961ec Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com 2003-03-14 06:18:20 +00:00
mkaply%us.ibm.com
c7f3e93917 OS/2 only - oops - don't modify XUL buttons in here 2003-03-14 01:50:41 +00:00
jkeiser%netscape.com
b8b384ec30 Make ismap images not overwrite the query part of the URL (bug 185169), r+sr=bzbarsky@mit.edu 2003-03-12 21:22:21 +00:00
bryner%netscape.com
f3a28e9f42 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00
roc+%cs.cmu.edu
210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
dbaron%dbaron.org
3e2ee83b87 Add testcase for bug 177331. 2003-03-12 00:07:40 +00:00
dbaron%dbaron.org
1db55eaf76 Remember the lowest floater top for CSS2 9.5.1 rule 5 (a float cannot be higher than earlier floats) on the space manager rather than the block reflow state so that it works across blocks sharing the same space manager. Save and restore it in the space manager's PushState and PopState to fix incremental reflow bug (177331). b=196919 r+sr=roc+moz Change PRIntn to PRInt32. b=115153 r+sr=bzbarsky 2003-03-11 23:56:49 +00:00
dbaron%dbaron.org
a3616ebbd5 Add testcase for bug 196919. 2003-03-11 23:22:47 +00:00
bmlk%gmx.de
b3aae54563 clip the border at the dirty rectangle, bug 86249 r+sr=roc+moz 2003-03-11 15:15:08 +00:00
bmlk%gmx.de
da94756a04 compiler warning fix, bug 167659, orig. patch by caillon, r=jkeiser, sr=dbaron 2003-03-11 13:33:19 +00:00
jkeiser%netscape.com
f95c2249fa Fix ISINDEX crash (bug 191974), r=aaronl@netscape.com, sr=dbaron@dbaron.org 2003-03-11 06:53:49 +00:00
peterlubczynski%netscape.com
eccc1a5ed8 Fixing bug 131007, unpaired events cause us to remain in capture and look hung, r=jkeiser sr=bryner 2003-03-11 00:54:18 +00:00
mkaply%us.ibm.com
53f7a62d8f Better fix for 168391 from dbaron 2003-03-07 21:32:39 +00:00
dbaron%dbaron.org
f246aacdad Make floats margin roots so that margins of floats do not collapse with their descendants, to be compatible with CSS2 and MSIE. b=193461 r+sr=roc+moz 2003-03-07 21:25:55 +00:00
smontagu%netscape.com
c27c3fff25 Correct a regression in Bidi ordering and simplify the way in which we determine whether Arabic shaping needs to be performed depending on the capabilities of the system and whether we are rendering character by character. Bug 192919, r/sr=rbs. 2003-03-07 20:56:03 +00:00
jshin%mailaps.org
83904cb49f bug 180266 : hard-code precompiled ccmaps. (r=shanjian, sr=alecf/rbs) : relanding 2003-03-07 02:30:18 +00:00
aaronl%netscape.com
20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
dbaron%dbaron.org
c3fb353790 Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky 2003-03-06 19:14:17 +00:00
dbaron%dbaron.org
636a18962f Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830 2003-03-06 19:07:22 +00:00
aaronl%netscape.com
8ac3b448d6 Bug 194977. Support <label> elements as ROLE_STATICTEXT like IE does, fix use of label name for controls when no form element. r=kyle, sr=henry 2003-03-06 18:50:39 +00:00
paper%animecity.nu
fc57a6c25f Bug 196072. Don't invalidate image area when incoming image data is for different frame. r=pavlov sr=bz 2003-03-05 23:55:53 +00:00
paper%animecity.nu
16306ed28c Bug 194108 Don't PaintBackgroundColor when tiled image is opaque and fully covering. r=caillon sr=roc+moz 2003-03-05 23:34:48 +00:00
peterv%netscape.com
bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
ere%atp.fi
0db46aa009 Fix for bug 194738: Phoenix/Mozilla minimizes to toolbar then re-opens.
r=roc+moz
sr=bzbarsky
2003-03-05 14:26:31 +00:00
dougt%netscape.com
3d21aea27f backing out bustage caused by jshin 2003-03-05 05:03:03 +00:00
mkaply%us.ibm.com
9460e20f01 #168391
r=pedemont, sr=blizzard (platform specific)
OS/2 only - only inherit font famly, not other stuff
2003-03-05 03:56:35 +00:00
jshin%mailaps.org
aac4dd7004 bug 180266 : hard-code precompiled CCMaps to speed up start-up.
r=shanjian, sr=alecf,rbs
2003-03-05 03:40:10 +00:00
kyle.yuan%sun.com
a8574cad31 Bug 193656 [ATK Accessibility] implement accessible object for block frame
r=aaronl, sr=henry.jia
2003-03-05 02:51:36 +00:00
bernd.mielke%snafu.de
7c630887e7 backout of the patch for bug 97777. Unconstrained reflows need to be tested against table reflow as they are used also there to shrinkwrap content. bug 194014 r/sr=dbaron a=asa 2003-03-01 07:14:35 +00:00
bernd.mielke%snafu.de
4beab5f987 mBits must be an unsigned long because it must match the size of mOrigCell on both 32- and 64-bit platforms. bug 194726 r/sr=roc+moz 2003-02-28 06:35:12 +00:00
sfraser%netscape.com
6642237016 Bug 191821: fix up nsObjectFrame to use nsIPluginWidget on Mac, for platform-specific plugin placement issues. Also fix a bug with scrolling Java applets, that caused them to render in the wrong places after scroll. r=peterl, sr=bryner 2003-02-27 23:35:47 +00:00
sfraser%netscape.com
511b311820 Fix bug 74404: show caret drag feedback. r=brade, sr=kin 2003-02-27 23:09:51 +00:00
smontagu%netscape.com
9aa5c0d574 Whitespace change to note that the previous checkin was for bug 188759. 2003-02-27 01:51:04 +00:00
smontagu%netscape.com
2a850617fd Ensure that the buffer offset in nsTextTransformer::GetNextWord is correctly positioned after transforming ligatures. Bug 1888759, r/sr=rbs. 2003-02-27 01:47:44 +00:00
jst%netscape.com
1f6f27bce8 Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com 2003-02-27 01:38:20 +00:00
kairo%kairo.at
661116311f bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard 2003-02-27 00:05:44 +00:00
bzbarsky%mit.edu
792d30905e Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
and do not hold a ref to them.  Bug 190475, r=pavlov, sr=jst
2003-02-26 05:51:32 +00:00
sfraser%netscape.com
ce93bd08bb Turn TestCSSPropertyLookup.cpp back on, now that the symbols it needs have been declared 'extern'. 2003-02-26 03:35:05 +00:00
sfraser%netscape.com
8def31b8fe Turn off TestCSSProperty until its bogus linkage dependencies can be resolved. 2003-02-26 03:12:45 +00:00
sfraser%netscape.com
9f19c66408 Hopefuly fix linux tests bustage. 2003-02-26 01:53:03 +00:00
smontagu%netscape.com
5b7a71b0ea Bail out of nsTextFrame::MeasureText() early when contentLength is 0. Bug 129847, r=sfraser, sr=rbs. 2003-02-26 01:33:03 +00:00
sfraser%netscape.com
4ab006926a More const data goodness. r/sr=alecf. Bug 74803 2003-02-26 01:19:04 +00:00
sfraser%netscape.com
defd631ba0 Remove non-const kInlineFrameCID. r/sr=alecf. Bug 74803 2003-02-26 01:16:40 +00:00
smontagu%netscape.com
743ba45c35 Remove nsITextFrame. Bug 188618, r/sr=roc+moz. 2003-02-25 00:44:04 +00:00
heikki%netscape.com
0741694152 Bug 189077, make nsImageFrame smaller by using frame state bits, r=paper@animecity.nu, sr=roc+moz@cs.cmu.edu. 2003-02-24 22:20:26 +00:00
smontagu%netscape.com
2f0662ca53 Separate stripping zero-width join control characters from DoArabicShaping() so that they get stripped in preshaped text as well. Bug 192088, r/sr=roc+moz. 2003-02-24 21:31:19 +00:00
kin%netscape.com
fb56972528 Fix for bug 191339: M130A Trunk crashing while printing [@ nsLineLayout::ReflowFrame]
Modified nsBlockFrame::Reflow() so that it reparents the frames in the overflow placeholder list when handing it off to an

ancestor that does not already have an overflow placeholder list.

r+sr=dbaron@dbaron.org
2003-02-24 19:02:08 +00:00
mkaply%us.ibm.com
dc03c43d11 OS/2 bustage
We have a compiler optimization problem here.
For now I am turning off optimization for this directory for OS/2 only because we haven't had a working OS/2 build in a few days.
We'll look at the real problem today.
2003-02-24 14:24:40 +00:00
bryner%netscape.com
574c127ea3 Keep a reference to the style context for the lifetime of AttributeChanged(), so it's not deleted out from under us when the frame is destroyed. Fixes crasher bug 194584. r/sr=dbaron. 2003-02-23 23:02:26 +00:00
timeless%mozdev.org
a6d6c97aa2 Bug 189295 nsTextFrame.cpp: The variable isWhitespace has not yet been assigned a value.
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rbs sr=roc+moz
2003-02-23 18:39:41 +00:00
dbaron%dbaron.org
e341c5f706 Make ProbePseudoStyleFor return null whenever :before and :after aren't displayed so that we don't try to reframe constantly in certain cases, preventing link clicking from working. b=188525 r+sr=bzbarsky 2003-02-23 17:28:25 +00:00
dbaron%dbaron.org
1fd8b24910 No need to check the same thing in twice. Fixing bustage. 2003-02-23 04:42:54 +00:00
bryner%netscape.com
892426fd3f Fix some potentially uninitialized variables caused by my StyleContext checkin (bug 114713). 2003-02-23 04:03:49 +00:00
roc+%cs.cmu.edu
bee193dca6 Bug 186957. HR frames don't really paint their backgrounds. r+sr=dbaron 2003-02-23 04:01:45 +00:00
roc+%cs.cmu.edu
67a197918a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
96b5516d32 Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky 2003-02-23 02:22:14 +00:00
roc+%cs.cmu.edu
4f1e28b592 Bug 186754. Make sure scrolled elements honor the content hierarchy for z-index. r+sr=bzbarsky 2003-02-23 02:03:43 +00:00
kyle.yuan%sun.com
d2a4744e14 Bug 188199 incremental search in <select> fails if item starts with repeats of a letter
r=jkeiser, sr=henry.jia
2003-02-23 01:19:17 +00:00
roc+%cs.cmu.edu
d0154df805 Bug 189723. Fix valgrind warning on uninitialized value when GetPenMode isn't implemented. r+sr=bzbarsky 2003-02-22 22:27:45 +00:00
bryner%netscape.com
bfe4e632a5 Fix leaks introduced from bug 114713 (bug 194468). r/sr=dbaron. 2003-02-22 22:21:20 +00:00
roc+%cs.cmu.edu
f4e000a5fa Bug 180502. Repaint only changed area whenever a view is resized by the generic nsContainerFrame::SyncFrameView. r+sr=dbaron 2003-02-22 21:53:42 +00:00
roc+%cs.cmu.edu
4a4741d884 Bug 192469. Reparent views for blocks-in-inlines regardless of why we created the view. r+sr=bzbarsky 2003-02-22 21:37:55 +00:00
bzbarsky%mit.edu
15546957e4 Reflow main content before reflowing fixed-pos frames so that the placeholders
are in the right places.  Bug 90270 and dependencies.  r+sr=roc+moz
2003-02-22 20:13:12 +00:00
bzbarsky%mit.edu
4b6af0e39f Make shrink-wrap reflow for buttons correctly reflow the kids a second time at
the constrained shrink-wrap width.  Bug 26650 and dependencies, patch by
arunan_bala@hotmail.com (Arunan Bala), r=jkeiser, sr=bzbarsky
2003-02-22 19:48:29 +00:00
dbaron%dbaron.org
3f21e0e694 Make CtlStyleWatch |#ifdef MOZ_PERF_METRICS|. b=191831 r+sr=roc+moz 2003-02-22 19:26:30 +00:00
bernd.mielke%snafu.de
74c2f5d34d improve rowspan border collapse handling, bug 157047 r=jkeiser, sr=roc+moz 2003-02-22 19:24:49 +00:00
dbaron%dbaron.org
0ec06d045f Change the way we calculate max-element-width for blocks with floaters: stop trying (and sometimes failing) to ensure that there can always be text next to the floater. b=186593 r+sr=roc+moz 2003-02-22 16:19:31 +00:00
dbaron%dbaron.org
4b4f8625f1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org
1a3d5baedd Fix crash from over-releasing from bryner's changes yesterday. b=114713 2003-02-22 15:54:04 +00:00
dbaron%dbaron.org
6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com
571011dbfd fixing more nebiros bustage, use .get() on nsRefPtr<nsStyleContext> when calling ::GetStyleData 2003-02-22 09:16:41 +00:00
bryner%netscape.com
a933850866 Use .get() when calling GetStyleData with a nsRefPtr<nsStyleContext> parameter, fixing nebiros bustage. 2003-02-22 04:27:23 +00:00
bryner%netscape.com
e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bernd.mielke%snafu.de
918c00dbae the cursor should move at positions where the cellmap has holes, bug 193405 r=jkeiser sr/a=dbaron 2003-02-17 06:17:09 +00:00
bernd.mielke%snafu.de
15ca7219e8 report object frames mew in unconstrained conditions, bug 189079 r=peterl sr/a=dbaron 2003-02-15 18:25:02 +00:00
jkeiser%netscape.com
29f5cb3226 Make mousey events targeted properly at textnodes (bug 185889, bug 103055), fix client-side image maps (bug 110072), r=saari@netscape.com, sr=bryner@netscape.com, a=dbaron@dbaron.org 2003-02-14 21:43:06 +00:00
bzbarsky%mit.edu
468001d914 Remove leftover reflow reason hack in fixed-pos reflow. Bug 192291,
r+sr=dbaron, a=asa
2003-02-13 19:10:50 +00:00
bzbarsky%mit.edu
01c7e681e0 Make %-height kids of fieldsets do the right thing. Bug 191135, r=jkeiser,
sr=roc+moz, a=asa
2003-02-13 19:09:04 +00:00
bzbarsky%mit.edu
5cefa814c3 Don't use quirky box-sizing for image inputs. Bug 191967, r+sr=dbaron, a=asa 2003-02-13 19:02:28 +00:00
dbaron%dbaron.org
faba98289a Fix leak when handling key events on zombie pages. b=192336 r+sr=roc a=asa 2003-02-11 20:26:42 +00:00
jst%netscape.com
401737583f Removing a redeclaration of a variable that sould've been removed with the last change to this file. Bug 181644, r=bzbarsky@mit.edu, sr=dbaron@dbaron.org, a=dbaron@dbaron.org 2003-02-06 23:10:20 +00:00
bzbarsky%mit.edu
0757c0a5b1 Make sure all caller have to pass in the "ignore 'print backgrounds'
preference" boolean.  Make block/inline _not_ ignore that pref.  Bug 191574,
r+sr=dbaron, a=asa
2003-02-01 23:54:32 +00:00
jkeiser%netscape.com
3d0c799bc9 Fix window focus event regressions (bug 190767), patch by Ruslan Ismailov (croo@nm.ru), r=jkeiser@netscape.com, sr=bryner@netscape.com 2003-02-01 05:26:16 +00:00
timeless%mozdev.org
0426251963 Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]
patch by bsmedberg@covad.net r=roc+moz, sr=roc+moz, a=roc+moz
2003-01-31 21:31:48 +00:00
bzbarsky%mit.edu
0240ed412b Make sure we drop native theming of form controls in various situations when we
need to.  Bug 184359 and its dependencies (171598, 181490, 184218, 185708,
188785, 189907, 190610).  Patch by tim@prismelite.com (Tim Hill), r=bryner,
sr=bzbarsky, a=asa
2003-01-31 10:21:52 +00:00
bzbarsky%mit.edu
17212a33a3 Fix abs pos positioning regression. Bug 181644 redux, patch by
Rick.Ju@sun.com, r=bzbarsky, sr=dbaron, a=asa
2003-01-29 11:35:10 +00:00
peterlubczynski%netscape.com
8f3f637744 Fixing bug 188959, HIDDEN attribute on EMBED should hide, r=av, sr=kin, a=asa 2003-01-28 21:59:28 +00:00
bernd.mielke%snafu.de
735f766b06 set the quirk height default to NS_AUTOHEIGHT if we are in a unconstrained container bug 189840 r/sr=roc+moz a=asa 2003-01-28 05:19:20 +00:00
kin%netscape.com
539c56b91f Fix for bug 190382 (selectionEnd off by one when user selects text via CMD/CTRL-A)
- Prevent DOMPointToOffset() from counting a br as a newline, if it is the last child of the anonymous div.

- Fixed 3 compiler warnings in DOMPointToOffset().

r=jkeiser@netscape.com  sr=sfraser@netscape.com  a=asa@mozilla.org
2003-01-27 15:25:38 +00:00
bryner%netscape.com
277d4c5fdc fix frame name for nsTextControlFrame (debug-only code). r/sr/a=roc. 2003-01-25 01:47:20 +00:00
caillon%returnzero.com
d1da452d1f comment fixes r+sr=bzbarsky 2003-01-22 08:01:37 +00:00
jkeiser%netscape.com
b7baf2214d Stop firing mouse events at textnodes, fix tooltips not going away onmouseout (bug 185889, bug 185965), r=bryner@netscape.com, sr=jst@netscape.com 2003-01-21 21:26:45 +00:00
kin%netscape.com
1b4b682929 Fix for bug 188440 (textfields clobber selection when they should not.)
mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Revert back to using a private method (SelectAllContents()) which implements a select all of the text widget contents by manually creating a range and adding it to the selection. This avoids triggering the autocomplete selection listener, which listens for a selection reason of SELECTALL_REASON. This change should be undone once the autocomplete listener is modified to distinguish between a programatic select all and one generated by a user gesture.

r=brade  sr=sfraser@netscape.com
2003-01-21 15:17:32 +00:00