1782 Commits

Author SHA1 Message Date
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
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
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
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
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
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
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
bzbarsky%mit.edu
cb5f836162 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
jst%netscape.com
47743d5ece Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@139440 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 07:00:53 +00:00
jkeiser%netscape.com
3c83a5a70f Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@139437 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 06:18:20 +00:00
bryner%netscape.com
a40b1536d0 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@139317 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 04:57:33 +00:00
roc+%cs.cmu.edu
071d5592f4 Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139310 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 03:22:11 +00:00
kairo%kairo.at
de1f7b5269 bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@138565 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 00:05:44 +00:00
roc+%cs.cmu.edu
ad79d0e7da 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
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
6963c1c429 Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@138256 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:22:14 +00:00
kyle.yuan%sun.com
60eb04f289 Bug 188199 incremental search in <select> fails if item starts with repeats of a letter
r=jkeiser, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@138250 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 01:19:17 +00:00
bzbarsky%mit.edu
9c474e852e 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


git-svn-id: svn://10.0.0.236/trunk@138222 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:48:29 +00:00
bryner%netscape.com
9651dfd295 Use .get() when calling GetStyleData with a nsRefPtr<nsStyleContext> parameter, fixing nebiros bustage.
git-svn-id: svn://10.0.0.236/trunk@138150 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 04:27:23 +00:00
bryner%netscape.com
c44337949a 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.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
b993aac32b 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


git-svn-id: svn://10.0.0.236/trunk@137266 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 23:54:32 +00:00
kin%netscape.com
dd9ec493c4 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


git-svn-id: svn://10.0.0.236/trunk@136979 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-27 15:25:38 +00:00
bryner%netscape.com
73ac5f125a fix frame name for nsTextControlFrame (debug-only code). r/sr/a=roc.
git-svn-id: svn://10.0.0.236/trunk@136947 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-25 01:47:20 +00:00
kin%netscape.com
bf1214f351 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


git-svn-id: svn://10.0.0.236/trunk@136731 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 15:17:32 +00:00
neil%parkwaycc.co.uk
66a63fa2b0 Fix regression to bug 150759 caused by bug 147148 r=jkeiser sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@136154 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 09:24:30 +00:00
dbaron%dbaron.org
c2b73f96e3 Fix sizing regression for selects with optgroups. b=188426 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136104 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 00:30:50 +00:00
dbaron%dbaron.org
a569c670f5 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
kin%netscape.com
4c2a2376d9 Fix for bug #88049: Support .selectionStart & friends for textareas
Patch by petejc@optonline.net and kin@netscape.com

  mozilla/content/html/content/src/nsHTMLInputElement.cpp
  mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
  mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
  mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Re-implemented selectionStart, selectionEnd, setSelectionRange() and various

utility methods in nsTextControlFrame to support multi-line text widgets.


r=jkeiser@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@136054 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org
c278517282 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
bryner%netscape.com
a95559dfb1 Meant to remove this file too. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@135882 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 08:56:58 +00:00
bryner%netscape.com
4f009c46df Remove nsRadioControlGroup, inadvertently left here (bug 187867). r=cls.
git-svn-id: svn://10.0.0.236/trunk@135876 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 07:35:09 +00:00
kairo%kairo.at
e6ced14fde change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@135834 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 19:57:47 +00:00
jkeiser%netscape.com
4b221167d7 Make input type=file work with display: none (bug 152844), r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135510 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-20 05:40:37 +00:00
jkeiser%netscape.com
60ed955d58 Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135509 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-20 05:32:27 +00:00
jkeiser%netscape.com
ac42e42ba8 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135468 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:38:09 +00:00
nhotta%netscape.com
3a03e1c043 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.


git-svn-id: svn://10.0.0.236/trunk@135438 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 23:38:04 +00:00
jkeiser%netscape.com
0b701faeb3 Make empty dropdowns handle key events (bug 147148), r=peterl@netscape.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135373 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 00:56:01 +00:00
jkeiser%netscape.com
12458accbb Crasher on changing input type with JS (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@135365 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-16 23:49:16 +00:00
dbaron%fas.harvard.edu
10a7236c6a Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
git-svn-id: svn://10.0.0.236/trunk@135099 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:00:18 +00:00
kyle.yuan%sun.com
0be0d7608a Bug 159947 no way to multiselect using keyboard in list box
r=akkana, sr=bryner
Use charCode instead of keyCode to check whether a key typing is SPACE


git-svn-id: svn://10.0.0.236/trunk@135095 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:24:27 +00:00
jkeiser%netscape.com
10e27ad14e Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock.
git-svn-id: svn://10.0.0.236/trunk@134970 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 06:15:33 +00:00
jkeiser%netscape.com
4749233be8 fix behavior (and crasher) when changing type during event handler (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@134968 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 05:56:58 +00:00
karnaze%netscape.com
ca5804764b bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser.
git-svn-id: svn://10.0.0.236/trunk@134696 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 16:02:42 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
jkeiser%netscape.com
61c84d1fa9 Make textareas and inputs restore again (bug 179330), r=bryner@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134217 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:19:45 +00:00
bzbarsky%mit.edu
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
dbaron%fas.harvard.edu
7bfdf9ceaf Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134104 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:21:57 +00:00
bzbarsky%mit.edu
d4ea0fd2db <button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134072 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 03:39:44 +00:00
dbaron%fas.harvard.edu
307f43b5a1 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00