jkeiser%netscape.com
24891ed355
Backing out 108308 due to pageload spike
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
7ad9388e68
Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
2002-03-29 05:35:47 +00:00
dbaron%fas.harvard.edu
43acd755dd
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
dbaron%fas.harvard.edu
95771efc1f
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:26:36 +00:00
attinasi%netscape.com
c58b010410
Be sure to initialize out-param no matter what. b=127360 r=aaronl sr=brendan a=asa (drivers)
2002-03-19 00:32:41 +00:00
dbaron%fas.harvard.edu
594643207c
Remove obsolete NEW_CONTEXT_PARENTAGE_INVARIANT ifdefs, and add a few bits of debugging code. b=120888 sr=attinasi r=bzbarsky a=asa
2002-03-16 15:26:56 +00:00
karnaze%netscape.com
1c7d65563f
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
2002-03-12 15:21:35 +00:00
aaronl%netscape.com
1c26ad6bf0
Bug 129628. Crash in nsFrameManager::Destroy. r=dbaron, sr=shaver, a=asa
2002-03-10 06:47:42 +00:00
shaver%mozilla.org
9741f3f2e0
reversion of patch for 92868, to repair severe regression (129827, a=drivers
2002-03-10 06:16:01 +00:00
karnaze%netscape.com
82d9323758
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
2002-03-08 15:34:33 +00:00
dbaron%fas.harvard.edu
14ec465e0d
Fix invalid optimization that prevented style changes on inline elements that caused a reflow from applying to more than the first line. b=98783 r=attinasi sr=hyatt
2002-02-16 16:31:49 +00:00
dbaron%fas.harvard.edu
b3b11b7aec
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
dbaron%fas.harvard.edu
14dbf6e625
Fix tabbing through image maps and fix Windows crash right-clicking on image maps by reverting my changes to nsImageMap from bug 110911 and by giving the primary frame map larger entries to accomodate mapping from a content node to a frame with a different |mContent|. b=115481, 114377 r=bryner sr=attinasi
2002-01-05 15:22:52 +00:00
hyatt%netscape.com
d4065d8e54
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
2001-12-17 22:51:39 +00:00
dbaron%fas.harvard.edu
865670347d
Fix blocker bug 114675 with null check around assertion code that I meant to check in yesterday (bug 114220).
2001-12-11 19:16:15 +00:00
dbaron%fas.harvard.edu
27373573f5
Backing out changes I didn't mean to check in.
2001-12-11 05:41:43 +00:00
dbaron%fas.harvard.edu
18f72ed21d
Prevent input elements from adding frames back into the primary frame map during their destruction (and leaving the map with dangling pointers) by passing the frame to functions that will be called during frame destruction to avoid calls to GetPrimaryFrameFor that will repopulate the primary frame map. b=114220 r=jkeiser sr=jst
2001-12-11 05:39:36 +00:00
dbaron%fas.harvard.edu
1266d06230
Changing noisy warning I added yesterday from |#ifdef DEBUG| to |#ifdef DEBUG_dbaron|. b=110911 / 113810
2001-12-06 19:53:37 +00:00
dbaron%fas.harvard.edu
1be6acf636
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
bryner%netscape.com
297e61ccb9
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
hyatt%netscape.com
b69ed06ca6
Perf and footprint opt. Make style re-resolution cheaper. r=glazou, sr=hewitt, bug 109261
2001-11-14 08:19:13 +00:00
jst%netscape.com
5bf2cf4e7e
Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
2001-11-02 07:40:01 +00:00
dbaron%fas.harvard.edu
7980da516a
Ensure that we don't re-resolve placeholders to the style context that should be on their out-of-flow frame. Fixes autocomplete popup. b=107744 r=waterson sr=hyatt
2001-11-02 04:14:58 +00:00
dbaron%fas.harvard.edu
10e3bbbb58
Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
2001-10-30 06:02:05 +00:00
alecf%netscape.com
acf2e9816a
two more nsUnicharUtils.h stragglers, I think I got r=jag, sr=scc on these in a previous patch - again for bug 100214
2001-10-26 17:51:22 +00:00
jst%netscape.com
35f09ff982
No need to be this paranoid, checking for pointers being null once is enough! Checking twise in a row is just overkill.
2001-10-26 03:31:49 +00:00
dbaron%fas.harvard.edu
75d32bb579
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
hyatt%netscape.com
0214ac3fdb
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
dougt%netscape.com
5fe12c09e7
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
2001-10-23 01:37:21 +00:00
dbaron%fas.harvard.edu
34fc404be7
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
2001-10-16 03:53:44 +00:00
vidur%netscape.com
338e3871f8
Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts
2001-09-29 17:50:15 +00:00
waterson%netscape.com
885df97ac4
Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt
2001-09-12 20:19:41 +00:00
bryner%netscape.com
67f6aa83cb
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
2001-08-17 08:14:14 +00:00
pollmann%netscape.com
0e7a2eacd9
Bug 93972: Don't save form control values in session history if they have an autocomplete attribute set to off, or if their containing form has an autocomplete attribute set to off. This is accomplished by returning an empty 'state key' which indicates that the state should not be stored in session history's hash table. r/sr=jst@netscape.com,vidur@netscape.com
2001-08-16 07:18:24 +00:00
cls%seawood.org
8405a1984e
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
pavlov%netscape.com
b72c324af1
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
hyatt%netscape.com
04fb853f1a
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +00:00
hyatt%netscape.com
a7ba2a86d2
Fixes for 80512 and 83707. r=blake, sr=waterson, a=asa
2001-06-04 00:22:43 +00:00
hyatt%netscape.com
2bf7260d28
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
pollmann%netscape.com
3cd44086a1
Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
2001-05-30 11:26:21 +00:00
waterson%netscape.com
7979b6163f
Bug 79508. If the computed style change is going to cause a reflow (or worse), then don't touch any continuing frames. This keeps us from queuing an incremental reflow to a continuation, but is not ideal (e.g., there may be cases where we don't properly recompute the style contexts for continuations). r=rbs, sr=attinasi
2001-05-23 06:39:34 +00:00
waterson%netscape.com
9bd2e82ac0
Bug 76407. Handle second CantRenderReplacedElement() request for same frame: check to see if we've already posted an event for the frame. r=dbaron, sr=attinasi, a=chofmann
2001-04-24 00:05:33 +00:00
erik%netscape.com
a7135c5aab
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:29:00 +00:00
dbaron%fas.harvard.edu
34b9bbc1ff
Remove attempted workaround for CantRenderReplacedElement crash that didn't fix the crash (which is now fixed the right way).
...
Clean up the FrameManager a bit, mainly by moving the destruction of the frame tree into the |Destroy| method rather than doing it in the destructor. This would make it safer to convert nsIFrameManager to IDL and use the frame manager from JS. It also reduces the risk of leaks caused by having something owned by a frame own the frame manager. Breaking cycles in a destructor can be risky because the objects entrained by the cycle could include the object whose destructor would break the cycle.
b=65800 r=waterson@netscape.com sr=attinasi@netscape.com
2001-03-06 01:46:03 +00:00
pollmann%netscape.com
ee4184638f
Bug 62713: Only save scroll position in SH if offset from origin, only put entries in state table if state was created, cleanups, r=jst@netscape.com, sr=vidur@netscape.com
2001-02-06 02:32:04 +00:00
hyatt%netscape.com
90b8800096
Fix for 55292, r=ben, sr=brendan
2001-02-02 00:54:47 +00:00
dbaron%fas.harvard.edu
7a97a55d82
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
buster%netscape.com
b0da06ecfa
bug 56432 ()
...
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson
2001-01-16 22:10:04 +00:00
rods%netscape.com
c81b2c3b26
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
attinasi%netscape.com
97216875d7
Fixes regression due to Style Data sharing: forcing shared contexts to be unique now when they have to be reresolved. b=63118 r=karnaze@netscape.com a=buster@netscape.com
2000-12-21 22:16:38 +00:00