14909 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
varga%netscape.com
4fa91ce2d0 Fix for bug 201077. Dragging a bookmark item to the last bookmark folder causes the application to hang.
r+sr=bryner


git-svn-id: svn://10.0.0.236/trunk@141512 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 08:30:57 +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
bryner%netscape.com
18e2476790 attempting to fix irix bustage by removing ^M
git-svn-id: svn://10.0.0.236/trunk@141466 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 03:14:09 +00:00
leon.zhang%sun.com
d7f40ef4bd Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@141464 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 01:03:40 +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
jst%netscape.com
4132f747e7 Fixing bug 111514. In an XHTML document served as application/xhtml+xml, |document| is not an HTML document object, but an XML document object. r=bugmail@sicking.cc, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141424 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 00:28:09 +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
sfraser%netscape.com
ba0fb4a0dc Bug 193053: drag and drop-related changes to allow for the dragging and copying of image bits, and to allow dragging into the file system. r=pinkerton/brade, sr=bryner/bz.
git-svn-id: svn://10.0.0.236/trunk@141409 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 20:20:04 +00:00
varga%netscape.com
9ea1775cec Fix for bug 199520. "file bookmark" window not painting all of the bookmark tree
r=neil, sr=jag


git-svn-id: svn://10.0.0.236/trunk@141391 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 14:52:44 +00:00
mjudge%netscape.com
c9cb3501f0 163235 if we are collapsing selection to the beginning of the extended selection, set the "hint" to the right as a tie breaker. the opposite is true for collapsing forwards in the document. r=jfrancis sr=fraser.
git-svn-id: svn://10.0.0.236/trunk@141340 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 21:25:03 +00:00
mjudge%netscape.com
6c52e68d5d 191498 r=danm sr=fraser fixes caret jumping around containers. also fixes 192167
git-svn-id: svn://10.0.0.236/trunk@141338 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 21:08:44 +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
brade%netscape.com
8c907bfd4f copy hooks (bug 197121) r=jfrancis, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@141303 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 13:16:36 +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
15e0345ab1 Remove extraneous |inline| to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@141160 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 04:19:27 +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
dbaron%dbaron.org
20478cc051 Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681
git-svn-id: svn://10.0.0.236/trunk@141155 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 03:07:34 +00:00
roc+%cs.cmu.edu
7513ec399f Bug 201435. Make scrollbar 'curpos' truncation issue proper notifications. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@141121 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-14 14:34:45 +00:00
leon.zhang%sun.com
6942d9f46a Patch for bug 35296:SetCaretEnabled() takes too long
r/sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@141089 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 08:38:57 +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
dbaron%dbaron.org
10f629714d Remove lines that do nothing except leak. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@141007 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 23:26:36 +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
39cfb688b4 description of overflow debug facility
git-svn-id: svn://10.0.0.236/trunk@140766 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 13:01:20 +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