2033 Commits

Author SHA1 Message Date
peterl%netscape.com
48baad18a6 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


git-svn-id: svn://10.0.0.236/trunk@50885 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:14:44 +00:00
waqar%netscape.com
2e88f3fb20 #9777
r vidur@netscape.com
d The issue was resolved by DOM commitie to allow SplitText to give an error
only on if the start of split is larger than the length. If it is same lenght
it is allowed.


git-svn-id: svn://10.0.0.236/trunk@50878 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 22:18:23 +00:00
hyatt%netscape.com
6c5c58d1e8 Fix for 16479. r=waterson
git-svn-id: svn://10.0.0.236/trunk@50819 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 07:54:43 +00:00
kin%netscape.com
9af25b17a4 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


git-svn-id: svn://10.0.0.236/trunk@50786 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 04:29:30 +00:00
troy%netscape.com
be2abd7a2c 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


git-svn-id: svn://10.0.0.236/trunk@50772 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:37:10 +00:00
peterl%netscape.com
06471a021a moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
no bug #
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50762 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 02:11:09 +00:00
kipp%netscape.com
3f737c9dc4 r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes
git-svn-id: svn://10.0.0.236/trunk@50701 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:08:31 +00:00
kipp%netscape.com
873c0b8d47 r=troy; Added a #define to prevent future code crashes
git-svn-id: svn://10.0.0.236/trunk@50700 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:08:04 +00:00
ftang%netscape.com
2d2a382150 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


git-svn-id: svn://10.0.0.236/trunk@50688 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 18:27:01 +00:00
rods%netscape.com
f2b4462a33 This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone
git-svn-id: svn://10.0.0.236/trunk@50683 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 14:55:08 +00:00
tbogard%aol.net
e623d0cd2b Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@50670 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 10:55:24 +00:00
troy%netscape.com
bc13612958 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


git-svn-id: svn://10.0.0.236/trunk@50656 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:47:18 +00:00
peterl%netscape.com
866322d95e added an assertion to help track down Bug 14238
r=troy


git-svn-id: svn://10.0.0.236/trunk@50632 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:56:30 +00:00
mjudge%netscape.com
01e83014a6 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h
git-svn-id: svn://10.0.0.236/trunk@50537 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:16:09 +00:00
troy%netscape.com
5132f68d26 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


git-svn-id: svn://10.0.0.236/trunk@50535 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:02:53 +00:00
kipp%netscape.com
eb73055cf6 Removed silly NS_IMETHOD decls
git-svn-id: svn://10.0.0.236/trunk@50504 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:22:53 +00:00
kipp%netscape.com
2c17cc458b Added two new atoms to help meter large vs. small line boxes
git-svn-id: svn://10.0.0.236/trunk@50503 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:22:34 +00:00
kipp%netscape.com
d10b7ecd53 Removed two warnings
git-svn-id: svn://10.0.0.236/trunk@50502 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:21:40 +00:00
evaughan%netscape.com
74de522d21 Fixed mail/news regression. Code review Saari, Hyatt
git-svn-id: svn://10.0.0.236/trunk@50476 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 20:50:01 +00:00
waterson%netscape.com
30e53d03e9 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50416 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 03:05:10 +00:00
rbs%maths.uq.edu.au
121acfa205 [MathML] Setting a bolean to PR_TRUE to allow generated pseudo content (e.g., :before, :after) in MathML.
git-svn-id: svn://10.0.0.236/trunk@50403 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:19:34 +00:00
peterl%netscape.com
1299fd6c0b better result code testing in recreate frames for content
part of fix for 14134
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50397 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:32:13 +00:00
peterl%netscape.com
8b985c46d4 fix return type for append reflow command (was returning PRBool for nsresult)
part of fix for 14134
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50391 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:23:10 +00:00
peterl%netscape.com
bd0a1b5cb4 dont strip multiple changes with nsnull frames
part of fix for 14134
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50390 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:22:18 +00:00
peterl%netscape.com
b765a3d4c4 add 'ignore' to user focus
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@50389 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:21:06 +00:00
evaughan%netscape.com
b6c93b5c5c Integrated Gfx scrollbars.
git-svn-id: svn://10.0.0.236/trunk@50385 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:06 +00:00
nisheeth%netscape.com
d65bc1efa0 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
git-svn-id: svn://10.0.0.236/trunk@50372 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:42:56 +00:00
rpotts%netscape.com
907eec02fc Removed 2 *extra* calls to NS_RELEASE in failure cases...
git-svn-id: svn://10.0.0.236/trunk@50325 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 06:58:42 +00:00
warren%netscape.com
6320eadc46 Fixed refcounting problem and possible out-of-memory condition. r=kipp
git-svn-id: svn://10.0.0.236/trunk@50323 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 02:08:08 +00:00
dveditz%netscape.com
30a83caa1d Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
jfrancis%netscape.com
84003fe77b applying same fix as rev 1.28 (initializing mIsDone) to the rest of the Init() methods.
git-svn-id: svn://10.0.0.236/trunk@50272 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:34:07 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
troy%netscape.com
093e5bfd97 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing


