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

4992 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com 2dc743e6b1 Eliminate need for networked loaded images 1999-10-15 19:44:09 +00:00
kipp%netscape.com 8c7b0d7b3b nuked 1999-10-15 16:58:21 +00:00
buster%netscape.com a23754e4b6 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 9c89a6b52d 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 102c1fb55e 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 a13fc42067 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 7130df81ee 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 80d4dd9246 Fix for 16479. r=waterson 1999-10-15 07:54:43 +00:00
kin%netscape.com 6762dd27f5 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 f42c7bef25 new regression test. 1999-10-15 04:29:09 +00:00
karnaze%netscape.com bb627081c7 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 98ee25447f 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 bf8c6d860d 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 f80550c400 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 670703db1c 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 385f949e66 oops. for got to check this in last time. bug number is 14795 1999-10-14 23:52:42 +00:00
kmcclusk%netscape.com be9ef38eb8 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 f93bec8bc1 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 f84534d73b 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 a62e21a089 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 2e9499e739 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 7d45a10d09 r=Tomi.Leppikangas@oulu.fi; landed his patch for solaris build issues 1999-10-14 23:11:44 +00:00
kipp%netscape.com c0f47fe47c 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 ab0a40b009 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 1f6b355fee 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 3da3224f93 Added a new table regression test 1999-10-14 22:58:41 +00:00
ftang%netscape.com 850606d07a 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 076620922f This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone 1999-10-14 14:55:08 +00:00
tbogard%aol.net 57fb3acb21 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 fec1e6f24c Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt. 1999-10-14 10:55:24 +00:00
troy%netscape.com eccee5177e 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 70d79a10be 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 416156109c 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 8589f840a1 bug 15247 - ComputeAvailableTableWidth accounts for margins 1999-10-14 04:03:20 +00:00
karnaze%netscape.com 97bc7cdc28 cells with width=0 become auto, added comments 1999-10-14 04:01:26 +00:00
karnaze%netscape.com 84c1a59ffe new regression tests 1999-10-14 03:59:42 +00:00
peterl%netscape.com 5cf3f40b06 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 9005fd85a5 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 d978f30c29 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 48c216257e 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 91b4aeefdd added comments 1999-10-13 14:36:28 +00:00
karnaze%netscape.com e1b3f6ad9c new regression tests, file images for others. Does not affect the build. 1999-10-13 05:40:53 +00:00
pollmann%netscape.com e0ed7d0ee8 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 3ab87e9d02 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 fc71fb36d1 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 e592be8776 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 b32d16e429 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 008ee8f541 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 02b64f135d 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 e44578adf4 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