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

514 Коммитов

Автор SHA1 Сообщение Дата
roc+%cs.cmu.edu f1ceb9bb57 Bug 35274. Make event handling in layout respect clipping. r=dbaron,sr=attinasi,a=asa 2002-03-07 07:03:03 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
alecf%netscape.com 66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
attinasi%netscape.com ab06887193 Prevent crash by checking for null frameManager before deref. in UnsuppressAndInvalidate. r=alexsavulov sr=hyatt b=121822 2002-02-14 00:15:40 +00:00
kin%netscape.com d38cee3cd4 Fix for bug 83650 (textarea control has problems with caret positioning at end)
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).

  - Added new utility method GetOriginToViewOffset().

  - Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
    and nsContainerFrame::GetFrameForPointUsing() to factor in the
    offset from GetOriginToViewOffset() to insure that the point
    used is always transformed into the correct coordinate system.

Files modified:

    mozilla/layout/base/public/nsIFrame.h
    mozilla/layout/html/base/src/nsContainerFrame.cpp
    mozilla/layout/html/base/src/nsFrame.cpp
    mozilla/layout/html/base/src/nsFrame.h
    mozilla/layout/html/base/src/nsPresShell.cpp
    mozilla/layout/xul/base/src/nsBoxFrame.cpp

r=kmcclusk@netscape.com  sr=sfraser@netscape.com
2002-02-07 22:39:15 +00:00
cathleen%netscape.com 740d95a0a9 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
pierre%netscape.com 80235c2988 103594 "Clean up colors prefs code in nsPresShell". Remove PREFS_USE_OVERRIDE, insert the pref sheet at the
beginning of the User level. r=glazman+fantasai/sr-attinasi
2002-01-14 14:47:21 +00:00
cathleen%netscape.com 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
dbaron%fas.harvard.edu e47cc4c2bc Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson 2002-01-11 20:10:46 +00:00
brade%netscape.com 3df6d9fabb remove unused statics kCRangeCID, kCClipboardCID, kCTransferableCID, and kHTMLConvertCID for savings of 64 bytes (bug 117927; rs=glazou) 2002-01-09 15:52:36 +00:00
aaronl%netscape.com ba57004bb5 Last part of fix for bug 118633 - null frame checks. r=jgaunt, sr=hewitt 2002-01-09 10:53:57 +00:00
dbaron%fas.harvard.edu c9c0a97163 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
rods%netscape.com a12766a2da Putting changes back in. This wasn't the cause of the slower page loads 2002-01-03 13:23:47 +00:00
rods%netscape.com 851e639512 Partial back of check to look for bloat 2002-01-03 11:28:48 +00:00
rods%netscape.com 7929b953f5 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
bnesse%netscape.com e90f24b6a7 Fix for smoketest blocker bug 116410. Fix loop so it increments when deleting objects. r=rbs, sr=sfraser. 2001-12-21 22:15:16 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
waterson%netscape.com 7b1f9fa7da Bug 105927. Add #define to turn off the PresShell's arena for trace-malloc debugging. sr=attinasi 2001-12-21 00:16:26 +00:00
heikki%netscape.com db89a9ce21 Bug 74800, implemented FIXptr. r=harishd, sr=vidur. 2001-12-20 05:15:52 +00:00
hyatt%netscape.com 423d4f12bf fix for 115787, better handling of <style> blocks (avoid reframing) and alternate stylesheets, r=jag, sr=waterson 2001-12-19 01:06:27 +00:00
mjudge%netscape.com 3a7ddd351a smoketest fix 115791 2001-12-18 21:05:55 +00:00
hyatt%netscape.com 80bbf81569 back out the portion of my patch that is guilty of causing the orange (bug 115787 2001-12-18 08:10:49 +00:00
mjudge%netscape.com 2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
waterson%netscape.com 2c5c5fcc04 Bug 115113, redux. Fix some whitespace botches. 2001-12-17 22:54:28 +00:00
hyatt%netscape.com 0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
waterson%netscape.com 854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
sfraser%netscape.com 8e1bfdb0a7 Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:13:08 +00:00
karnaze%netscape.com 748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
bryner%netscape.com ff84d405a3 Fixing compile warnings. r=akkana, sr=ben. 2001-12-07 01:57:56 +00:00
dbaron%fas.harvard.edu c3d6b55ca5 Remove nsDST and convert its users (PresShell::mSubShellMap, FrameManager::mPrimaryFrameMap, and FrameManager::PropertyList::mFrameValueMap) to PLDHash. Also convert FrameManager::mPlaceholderMap to PLDHash. Give image map area structures a pointer back to their image frame rather than (mis)using the primary frame map. Change API for changing placeholder map to reflect hash entry that accesses key through value by passing only the value and not the key. Give the root frame a proper mContent. b=110911 r=attinasi sr=brendan 2001-12-06 05:45:07 +00:00
roc+%cs.cmu.edu c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
bryner%netscape.com 7e8137a340 Bug 41119 - Don't waste time notifying the frame manager about frame destruction if it is happening from nsFrameManager::Destroy. r=dbaron, sr=waterson. 2001-12-01 00:22:00 +00:00
bryner%netscape.com e73da929bd Bug 87490 - focus goes dead if the focused content is removed. r=saari, sr=hyatt. 2001-11-29 00:04:31 +00:00
roc+%cs.cmu.edu c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu 04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
bzbarsky%mit.edu cc547c0ce0 Fix scrolling to a frame when the frame is in an abs. pos. element
that's not the scrollable view.  Bug 111081, r=jkeiser, sr=jst
2001-11-21 03:06:19 +00:00
timeless%mac.com 060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
jst%netscape.com 178be4198d Fixing part of bug 62536. Make element.scrollHeight and scrollWidth work correctly and making element.scrollIntoView() work even for elements inside nested scrollable views. r=hidday@geocities.com, jkeiser@iname.com, sr=attinasi@netscape.com 2001-11-18 06:04:17 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
pierre%netscape.com 3da4d257d9 Checked in for fantasai@escape.com. Bug 43220 "author !important rules override user !important rules in user.css". Add User sheets. Rename Backstop sheets into UserAgent. Fix cascading order. r=pierre/sr=hyatt. 2001-11-06 10:04:05 +00:00
attinasi%netscape.com 94f3ab9a20 Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt 2001-11-06 01:44:20 +00:00
rods%netscape.com 37a4501149 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
jst%netscape.com b5981c37b3 Fixing bug 103904. Don't let pref change callbacks run wild on documents that are partially torn down already. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2001-11-01 04:40:59 +00:00
rbs%maths.uq.edu.au 32cf016db5 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi 2001-10-30 22:58:00 +00:00
dbaron%fas.harvard.edu 94cefc7b1c Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson 2001-10-26 05:12:25 +00:00
dbaron%fas.harvard.edu 6e86902faa Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson 2001-10-26 05:06:07 +00:00
dbaron%fas.harvard.edu 02f3a2d769 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
jaggernaut%netscape.com c5366ed44f This nsAString& really deserves to be const. r=dbaron 2001-10-24 06:11:02 +00:00