9982 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
b51212ed63 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


git-svn-id: svn://10.0.0.236/trunk@141541 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:06:40 +00:00
bryner%netscape.com
6d58bc1d0d Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@141538 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:01:36 +00:00
bzbarsky%mit.edu
5d0e5db7b2 Fix for annoying assert. Bug 202717, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@141504 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 04:09:51 +00:00
arougthopher%lizardland.net
bbac0a90c3 Bug#161825
GetWidth optimizations need to be implemented on BeOS (text measurement performance)
sr=rbs
r=arougthopher


git-svn-id: svn://10.0.0.236/trunk@141451 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 16:40:06 +00:00
cbiesinger%web.de
09e5755e82 70820 patch by keeda@hotpop.com r=dbaron sr=jst ALT in broken image cannot be changed by the DOM
git-svn-id: svn://10.0.0.236/trunk@141413 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 21:02:49 +00:00
mjudge%netscape.com
eed2f62389 fix for 195080 and other caret jumping problems. r=kaie sr=fraser
git-svn-id: svn://10.0.0.236/trunk@141334 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 20:22:17 +00:00
cbiesinger%web.de
b20f4e6f04 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
git-svn-id: svn://10.0.0.236/trunk@141332 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 20:17:01 +00:00
kairo%kairo.at
81cde04677 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@141326 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 18:43:57 +00:00
kaie%netscape.com
65f05f911b b=102246 Text does not completely highlight with a double-click if there is more than one style applied
r=mjudge sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@141256 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 20:21:44 +00:00
kmcclusk%netscape.com
0a1d8d7ffd Prevent status bar from painting synchronously to prevent flicker. b=129844 r=jkeiser sr=kin
git-svn-id: svn://10.0.0.236/trunk@141224 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 02:01:12 +00:00
bzbarsky%mit.edu
eefaa620cb Make iframes and objects obey CSS max-width/height and min-width/height if
their sizes are unconstrained.  Bug 181875, r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141192 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 19:28:06 +00:00
aaronl%netscape.com
947985ab30 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@141171 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 08:45:55 +00:00
dbaron%dbaron.org
7665cddbab Correct translation when ensuring floats are never higher than prior floats. b=201985 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@141157 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 03:10:50 +00:00
jshin%mailaps.org
b32399e610 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)


git-svn-id: svn://10.0.0.236/trunk@141073 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 00:40:26 +00:00
bzbarsky%mit.edu
fe8997ff0a 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.


git-svn-id: svn://10.0.0.236/trunk@141067 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 16:06:54 +00:00
bzbarsky%mit.edu
a25c42a48c fix build warning.
git-svn-id: svn://10.0.0.236/trunk@141066 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 15:03:08 +00:00
bzbarsky%mit.edu
067f1f80c3 Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
_not_ what we want here... ;)


git-svn-id: svn://10.0.0.236/trunk@141057 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 06:18:38 +00:00
bzbarsky%mit.edu
8afd2397cf 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


git-svn-id: svn://10.0.0.236/trunk@141056 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 04:55:07 +00:00
bryner%netscape.com
3adf1814d6 taking a stab at luna orange... removing bogus forward declaration
git-svn-id: svn://10.0.0.236/trunk@141025 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 11:29:32 +00:00
bryner%netscape.com
2b86f1c62f Remove nsScrollFrame and frame constructor support for it. Remove dlldeps.cpp for layout, it's not necessary. Bug 201457, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@141023 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 08:26:42 +00:00
bryner%netscape.com
0c66a2052e 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.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
mkaply%us.ibm.com
ec948a34ff No bug
r/sr=dbaron
use -moz-fixed instead of Courier for XML error messages so they are always fixed regardless of prefs


git-svn-id: svn://10.0.0.236/trunk@140990 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 19:01:47 +00:00
sfraser%netscape.com
4a0df27c9c 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.


