Граф коммитов

1207 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org 5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu dba4f07f62 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
bryner%brianryner.com 180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
bzbarsky%mit.edu d4226e05fa Relanding bug 108817, since it did not cause the Tp problem. r+sr=still roc 2004-08-11 04:49:05 +00:00
bzbarsky%mit.edu f5ed95e537 Backing out patch for bug 108817 to test whether it causes the Tp regression. 2004-08-10 23:37:43 +00:00
bzbarsky%mit.edu b34ac7a3db Remove the timer stuff in nsListControlFrame and replace it with a simple
boolean that's set as needed if the options change and checked in DidReflow()
to decide whether to scroll the list.  Also eliminate the mPresContext member.
Bug 108817, r+sr=roc
2004-08-10 22:21:03 +00:00
peterv%propagandism.org 45682cc199 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst. 2004-08-10 10:22:36 +00:00
dbaron%dbaron.org 94bc9d26c8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
mats.palmgren%bredband.net 1bed266aff Add width for letter-spacing when calculating desired width of text input controls. b=252783 r=bzbarsky sr=dbaron 2004-08-07 22:04:27 +00:00
bryner%brianryner.com 6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu 748bc62eb8 Bug 252850. Backing out minor listbox layout fix, because it broke something worse 2004-07-28 01:24:58 +00:00
cbiesinger%web.de 54e0371529 Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
roc+%cs.cmu.edu a406f5f3c0 Bug 232540. Make unconstrained-width comboboxes reflow their dropdowns with unconstrained width, always, to avoid a problem where the vertical scrollbar is added but the dropdown doesn't get correspondingly wider. r+sr=dbaron 2004-07-23 23:46:25 +00:00
neil%parkwaycc.co.uk 92f587883a Fix regression from bug 244761 so that only user actions will enable onChange after blur b=251833 r/sr=roc 2004-07-23 08:25:44 +00:00
rbs%maths.uq.edu.au e2527bce29 Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky 2004-07-21 01:05:44 +00:00
roc+%cs.cmu.edu 312f627f43 Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron 2004-07-20 00:02:43 +00:00
roc+%cs.cmu.edu b751c53c83 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron 2004-07-18 12:02:53 +00:00
aaronleventhal%moonset.net 910e44a7d5 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
bzbarsky%mit.edu 551a7fc242 Paint a fieldset's border under the legend margin. Bug 247068, r+sr=dbaron 2004-07-15 23:28:46 +00:00
aaronleventhal%moonset.net 692a414811 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
neil%parkwaycc.co.uk bac92025e4 Form frames should not register empty access keys b=248566 r/sr=roc 2004-07-03 20:54:54 +00:00
peterv%propagandism.org a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
bryner%brianryner.com 1370052e19 deCOMtaminate nsBoxLayoutState. Bug 247766, r+sr=roc. 2004-06-22 02:55:04 +00:00
bryner%brianryner.com 3cd200f850 oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner%brianryner.com cc1433c45a bringing branch changes forward 2004-06-21 23:35:56 +00:00
robin.lu%sun.com 61ae5e89c7 fix bug 206376 accesskey doesn't work when field type is "file"
r=aaronleventhal sr=jst patched by neo.liu@sun.com
2004-06-21 02:46:13 +00:00
bryner%brianryner.com f87933eeda Make XUL box debug code be #ifdef DEBUG_LAYOUT. r+sr=roc, bug 103844. 2004-06-19 09:07:47 +00:00
roc+%cs.cmu.edu c81d937cfe Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron 2004-06-18 02:08:19 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
robin.lu%sun.com b8205678d0 fix bug 220390 ACCESSKEY incorrectly supported on multiline SELECT tag.
patched by Nian Liu (neo.liu@sun.com).
r=aaronleventhal sr=jst
2004-06-11 08:03:16 +00:00
roc+%cs.cmu.edu 626c4c26f5 Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst 2004-06-02 00:25:00 +00:00
neil%parkwaycc.co.uk 600887c6ff Bug 245096 Clicking on combo box inhibits change event patch in bug 244761 r/sr=roc 2004-05-31 23:22:08 +00:00
neil%parkwaycc.co.uk 353ddd2ccc Restoring accidentally deleted line to fix bustage. 2004-05-28 16:49:07 +00:00
neil%parkwaycc.co.uk 467eb2c764 Bug 244761 ESC shouldn't change displayed selection also improve consistency of change events for drop-downs r/sr=roc 2004-05-28 16:25:04 +00:00
bzbarsky%mit.edu a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
bzbarsky%mit.edu 62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
cbiesinger%web.de da9c6f3b04 AddRef/Release return a refcount, not an nsresult 2004-05-22 20:01:11 +00:00
bzbarsky%mit.edu 7f1e54b18d Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu abcad1dc39 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
bryner%brianryner.com 033c0812b5 Fix crashes when dynamically removing input type=file elements by not calling GetValue() during Destroy() since that re-adds the frame to the primary frame map. Bug 203041, 238906, patch originally by mats.palmgren@bredband.net, updated by me, r+sr=bzbarsky. 2004-05-22 01:17:00 +00:00
bzbarsky%mit.edu 6440f76be7 Instead of setting inline style for every text input's anonymous div, have a
rule in forms.css to set the style.  Bug 243588, r+sr=dbaron
2004-05-15 05:09:37 +00:00
jst%mozilla.jstenback.com 97deb07230 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 2004-05-13 01:12:10 +00:00
bzbarsky%mit.edu cb3f422652 Remove vestiges of <input type="browse">. Bug 242873, r+sr=peterv 2004-05-11 18:16:41 +00:00
jst%mozilla.jstenback.com 99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
rbs%maths.uq.edu.au 00679fd3c6 Fix the inconsistent behavior of the caret on text controls when their readonly attribute is changed, b=235294, r+sr=bzbarsky 2004-05-05 22:48:51 +00:00
roc+%cs.cmu.edu cc6fdc52b2 Bug 232540. List controls should not scroll an item into view if it is only outside the list in the horizontal direction. 2004-05-05 02:49:57 +00:00
roc+%cs.cmu.edu 47ce3369a5 Backing out the part of the patch that was incorrectly checked in. 2004-05-05 02:48:53 +00:00
roc+%cs.cmu.edu a6dd695671 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared 2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu b39d104f02 No bug. Remove unused code and variables from nsListControlFrame. rs=shaver 2004-05-04 04:30:23 +00:00
bzbarsky%mit.edu 1c4ef3efa1 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
2004-05-02 22:14:49 +00:00
kyle.yuan%sun.com 53bcc60239 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
2004-04-28 09:29:10 +00:00
tor%cs.brown.edu 868dd94ecb Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
jst%mozilla.jstenback.com 6a9d89a9fa 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 2004-04-21 23:38:22 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu 83eb215db9 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
varga%nixcorp.com 2cd056deb1 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
rbs%maths.uq.edu.au 759d9ab5d3 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 2004-04-15 19:45:46 +00:00
bzbarsky%mit.edu 14c6b02ec5 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
2004-04-14 02:05:52 +00:00
roc+%cs.cmu.edu 17f81274ba Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky 2004-04-13 03:11:05 +00:00
bzbarsky%mit.edu ddb373de3c Fix MSVC.net bustage. Bug 236956, r+sr+a=dbaron 2004-03-12 16:51:26 +00:00
dbaron%dbaron.org 41c16857c2 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu 8397ac8d8f Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
roc+%cs.cmu.edu e6f646d474 Bug 236438. Make nsImageControlFrame translate its event point properly even if it has no view 2004-03-06 04:48:15 +00:00
bryner%brianryner.com ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
roc+%cs.cmu.edu 87b13e8430 Bug 53966. Remove unnecessary view creation from nsImageControlFrame, and remove unused fields and functions from nsImageControlFrame/nsHTMLButtonControlFrame. r+sr=bzbarsky 2004-02-28 15:01:38 +00:00
bryner%brianryner.com ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
kairo%kairo.at 5f250d223d bug 234014 - Use the XUL preprocessor for build-time inserting of skinVersion strings, r=bsmedberg, sr=peterv 2004-02-27 11:54:28 +00:00
bryner%brianryner.com 225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
bryner%brianryner.com 5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu 2aff301e81 Don't lie about our scrollable view, and don't claim to have one if we're not
scrollable.  Bug 209807, r+sr=roc
2004-02-19 23:04:51 +00:00
bzbarsky%mit.edu c0de956a63 Fire onchange event when a file is selected from the filepicker. Bug 67873,
r+sr=peterv
2004-02-19 22:13:47 +00:00
bryner%brianryner.com 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
sicking%bigfoot.com d5a23a72e6 Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst
2004-02-11 00:38:12 +00:00
bryner%brianryner.com 433c389ddf Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
kairo%kairo.at 3d12a17e05 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 2004-02-04 14:24:38 +00:00
bryner%brianryner.com 4f69ec2c2e 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. 2004-02-02 22:17:21 +00:00
bryner%brianryner.com 42adb9f1be 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 2004-02-01 10:09:07 +00:00
roc+%cs.cmu.edu ee86ab45fb Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron 2004-01-30 03:20:41 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bryner%brianryner.com bc74f0b352 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. 2004-01-28 00:18:22 +00:00
bryner%brianryner.com ef5c330583 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. 2004-01-21 09:35:59 +00:00
bzbarsky%mit.edu bda404c023 Make button baselines take into account the vertical centering we do. Bug
231574, r+sr=dbaron
2004-01-20 23:57:40 +00:00
peterv%propagandism.org 8f4e566b42 Miscellaneous cleanup. r/sr=jst. 2004-01-18 14:53:32 +00:00
peterv%propagandism.org 379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bzbarsky%mit.edu a9bb3673d1 Don't crash if the file input's frame is destroyed while the filepicker is up.
Bug 230998, r+sr=dbaron
2004-01-18 04:35:54 +00:00
bryner%brianryner.com 2bddef83ba 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. 2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bryner%brianryner.com 0286fde9c1 Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron. 2004-01-09 22:18:26 +00:00
roc+%cs.cmu.edu e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com dfe3513814 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. 2003-12-21 05:36:36 +00:00
dbaron%dbaron.org 352509b071 Account for 1 twip width of BR when computing the size of textareas. b=228752 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=brendan 2003-12-18 06:06:00 +00:00
jst%mozilla.jstenback.com 4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
bzbarsky%mit.edu acf7c89bca Make sure to properly delegate all framelist updates to our anonymous div. Bug
226016/98239, r+sr=dbaron
2003-11-18 02:12:24 +00:00
bzbarsky%mit.edu bb59181099 Don't clear previous selection when range is extended using shift-ctrl-click.
Bug 112281, r+sr=roc
2003-11-15 04:23:53 +00:00