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

5173 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com a5e197eace r=kipp@netscape.com Moved ownership of root frame (and frame hierarchy) over to
the frame manager
1999-10-18 22:20:37 +00:00
rods%netscape.com 64684fc9a3 Links will now scroll into view when they get focus and anchors now respond
to the .focus call from script. r=kmcclusk, Bug #15198
1999-10-18 21:49:38 +00:00
rods%netscape.com 5c139a65a1 Move code to handle focus event into the correct switch statement
r=kmcclusk, bug 7133
1999-10-18 21:47:31 +00:00
troy%netscape.com 6b4f6dbd3b Removed delete operators (they had no implementation, they were private so
they wern't accidently called), because HP compiler generated an error if
new operator was public but delete operator was private
1999-10-18 20:16:49 +00:00
troy%netscape.com f8566a0efb b=16615. Two line change. Added check for case of root node being a leaf.
The rest of the changes are NOT yet in use. They willbe reviewed by Kipp before
they're turned on
1999-10-18 19:02:09 +00:00
troy%netscape.com a0b9c5845c b=16652, r=troy@netscape.com
Patch from Johnny Stenback that breaks a weak link reference
1999-10-18 19:00:49 +00:00
karnaze%netscape.com 67538f07ec added #ifdef for debug printing. 1999-10-18 13:48:19 +00:00
karnaze%netscape.com a5e6b0502a bug 15958(partial) - uses mComputedWidth instead of availableSize.width. r=buster; asked hook for permission, got no response. 1999-10-18 13:47:01 +00:00
karnaze%netscape.com c6317a41b4 bug 15993 - in quirks mode allocates space for a 1 pixel border if the content is empty and the table has a border. It was incorrectly, doing this even if the content was not empty. r=buster; asked permission from hook and got no response. 1999-10-18 13:45:41 +00:00
karnaze%netscape.com 486b3db316 new regression tests. does not affect build. 1999-10-17 23:26:02 +00:00
karnaze%netscape.com ff810222da new regression test, doesn't affect build. 1999-10-17 21:46:13 +00:00
karnaze%netscape.com ab7db6cc60 new regression test. does not affect code. 1999-10-17 05:17:41 +00:00
karnaze%netscape.com 7ae2b118d8 new regression test 1999-10-17 03:42:37 +00:00
troy%netscape.com 14ee1a1932 r=karnaze@netscape.com Cc'd hyatt@netscape.com
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
karnaze%netscape.com d26165e530 bug 11321 - Renamed kidMaxElementSize to localKidMaxElementSize and renamed pKidMaxElementSize to kidMaxElementSize and fixed the incorrect usage. 1999-10-17 03:17:53 +00:00
karnaze%netscape.com 4df052cd47 bug 11321 - the frame constructor sets the primary frame when an anonymous table or row group frame is involved. 1999-10-17 03:15:13 +00:00
rickg%netscape.com 230bcb8c24 WIP bug13536; r=peterl; this code is not used yet 1999-10-16 18:22:24 +00:00
troy%netscape.com 43e1137d33 Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
1999-10-16 16:17:07 +00:00
karnaze%netscape.com 07b28b0fdf added 2 additional file lists to regression tests to work around new javascript bug. 1999-10-16 05:26:22 +00:00
peterl%netscape.com 1634c730fd Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
troy%netscape.com 6e47ab221b Added some new code that's not in use yet 1999-10-16 00:55:48 +00:00
rickg%netscape.com 8bdd92edf1 WIP for bug13536; r=plinss 1999-10-16 00:39:24 +00:00
kipp%netscape.com ad778d6889 r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
kipp%netscape.com 88cf2d89c8 r=troy; fixed bug 7093 by carefully pre-computed the collapsed top margin before reflowing the child block and then using that value to properly acquire the available space; In addition, I had to fix an incremental reflow bug associated with this problem 1999-10-15 23:35:10 +00:00
kipp%netscape.com df637716d1 Wiped out another warning 1999-10-15 23:29:21 +00:00
kipp%netscape.com f1de715e5e new 1999-10-15 23:25:02 +00:00
peterl%netscape.com 757c0b5f01 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com dd4552d22a Changed reported namespace of attributes from HTML to None.
r=vidur
Also added namespace ID to the AttributeChanged method
Part of the fix for Bug 15153
r=troy
1999-10-15 23:15:17 +00:00
peterl%netscape.com 65ccea28a4 Added code to detect generated content that depends on attributes and reflow when the attribute changes
Fix for Bug 15153
r=pierre
Also added namespace ID to the AttributeChanged method
r=troy
1999-10-15 23:14:44 +00:00
troy%netscape.com 113e2f5178 Added some new code that isn't being used 1999-10-15 22:53:24 +00:00
kipp%netscape.com 0d3284929f Nuke some more warnings 1999-10-15 21:18:32 +00:00
kipp%netscape.com 96a343d96c Eliminate need for networked loaded images 1999-10-15 19:44:09 +00:00
kipp%netscape.com 019d25a0ef nuked 1999-10-15 16:58:21 +00:00
buster%netscape.com 9d23a1dcea bug 12221 [Dogfood] Gfx text controls need to notify on mouse events
r=rods@netscape.com
also did some associated performance work, factoring code and collapsing multiple listener
objects down to 1.  This saves a few allocations and about 60 bytes per text control.

bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:38:29 +00:00
buster%netscape.com a43629a285 bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:37:06 +00:00
buster%netscape.com cd84903c09 bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:36:23 +00:00
buster%netscape.com 27c06f0a19 no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
trivial change, no reviewer.
1999-10-15 13:34:45 +00:00
rods%netscape.com f83fa03f9d Fixed focus processing, this new code is very close to version 1.54 but more robust,
this fixes bug #7133. It has been compiled and tested on Win, Mac, and Linux.
r=buster,dcone
1999-10-15 13:20:32 +00:00
hyatt%netscape.com 91b6e1598b Fix for 16479. r=waterson 1999-10-15 07:54:43 +00:00
kin%netscape.com 2c6c5d65d1 Fix for bug #15360: Drag Selecting, Clicking, then Clicking leaves caret cruft.
r=troy@netscape.com,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com

layout/html/base/src/nsGfxScrollFrame.cpp
    - Renamed all occurrences of ScrollPositionChanged() to
      to ScrollPositionDidChange() to match changes made
      to nsIScrollPositionListener.
    - Added ScrollPositionWillChange() stub method.

layout/html/base/src/nsPresShell.cpp
    - Added PresShellViewEventListener class that implements the
      nsIScrollPositionListener and nsICompositeListener view
      interfaces. This allows us to turn caret rendering on and off
      when scrolling and repainting to prevent leaving caret cruft
      on the screen.
    - PresShellViewEventListener is created in InitialReflow(), and
      released in ~PresShell().

view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
    - Added nsICompositeListener to list of files to be exported.

view/public/nsICompositeListener.h
    - New file. Implementers of this interface can register themselves
      with the view manager to receive notification before and after
      a view is composited/refreshed.

view/public/nsIScrollPositionListener.h
    - Added a ScrollPositionWillChange() method.
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().

view/public/nsIViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener methods.

view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
    - Added NotifyScrollPositionWillChange() and
      NotifyScrollPositionDidChange() methods.
    - Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
      methods. Added temporary offsetX and offsetY variables to allow us
      to calculate new offsets without changing mOffsetX and mOffsetY before
      notifications are sent out.

view/src/nsScrollPortView.cpp
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().
    - Modified ScrollTo() to call the listener's ScrollPositionWillChange()
      method.

view/src/nsViewManager.cpp
view/src/nsViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener() methods.
    - Added support for CompositeListener notifications in the Refresh()
      methods for regions and rects.
    - Fix for bug #15901: [DOGFOOD] Selected text does not clear when you type
      Modified UpdateView() so that rects with zero width and height are
      no longer added to our damage region.
      r=beard@netscape.com
1999-10-15 04:29:30 +00:00
karnaze%netscape.com af1a63e33f new regression test. 1999-10-15 04:29:09 +00:00
karnaze%netscape.com 7c57ea6ff0 pass2 reflow doesn't request max element sizes to help with bug 14855. Reviewers didn't respond. 1999-10-15 04:09:22 +00:00
troy%netscape.com 9c8c55333f Patch from jst@citec.fi r=troy@netscape.com
Part of a fix for crash when expanding/collapsing toolbars. Change to
DeletingFrameSubtree() to make sure it examines the additional child
list as well as the principal child list
1999-10-15 03:37:10 +00:00
troy%netscape.com 04abe430df Space savings. r=kipp@netscape.com
Re-implemented DST code to use separate objects for leaf nodes and
internal nodes. This reduces the per node size from 16 bytes to (on
average) 13 bytes per node
1999-10-15 03:18:28 +00:00
troy%netscape.com 688c155440 Space savings. r=karnaze@netscape.com Cc'd hyatt@netscape.com
Eliminated member data mIsContentEmpty and now we use a frame state bit
instead. This saves 4 bytes of space per table cell frame
1999-10-15 03:14:59 +00:00
peterl%netscape.com 31e48e3bdc moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
no bug #
r=pierre
1999-10-15 02:11:09 +00:00
mjudge%netscape.com 9cf7094f5f oops. for got to check this in last time. bug number is 14795 1999-10-14 23:52:42 +00:00
kmcclusk%netscape.com 601d5e377d Set vertical-align:baseline for input[type=image] to make it compatible with Nav 4.x
bug #16370; r=rods@netscape.com
1999-10-14 23:48:02 +00:00
pollmann%netscape.com 7c60c9a28d Bugs 16450, 11979, 16576: Add back a CRLF I took out of the form post headers; r=harishd 1999-10-14 23:47:08 +00:00
kmcclusk%netscape.com 2122c10911 When submitting a form using a "get" method only add the ? if the href does not end in a ?.
bug #16137 r=rods@netscape.com
1999-10-14 23:45:02 +00:00
kmcclusk%netscape.com 8216078009 Return the value of the option element value attribute if it is present otherwise return
the content of the option. bug #16158. r=rods@netscape.com
1999-10-14 23:41:40 +00:00
pepper%netscape.com 4655f53a5f Changed friend declaration to make HP compilers happy.
aCC requires a decl of friend class ClassName instead of friend ClassName.
r=peterl@netscape.com,mgleeson@netscape.com
1999-10-14 23:31:07 +00:00
kipp%netscape.com 540d7bc136 r=Tomi.Leppikangas@oulu.fi; landed his patch for solaris build issues 1999-10-14 23:11:44 +00:00
kipp%netscape.com 5bf72a1120 Fixed edge case where line bounds wasn't quite accurate which causes the combined rect to not match which now wastes memory; only affects right aligned lines 1999-10-14 23:10:59 +00:00
kipp%netscape.com ec14991303 r=troy; Reworked nsLineBox api to allow for reduced storage overhead; fixed bug 16252 while keeping bug 12709 fixed 1999-10-14 23:10:03 +00:00
kipp%netscape.com 444b9e431c r=troy; Use a custom frame type so that bullets show up properly in the frame sizing data 1999-10-14 23:08:58 +00:00
kipp%netscape.com 6afbea515b Added a new table regression test 1999-10-14 22:58:41 +00:00
ftang%netscape.com bd9000ea54 landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
rods%netscape.com 65cddaa40f This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone 1999-10-14 14:55:08 +00:00
tbogard%aol.net 3b567a8691 Fixed a number of incorrect assumptions of the attribute retrieval so it would now work with the of new XUL content nodes (iframe, browser, editor). r=hyatt. 1999-10-14 10:58:04 +00:00
tbogard%aol.net 49c910aa7a Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt. 1999-10-14 10:55:24 +00:00
troy%netscape.com a71b08f611 b=15388,15408 r=peterl@netscape.com
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height
1999-10-14 04:56:50 +00:00
troy%netscape.com 8f6a874ca9 b=16238. Fix discussed with evaughan@netscape. One line change to make sure
the default area frame flag of NS_BLOCK_SPACE_MGR is used for scrolled
elements
1999-10-14 04:47:18 +00:00
troy%netscape.com dde4d695d7 Space reductions for nsTableFrame. r=karnaze@netscape.com and changes Cc'd to
Hyatt. Tested extensively in apprunner (now mozilla). Change was to reduce from
10 to 5 the default size of the mColumnWidths array (note that the array is
dynamically grown if necessary). This reduces by 20 bytes the minimum table
frame size
1999-10-14 04:27:01 +00:00
karnaze%netscape.com 48636f76cd bug 15247 - ComputeAvailableTableWidth accounts for margins 1999-10-14 04:03:20 +00:00
karnaze%netscape.com 17bd205286 cells with width=0 become auto, added comments 1999-10-14 04:01:26 +00:00
karnaze%netscape.com 777ed186ad new regression tests 1999-10-14 03:59:42 +00:00
peterl%netscape.com e9c78ceb0d moved style rule cascading logic into a stand-alone rule processor
the rule processor can now cascade rules from multiple style sheets
fix for bug 12401 & 12106
r=pierre
1999-10-14 00:59:21 +00:00
peterl%netscape.com f479d5d074 factored out parsing of style attribute
deferred parsing of style attribute until content
is connected to a document
Fix for bug 14986
r=vidur
1999-10-14 00:57:37 +00:00
karnaze%netscape.com 6603bb1392 bug 11026 - AllocateUnconstrained was off by 1 twip in some cases. bug 14159 - cell is not fixed width if an auto cell in the same col has a larger desired size for backward compatibilty. 1999-10-13 14:44:22 +00:00
karnaze%netscape.com 0ca94b84af removed handling of 0 width cells in ComputeAvailableTableWidth since it is done in nsHTMLTableElement. review=kmcclusk 1999-10-13 14:39:33 +00:00
karnaze%netscape.com a97d9c7bca added comments 1999-10-13 14:36:28 +00:00
karnaze%netscape.com da443ccf66 new regression tests, file images for others. Does not affect the build. 1999-10-13 05:40:53 +00:00
pollmann%netscape.com 712864410c Bug 16126: Check for a cached state when reading value or submitting Gfx text frame (before initialize); r=joki 1999-10-13 02:49:42 +00:00
pollmann%netscape.com 45b14c6a42 Bug 15423: Check for a base href when forming the URL for an image map; r=harishd 1999-10-13 01:37:30 +00:00
mjudge%netscape.com 8ca2604934 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. 1999-10-13 01:15:26 +00:00
troy%netscape.com 6236da7013 b=15509, r=peterl@netscape.com
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
pollmann%netscape.com 5bef82c933 Bug 15180: Don't add a Referer line to the HTTP post data, as Necko already adds one. r=harishd 1999-10-13 00:54:47 +00:00
pinkerton%netscape.com 5409ec57f4 pulled mac-specific patches to the tip in order to allow typing in the url bar in navigator to work w/out firing cmd-keybindings. (r=saari, no explicit bug number). 1999-10-13 00:44:43 +00:00
kipp%netscape.com aa30c6fc9b r=kin,troy; Fixed reflow bug with optimization logic to avoid measuring text (no bug #) 1999-10-12 23:29:01 +00:00
kipp%netscape.com 26f3bc9b5b Fixed bugs with combined-area continuing to include trimmed whitespace (wip for 12297); Added support for tracking trim for 16176) 1999-10-12 23:27:32 +00:00
kipp%netscape.com 4bc8037d2a New API for bug 16176 1999-10-12 23:26:41 +00:00
kipp%netscape.com 4845abe2cb Factored common code into a single method (UseComputedHeight) 1999-10-12 23:25:49 +00:00
kipp%netscape.com 5d5bafb2c1 Port to new nsILineIterator api 1999-10-12 23:25:19 +00:00
kipp%netscape.com 3a1c740c05 Fixed bug with bounds of line-box including side margins when it shouldn't (part of 12297) 1999-10-12 23:24:51 +00:00
kipp%netscape.com cfd8498ab1 r=troy; Cleaned up line-box API (prep work for bug #12297; more coming); Support new line iterator API change (#16176) 1999-10-12 23:24:22 +00:00
kipp%netscape.com 09d8122e54 Removed two warnings 1999-10-12 23:21:40 +00:00
kipp%netscape.com 3e283e4c3b new 1999-10-12 23:20:40 +00:00
mgleeson1%netscape.com 57f24ad909 r=evaughan friend declaration needs to declare object is function or class (HPUX) 1999-10-12 22:58:04 +00:00
kmcclusk%netscape.com 8ad1e5225d Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 22:44:23 +00:00
kmcclusk%netscape.com 279b5cf069 Backing out change made while tree was closed 1999-10-12 22:07:24 +00:00
kmcclusk%netscape.com b0ffb501bc Backing out changes made while tree was closed. 1999-10-12 22:01:49 +00:00
kmcclusk%netscape.com bd519238a9 Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 21:42:31 +00:00
evaughan%netscape.com dae35eeddf Fixed mail/news regression. Code review Saari, Hyatt 1999-10-12 20:50:01 +00:00
karnaze%netscape.com 4d94b4519e new regression test. 1999-10-12 14:50:38 +00:00
pollmann%netscape.com 110dc42745 Bug 15841: Don't default to selecting item 0 of a listbox
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:29 +00:00
pollmann%netscape.com 324dcfff7b Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:22 +00:00
peterl%netscape.com 62cd20de05 store system colors as int rather than enums
return proper result code when setting system color
r=rods
1999-10-12 01:31:33 +00:00
rbs%maths.uq.edu.au fecc51577e [MathML] Setting a bolean to PR_TRUE to allow generated pseudo content (e.g., :before, :after) in MathML. 1999-10-12 01:19:34 +00:00
peterl%netscape.com 5790174000 better result code testing in recreate frames for content
part of fix for 14134
r=pierre
1999-10-12 00:32:13 +00:00
peterl%netscape.com bcce57c3d1 added ignore value to user-focus
r=hyatt
1999-10-12 00:30:54 +00:00
peterl%netscape.com e47dff5c24 added 'ignore' keyword
r=hyatt
1999-10-12 00:30:19 +00:00
warren%netscape.com 3ddf68af5c Added NS_LOG_RELEASE for bloat stats. r=kmcclusk 1999-10-12 00:28:14 +00:00
peterl%netscape.com 99a7831a26 fix return type for append reflow command (was returning PRBool for nsresult)
part of fix for 14134
r=pierre
1999-10-12 00:23:10 +00:00
evaughan%netscape.com dd8734ed83 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
rods%netscape.com 93c7749963 changed fonts for select and optgroup to match r=kmcclusk b=12230 1999-10-11 23:48:41 +00:00
rods%netscape.com 7eb1900ae8 removed css system color references (not implemented on Mac yet)
changed all checkbox borders to 2 pixels r=kmcclusk b=13854
1999-10-11 23:44:36 +00:00
nisheeth%netscape.com 7890852e87 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:42:56 +00:00
dveditz%netscape.com 2b60c91417 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
av%netscape.com 1590a56c74 Bug 15178, r=vidur adding check for return value avoiding crash 1999-10-08 23:47:03 +00:00
av%netscape.com 132357b3c7 Bug 15178, r=vidur adding check for null-pointer avoiding crash 1999-10-08 23:46:23 +00:00
kipp%netscape.com 7f60bda117 Fixed cellmap ctor/dtor logging to not show up negative 1999-10-08 23:42:13 +00:00
troy%netscape.com 18cb7981d3 Changes to SizeOf() code only. This code is debug code that only runs
when you chose the "Show Frame Sizes" menu item...
1999-10-08 23:18:19 +00:00
troy%netscape.com 49838148df Fix for blocker #15839. r=kipp@netscape.com,kin@netscape.com
Typing into a text area wasn't working properly. Problem was that when the text
changed we were reflowing the text frames with a resize reflow command and
we thought we could optimize the reflow. So I changed ContentChanged() to
mark each text frame dirty so we would know not to do the optimization
1999-10-08 22:04:31 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
slamm%netscape.com ba6f525b36 Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson. 1999-10-08 18:52:19 +00:00
rods%netscape.com dedfd2be24 ifdef'ed out a static counter for debugging. r=kmcclusk b=15637 1999-10-08 12:24:11 +00:00
troy%netscape.com a5add6d414 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing
1999-10-08 05:12:55 +00:00
troy%netscape.com 0c3a74b8be Removed some dead code and moved some #if 0 code from the area frame
to the block frame. This completes the previous checkin
1999-10-08 04:45:12 +00:00
troy%netscape.com 104c0f8c7e Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
peterl%netscape.com d023d57dc3 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
peterl%netscape.com a532de207c removed setting of border color for table parts (cruft from the dark ages)
Bug 15802
r=rickg
1999-10-08 02:07:37 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
rods%netscape.com 276fd20b77 minor adjustment for focus 1999-10-07 21:58:14 +00:00
rods%netscape.com a4a981c24d Addtional changes for form padding and borders
r=kmcclusk
1999-10-07 21:54:13 +00:00
rods%netscape.com a3499162b7 Changed the border and padding for all the form control frames to be as compatible with Nav Quirks as we can
added rules for form controls inside of tables
r=kmcclusk
1999-10-07 21:47:54 +00:00
rods%netscape.com c923afa44f Added the COMPAre macro for comparing sizes with NavQuirks
r=kmcclusk
1999-10-07 21:46:31 +00:00
rods%netscape.com a2c07e7ba4 Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
r=kmcclusk
1999-10-07 21:39:50 +00:00
rods%netscape.com d317d2245a Removed code where standard mode was incorrectly subtracting border size
r=kmcclusk
1999-10-07 21:37:02 +00:00
rods%netscape.com 7c8ed72735 Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me. Renamed aMetrics to aDesiredSize
Did some clean. Nav Quirks obeys padding and not border.
Reworked how computed size is used r=kmcclusk
1999-10-07 21:09:47 +00:00
rods%netscape.com 487a041f85 Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me r=kmcclusk
1999-10-07 21:07:38 +00:00
rods%netscape.com d170030b32 Added macro to help in figuring Nav Quirks default size for all controls r=kmcclusk 1999-10-07 21:04:52 +00:00
kmcclusk%netscape.com da17a13090 bug=15184 Made <input type=password> a form submitter. Hitting return in a password field
will now submit the form. r=rods@netscape.com
1999-10-07 20:54:42 +00:00
dcone%netscape.com b06e2be4db Fixed some warnings 1999-10-07 20:40:00 +00:00
troy%netscape.com e5ae6a3cd9 Space reductions, r=karnaze@netscape.com
Eliminated one data member, moved one to flag frame state, and changed mBorderEdges
to be heap allocated (only for collapsing border model)
1999-10-07 20:38:50 +00:00
dcone%netscape.com 7a407f8887 Turned on the background tiling optimization.. Reviewed By rods 1999-10-07 14:57:32 +00:00
kipp%netscape.com f581de92b8 r=peterl; fixed a regression that I regrettably caused; had the test for success backwards 1999-10-07 01:44:16 +00:00
harishd%netscape.com 6beeada27b Mapping nsDTDMode to eParseMode (in mozilla/htmlparser/src/nsIDTD.h)
R=pollmann
1999-10-07 00:35:16 +00:00
kipp%netscape.com 969a1ccfe3 Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects 1999-10-07 00:35:04 +00:00
kipp%netscape.com f36a6b1cd9 Added some atoms to support SizeOf metrics 1999-10-07 00:31:41 +00:00
kipp%netscape.com 81fc79eab8 Work around a crash by stubbing out some pointers that are weak links that are not to be used during shutdown 1999-10-07 00:31:21 +00:00
kipp%netscape.com 99ae91f493 Don't forget to remove the observer when dtor is running (fixes a sometimes crash in viewer); also fixed a memory leak of a style context 1999-10-07 00:30:20 +00:00
kipp%netscape.com baf76cecb9 Eliminate a memory leak of a style context (which ends up leaking all the stylecontexts upward) 1999-10-07 00:29:28 +00:00
kipp%netscape.com acb9fe8a07 Eliminate a warning 1999-10-07 00:28:41 +00:00
troy%netscape.com 1efdd6c9b6 b=11971, r=peterl@netscape,karnaze@netscape.com
Changed ContentInserted() to use GetFrameFor() so we target the table cell's
area frame
1999-10-06 23:17:28 +00:00
troy%netscape.com 1877c607ff Moved space manager to block frame and changed it the space manager is
temporary only during the reflow process
r=kipp@netscape.com
1999-10-06 22:05:23 +00:00
norris%netscape.com 4e4a099dd2 Fix another portion of 13192 Mozilla is "oversecured" and does not allow access to documents in the same domain
Reviewed by vidur.
1999-10-06 21:13:37 +00:00
pavlov%netscape.com dd46c93cdc ifdef out the call to CaptureMouse since it is no longer needed r=rods 1999-10-06 13:36:39 +00:00
karnaze%netscape.com 1e2cab47bd fixed assertion in viewer sample 4. AdjustForCollapsingCols was incorrectly counting as columns frames which were not of display type NS_STYLE_DISPLAY_TABLE_COLUMN and something must have changed elsewhere to tickle this. 1999-10-06 03:59:07 +00:00
mgleeson1%netscape.com b6d52bb172 r=kipp changed illegal escape \{ to { 1999-10-06 01:41:38 +00:00
kipp%netscape.com 2738c38f7f Support SizeOf methods 1999-10-05 23:47:46 +00:00
pollmann%netscape.com c2734ed9cc Bug 15170: Implement onchange notification for list boxes 1999-10-05 23:43:06 +00:00
kipp%netscape.com 7446ec5ab8 r=peterl; Added in ctor/dtor counting 1999-10-05 14:52:20 +00:00
kipp%netscape.com dcd28dc59f Removed static ctors 1999-10-05 14:51:56 +00:00
kipp%netscape.com 3741d5254a r=troy; Added in ctor/dtor counting 1999-10-05 14:51:12 +00:00
kipp%netscape.com c044218606 r=troy; Added some atoms to help eliminate global ctors 1999-10-05 14:51:02 +00:00
karnaze%netscape.com 1b2a4f0d3c bug 14818 - made standard mode like NavQuirks when handling colspans exceeding the number of columns. 1999-10-05 04:21:00 +00:00
rpotts%netscape.com 248e31bd70 bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
troy%netscape.com f8917b2fde Checked in workaround for tree-view/apprunner problem of assert in GetColumnWidth() 1999-10-05 02:41:36 +00:00
troy%netscape.com 759ae7a028 Removed unused data member 1999-10-05 00:32:07 +00:00
kipp%netscape.com 775258d6be r=vidur; fixed a memory of a script content object 1999-10-05 00:05:38 +00:00
troy%netscape.com 5e139f0234 Space optimization for nsTableFrame. r=karnaze@netscape.com
- changed mBorderEdges to be heap allocated (only needed for collapsing border model)
- made the 8 boolean data members into bitfields
- changed mColumnWidths to be as small as necessary instead of defaulting its size to 100 elements
1999-10-04 23:48:05 +00:00
peterl%netscape.com 2359b25588 fixed leak of undisplayed content map nodes (which leak style contexts)
r=kipp
1999-10-04 23:33:23 +00:00
rods%netscape.com 5e72f97bb8 fixes bug #15265, changes reviewed by kmcclusk. Changes in the way it used the computed values 1999-10-04 13:49:00 +00:00
karnaze%netscape.com 309344c93c column allocation does fixed and adjusted fixed (colspans) in separate steps. Simplified AllocateConstrained. Fixed bug 14332. 1999-10-04 05:19:32 +00:00
karnaze%netscape.com 3e8a5ce4bb regression test changes 1999-10-04 04:48:13 +00:00
peterl%netscape.com cfc03182aa Don't access undisplayed content map if it isn't there... 1999-10-02 19:45:18 +00:00
rbs%maths.uq.edu.au 19aa495191 Adding remaining MathML hooks and changing ifdef INCLUDE_MATHML to ifdef MOZ_MATHML to avoid thinking autoconf-related. r:peterl 1999-10-02 10:41:40 +00:00
peterl%netscape.com 8ab0555a0c added hooks to track content that doesn't get a frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:27:40 +00:00
peterl%netscape.com 95550bd4b8 added multimap to track content that didn't get a frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:25:29 +00:00
peterl%netscape.com 697873d57e removing dead style change code
r=troy
1999-10-02 04:24:20 +00:00
peterl%netscape.com b9051a9f76 removing dead style change code and refereneces to dead style change code
r=troy
1999-10-02 04:23:48 +00:00
peterl%netscape.com e55f2572bc fixed fix to bug 15373. Now it won't crash on EOF conditions 1999-10-02 04:23:00 +00:00
norris%netscape.com 3c14af2f14 Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.
1999-10-02 03:41:37 +00:00
troy%netscape.com d219ef5e29 Added SizeOf() handler for floater information maintained by the
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com 6f0d3813a7 Added SizeOf() handler for space manager 1999-10-02 00:52:01 +00:00
kmcclusk%netscape.com 6a6348bb78 r=rods;bug=14867 put in style rule to disable file selector button
bug=15328 put in disable rules for button label
bug=12227 To remove combobox reflows, changed padding settings for select's active
button to match non-active state. Also changed padding+border to match between
button's with focus and active buttons drawn with focus. Added gif for active state
of combo box to indicate that it is depressed.
1999-10-02 00:28:37 +00:00
troy%netscape.com e2ac00fe47 Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed
1999-10-02 00:02:54 +00:00
hyatt%netscape.com 8f9a09af87 Restructuring ua.css. 1999-10-01 21:57:32 +00:00
hyatt%netscape.com 9e75934ef0 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
kipp%netscape.com ea74d6b3c4 r=peterl; bug=15373; Fixed atom memory leaky 1999-10-01 20:13:39 +00:00
danm%netscape.com 57fc8acd6d event handler holds weak reference to frame. fixes bug 14885. r:buster 1999-10-01 15:00:57 +00:00
dcone%netscape.com 36f6d2f011 added background fix.. commented out for now until other platforms are tested 1999-10-01 14:35:20 +00:00
rods%netscape.com e121d483ee Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
this enables it to unset any temporary selections and restore the actual selection
1999-10-01 14:30:33 +00:00
rods%netscape.com 6bac2f6151 ifdef'd out the new code that handles the computed size and ifdef'ed in the old code for Linux 1999-10-01 14:28:25 +00:00
rods%netscape.com 2424740140 ifdef out a debug statement 1999-10-01 14:26:40 +00:00
rods%netscape.com 888d1325e2 removed noisy printf 1999-10-01 14:20:45 +00:00
law%netscape.com 828349b59c Context menu updates 1999-10-01 04:43:45 +00:00
pollmann%netscape.com cd9acdc809 Bug 13997, Reviewed by HarishD. This fixes the crash during file upload caused by a spurious NS_RELEASE, correctly calculates content-length, and fixes a few post syntax errors. Also fixes a memory leak and uses nsSpecialSystemDirectory, nsFileSpec, and other good things instead of the hacks that were needed before this existed. 1999-10-01 02:42:32 +00:00
beard%netscape.com 7b9c53b997 fixed non-debug breakage. r=vidur 1999-10-01 01:11:40 +00:00
vidur%netscape.com abef968cec Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG. 1999-09-30 22:07:04 +00:00
kipp%netscape.com 90b60c0e80 Removed atom table hacks 1999-09-30 21:17:28 +00:00
kipp%netscape.com 6fb692f3d0 Fixed atom memory leaks and HTMLAttribute memory leaks (for unmapped attrs only) 1999-09-30 21:17:06 +00:00
rods%netscape.com bba7ebd312 Backed out 1.54, this is 1.53 1999-09-30 16:43:11 +00:00
rods%netscape.com cd2c3b0283 Added ConsumeEvents parameter to CaptureRollupEvents 1999-09-30 14:36:17 +00:00
karnaze%netscape.com b6968c9fae bug 12910 - SetPass1MaxElementSize considers nowrap on cell 1999-09-30 14:11:16 +00:00
karnaze%netscape.com eaf071b794 new regression tests 1999-09-30 14:08:24 +00:00
rods%netscape.com ebeae50357 Completely changed the way focus is handled, both from JS and from the events mgr notifications.
These changes do not help the problems we have with gfxtextfields because they have an embbeded wehshell with a native window
1999-09-30 11:57:45 +00:00
rods%netscape.com b286201231 Turned on the system colors 1999-09-30 11:55:15 +00:00
rods%netscape.com f4f52d431d Completely changed the rules for the border and internal display for the combobox 1999-09-30 11:54:30 +00:00