188 Commits

Author SHA1 Message Date
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
troy%netscape.com
aba5f77708 Moved cantrenderreplacedelememt code over to the frame manager
git-svn-id: svn://10.0.0.236/trunk@42332 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 20:17:44 +00:00
troy%netscape.com
22079fd541 Added NULL pointer checks in GetPrimaryFrameFor() and GetPlaceholderFrameFor()
git-svn-id: svn://10.0.0.236/trunk@42258 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 03:23:39 +00:00
troy%netscape.com
db679bfa7c Changed frame construction code to use frame manager when modifying frame
model


git-svn-id: svn://10.0.0.236/trunk@42257 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 03:09:22 +00:00
buster%netscape.com
132773aaab added GetCaretEnabled
cleaned up caret APIs according to coding convention


git-svn-id: svn://10.0.0.236/trunk@42196 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:46:16 +00:00
troy%netscape.com
1b2f63b41f Now uses frame manager
git-svn-id: svn://10.0.0.236/trunk@42101 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 04:02:40 +00:00
rods%netscape.com
e2a7ed2062 temporary fix for reentrancy bug in HandleEvent
git-svn-id: svn://10.0.0.236/trunk@41488 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:42:37 +00:00
joki%netscape.com
73627c01e7 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
rods%netscape.com
dcffac81c3 Sending wrong length when putting data on the clipboards,
double byte chars need twice the space. Wrongly assummed nsString.Length()
return bytes instead of length in chars doubel or single.


git-svn-id: svn://10.0.0.236/trunk@40777 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 02:25:17 +00:00
troy%netscape.com
947927e816 Renamed DeleteFrame() to Destroy()
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
troy%netscape.com
23d4ad25a7 Changed ScrollFrameIntoView() to also do horizontal scrolling if necessary
git-svn-id: svn://10.0.0.236/trunk@40113 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:38:33 +00:00
mjudge%netscape.com
dbd14f2e48 cant query interface from frame selection to dom selection since we now have more than one type of dom selection implementations. you must ask for ANY dom selection then remove yourself as a listener or whatever you want to do. MJ
git-svn-id: svn://10.0.0.236/trunk@40109 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:04:35 +00:00
mjudge%netscape.com
329d39ba11 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
troy%netscape.com
3cb93edabc Added code to make sure that posted events are removed when the frame they
refer to is destroyed


git-svn-id: svn://10.0.0.236/trunk@39785 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:27:46 +00:00
rods%netscape.com
c53019c6fb XIF is now being put into the transferable as double byte
git-svn-id: svn://10.0.0.236/trunk@39693 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 14:20:59 +00:00
troy%netscape.com
8f02eaacb9 Turned on the use of the digital search tree code
git-svn-id: svn://10.0.0.236/trunk@39632 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 03:32:09 +00:00
sfraser%netscape.com
fdcb802f6e Removal of nsCaretProperties
git-svn-id: svn://10.0.0.236/trunk@39412 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:18:29 +00:00
kipp%netscape.com
86df575458 nop
git-svn-id: svn://10.0.0.236/trunk@39308 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:30:07 +00:00
hyatt%netscape.com
b4233487a4 Fixing problems with redraw on initial show of window.
git-svn-id: svn://10.0.0.236/trunk@38736 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 22:34:31 +00:00
troy%netscape.com
cd133fcb8b Changed GetPrimaryFrameFor() to use a hash table to improve performance
git-svn-id: svn://10.0.0.236/trunk@38387 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 03:52:33 +00:00
hyatt%netscape.com
0783f2a892 Checking in support for intrinsic sizing of chrome.
git-svn-id: svn://10.0.0.236/trunk@38310 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 04:09:54 +00:00
troy%netscape.com
f1588e6197 Work-in-progress for having GetPrimaryFrameFor() use a hash table
git-svn-id: svn://10.0.0.236/trunk@37514 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 04:42:26 +00:00
joki%netscape.com
1b13b0f841 Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283)
git-svn-id: svn://10.0.0.236/trunk@35325 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:14:28 +00:00