rods%netscape.com
cdc9d9dd89
Change getters of widgets to nsCOMPtrs to get rid of leaks.
...
Bug 129933 r=dcone sr=attinasi a=roc
git-svn-id: svn://10.0.0.236/trunk@116394 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 14:16:57 +00:00
badami%netscape.com
229bfc35d1
Newlines in links should be stripped when selecting "Copy Link Location"
...
bug 77522 r=harishd sr=jst a=asa patch=tmutreja@netscape.com
git-svn-id: svn://10.0.0.236/trunk@116370 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 05:29:31 +00:00
aaronl%netscape.com
aab415c282
Fixes bug 66597, bug 103284, bug 114440, bug 120023, bug 128741, bug 19259. Cleans up browse with caret, makes it work with XML content docs, creates keyboard toggle for it (Accel+shift+K), synchronizes focus and document selection so that users can tab navigate relative to their last find or click in text, or vice versa, makes tabbing move relative to named anchor that has been jumped to. r=bryner, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116297 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:21:48 +00:00
dbaron%fas.harvard.edu
564273d1d2
Fix top theme switching crash by clearing the outliner's style caches from DidSetStyleContext instead of FlushMiscWidgetInfo. b=116038 sr=hyatt r=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116103 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 23:48:26 +00:00
roc+%cs.cmu.edu
47f375d504
Bug 35274. Make event handling in layout respect clipping. r=dbaron,sr=attinasi,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116038 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 07:03:03 +00:00
bryner%netscape.com
01634657fa
- 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.
git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
alecf%netscape.com
f85a67075e
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
git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
attinasi%netscape.com
773c19b934
Prevent crash by checking for null frameManager before deref. in UnsuppressAndInvalidate. r=alexsavulov sr=hyatt b=121822
...
git-svn-id: svn://10.0.0.236/trunk@114451 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:15:40 +00:00
kin%netscape.com
9d69384546
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
git-svn-id: svn://10.0.0.236/trunk@113914 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:39:15 +00:00
cathleen%netscape.com
ec77313291
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
pierre%netscape.com
1617fcb71c
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
git-svn-id: svn://10.0.0.236/trunk@112069 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 14:47:21 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
dbaron%fas.harvard.edu
307538c3e3
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
...
git-svn-id: svn://10.0.0.236/trunk@111960 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 20:10:46 +00:00
brade%netscape.com
5028888db3
remove unused statics kCRangeCID, kCClipboardCID, kCTransferableCID, and kHTMLConvertCID for savings of 64 bytes (bug 117927; rs=glazou)
...
git-svn-id: svn://10.0.0.236/trunk@111705 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:52:36 +00:00
aaronl%netscape.com
d7044d9fdc
Last part of fix for bug 118633 - null frame checks. r=jgaunt, sr=hewitt
...
git-svn-id: svn://10.0.0.236/trunk@111659 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 10:53:57 +00:00
dbaron%fas.harvard.edu
b7194a0ea8
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
...
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
rods%netscape.com
2ca048b06c
Putting changes back in. This wasn't the cause of the slower page loads
...
git-svn-id: svn://10.0.0.236/trunk@111296 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 13:23:47 +00:00
rods%netscape.com
38b0c7a252
Partial back of check to look for bloat
...
git-svn-id: svn://10.0.0.236/trunk@111295 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 11:28:48 +00:00
rods%netscape.com
ee8a5e4640
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
git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
bnesse%netscape.com
d480efe403
Fix for smoketest blocker bug 116410. Fix loop so it increments when deleting objects. r=rbs, sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@110994 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 22:15:16 +00:00
rjesup%wgate.com
15d98882e8
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
waterson%netscape.com
ae88e7f967
Bug 105927. Add #define to turn off the PresShell's arena for trace-malloc debugging. sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@110933 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 00:16:26 +00:00
heikki%netscape.com
647802449c
Bug 74800, implemented FIXptr. r=harishd, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@110858 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 05:15:52 +00:00
hyatt%netscape.com
3ac0490077
fix for 115787, better handling of <style> blocks (avoid reframing) and alternate stylesheets, r=jag, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110764 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 01:06:27 +00:00
mjudge%netscape.com
a4539a7841
smoketest fix 115791
...
git-svn-id: svn://10.0.0.236/trunk@110728 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 21:05:55 +00:00
hyatt%netscape.com
2853f4c2fd
back out the portion of my patch that is guilty of causing the orange (bug 115787
...
git-svn-id: svn://10.0.0.236/trunk@110701 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 08:10:49 +00:00
mjudge%netscape.com
20a1185b2b
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
...
git-svn-id: svn://10.0.0.236/trunk@110680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:29:49 +00:00
waterson%netscape.com
ac235050c2
Bug 115113, redux. Fix some whitespace botches.
...
git-svn-id: svn://10.0.0.236/trunk@110650 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:54:28 +00:00
hyatt%netscape.com
f9a19ba7cd
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
waterson%netscape.com
b6978c3e09
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
576ec93128
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
sfraser%netscape.com
d35e1fa18c
Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110496 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:13:08 +00:00
karnaze%netscape.com
d8577654db
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
bryner%netscape.com
fe65cc7a56
Fixing compile warnings. r=akkana, sr=ben.
...
git-svn-id: svn://10.0.0.236/trunk@109948 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:57:56 +00:00
dbaron%fas.harvard.edu
d3f3cc3a7b
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
...
git-svn-id: svn://10.0.0.236/trunk@109818 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:45:07 +00:00
roc+%cs.cmu.edu
35e1d479ea
Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
bryner%netscape.com
955fa48f3d
Bug 41119 - Don't waste time notifying the frame manager about frame destruction if it is happening from nsFrameManager::Destroy. r=dbaron, sr=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@109419 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:22:00 +00:00
bryner%netscape.com
293eacef9a
Bug 87490 - focus goes dead if the focused content is removed. r=saari, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@109148 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:04:31 +00:00
roc+%cs.cmu.edu
fce7355cf6
My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
...
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5
View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
bzbarsky%mit.edu
93de6ccf63
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
git-svn-id: svn://10.0.0.236/trunk@108656 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 03:06:19 +00:00
timeless%mac.com
7b921259da
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
git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
jst%netscape.com
ded5cf4b76
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
...
git-svn-id: svn://10.0.0.236/trunk@108426 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-18 06:04:17 +00:00
bzbarsky%mit.edu
068756d821
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
pierre%netscape.com
0ef28aebb3
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.
...
git-svn-id: svn://10.0.0.236/trunk@107446 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 10:04:05 +00:00
attinasi%netscape.com
11481ea927
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
...
git-svn-id: svn://10.0.0.236/trunk@107407 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:44:20 +00:00
rods%netscape.com
1100db8190
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
git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
jst%netscape.com
8360b93aa5
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
...
git-svn-id: svn://10.0.0.236/trunk@106922 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 04:42:57 +00:00
rbs%maths.uq.edu.au
410c9e51f2
bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@106728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:58:00 +00:00