git-svn-id: svn://10.0.0.236/trunk@140988 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 18:44:03 +00:00
peterlubczynski%netscape.com
4996977d2f Fixing bug 129306, regression: can't hide plugins with a widget, r=roc+moz sr=bz
git-svn-id: svn://10.0.0.236/trunk@140975 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 17:22:24 +00:00
dbaron%dbaron.org
67703ac4f8 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
git-svn-id: svn://10.0.0.236/trunk@140924 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:14:51 +00:00
bryner%netscape.com
11c14d03d4 fix textarea borders for cocoa (bug 200841). r=pinkerton, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@140918 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:04:16 +00:00
locka%iol.ie
ef4de4771e Fix for bustage, return NS_OK from method with NS_IMETHOD return type. a=roc+@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@140909 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 13:16:05 +00:00
roc+%cs.cmu.edu
345c305cb3 Bug 201300. Get rid of document observer from nsGfxScrollFrame. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@140908 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 11:27:09 +00:00
roc+%cs.cmu.edu
6f4d9821e6 Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140907 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 11:17:42 +00:00
roc+%cs.cmu.edu
d4ac9a5795 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
git-svn-id: svn://10.0.0.236/trunk@140858 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:50:57 +00:00
kin%netscape.com
811daa38c7 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


git-svn-id: svn://10.0.0.236/trunk@140805 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 14:28:51 +00:00
roc+%cs.cmu.edu
9fdb0cfc22 Bug 198479. nsFrameOuterFrame doesn't actually handle CSS 'visibility', just hide its view. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140768 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 20:14:54 +00:00
bmlk%gmx.de
ee6bc129df display overflow information in debug reflow bug 200881 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140763 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 08:36:19 +00:00
roc+%cs.cmu.edu
c43b1f1f74 Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140762 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 02:49:40 +00:00
bzbarsky%mit.edu
d2aa4a9be8 Fix crash bug 200774 -- placeholders for fixed or abs pos things need to have
block parents.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@140755 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 21:35:35 +00:00
roc+%cs.cmu.edu
4dfef42d7f Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140754 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 21:27:45 +00:00
bmlk%gmx.de
463e729d9d build warning fix bug 198738 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140748 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 15:36:31 +00:00
roc+%cs.cmu.edu
941938fa81 Bug 199607. Fix smoothscrolling bugs. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140747 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 11:41:19 +00:00
bryner%netscape.com
5a0715030c 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.


git-svn-id: svn://10.0.0.236/trunk@140729 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 23:37:35 +00:00
peterlubczynski%netscape.com
8a4b0ee432 Fixing bug 200568, OBJECT tag renders plugins and full-page, r=jkeiser, sr=bz
git-svn-id: svn://10.0.0.236/trunk@140666 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 01:53:59 +00:00
bzbarsky%mit.edu
d4a09d69c6 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


git-svn-id: svn://10.0.0.236/trunk@140656 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 21:51:06 +00:00
cbiesinger%web.de
830d1f4998 163594 patch by mloiselle@yahoo.com r+sr=roc+moz HR is highlighted by single click in browser (horizontal ruler) (select)
git-svn-id: svn://10.0.0.236/trunk@140648 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 19:25:25 +00:00
bryner%netscape.com
fa8b5f2eb3 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.


git-svn-id: svn://10.0.0.236/trunk@140635 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 08:14:51 +00:00
bzbarsky%mit.edu
7961c32e38 fixing typo in error message. Bug 196449, patch by anedah-9@student.luth.se
(Andre Dahlqvist), r=bernd, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@140631 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 05:35:51 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
bryner%netscape.com
cc0072470d 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.
git-svn-id: svn://10.0.0.236/trunk@140597 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 21:26:29 +00:00
kaie%netscape.com
4b916bd363 b=192320 Cannot down arrow in file
r=mjudge sr=kin


git-svn-id: svn://10.0.0.236/trunk@140584 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 12:05:43 +00:00
locka%iol.ie
945fbd5fb9 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
git-svn-id: svn://10.0.0.236/trunk@140583 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 11:18:00 +00:00
kyle.yuan%sun.com
58f9e0a842 Bug 198542 missing #ifndef/#endif directives in nsITextControlFrame.h
r=jkeiser, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@140579 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 08:34:33 +00:00
seawood%netscape.com
2dbb762406 Use 'mount -' to get cygdrive mountpoint rather than assuming /cygdrive.
Bug #158920 r=bryner


git-svn-id: svn://10.0.0.236/trunk@140566 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 06:23:01 +00:00