Commit Graph

1888 Commits

Author SHA1 Message Date
troy%netscape.com
bc981fba0d Added some new code that's not in use yet 1999-10-16 00:55:48 +00:00
kipp%netscape.com
15a0ec26fa 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
peterl%netscape.com
a6adfea707 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
2429e3f7e5 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
waqar%netscape.com
46cc304d11 #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.
1999-10-15 22:18:23 +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
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
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
kipp%netscape.com
ff3faa1ce6 r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes 1999-10-14 23:08:31 +00:00
kipp%netscape.com
2fbd44ca90 r=troy; Added a #define to prevent future code crashes 1999-10-14 23:08:04 +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
fec1e6f24c Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt. 1999-10-14 10:55:24 +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
peterl%netscape.com
3784781301 added an assertion to help track down Bug 14238
r=troy
1999-10-14 00:56:30 +00:00
mjudge%netscape.com
3a065e373b 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 1999-10-13 01:16:09 +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
kipp%netscape.com
2c4293a104 Removed silly NS_IMETHOD decls 1999-10-12 23:22:53 +00:00
kipp%netscape.com
9059f09ba2 Added two new atoms to help meter large vs. small line boxes 1999-10-12 23:22:34 +00:00
kipp%netscape.com
70bd159dd4 Removed two warnings 1999-10-12 23:21:40 +00:00
evaughan%netscape.com
23b60d7a97 Fixed mail/news regression. Code review Saari, Hyatt 1999-10-12 20:50:01 +00:00
waterson%netscape.com
bdfcaec321 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 1999-10-12 03:05:10 +00:00
rbs%maths.uq.edu.au
b834bd2175 [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
d4f84a11bc 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
e80ae8cff9 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
peterl%netscape.com
3ebf849605 dont strip multiple changes with nsnull frames
part of fix for 14134
r=pierre
1999-10-12 00:22:18 +00:00
peterl%netscape.com
8112eaf09e add 'ignore' to user focus
r=hyatt
1999-10-12 00:21:06 +00:00
evaughan%netscape.com
f3a2112f38 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
nisheeth%netscape.com
b052eec318 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:42:56 +00:00
rpotts%netscape.com
9ced2151e2 Removed 2 *extra* calls to NS_RELEASE in failure cases... 1999-10-10 06:58:42 +00:00
warren%netscape.com
bb32e6e730 Fixed refcounting problem and possible out-of-memory condition. r=kipp 1999-10-10 02:08:08 +00:00
dveditz%netscape.com
ff01d5e8f4 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
jfrancis%netscape.com
14f246e247 applying same fix as rev 1.28 (initializing mIsDone) to the rest of the Init() methods. 1999-10-08 23:34:07 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
troy%netscape.com
f8ffb47533 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
peterl%netscape.com
a3aede8c1c 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
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
dcone%netscape.com
317cd9edf5 Fixed some warnings 1999-10-07 20:40:00 +00:00
dcone%netscape.com
edf1bb0675 Turned on the background tiling optimization.. Reviewed By rods 1999-10-07 14:57:32 +00:00
kipp%netscape.com
cfa92fd85e 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
26fb1296d8 Tweaked call of log_release 1999-10-07 00:32:25 +00:00
kipp%netscape.com
790ccf8ff7 Added some atoms to support SizeOf metrics 1999-10-07 00:31:41 +00:00
kipp%netscape.com
59d158d535 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
4b19ca3266 Eliminate a memory leak of a style context (which ends up leaking all the stylecontexts upward) 1999-10-07 00:29:28 +00:00
harishd%netscape.com
23cdb1131e 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
1999-10-07 00:28:58 +00:00
troy%netscape.com
58eccb6592 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
vidur%netscape.com
5427f58b01 Implemented document.width/document.height by looking at the dimensions of the view of the frame of the document element. Bug 961. R: troy 1999-10-06 20:32:49 +00:00
troy%netscape.com
606f3b77ab Space issue. r=kipp@netscape.com
Replaced hash table which used lots of memory with simple linked list of
FrameInfo* structs
1999-10-06 04:22:51 +00:00
waqar%netscape.com
0b9d4f8f8f # 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.
1999-10-06 00:06:53 +00:00