jdunn%netscape.com
68a5a4a034
removing ';' from the end of the macros, since the macro in nsTimer.h
...
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
git-svn-id: svn://10.0.0.236/trunk@53239 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 21:35:34 +00:00
nisheeth%netscape.com
2bfa653735
a=sdagley. Move over to new timing macros...
...
git-svn-id: svn://10.0.0.236/trunk@53064 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 03:41:09 +00:00
nisheeth%netscape.com
7ad60e4687
r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell.
...
git-svn-id: svn://10.0.0.236/trunk@52989 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 03:23:26 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
mcafee%netscape.com
5478f9dda3
Switching to use NS_WITH_SERVICE macro as specified in (5403); removing spurious clipboard service instance in nsEditorEventListeners.cpp. r=akkana, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@52832 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 01:29:49 +00:00
joki%netscape.com
c79e9c67d2
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
...
git-svn-id: svn://10.0.0.236/trunk@52691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:11:45 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
88c4d96e2c
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
git-svn-id: svn://10.0.0.236/trunk@52309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 02:52:11 +00:00
nisheeth%netscape.com
2d10931ddb
Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement().
...
git-svn-id: svn://10.0.0.236/trunk@52303 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 01:31:49 +00:00
kipp%netscape.com
0f8e430077
r=troy; fixed code to properly remove reflowc ommands when cancelling
...
git-svn-id: svn://10.0.0.236/trunk@52164 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 01:53:56 +00:00
nisheeth%netscape.com
f341433a7c
r=dp. Fix for bug 17411. Commenting out the call to nsFrameManager::CantRenderReplacedElement for now. This should let us open up the tree while dp and pnunn figure out the right fix.
...
git-svn-id: svn://10.0.0.236/trunk@52029 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 01:20:34 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
mjudge%netscape.com
64c9150aab
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
...
git-svn-id: svn://10.0.0.236/trunk@51467 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 00:19:18 +00:00
kipp%netscape.com
fee0551895
moved debug logic for dumping reflow commands so that we can dump them without requiring the incremental reflow verification logic to run
...
git-svn-id: svn://10.0.0.236/trunk@51399 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 20:45:39 +00:00
nisheeth%netscape.com
b7fab4e31c
Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
...
git-svn-id: svn://10.0.0.236/trunk@51196 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:27:20 +00:00
troy%netscape.com
c8965f4626
r=kipp@netscape.com Moved ownership of root frame (and frame hierarchy) over to
...
the frame manager
git-svn-id: svn://10.0.0.236/trunk@51042 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 22:20:37 +00:00
troy%netscape.com
3a3c120af6
b=16652, r=troy@netscape.com
...
Patch from Johnny Stenback that breaks a weak link reference
git-svn-id: svn://10.0.0.236/trunk@50999 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 19:00:49 +00:00
peterl%netscape.com
bba68903df
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:16:45 +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
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
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
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
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
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
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
nisheeth%netscape.com
351d8f1643
Use NSPR logging rather than printf's for stopwatch output.
...
git-svn-id: svn://10.0.0.236/trunk@48975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
5ad59bd30b
bug 13630, r=troy, a=leaf, Added a null check to prevent a crash.
...
git-svn-id: svn://10.0.0.236/trunk@48955 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 01:58:32 +00:00
nisheeth%netscape.com
c7978aaaa1
Stop the stopwatches before you print them.
...
git-svn-id: svn://10.0.0.236/trunk@48729 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 01:49:31 +00:00
peterl%netscape.com
63e8918a6a
added calls to verify style tree
...
git-svn-id: svn://10.0.0.236/trunk@48551 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 07:53:49 +00:00
nisheeth%netscape.com
e671c66537
Add prefix string to style resolution timer output.
...
git-svn-id: svn://10.0.0.236/trunk@48524 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 06:24:17 +00:00
nisheeth%netscape.com
36e368d39a
Include nsITimeRecorder.h in the pres shell.
...
git-svn-id: svn://10.0.0.236/trunk@48344 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 08:23:33 +00:00
nisheeth%netscape.com
01b26a2de0
Add calls to reset and print the stopwatch maintained by the styleset for tracking style resolution time.
...
git-svn-id: svn://10.0.0.236/trunk@48334 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 06:55:24 +00:00
nisheeth%netscape.com
9c060b10a6
Added measurement of reflow time and frame creation time during the loading of a page.
...
git-svn-id: svn://10.0.0.236/trunk@47945 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:16:42 +00:00
nisheeth%netscape.com
f114a0c14d
Start of instrumentation of the presshell to calculate timing data for the reflow process.
...
git-svn-id: svn://10.0.0.236/trunk@47488 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:43:53 +00:00
kipp%netscape.com
0953039c0d
Upgraded incremental reflow debugging support
...
git-svn-id: svn://10.0.0.236/trunk@47477 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:27:05 +00:00
sfraser%netscape.com
4550cdda81
Remove some redundant caret methods in the pres shell, and use my funky new stack-based caret hider class to manage caret visibility during difficult times.
...
git-svn-id: svn://10.0.0.236/trunk@47457 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:43:35 +00:00
mjudge%netscape.com
139d6944f4
fixes for selection. up/down arrow behavior and also extending selection. all should be in peek offset ect. Also adding in a slight change to the hack (which should go away soon) that will stop the editor from scrolling when up/down left/right ect are clicked. when key events go in this code will be removed
...
git-svn-id: svn://10.0.0.236/trunk@47183 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 22:19:31 +00:00
kipp%netscape.com
3813d92bc8
Tweaked incremental reflow support logic
...
git-svn-id: svn://10.0.0.236/trunk@46799 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:49:23 +00:00
mjudge%netscape.com
a29a744b14
changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames.
...
git-svn-id: svn://10.0.0.236/trunk@46783 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:29:37 +00:00
bienvenu%netscape.com
4e9eda7dc4
fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@45715 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 19:21:45 +00:00
joki%netscape.com
33e0b92036
Fix for bug 12226, allow reentrant events
...
git-svn-id: svn://10.0.0.236/trunk@45701 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:14:01 +00:00
nisheeth%netscape.com
3a74e6a56a
- Added setter for history state to nsIPresShell
...
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters in nsIStateful frame
so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
git-svn-id: svn://10.0.0.236/trunk@45350 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:35:50 +00:00
nisheeth%netscape.com
ab1926c3ac
Added get/set document state API for use by session history.
...
git-svn-id: svn://10.0.0.236/trunk@45214 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:38:58 +00:00
kin%netscape.com
ea9db112f9
Fix for bugs #7153 , #10673 , #12066 , #12067 , and #12793 .
...
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h
- Added code to scroll the selection into view
after processing key events.
- Commented out the hack that redraws the entire
view when the focus is gained and lost. Replaced
the hack code with calls to RepaintSelection().
layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
- Added ScrollSelectionIntoView() and RepaintSelection() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for ScrollSelectionIntoView() and
RepaintSelection().
- Check for NULL primary frame in GetFocusNodeRect()
to fix bug #12793 .
git-svn-id: svn://10.0.0.236/trunk@45163 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:40 +00:00
kipp%netscape.com
5caf777abe
Added hack code (for me) to allow for stack depth testing
...
git-svn-id: svn://10.0.0.236/trunk@44929 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:50:37 +00:00
jfrancis%netscape.com
2a60fccebc
making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor
...
git-svn-id: svn://10.0.0.236/trunk@44483 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 10:51:55 +00:00
pinkerton%netscape.com
6eb3a21da9
IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter.
...
git-svn-id: svn://10.0.0.236/trunk@44476 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 08:35:06 +00:00
hyatt%netscape.com
f12db0b33c
Fix for editor typing bustage (part 2).
...
git-svn-id: svn://10.0.0.236/trunk@44282 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 10:20:35 +00:00
hyatt%netscape.com
3af8b5569f
Patching an error in the key event handling.
...
git-svn-id: svn://10.0.0.236/trunk@44192 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:42:02 +00:00
beard%netscape.com
3e9a8b9a14
fixes a crasher triggered by test case of bug #5194 .
...
git-svn-id: svn://10.0.0.236/trunk@42666 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 20:43:47 +00:00