1561 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
8e7086deb2 Fixing regression bug 243345. Make nsITextContent::SetText() work with non-null terminated strings, and fix silly mistake in nsComboboxControlFrame::GetIndexOfDisplayArea(). Patch partly by bzbarsky@mit.edu, and partly by myself. r+sr=bzbarsky@mit.edu and jst@mozilla.jstenback.com
git-svn-id: svn://10.0.0.236/trunk@156331 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 01:12:10 +00:00
bzbarsky%mit.edu
e353d1759e Remove vestiges of <input type="browse">. Bug 242873, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@156249 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 18:16:41 +00:00
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
rbs%maths.uq.edu.au
58f6833e11 Fix the inconsistent behavior of the caret on text controls when their readonly attribute is changed, b=235294, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156014 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 22:48:51 +00:00
roc+%cs.cmu.edu
ba11ee5bec Bug 232540. List controls should not scroll an item into view if it is only outside the list in the horizontal direction.
git-svn-id: svn://10.0.0.236/trunk@155968 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:49:57 +00:00
roc+%cs.cmu.edu
201c5e7ba4 Backing out the part of the patch that was incorrectly checked in.
git-svn-id: svn://10.0.0.236/trunk@155967 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:48:53 +00:00
roc+%cs.cmu.edu
e7710a4890 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared
git-svn-id: svn://10.0.0.236/trunk@155965 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu
42df013a50 No bug. Remove unused code and variables from nsListControlFrame. rs=shaver
git-svn-id: svn://10.0.0.236/trunk@155897 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 04:30:23 +00:00
bzbarsky%mit.edu
2627a4e419 Don't clear undo/redo buffers when JS changes the value. Bug 158071, patch by
Martijn Wargers <m.wargers@hccnet.nl>, r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155848 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 22:14:49 +00:00
kyle.yuan%sun.com
40325268e9 Bug 220187 TABINDEX property ignored for input type=file
r=aaronleventhal, sr=jst
Two children of <input type=file> should have same tabindex with their parent.
Patch by neo.liu@sun.com


git-svn-id: svn://10.0.0.236/trunk@155629 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 09:29:10 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
jst%mozilla.jstenback.com
0be91628bc Fixing bug 240723. Cleaning up nsIFilePicker a bit, no more nsIDOMWindowInternal, and use our string classes and not raw strings. r=caillon@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@155308 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 23:38:22 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
996688b00b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
varga%nixcorp.com
ce53bd6ec2 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155017 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 05:53:38 +00:00
rbs%maths.uq.edu.au
bfe77ca6d3 Add the much requested support for find in <textarea> and text <input> elements. Also fix a long-standing problem with the mutually-exclusion: selecting something in a text field doesn't clear an earlier selection outside. b=58305, r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@154934 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 19:45:46 +00:00
bzbarsky%mit.edu
c2c4cce304 Make sure to apply our styles to our anonymous content no matter what the
page's style language is.  Bug 234761, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@154840 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 02:05:52 +00:00
roc+%cs.cmu.edu
80b27683f0 Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@154764 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:11:05 +00:00
bzbarsky%mit.edu
b4fa944df8 Fix MSVC.net bustage. Bug 236956, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@153914 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 16:51:26 +00:00
dbaron%dbaron.org
1a94650e48 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
roc+%cs.cmu.edu
7633733c24 Bug 236438. Make nsImageControlFrame translate its event point properly even if it has no view
git-svn-id: svn://10.0.0.236/trunk@153604 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 04:48:15 +00:00
bryner%brianryner.com
4b70febae6 inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
roc+%cs.cmu.edu
1321f26cd6 Bug 53966. Remove unnecessary view creation from nsImageControlFrame, and remove unused fields and functions from nsImageControlFrame/nsHTMLButtonControlFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@153354 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 15:01:38 +00:00
bryner%brianryner.com
62dee43850 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
kairo%kairo.at
e4d71ded63 bug 234014 - Use the XUL preprocessor for build-time inserting of skinVersion strings, r=bsmedberg, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@153329 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 11:54:28 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
bryner%brianryner.com
3191a1feaa Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu
8a5b5bbe43 Don't lie about our scrollable view, and don't claim to have one if we're not
scrollable.  Bug 209807, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@152983 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 23:04:51 +00:00
bzbarsky%mit.edu
ec79b3d7ab Fire onchange event when a file is selected from the filepicker. Bug 67873,
r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@152977 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 22:13:47 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
26c9ab7b2b Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@152623 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 00:38:12 +00:00
bryner%brianryner.com
e6a225b469 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152326 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 01:57:10 +00:00
kairo%kairo.at
9eeba6dafc bug 232011 - Use the XUL preprocessor for build-time inserting of localeVersion strings, this removes contents*.rdf.in files and resurrects the contents*.rdf files, using preprocessor.pl via the jar.mn definitions
git-svn-id: svn://10.0.0.236/trunk@152289 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 14:24:38 +00:00
bryner%brianryner.com
5b5cd321a4 Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152182 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:17:21 +00:00
bryner%brianryner.com
018aeefc0d More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
roc+%cs.cmu.edu
0456e20a91 Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152067 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 03:20:41 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
e46f7c8143 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
bryner%brianryner.com
70bf134ff4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
bzbarsky%mit.edu
393a35a481 Make button baselines take into account the vertical centering we do. Bug
231574, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@151611 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 23:57:40 +00:00
peterv%propagandism.org
351bce50d5 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151501 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 14:53:32 +00:00
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
bzbarsky%mit.edu
b520ce68a9 Don't crash if the file input's frame is destroyed while the filepicker is up.
Bug 230998, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@151481 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 04:35:54 +00:00
bryner%brianryner.com
3d8a7179f8 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bryner%brianryner.com
ac18b979bc Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151106 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 22:18:26 +00:00
roc+%cs.cmu.edu
35c266025d Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
4cca78120d deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150720 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00