git-svn-id: svn://10.0.0.236/trunk@50206 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 05:12:55 +00:00
peterl%netscape.com
d1916dab07 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy


git-svn-id: svn://10.0.0.236/trunk@50193 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 03:09:31 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
dcone%netscape.com
09be733a85 Fixed some warnings
git-svn-id: svn://10.0.0.236/trunk@50119 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:40:00 +00:00
dcone%netscape.com
75b915c855 Turned on the background tiling optimization.. Reviewed By rods
git-svn-id: svn://10.0.0.236/trunk@50110 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 14:57:32 +00:00
kipp%netscape.com
99aaa55232 Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects
git-svn-id: svn://10.0.0.236/trunk@50066 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:35:04 +00:00
kipp%netscape.com
4e6e50c103 Tweaked call of log_release
git-svn-id: svn://10.0.0.236/trunk@50065 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:32:25 +00:00
kipp%netscape.com
b17c92e839 Added some atoms to support SizeOf metrics
git-svn-id: svn://10.0.0.236/trunk@50064 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:31:41 +00:00
kipp%netscape.com
d5ce80751a Work around a crash by stubbing out some pointers that are weak links that are not to be used during shutdown
git-svn-id: svn://10.0.0.236/trunk@50063 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:31:21 +00:00
kipp%netscape.com
a72c992c6f Eliminate a memory leak of a style context (which ends up leaking all the stylecontexts upward)
git-svn-id: svn://10.0.0.236/trunk@50061 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:29:28 +00:00
harishd%netscape.com
080879ab10 Bug 13647
In nsXIFConverter::BeginContainer(const nsString& aTag)
newline was getting appended by default at the end of a tag.
Setting the default value to PR_FALSE to avoid newline insertion
at the end of a tag.
R=akkana


git-svn-id: svn://10.0.0.236/trunk@50060 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:28:58 +00:00
troy%netscape.com
75bf4aa54d b=11971, r=peterl@netscape,karnaze@netscape.com
Changed ContentInserted() to use GetFrameFor() so we target the table cell's
area frame


git-svn-id: svn://10.0.0.236/trunk@50041 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 23:17:28 +00:00
vidur%netscape.com
e16887dc96 Implemented document.width/document.height by looking at the dimensions of the view of the frame of the document element. Bug 961. R: troy
git-svn-id: svn://10.0.0.236/trunk@50006 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 20:32:49 +00:00
troy%netscape.com
148aeb9479 Space issue. r=kipp@netscape.com
Replaced hash table which used lots of memory with simple linked list of
FrameInfo* structs


git-svn-id: svn://10.0.0.236/trunk@49949 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 04:22:51 +00:00
waqar%netscape.com
b576ab2cb5 # 9777
r vidur
d When splitText has an index error, it used to send NS_ERROR not it sends
  the proper DOM index size error.


git-svn-id: svn://10.0.0.236/trunk@49910 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 00:06:53 +00:00
kipp%netscape.com
53b538cfc8 Support SizeOf methods
git-svn-id: svn://10.0.0.236/trunk@49891 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:47:46 +00:00
kipp%netscape.com
a87258a834 Added in ctor/dtor counting
git-svn-id: svn://10.0.0.236/trunk@49839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:53:40 +00:00
kipp%netscape.com
a4aa98059e r=troy; Added in ctor/dtor counting
git-svn-id: svn://10.0.0.236/trunk@49833 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:51:12 +00:00